]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
benchtests: Improve readability of JSON output
[thirdparty/glibc.git] / ChangeLog
CommitLineData
970c602a
WN
12014-04-11 Will Newton <will.newton@linaro.org>
2
3 * benchtests/Makefile (extra-objs): Add json-lib.o.
4 (bench-func): Tidy up JSON output.
5 * benchtests/bench-skeleton.c: Include json-lib.h.
6 (main): Use JSON library functions to do output of
7 benchmark results.
8 * benchtests/bench-timing-type.c (main): Output the
9 timing type simply, leaving formatting to the user.
10 * benchtests/json-lib.c: New file.
11 * benchtests/json-lib.h: Likewise.
12
36875b06
TR
132014-04-11 Torvald Riegel <triegel@redhat.com>
14
15 [BZ #15215]
16 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
17 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
18 memory barriers. Add comments.
19 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
20 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
21 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
22 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
23 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
24 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
25
579db35a
SL
262014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27
28 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
29 * sysdeps/s390/s390-64/configure.ac: ... this ...
30 * sysdeps/s390/configure.ac: ... to here.
31 * sysdeps/s390/s390-32/configure: Delete file.
32 * sysdeps/s390/s390-64/configure: Delete file.
33 * sysdeps/s390/configure: Regenerate.
34
c12e9f37
JAPH
352014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
36
37 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38
439bda32
WN
392014-04-11 Will Newton <will.newton@linaro.org>
40
41 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
42 to zero if it is not defined elsewhere. (mtrim): Test
43 the value of MALLOC_DEBUG with #if rather than #ifdef.
44
6a5d6ea1
TR
452014-04-10 Torvald Riegel <triegel@redhat.com>
46
47 * benchtests/pthread_once-inputs: New file.
48 * benchtests/pthread_once-source.c: New file.
49 * benchtests/README: Update documentation.
50
a4c75cfd
IZ
512014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
52 H.J. Lu <hongjiu.lu@intel.com>
53
54 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
55 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
56 * sysdeps/x86_64/configure: Regenerated.
57 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
58 macro.
59 (REGISTER_SAVE_RAX): Likewise.
60 (REGISTER_SAVE_RCX): Likewise.
61 (REGISTER_SAVE_RDX): Likewise.
62 (REGISTER_SAVE_RSI): Likewise.
63 (REGISTER_SAVE_RDI): Likewise.
64 (REGISTER_SAVE_R8): Likewise.
65 (REGISTER_SAVE_R9): Likewise.
66 (REGISTER_SAVE_BND0): Likewise.
67 (REGISTER_SAVE_BND1): Likewise.
68 (REGISTER_SAVE_BND2): Likewise.
69 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
70 bound registers when calling _dl_fixup.
71
27822ce6
AZ
722014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73
74 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
75 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
76 definition.
77 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
78 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
79 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
80 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
81 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
82 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
83 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
84
a88ddc90
PTB
852014-04-09 Peter Brett <peter@peter-b.co.uk>
86
87 [BZ #15514]
88 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
89 pathconf(_PC_NAME_MAX).
90
01f8eac2
AZ
912014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
92
93 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
94 Remove macro usage.
95 (__PTHREAD_SPINS): Move definition to ...
96 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
97 (__PTHREAD_SPINS): ... here.
98 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
99 (__PTHREAD_SPIN): Likewise.
100 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
101 (__PTHREAD_SPIN): Likewise.
102 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
103 (__PTHREAD_SPIN): Likewise.
104 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
105 (__PTHREAD_SPIN): Likewise.
106 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
107 (__PTHREAD_SPIN): Likewise.
108 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
109 (__PTHREAD_SPIN): Likewise.
110 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
111 (__PTHREAD_SPIN): Likewise.
112 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
113 (__PTHREAD_SPIN): Likewise.
114 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
115 (__PTHREAD_SPIN): Likewise.
116 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
117 (__PTHREAD_SPIN): Likewise.
118 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
119 (__PTHREAD_SPIN): Likewise.
120 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
121 (__PTHREAD_SPIN): Likewise.
122
de21c33c
AZ
1232014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
124
125 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
126 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
127 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
128 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
129 imply folder.
130 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
131 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
132 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
133 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
134 correct imply path.
135 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
136 strlen symbol for non multi-arch builds.
137 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
138 missing hidden_def and weak_alias.
139
862c472e
CD
1402014-04-08 Carlos O'Donell <carlos@redhat.com>
141
142 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
143
8667f90e
WN
1442014-04-07 Will Newton <will.newton@linaro.org>
145
146 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
147 and contents. [!_LIBC] Remove #ifndef and contents.
148 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
149 * string/memccpy.c (__memccpy): Use ANSI prototype.
150 * string/memfrob.c (memfrob): Likewise.
151 * string/strcoll.c (STRCOLL): Likewise.
152 * string/strlen.c (strlen): Likewise.
153 * string/strtok.c (STRTOK): Likewise.
154 * string/strcat.c: Remove unused #include of memcopy.h.
155 (strcat): Use ANSI prototype.
156 * string/strchr.c: Remove unused #include of memcopy.h.
157 (strchr): Use ANSI prototype.
158 * string/strcmp.c: Remove unused #include of memcopy.h.
159 (strcmp): Use ANSI prototype.
160 * string/strcpy.c: Remove unused #include of memcopy.h.
161 (strcpy): Use ANSI prototype.
162
7ffa9423
AZ
1632014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
164
165 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
166 * config.make.in (config-extra-cppflags): Set it from
167 libc_extra_cppflags.
168 * configure.ac (libc_extra_cflags): Make it accumulate over
169 configure fragments.
170 (libc_extra_cppflags): New flag.
171 * configure. Regenerate.
172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
173 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
174 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
176
8bd70862
AZ
1772014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
178
179 [BZ #16815]
180 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
181 result for FE_DOWNWARD rounding mode.
182 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
183 Likewise.
184 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
185
d42f3448
CM
1862014-04-04 Chris Metcalf <cmetcalf@tilera.com>
187
188 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
189 in function argument name.
190
1c21d115
DS
1912014-04-03 David Svoboda <svoboda@cert.org>
192
193 [BZ #5666]
194 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
195 explicitly.
196
fcccd512
RM
1972014-04-03 Roland McGrath <roland@hack.frob.com>
198
199 * elf/dl-unmap-segments.h: New file.
200 * sysdeps/generic/ldsodefs.h
201 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
202 * elf/dl-close.c: Include <dl-unmap-segments.h>.
203 * elf/dl-fptr.c: Likewise.
204 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
205 * sysdeps/aarch64/tlsdesc.c: Likewise.
206 * sysdeps/arm/tlsdesc.c: Likewise.
207 * sysdeps/i386/tlsdesc.c: Likewise.
208 * sysdeps/tile/dl-runtime.c: Likewise.
209 * sysdeps/x86_64/tlsdesc.c: Likewise.
210 * elf/dl-load.h: New file.
211 * elf/dl-load.c: Include it.
212 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
213 Macros moved to dl-load.h.
214 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
215 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
216 Use _dl_unmap_segments in place of __munmap.
217 Break out segment-mapping loop into ...
218 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
219
f6488e2b
WN
2202014-04-03 Will Newton <will.newton@linaro.org>
221
222 * elf/dl-lookup.c (do_lookup_x): Remove comment
223 referring to nested function and move variable
224 declarations down to before first use.
225
6f05bafe
JM
2262014-04-02 Joseph Myers <joseph@codesourcery.com>
227
a84e78c8
JM
228 [BZ #16799]
229 [BZ #16800]
230 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
231 with 0 numerator.
232 * math/s_catanf.c (__catanf): Likewise.
233 * math/s_catanh.c (__catanh): Likewise.
234 * math/s_catanhf.c (__catanhf): Likewise.
235 * math/s_catanhl.c (__catanhl): Likewise.
236 * math/s_catanl.c (__catanl): Likewise.
237 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
238 by positive zero when computing -Inf result.
239 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
240 (catanh_test): Likewise.
241 * sysdeps/i386/fpu/libm-test-ulps: Update.
242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
243
6f05bafe
JM
244 [BZ #16789]
245 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
246 instead of using underflowing value in computing result.
247 * math/s_clog10.c (__clog10): Likewise.
248 * math/s_clog10f.c (__clog10f): Likewise.
249 * math/s_clog10l.c (__clog10l): Likewise.
250 * math/s_clogf.c (__clogf): Likewise.
251 * math/s_clogl.c (__clogl): Likewise.
252 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
253 (clog10_test): Likewise.
254 * sysdeps/i386/fpu/libm-test-ulps: Update.
255 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
256
b0abbc21
AM
2572014-04-02 Alan Modra <amodra@gmail.com>
258
259 [BZ #16739]
260 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
261 output when value is near a power of two. Use int64_t for lx and
262 remove casts. Use decimal rather than hex exponent constants.
263 Don't use long double multiplication when double will suffice.
264 * math/libm-test.inc (nextafter_test_data): Add tests.
265 * NEWS: Add 16739 and 16786 to bug list.
266
af6b1797
AM
2672014-04-02 Alan Modra <amodra@gmail.com>
268
269 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
270
483818d7
AM
2712014-04-02 Alan Modra <amodra@gmail.com>
272
273 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
274
f6c55796
WN
2752014-04-01 Will Newton <will.newton@linaro.org>
276
277 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
278 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
279
13f7fe35
FW
2802014-04-01 Florian Weimer <fweimer@redhat.com>
281
282 [BZ #13347]
283 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
284 * nptl/tst-setuid2.c: New file.
285 * nptl/Makefile (xtests): Add tst-setuid2.
286
c859b32e
AM
2872014-04-01 Alan Modra <amodra@gmail.com>
288
289 [BZ #16786]
290 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
291
54fa2475
JM
2922014-03-31 Joseph Myers <joseph@codesourcery.com>
293
8795b4a4
JM
294 [BZ #6803]
295 [BZ #6804]
296 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
297 set errno as appropriate.
298 * math/w_scalbf.c (__scalbf): Likewise.
299 * math/w_scalbl.c (__scalbl): Likewise.
300 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
301 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
302 * math/libm-test.inc (scalb_test_data): Add errno expectations.
303 Add more NaN tests.
304
54fa2475
JM
305 [BZ #16349]
306 * math/w_atan2.c: Include <errno.h>.
307 (__atan2): Set errno for result underflowing to zero.
308 * math/w_atan2f.c: Include <errno.h>.
309 (__atan2f): Set errno for result underflowing to zero.
310 * math/w_atan2l.c: Include <errno.h>.
311 (__atan2l): Set errno for result underflowing to zero.
312 * math/auto-libm-test-in: Don't allow missing errno for some atan2
313 tests.
314 * math/auto-libm-test-out: Regenerated.
315
757d9dd5
AZ
3162014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
317
318 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
319 Encode instruction correctly in little endian.
320 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
321 Likewise.
322 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
323 Likewise.
324 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
325 Likewise.
326 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
327 Likewise.
328
d7a68734
JM
3292014-03-31 Joseph Myers <joseph@codesourcery.com>
330
47c5adeb
JM
331 [BZ #9894]
332 * sysdeps/unix/sysv/linux/kernel-features.h
333 [__sparc__ && !__arch64__ && !__sparc_v9__]
334 (__ASSUME_SET_ROBUST_LIST): Do not define.
335 [__sparc__ && !__arch64__ && !__sparc_v9__]
336 (__ASSUME_FUTEX_LOCK_PI): Likewise.
337 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
338 Likewise.
339 * sysdeps/unix/sysv/linux/arm/kernel-features.h
340 (__ASSUME_FUTEX_LOCK_PI): Undefine.
341 (__ASSUME_REQUEUE_PI): Likewise.
342 (__ASSUME_SET_ROBUST_LIST): Likewise.
343 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
344 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
345 Undefine.
346 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
347 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
348 Likewise.
349 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
350 Likewise.
351 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
352 Likewise.
353 * sysdeps/unix/sysv/linux/mips/kernel-features.h
354 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
355 Undefine.
356 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
357 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
358 Likewise.
359
d7a68734
JM
360 [BZ #16648]
361 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
362 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
363 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
364
c760f5c2
WN
3652014-03-31 Will Newton <will.newton@linaro.org>
366
367 * benchtests/Makefile (bench): Add ffs and ffsll to list
368 of tests.
369 * benchtests/ffs-inputs: New file.
370 * benchtests/ffsll-inputs: Likewise.
371
ea6029b1
JM
3722014-03-29 Joseph Myers <joseph@codesourcery.com>
373
374 [BZ #16770]
375 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
376 too large before casting to int.
377 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
378 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
379 * math/libm-test.inc (scalb_test_data): Add more tests.
380
cf806aff
SP
3812014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
382
56737508
SP
383 * benchtests/Makefile (DETAILED_OPT): New make option.
384 (bench-func): Run benchmark program with -d if DETAILED_OPT is
385 set.
386 * benchtests/bench-skeleton.c: Include stdbool.h.
387 (main): Store and print timings per input.
388 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
389 member to each argument value.
390 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
391 (_print_arg_data): Initialize per-input timing to 0.
392
cb5e4aad
SP
393 * benchtests/Makefile (timing-type): New binary.
394 (bench-clean): Also remove bench-timing-type.
395 (bench): New target for timing-type.
396 (bench-func): Print output in JSON format.
397 * benchtests/bench-skeleton.c (main): Print output in JSON
398 format.
399 * benchtests/bench-timing-type.c: New file.
400 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
401 (TIMING_PRINT_STATS): Remove.
402 * benchtests/scripts/bench.py (_print_arg_data): Store variant
403 name separately.
404
cf806aff
SP
405 * benchtests/bench-modf.c: Remove.
406 * benchtests/modf-inputs: New inputs file.
407
289e0779
JM
4082014-03-28 Joseph Myers <joseph@codesourcery.com>
409
410 [BZ #16362]
411 * math/s_clog10.c (M_PI_LOG10E): New macro.
412 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
413 imaginary parts are 0.
414 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
415 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
416 imaginary parts are 0.
417 * math/s_clog10l.c (M_PI_LOG10El): New macro.
418 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
419 imaginary parts are 0.
420 * math/libm-test.inc (clog10_test_data): Update expected results
421 for when real and imaginary parts are 0.
422
277ae3f1
PP
4232014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
424
425 * elf/dl-load.c: Finish conversion of __builtin_expect into
426 __glibc_{un}likely.
427
03a7091f
JM
4282014-03-27 Joseph Myers <joseph@codesourcery.com>
429
430 [BZ #16348]
431 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
432 1+x for argument with exponent below -67.
433 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
434 Likewise.
435 * math/auto-libm-test-in: Add more tests of exp.
436 * math/auto-libm-test-out: Regenerated.
437
ea7d8b95
SP
4382014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
439
dd3022d7
SP
440 [BZ #16759]
441 * inet/getnetgrent_r.c (get_nonempty_val): New function.
442 (nscd_getnetgrent): Use it.
443
ea7d8b95
SP
444 [BZ #16760]
445 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
446 of stpcpy.
447
df5b85da
AK
4482014-03-27 Andi Kleen <ak@linux.intel.com>
449
450 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
451 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
452 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
453 Remove out of line section. Use cfi intrinsics.
454 (LLL_STUB_UNWIND_INFO*): Remove.
455 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
456 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
457 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
458 Remove out of line section. Use cfi intrinsics.
459 (LLL_STUB_UNWIND_INFO*): Remove.
460
fbd6b5a4
SP
4612014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
462
463 [BZ #16758]
464 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
465 blank values.
466
1b26b855
PP
4672014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
468
469 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
470
9be36fb8
JM
4712014-03-26 Joseph Myers <joseph@codesourcery.com>
472
473 [BZ #16198]
474 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
475 fnstenv.
476 * math/test-fenv-preserve.c: New file.
477 * math/Makefile (tests): Add test-fenv-preserve.
478
60a2f3c1
WN
4792014-03-26 Will Newton <will.newton@linaro.org>
480
481 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
482
a5e5f1e2
RM
4832014-03-25 Roland McGrath <roland@hack.frob.com>
484
485 * scripts/versionlist.awk: Partition the version sets and emit all
486 GLIBC_* (sorted) before all others (sorted).
487
00f4012a
JM
4882014-03-25 Joseph Myers <joseph@codesourcery.com>
489
490 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
491 GLIBC_2.2.5 version.
492
7bc5a741
AZ
4932014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
494
495 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
496 calls.
497
7578473b
AZ
4982014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
499
500 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
501 previous change.
502
f3f1dab3
AZ
5032014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
504
505 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
506
6da36183
AS
5072014-03-25 Andreas Schwab <schwab@suse.de>
508
509 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
510 label to be used after in6ailist is initialized.
511
f3f1dab3 5122014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 513
7578473b 514 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
515 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
516
046651c1
JM
5172014-03-25 Joseph Myers <joseph@codesourcery.com>
518
519 [BZ #16357]
520 [BZ #16599]
521 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
522 min_plus_half.
523 (fp_formats): Update initializers.
524 (init_fp_formats): Initialize new field.
525 (output_for_one_input_case): Allow underflow for results up to
526 min_plus_half.
527 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
528 * math/auto-libm-test-in: Don't mark some underflows from asin and
529 atanh as spurious.
530 * math/auto-libm-test-out: Regenerated.
531 * sysdeps/i386/fpu/libm-test-ulps: Update.
532 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
533
003e49ed
AS
5342014-03-25 Andreas Schwab <schwab@suse.de>
535
536 * libio/Makefile (tst-ftell-partial-wide-ENV)
537 (tst-ftell-active-handler-ENV): Define.
538
de031874
SL
5392014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
540
541 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
542
55a81e3b
PP
5432014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
544
545 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
546
f3426898
JM
5472014-03-24 Joseph Myers <joseph@codesourcery.com>
548
549 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
550 * sysdeps/x86_64/fpu/multiarch/e_exp.c
551 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
552
a42faf59
PP
5532014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
554
555 [BZ #16634]
a42faf59 556 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
557 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
558 (open_path): Change from boolean 'secure' to complete flag 'mode'
559 (_dl_map_object): Adjust.
a42faf59
PP
560 * elf/Makefile (tests): Add tst-dlopen-aout.
561 * elf/tst-dlopen-aout.c: New test.
562
50936127
SL
5632014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
564
565 [BZ #16714]
566 * sysdeps/unix/sysv/linux/s390/bits/stat.h
567 (struct stat): Rename member pad0 to __glibc_reserved0.
568
26011b5c
SL
5692014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
570
571 [BZ #16712]
572 * sysdeps/s390/s390-32/bits/wordsize.h
573 (__WORDSIZE32_SIZE_ULONG): New define.
574 * sysdeps/s390/s390-64/bits/wordsize.h
575 (__WORDSIZE32_SIZE_ULONG): Likewise.
576 * sysdeps/generic/stdint.h (SIZE_MAX):
577 Define as UL if __WORDSIZE32_SIZE_ULONG.
578
a2d86bf1
SL
5792014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
580
581 [BZ #16713]
582 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
583 (__glibc_reserved0): New variable.
584 (sa_flags): Change type to int.
585
78b6eebc
SL
5862014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
587
588 * posix/Makefile (before-compile): Use += before-compile instead
589 of a :=.
590
f1399b5a
SL
5912014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
592
593 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
594 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
595
a071766e
AS
5962014-03-20 Andreas Schwab <schwab@suse.de>
597
598 [BZ #16743]
599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
600 non-matching result from nscd.
601
27c673b8
SP
6022014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
603
604 * scripts/bench.py: Moved to ...
605 * benchtests/scripts/bench.py: ... here.
606 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
607
44152e4b
AS
6082014-03-24 Andreas Schwab <schwab@suse.de>
609
610 [BZ #16002]
611 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
612 alloca_account and account alloca use for struct in6ailist.
613
b376a11a
JM
6142014-03-24 Joseph Myers <joseph@codesourcery.com>
615
616 [BZ #16284]
617 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
618 rounding mode to recompute results that overflow to infinity or
619 underflow to zero.
620 * math/auto-libm-test-in: Don't mark tests as expected to fail for
621 bug 16284.
622 * math/auto-libm-test-out: Regenerated.
623 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
624 (ccosh_test): Likewise.
625 (csin_test_data): Use plus_oflow.
626 (csin_test): Use ALL_RM_TEST.
627 (csinh_test_data): Use plus_oflow.
628 (csinh_test): Use ALL_RM_TEST.
629 * sysdeps/i386/fpu/libm-test-ulps: Update.
630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
631
f7be7376
JM
6322014-03-21 Joseph Myers <joseph@codesourcery.com>
633
1ca2d03e
JM
634 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
635 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
636 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
637
f7be7376
JM
638 [BZ #16731]
639 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
640 when x - 1 is zero.
641 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
642 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
643 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
644 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
645 argument is 1.
646 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
647 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
648 zero.
649 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
650 * sysdeps/i386/fpu/libm-test-ulps: Update.
651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
652
fdf4534d
SP
6532014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
654
df26ea53
SP
655 * scripts/bench.pl: Remove file.
656 * scripts/bench.py: New benchmark script.
657 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
658 * benchtests/README: Mention python dependency.
659 * scripts/pylintrc: New file.
660 * scripts/pylint: New file.
661
fdf4534d
SP
662 * bits/mathdef.h: Use #ifdef instead of #if.
663 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
664 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
665 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
666 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
667 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
668 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
669
6f23d093
AZ
6702014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
671 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
672
673 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
675 and strpbrk-ppc64 objects.
676 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
677 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
678 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
679 multiarch strpbrk for POWER7.
680 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
681 multiarch strpbrk for PPC64.
682 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
683 ifunc selector.
684 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
685 strpbrk for POWER7.
686
8c92dfff
JM
6872014-03-20 Joseph Myers <joseph@codesourcery.com>
688
689 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
690 (atan_test): Likewise.
691 (atanh_test_data): Use NO_TEST_INLINE for two tests.
692 (atanh_test): Use ALL_RM_TEST.
693 (atan2_test_data): Likewise.
694 (cabs_test): Likewise.
695 (cacosh_test): Likewise.
696 (carg_test): Likewise.
697 (casin_test): Likewise.
698 (casinh_test): Likewise.
699 (cbrt_test): Likewise.
700 (csqrt_test): Likewise.
701 (erf_test): Likewise.
702 (erfc_test): Likewise.
703 (pow10_test): Likewise.
704 (exp2_test): Likewise.
705 (hypot_test): Likewise.
706 (j0_test): Likewise.
707 (j1_test): Likewise.
708 (lgamma_test): Likewise.
709 (gamma_test): Likewise.
710 (sincos_test): Likewise.
711 (tanh_test): Likewise.
712 (y0_test): Likewise.
713 (y1_test): Likewise.
714 * sysdeps/i386/fpu/libm-test-ulps: Update.
715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
716
6eaf95cb
AZ
7172014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
718
a387428c
SP
719 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
720 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
721 and strcspn-ppc64 objects.
722 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
723 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
724 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
725 multiarch strcspn for POWER7.
726 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
727 multiarch strcspn for PPC64.
728 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
729 ifunc selector.
730 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
731 strcspn for POWER7.
732
ae3a5dff
JM
7332014-03-20 Joseph Myers <joseph@codesourcery.com>
734
735 * math/gen-libm-test.pl (generate_testfile): Expect only function
736 name as argument to AUTO_TESTS_* and pass results for all rounding
737 modes to parse_args.
738 (parse_auto_input): Separate inputs of automatic tests from
739 outputs before storing in %auto_tests.
740 * math/libm-test.inc (acos_test_data): Update call to
741 AUTO_TESTS_f_f.
742 (acos_test): Use ALL_RM_TEST.
743 (acos_tonearest_test_data): Remove.
744 (acos_test_tonearest): Likewise.
745 (acos_towardzero_test_data): Likewise.
746 (acos_test_towardzero): Likewise.
747 (acos_downward_test_data): Likewise.
748 (acos_test_downward): Likewise.
749 (acos_upward_test_data): Likewise.
750 (acos_test_upward): Likewise.
751 (acosh_test_data): Update call to AUTO_TESTS_f_f.
752 (asin_test_data): Likewise.
753 (asin_test): Use ALL_RM_TEST.
754 (asin_tonearest_test_data): Remove.
755 (asin_test_tonearest): Likewise.
756 (asin_towardzero_test_data): Likewise.
757 (asin_test_towardzero): Likewise.
758 (asin_downward_test_data): Likewise.
759 (asin_test_downward): Likewise.
760 (asin_upward_test_data): Likewise.
761 (asin_test_upward): Likewise.
762 (asinh_test_data): Update call to AUTO_TESTS_f_f.
763 (atan_test_data): Likewise.
764 (atanh_test_data): Likewise.
765 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
766 (cabs_test_data): Update call to AUTO_TESTS_c_f.
767 (carg_test_data): Likewise.
768 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
769 (ccos_test_data): Update call to AUTO_TESTS_c_c.
770 (ccosh_test_data): Likewise.
771 (cexp_test_data): Likewise.
772 (clog_test_data): Likewise.
773 (clog10_test_data): Likewise.
774 (cos_test_data): Update call to AUTO_TESTS_f_f.
775 (cos_test): Use ALL_RM_TEST.
776 (cos_tonearest_test_data): Remove.
777 (cos_test_tonearest): Likewise.
778 (cos_towardzero_test_data): Likewise.
779 (cos_test_towardzero): Likewise.
780 (cos_downward_test_data): Likewise.
781 (cos_test_downward): Likewise.
782 (cos_upward_test_data): Likewise.
783 (cos_test_upward): Likewise.
784 (cosh_test_data): Update call to AUTO_TESTS_f_f.
785 (cosh_test): Use ALL_RM_TEST.
786 (cosh_tonearest_test_data): Remove.
787 (cosh_test_tonearest): Likewise.
788 (cosh_towardzero_test_data): Likewise.
789 (cosh_test_towardzero): Likewise.
790 (cosh_downward_test_data): Likewise.
791 (cosh_test_downward): Likewise.
792 (cosh_upward_test_data): Likewise.
793 (cosh_test_upward): Likewise.
794 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
795 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
796 (ctan_test_data): Likewise.
797 (ctan_test): Use ALL_RM_TEST.
798 (ctan_tonearest_test_data): Remove.
799 (ctan_test_tonearest): Likewise.
800 (ctan_towardzero_test_data): Likewise.
801 (ctan_test_towardzero): Likewise.
802 (ctan_downward_test_data): Likewise.
803 (ctan_test_downward): Likewise.
804 (ctan_upward_test_data): Likewise.
805 (ctan_test_upward): Likewise.
806 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
807 (ctanh_test): Use ALL_RM_TEST.
808 (ctanh_tonearest_test_data): Remove.
809 (ctanh_test_tonearest): Likewise.
810 (ctanh_towardzero_test_data): Likewise.
811 (ctanh_test_towardzero): Likewise.
812 (ctanh_downward_test_data): Likewise.
813 (ctanh_test_downward): Likewise.
814 (ctanh_upward_test_data): Likewise.
815 (ctanh_test_upward): Likewise.
816 (erf_test_data): Update call to AUTO_TESTS_f_f.
817 (erfc_test_data): Likewise.
818 (exp_test_data): Likewise.
819 (exp_test): Use ALL_RM_TEST.
820 (exp_tonearest_test_data): Remove.
821 (exp_test_tonearest): Likewise.
822 (exp_towardzero_test_data): Likewise.
823 (exp_test_towardzero): Likewise.
824 (exp_downward_test_data): Likewise.
825 (exp_test_downward): Likewise.
826 (exp_upward_test_data): Likewise.
827 (exp_test_upward): Likewise.
828 (exp10_test_data): Update call to AUTO_TESTS_f_f.
829 (exp10_test): Use ALL_RM_TEST.
830 (exp10_tonearest_test_data): Remove.
831 (exp10_test_tonearest): Likewise.
832 (exp10_towardzero_test_data): Likewise.
833 (exp10_test_towardzero): Likewise.
834 (exp10_downward_test_data): Likewise.
835 (exp10_test_downward): Likewise.
836 (exp10_upward_test_data): Likewise.
837 (exp10_test_upward): Likewise.
838 (exp2_test_data): Update call to AUTO_TESTS_f_f.
839 (expm1_test_data): Likewise.
840 (expm1_test): Use ALL_RM_TEST.
841 (expm1_tonearest_test_data): Remove.
842 (expm1_test_tonearest): Likewise.
843 (expm1_towardzero_test_data): Likewise.
844 (expm1_test_towardzero): Likewise.
845 (expm1_downward_test_data): Likewise.
846 (expm1_test_downward): Likewise.
847 (expm1_upward_test_data): Likewise.
848 (expm1_test_upward): Likewise.
849 (fma_test_data): Update call to AUTO_TESTS_fff_f.
850 (fma_test): Use ALL_RM_TEST.
851 (fma_towardzero_test_data): Remove.
852 (fma_test_towardzero): Likewise.
853 (fma_downward_test_data): Likewise.
854 (fma_test_downward): Likewise.
855 (fma_upward_test_data): Likewise.
856 (fma_test_upward): Likewise.
857 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
858 (j0_test_data): Update call to AUTO_TESTS_f_f.
859 (j1_test_data): Likewise.
860 (jn_test_data): Update call to AUTO_TESTS_if_f.
861 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
862 (log_test_data): Update call to AUTO_TESTS_f_f.
863 (log10_test_data): Likewise.
864 (log1p_test_data): Likewise.
865 (log2_test_data): Likewise.
866 (pow_test_data): Update call to AUTO_TESTS_ff_f.
867 (pow_tonearest_test_data): Likewise.
868 (sin_test_data): Update call to AUTO_TESTS_f_f.
869 (sin_test): Use ALL_RM_TEST.
870 (sin_tonearest_test_data): Remove.
871 (sin_test_tonearest): Likewise.
872 (sin_towardzero_test_data): Likewise.
873 (sin_test_towardzero): Likewise.
874 (sin_downward_test_data): Likewise.
875 (sin_test_downward): Likewise.
876 (sin_upward_test_data): Likewise.
877 (sin_test_upward): Likewise.
878 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
879 (sinh_test_data): Update call to AUTO_TESTS_f_f.
880 (sinh_test): Use ALL_RM_TEST.
881 (sinh_tonearest_test_data): Remove.
882 (sinh_test_tonearest): Likewise.
883 (sinh_towardzero_test_data): Likewise.
884 (sinh_test_towardzero): Likewise.
885 (sinh_downward_test_data): Likewise.
886 (sinh_test_downward): Likewise.
887 (sinh_upward_test_data): Likewise.
888 (sinh_test_upward): Likewise.
889 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
890 (sqrt_test): Use ALL_RM_TEST.
891 (sqrt_tonearest_test_data): Remove.
892 (sqrt_test_tonearest): Likewise.
893 (sqrt_towardzero_test_data): Likewise.
894 (sqrt_test_towardzero): Likewise.
895 (sqrt_downward_test_data): Likewise.
896 (sqrt_test_downward): Likewise.
897 (sqrt_upward_test_data): Likewise.
898 (sqrt_test_upward): Likewise.
899 (tan_test_data): Update call to AUTO_TESTS_f_f.
900 (tan_test): Use ALL_RM_TEST.
901 (tan_tonearest_test_data): Remove.
902 (tan_test_tonearest): Likewise.
903 (tan_towardzero_test_data): Likewise.
904 (tan_test_towardzero): Likewise.
905 (tan_downward_test_data): Likewise.
906 (tan_test_downward): Likewise.
907 (tan_upward_test_data): Likewise.
908 (tan_test_upward): Likewise.
909 (tanh_test_data): Update call to AUTO_TESTS_f_f.
910 (tgamma_test_data): Likewise.
911 (y0_test_data): Likewise.
912 (y1_test_data): Likewise.
913 (yn_test_data): Update call to AUTO_TESTS_if_f.
914 (main): Do not call removed functions.
915
d71aeee8
JM
9162014-03-19 Joseph Myers <joseph@codesourcery.com>
917
918 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
919 (ldexp_test_data): Remove.
920 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
921 scalbn_test_data.
922 (scalb_test): Use ALL_RM_TEST.
923
baaf1ded
AS
9242014-03-19 Andreas Schwab <schwab@suse.de>
925
926 * nscd/nscd.service: Also invalidate netgroup cache on reload.
927
b1115e91
JM
9282014-03-19 Joseph Myers <joseph@codesourcery.com>
929
930 [BZ #16649]
931 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
932 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
933 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
934 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
935 (__ASSUME_PREADV): Undefine.
936 (__ASSUME_PWRITEV): Likewise.
937
0283ecca
RM
9382014-03-18 Roland McGrath <roland@hack.frob.com>
939
7d375303
RM
940 * bits/mman-linux.h: Add comment about non-Linux use.
941 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
942 bits/mman-linux.h resting place.
943
0283ecca
RM
944 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
945 * bits/mman-linux.h: ... here.
946
aebe1003
AZ
9472014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
948
949 * conform/conformtest.pl: Add standard definition when calling C
950 preprocessor on data files.
951 (checknamespace): Remove unused variable.
952
b29b6bb8
JM
9532014-03-18 Joseph Myers <joseph@codesourcery.com>
954
955 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
956 minus_oflow, plus_uflow and minus_uflow in expected results.
957 * math/libm-test.inc (scalbn_test_data): Add more tests of
958 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
959 minus_uflow.
960 (scalbn_test): Use ALL_RM_TEST.
961 (scalbln_test_data): Add more tests of negative arguments. Use
962 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
963 (scalbln_test): Use ALL_RM_TEST.
964
c8f8fa15
RM
9652014-03-18 Roland McGrath <roland@hack.frob.com>
966
967 * scripts/abilist.awk: Ignore symbols marked with .hidden.
968
fede7a5f
WN
9692014-03-18 Will Newton <will.newton@linaro.org>
970
971 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
972 inaccurate comment.
973
80cf0a58
JM
9742014-03-18 Joseph Myers <joseph@codesourcery.com>
975
976 * Makerules [!subdir] (check-abi): Exit with error status if a
977 test failed.
978
b3620862
JM
9792014-03-17 Joseph Myers <joseph@codesourcery.com>
980
981 * math/libm-test.inc (nearbyint_test_data): Include all tests used
982 for rint. Include results for all rounding modes.
983 (nearbyint_test): Use ALL_RM_TEST.
984 (rint_test_data): Include all tests used for nearbyint.
985
788bba36
WN
9862014-03-17 Will Newton <will.newton@linaro.org>
987
04ec140a
WN
988 * nptl/sysdeps/pthread/pthread.h: Revert previous
989 change.
990
7579d8d5
WN
991 * sysdeps/generic/ldsodefs.h: Revert previous
992 change.
993
c15cf13a
WN
994 * libio/genops.c: Revert previous change.
995 * libio/libioP.h: Likewise.
996 * stdio-common/vfprintf.c: Likewise.
997
d0ac1324
WN
998 * sysdeps/generic/math_private.h: Revert previous
999 change.
1000
9290130a
WN
1001 * sysdeps/generic/math_private.h: Check whether
1002 HAVE_RM_CTX is defined with #ifdef rather
1003 than #if.
1004
afb466fc
WN
1005 * argp/argp-fmtstream.h: Check whether
1006 __STRICT_ANSI__ is defined with #ifdef rather
1007 than #if.
1008 * argp/argp.h: Likewise.
1009
f7efd7c3
WN
1010 * libio/genops.c: Check whether
1011 _IO_JUMPS_OFFSET is defined with #ifdef rather
1012 than #if.
1013 * libio/libioP.h: Likewise.
1014 * stdio-common/vfprintf.c: Likewise.
1015
53f1bed3
WN
1016 * sysdeps/generic/ldsodefs.h: Check whether
1017 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1018 than #if.
1019
788bba36
WN
1020 * nptl/sysdeps/pthread/pthread.h: Check
1021 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1022 its value.
1023
fcd89ebe
SP
10242014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1025
ae42bbc5
SP
1026 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1027 setting O_APPEND.
1028 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1029 test case.
1030
ea33158c
SP
1031 [BZ #16680]
1032 * libio/fileops.c (_IO_file_open): Seek to end of file but
1033 don't cache the offset.
1034 (get_file_offset): Remove function.
1035 (do_ftell): Use cached offset when available.
1036 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1037 don't cache the offset.
1038 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1039 case.
1040 (do_one_test): Call it.
1041 (do_ftell_test): Fix up expected old offset for a+ mode.
1042 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1043 available.
1044
b1dbb426
SP
1045 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1046 up test status with function return status.
1047 (do_write_test): Likewise.
1048 (do_append_test): Likewise.
1049
fcd89ebe
SP
1050 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1051 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1052 Remove.
1053
9962a2d3
JM
10542014-03-17 Joseph Myers <joseph@codesourcery.com>
1055
1056 * math/gen-libm-test.pl (parse_args): Handle results specified for
1057 each rounding mode separately.
1058 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1059 tests and results from lrint_tonearest_test_data,
1060 lrint_towardzero_test_data, lrint_downward_test_data and
1061 lrint_upward_test_data.
1062 (lrint_test): Use ALL_RM_TEST.
1063 (lrint_tonearest_test_data): Remove.
1064 (lrint_test_tonearest): Likewise.
1065 (lrint_towardzero_test_data): Likewise.
1066 (lrint_test_towardzero): Likewise.
1067 (lrint_downward_test_data): Likewise.
1068 (lrint_test_downward): Likewise.
1069 (lrint_upward_test_data): Likewise.
1070 (lrint_test_upward): Likewise.
1071 (llrint_test_data): Merge in per-rounding-mode tests and results
1072 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1073 llrint_downward_test_data and llrint_upward_test_data.
1074 (llrint_test): Use ALL_RM_TEST.
1075 (llrint_tonearest_test_data): Remove.
1076 (llrint_test_tonearest): Likewise.
1077 (llrint_towardzero_test_data): Likewise.
1078 (llrint_test_towardzero): Likewise.
1079 (llrint_downward_test_data): Likewise.
1080 (llrint_test_downward): Likewise.
1081 (llrint_upward_test_data): Likewise.
1082 (llrint_test_upward): Likewise.
1083 (rint_test_data): Merge in per-rounding-mode tests and results
1084 from rint_tonearest_test_data, rint_towardzero_test_data,
1085 rint_downward_test_data and rint_upward_test_data. Add
1086 per-rounding-mode results for tests not in those arrays.
1087 (rint_test): Use ALL_RM_TEST.
1088 (rint_tonearest_test_data): Remove.
1089 (rint_test_tonearest): Likewise.
1090 (rint_towardzero_test_data): Likewise.
1091 (rint_test_towardzero): Likewise.
1092 (rint_downward_test_data): Likewise.
1093 (rint_test_downward): Likewise.
1094 (rint_upward_test_data): Likewise.
1095 (rint_test_upward): Likewise.
1096 (main): Don't call removed functions.
1097
5006148e
RM
10982014-03-14 Roland McGrath <roland@hack.frob.com>
1099
1100 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1101 "Compiled on ..." crapola. It is anti-useful.
1102
d6fe5e58
JM
11032014-03-14 Joseph Myers <joseph@codesourcery.com>
1104
1105 * scripts/evaluate-test.sh: Handle fourth argument to determine
1106 whether test run should stop on failure.
1107 * Makeconfig (stop-on-test-failure): New variable.
1108 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1109 $(stop-on-test-failure).
1110 * Makefile (tests): Give a summary of results from testing and
1111 exit with failure status if they include an ERROR or FAIL.
1112 (xtests): Likewise.
1113 * manual/install.texi (Configuring and compiling): Mention
1114 stop-on-test-failure=y.
1115 * INSTALL: Regenerated.
1116
498a2233
RM
11172014-03-14 Roland McGrath <roland@hack.frob.com>
1118
22dbc19d
RM
1119 * scripts/versionlist.awk: New file.
1120 * Makerules [$(build-shared) = yes]
1121 (postclean-generated): Add Versions.def, not Versions.def.v and
1122 Versions.def.v.i.
1123 ($(common-objpfx)Versions.def.v.i): Target removed.
1124 ($(common-objpfx)Versions.def): New target.
1125 ($(common-objpfx)Versions.all): Depend on that rather that
1126 $(common-objpfx)Versions.def.v.
1127 * Versions.def: File removed.
1128
498a2233
RM
1129 * Makeconfig (+gccwarn): Add -Wundef.
1130 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1131 a dl-sysdep.h breaking its contract.
1132 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1133 * include/stackinfo.h: New file.
1134 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1135 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1136 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1137 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1138 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1139 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1140 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1141 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1142 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1143 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1144 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1145 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1146 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1147 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1148 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1149
c7de5025
AZ
11502014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1151
1152 [BZ #16707]
1153 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1154 implementation.
1155 * math/libm-test.inc (round_test_data): Add more tests.
1156
98fb27a3
AZ
11572014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1158
1159 [BZ #16706]
1160 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1161 implementation.
1162 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1163
374f7f61
AZ
11642014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1165
1166 [BZ #16701]
1167 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1168 implementation.
1169 * math/libm-test.inc (ceil_test_data): Add more tests.
1170
4655c291
AZ
11712014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1172
1173 * math/libm-test.inc (trunc_test_data): Add more tests related to
1174 BZ#16414.
1175
d7329d4b
RM
11762014-03-14 Roland McGrath <roland@hack.frob.com>
1177
1178 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1179 with #if rather than #ifdef.
1180 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1181
aa4de9ce
L
11822014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1183
1184 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1185 first. Disable AVX-512 GCC support if assembler doesn't support
1186 it.
1187 * sysdeps/x86_64/configure: Regenerated.
1188
2e03fae7
CD
11892014-03-13 Carlos O'Donell <carlos@redhat.com>
1190
1191 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1192 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1193 (__old_pthread_attr_setstack): Likewise.
1194 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1195 [!_STACK_GROWS_DOWN]: Likewise.
1196
43ca83ec
MF
11972014-03-13 Mike Frysinger <vapier@gentoo.org>
1198
1199 * config.make.in (have-bash2): Delete.
1200 * configure.ac (libc_cv_have_bash2): Delete.
1201 * configure: Regenerate.
1202 * elf/Makefile (common-ldd-rewrite): Rename to ...
1203 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1204 (sh-ldd-rewrite): Delete.
1205 (bash-ldd-rewrite): Delete.
1206 (have-bash2): Delete checks.
1207 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1208
c66e48b4
MF
12092014-03-13 Mike Frysinger <vapier@gentoo.org>
1210
1211 * config.make.in (have-ksh): Delete.
1212 (KSH): Delete.
1213 * configure.ac (libc_cv_have_ksh): Delete.
1214 * configure: Regenerate.
1215
b93834ef
MF
12162014-03-13 Mike Frysinger <vapier@gentoo.org>
1217
1218 * elf/Makefile: Delete $(have-ksh) check.
1219 ($(objpfx)sotruss): Change KSH to BASH.
1220 * elf/sotruss.ksh: Rename to ...
1221 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1222 function style to match POSIX. Drop ksh vim mode setting.
1223
f3a4632a
MF
12242014-03-13 Mike Frysinger <vapier@gentoo.org>
1225
1226 * manual/time.texi (Specifying the Time Zone with TZ): Change
1227 Tuesday to Thursday.
1228
5896c8bd
MF
12292014-03-13 Mike Frysinger <vapier@gentoo.org>
1230
1231 * debug/tst-longjmp_chk2.c: Update header comment.
1232 (stackoverflow_handler): Add comment. Call assert on pass value.
1233
2d63a517
IZ
12342014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1235
1236 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1237 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1238 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1239 (La_x86_64_vector): Add zmm.
1240 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1241 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1242 ($(objpfx)tst-audit10): New target.
1243 ($(objpfx)tst-audit10.out): Likewise.
1244 (tst-audit10-ENV): New.
1245 (AVX512-CFLAGS): Likewise.
1246 (CFLAGS-tst-audit10.c): Likewise.
1247 (CFLAGS-tst-auditmod10a.c): Likewise.
1248 (CFLAGS-tst-auditmod10b.c): Likewise.
1249 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1250 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1251 * sysdeps/x86_64/configure: Regenerated.
1252 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1253 AVX-512 zmm register support.
1254 (_dl_x86_64_save_sse): Likewise.
1255 (_dl_x86_64_restore_sse): Likewise.
1256 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1257 size vector registers.
1258 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1259 (ZMM_SIZE): Likewise.
1260 * sysdeps/x86_64/tst-audit10.c: New file.
1261 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1262 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1263
44c4e5d5
RM
12642014-03-13 Roland McGrath <roland@hack.frob.com>
1265
1266 * configure.ac (HAVE_EHDR_START): New check.
1267 * configure: Regenerated.
1268 * config.h.in (HAVE_EHDR_START): New #undef.
1269 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1270 assuming the lowest-addressed segment maps the start of the file.
1271
acd6e389
JM
12722014-03-13 Joseph Myers <joseph@codesourcery.com>
1273
1274 * INSTALL: Regenerated.
1275
6f918f36
WN
12762014-03-13 Will Newton <will.newton@linaro.org>
1277
1278 * manual/setjmp.texi (System V contexts): Improve
1279 clarity and grammar of documentation.
1280
798212a0
PP
12812014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1282
1283 [BZ #16381]
798212a0 1284 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1285 (tests-pie): Add tst-pie2.
798212a0
PP
1286 * elf/tst-pie2.c: New file.
1287 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1288 for ET_EXEC.
1289 * elf/rtld.c (map_doit): Load executable as lt_executable.
1290 (dl_main): Likewise.
1291
abe6d90c
JM
12922014-03-12 Joseph Myers <joseph@codesourcery.com>
1293
1294 [BZ #16642]
1295 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1296 (__ASSUME_PSELECT): Undefine.
1297
dd3946c6
AZ
12982014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1299
1300 [BZ #16689]
1301 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1302 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1303 static build.
1304 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1305 selector for static builds.
1306
c44496df
SP
13072014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1308
1309 [BZ #16695]
1310 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1311 key in the buffer.
1312
27c7220a
AZ
13132014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1314
1315 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1316 selector for static builds.
1317
600fa361
JM
13182014-03-11 Joseph Myers <joseph@codesourcery.com>
1319
76c96cf7
JM
1320 * sysdeps/mips/math_private.h [__mips_hard_float]
1321 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1322 libc_feresetround_mips_ctx.
1323 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1324 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1325 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1326
600fa361
JM
1327 [BZ #16677]
1328 * math/s_nextafter.c (__nextafter): Do not return value from
1329 overflowing computation.
1330 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1331 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1332 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1333 Likewise.
1334 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1335 Likewise.
1336 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1337 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1338
d7706c32
RM
13392014-03-11 Roland McGrath <roland@hack.frob.com>
1340
1341 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1342 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1343 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1344 the new mov targetting sp.
1345
4facea47
AZ
13462014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1347
1348 [BZ #16683]
1349 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1350 Define it for static builds as well.
1351 (NO_BZERO_IMPL): Likewise.
1352
e65caf1f
VR
13532014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1354
1355 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1356 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1357 multiarch strspn for PPC64.
1358 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1359 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1360 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1361 (__libc_ifunc_impl_list): Likewise.
1362 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1363 multiarch optimizations
1364 * string/strspn.c (strspn): Using macro to redefine symbol name.
1365
ba9cc071
AZ
13662014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1367 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1368
1369 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1370 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1371 multiarch strncat for PPC64.
1372 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1373 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1374 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1375 (__libc_ifunc_impl_list): Likewise.
1376 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1377 multiarch optimizations
1378
8b4ff974
SP
13792014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1380
1381 [BZ #16639]
1382 * nscd/nscd.service: Make service type forking.
1383
54b46a4b
AZ
13842014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1385
1386 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1387 sign in non default rounding modes.
1388 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1389
e9996ef7
JM
13902014-03-08 Joseph Myers <joseph@codesourcery.com>
1391
1392 * math/libm-test.inc (ALL_RM_TEST): New macro.
1393 (ceil_test): Use ALL_RM_TEST.
1394 (cimag_test): Likewise.
1395 (conj_test): Likewise.
1396 (copysign_test): Likewise.
1397 (cproj_test): Likewise.
1398 (creal_test): Likewise.
1399 (fabs_test): Likewise.
1400 (floor_test): Likewise.
1401 (fmax_test): Likewise.
1402 (fmin_test): Likewise.
1403 (fmod_test): Likewise.
1404 (fpclassify_test): Likewise.
1405 (frexp_test): Likewise.
1406 (ilogb_test): Likewise.
1407 (isfinite_test): Likewise.
1408 (finite_test): Likewise.
1409 (isgreater_test): Likewise.
1410 (isgreaterequal_test): Likewise.
1411 (isinf_test): Likewise.
1412 (isless_test): Likewise.
1413 (islessequal_test): Likewise.
1414 (islessgreater_test): Likewise.
1415 (isnan_test): Likewise.
1416 (isnormal_test): Likewise.
1417 (issignaling_test): Likewise.
1418 (isunordered_test): Likewise.
1419 (logb_test): Likewise.
1420 (logb_downward_test_data): Remove.
1421 (logb_test_downward): Likewise.
1422 (lround_test): Use ALL_RM_TEST.
1423 (llround_test): Likewise.
1424 (modf_test): Likewise.
1425 (nexttoward_test): Likewise.
1426 (remainder_test): Likewise.
1427 (drem_test): Likewise.
1428 (remainder_tonearest_test_data): Likewise.
1429 (remainder_test_tonearest): Likewise.
1430 (drem_test_tonearest): Likewise.
1431 (remainder_towardzero_test_data): Likewise.
1432 (remainder_test_towardzero): Likewise.
1433 (drem_test_towardzero): Likewise.
1434 (remainder_downward_test_data): Likewise.
1435 (remainder_test_downward): Likewise.
1436 (drem_test_downward): Likewise.
1437 (remainder_upward_test_data): Likewise.
1438 (remainder_test_upward): Likewise.
1439 (drem_test_upward): Likewise.
1440 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1441 (round_test): Use ALL_RM_TEST.
1442 (signbit_test): Likewise.
1443 (trunc_test): Likewise.
1444 (significand_test): Likewise.
1445 (main): Don't call removed functions.
1446
bc61d27c
JM
14472014-03-07 Joseph Myers <joseph@codesourcery.com>
1448
5c780849
JM
1449 [BZ #16674]
1450 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1451 || __USE_XOPEN2K8].
1452 (ILL_ILLOPN): Likewise.
1453 (ILL_ILLADR): Likewise.
1454 (ILL_ILLTRP): Likewise.
1455 (ILL_PRVOPC): Likewise.
1456 (ILL_PRVREG): Likewise.
1457 (ILL_COPROC): Likewise.
1458 (ILL_BADSTK): Likewise.
1459 (FPE_INTDIV): Likewise.
1460 (FPE_INTOVF): Likewise.
1461 (FPE_FLTDIV): Likewise.
1462 (FPE_FLTOVF): Likewise.
1463 (FPE_FLTUND): Likewise.
1464 (FPE_FLTRES): Likewise.
1465 (FPE_FLTINV): Likewise.
1466 (FPE_FLTSUB): Likewise.
1467 (SEGV_MAPERR): Likewise.
1468 (SEGV_ACCERR): Likewise.
1469 (BUS_ADRALN): Likewise.
1470 (BUS_ADRERR): Likewise.
1471 (BUS_OBJERR): Likewise.
1472 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1473 (TRAP_TRACE): Likewise.
1474 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1475 __USE_XOPEN2K8].
1476 (CLD_KILLED): Likewise.
1477 (CLD_DUMPED): Likewise.
1478 (CLD_TRAPPED): Likewise.
1479 (CLD_STOPPED): Likewise.
1480 (CLD_CONTINUED): Likewise.
1481 (POLL_IN): Likewise.
1482 (POLL_OUT): Likewise.
1483 (POLL_MSG): Likewise.
1484 (POLL_ERR): Likewise.
1485 (POLL_PRI): Likewise.
1486 (POLL_HUP): Likewise.
1487 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1488 Likewise.
1489 (ILL_ILLOPN): Likewise.
1490 (ILL_ILLADR): Likewise.
1491 (ILL_ILLTRP): Likewise.
1492 (ILL_PRVOPC): Likewise.
1493 (ILL_PRVREG): Likewise.
1494 (ILL_COPROC): Likewise.
1495 (ILL_BADSTK): Likewise.
1496 (FPE_INTDIV): Likewise.
1497 (FPE_INTOVF): Likewise.
1498 (FPE_FLTDIV): Likewise.
1499 (FPE_FLTOVF): Likewise.
1500 (FPE_FLTUND): Likewise.
1501 (FPE_FLTRES): Likewise.
1502 (FPE_FLTINV): Likewise.
1503 (FPE_FLTSUB): Likewise.
1504 (SEGV_MAPERR): Likewise.
1505 (SEGV_ACCERR): Likewise.
1506 (BUS_ADRALN): Likewise.
1507 (BUS_ADRERR): Likewise.
1508 (BUS_OBJERR): Likewise.
1509 (BUS_MCEERR_AR): Likewise.
1510 (BUS_MCEERR_AO): Likewise.
1511 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1512 (TRAP_TRACE): Likewise.
1513 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1514 __USE_XOPEN2K8].
1515 (CLD_KILLED): Likewise.
1516 (CLD_DUMPED): Likewise.
1517 (CLD_TRAPPED): Likewise.
1518 (CLD_STOPPED): Likewise.
1519 (CLD_CONTINUED): Likewise.
1520 (POLL_IN): Likewise.
1521 (POLL_OUT): Likewise.
1522 (POLL_MSG): Likewise.
1523 (POLL_ERR): Likewise.
1524 (POLL_PRI): Likewise.
1525 (POLL_HUP): Likewise.
1526 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1527 (ILL_ILLOPN): Likewise.
1528 (ILL_ILLADR): Likewise.
1529 (ILL_ILLTRP): Likewise.
1530 (ILL_PRVOPC): Likewise.
1531 (ILL_PRVREG): Likewise.
1532 (ILL_COPROC): Likewise.
1533 (ILL_BADSTK): Likewise.
1534 (FPE_INTDIV): Likewise.
1535 (FPE_INTOVF): Likewise.
1536 (FPE_FLTDIV): Likewise.
1537 (FPE_FLTOVF): Likewise.
1538 (FPE_FLTUND): Likewise.
1539 (FPE_FLTRES): Likewise.
1540 (FPE_FLTINV): Likewise.
1541 (FPE_FLTSUB): Likewise.
1542 (SEGV_MAPERR): Likewise.
1543 (SEGV_ACCERR): Likewise.
1544 (BUS_ADRALN): Likewise.
1545 (BUS_ADRERR): Likewise.
1546 (BUS_OBJERR): Likewise.
1547 (BUS_MCEERR_AR): Likewise.
1548 (BUS_MCEERR_AO): Likewise.
1549 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1550 (TRAP_TRACE): Likewise.
1551 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1552 __USE_XOPEN2K8].
1553 (CLD_KILLED): Likewise.
1554 (CLD_DUMPED): Likewise.
1555 (CLD_TRAPPED): Likewise.
1556 (CLD_STOPPED): Likewise.
1557 (CLD_CONTINUED): Likewise.
1558 (POLL_IN): Likewise.
1559 (POLL_OUT): Likewise.
1560 (POLL_MSG): Likewise.
1561 (POLL_ERR): Likewise.
1562 (POLL_PRI): Likewise.
1563 (POLL_HUP): Likewise.
1564 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1565 Likewise.
1566 (ILL_ILLOPN): Likewise.
1567 (ILL_ILLADR): Likewise.
1568 (ILL_ILLTRP): Likewise.
1569 (ILL_PRVOPC): Likewise.
1570 (ILL_PRVREG): Likewise.
1571 (ILL_COPROC): Likewise.
1572 (ILL_BADSTK): Likewise.
1573 (ILL_BADIADDR): Likewise.
1574 (ILL_BREAK): Likewise.
1575 (FPE_INTDIV): Likewise.
1576 (FPE_INTOVF): Likewise.
1577 (FPE_FLTDIV): Likewise.
1578 (FPE_FLTOVF): Likewise.
1579 (FPE_FLTUND): Likewise.
1580 (FPE_FLTRES): Likewise.
1581 (FPE_FLTINV): Likewise.
1582 (FPE_FLTSUB): Likewise.
1583 (FPE_DECOVF): Likewise.
1584 (FPE_DECDIV): Likewise.
1585 (FPE_DECERR): Likewise.
1586 (FPE_INVASC): Likewise.
1587 (FPE_INVDEC): Likewise.
1588 (SEGV_MAPERR): Likewise.
1589 (SEGV_ACCERR): Likewise.
1590 (SEGV_PSTKOVF): Likewise.
1591 (BUS_ADRALN): Likewise.
1592 (BUS_ADRERR): Likewise.
1593 (BUS_OBJERR): Likewise.
1594 (BUS_MCEERR_AR): Likewise.
1595 (BUS_MCEERR_AO): Likewise.
1596 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1597 (TRAP_TRACE): Likewise.
1598 (TRAP_BRANCH): Likewise.
1599 (TRAP_HWBKPT): Likewise.
1600 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1601 __USE_XOPEN2K8].
1602 (CLD_KILLED): Likewise.
1603 (CLD_DUMPED): Likewise.
1604 (CLD_TRAPPED): Likewise.
1605 (CLD_STOPPED): Likewise.
1606 (CLD_CONTINUED): Likewise.
1607 (POLL_IN): Likewise.
1608 (POLL_OUT): Likewise.
1609 (POLL_MSG): Likewise.
1610 (POLL_ERR): Likewise.
1611 (POLL_PRI): Likewise.
1612 (POLL_HUP): Likewise.
1613 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1614 (ILL_ILLOPN): Likewise.
1615 (ILL_ILLADR): Likewise.
1616 (ILL_ILLTRP): Likewise.
1617 (ILL_PRVOPC): Likewise.
1618 (ILL_PRVREG): Likewise.
1619 (ILL_COPROC): Likewise.
1620 (ILL_BADSTK): Likewise.
1621 (FPE_INTDIV): Likewise.
1622 (FPE_INTOVF): Likewise.
1623 (FPE_FLTDIV): Likewise.
1624 (FPE_FLTOVF): Likewise.
1625 (FPE_FLTUND): Likewise.
1626 (FPE_FLTRES): Likewise.
1627 (FPE_FLTINV): Likewise.
1628 (FPE_FLTSUB): Likewise.
1629 (SEGV_MAPERR): Likewise.
1630 (SEGV_ACCERR): Likewise.
1631 (BUS_ADRALN): Likewise.
1632 (BUS_ADRERR): Likewise.
1633 (BUS_OBJERR): Likewise.
1634 (BUS_MCEERR_AR): Likewise.
1635 (BUS_MCEERR_AO): Likewise.
1636 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1637 (TRAP_TRACE): Likewise.
1638 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1639 __USE_XOPEN2K8].
1640 (CLD_KILLED): Likewise.
1641 (CLD_DUMPED): Likewise.
1642 (CLD_TRAPPED): Likewise.
1643 (CLD_STOPPED): Likewise.
1644 (CLD_CONTINUED): Likewise.
1645 (POLL_IN): Likewise.
1646 (POLL_OUT): Likewise.
1647 (POLL_MSG): Likewise.
1648 (POLL_ERR): Likewise.
1649 (POLL_PRI): Likewise.
1650 (POLL_HUP): Likewise.
1651 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1652 (ILL_ILLOPN): Likewise.
1653 (ILL_ILLADR): Likewise.
1654 (ILL_ILLTRP): Likewise.
1655 (ILL_PRVOPC): Likewise.
1656 (ILL_PRVREG): Likewise.
1657 (ILL_COPROC): Likewise.
1658 (ILL_BADSTK): Likewise.
1659 (FPE_INTDIV): Likewise.
1660 (FPE_INTOVF): Likewise.
1661 (FPE_FLTDIV): Likewise.
1662 (FPE_FLTOVF): Likewise.
1663 (FPE_FLTUND): Likewise.
1664 (FPE_FLTRES): Likewise.
1665 (FPE_FLTINV): Likewise.
1666 (FPE_FLTSUB): Likewise.
1667 (SEGV_MAPERR): Likewise.
1668 (SEGV_ACCERR): Likewise.
1669 (BUS_ADRALN): Likewise.
1670 (BUS_ADRERR): Likewise.
1671 (BUS_OBJERR): Likewise.
1672 (BUS_MCEERR_AR): Likewise.
1673 (BUS_MCEERR_AO): Likewise.
1674 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1675 (TRAP_TRACE): Likewise.
1676 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1677 __USE_XOPEN2K8].
1678 (CLD_KILLED): Likewise.
1679 (CLD_DUMPED): Likewise.
1680 (CLD_TRAPPED): Likewise.
1681 (CLD_STOPPED): Likewise.
1682 (CLD_CONTINUED): Likewise.
1683 (POLL_IN): Likewise.
1684 (POLL_OUT): Likewise.
1685 (POLL_MSG): Likewise.
1686 (POLL_ERR): Likewise.
1687 (POLL_PRI): Likewise.
1688 (POLL_HUP): Likewise.
1689 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1690 (ILL_ILLOPN): Likewise.
1691 (ILL_ILLADR): Likewise.
1692 (ILL_ILLTRP): Likewise.
1693 (ILL_PRVOPC): Likewise.
1694 (ILL_PRVREG): Likewise.
1695 (ILL_COPROC): Likewise.
1696 (ILL_BADSTK): Likewise.
1697 (FPE_INTDIV): Likewise.
1698 (FPE_INTOVF): Likewise.
1699 (FPE_FLTDIV): Likewise.
1700 (FPE_FLTOVF): Likewise.
1701 (FPE_FLTUND): Likewise.
1702 (FPE_FLTRES): Likewise.
1703 (FPE_FLTINV): Likewise.
1704 (FPE_FLTSUB): Likewise.
1705 (SEGV_MAPERR): Likewise.
1706 (SEGV_ACCERR): Likewise.
1707 (BUS_ADRALN): Likewise.
1708 (BUS_ADRERR): Likewise.
1709 (BUS_OBJERR): Likewise.
1710 (BUS_MCEERR_AR): Likewise.
1711 (BUS_MCEERR_AO): Likewise.
1712 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1713 (TRAP_TRACE): Likewise.
1714 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1715 __USE_XOPEN2K8].
1716 (CLD_KILLED): Likewise.
1717 (CLD_DUMPED): Likewise.
1718 (CLD_TRAPPED): Likewise.
1719 (CLD_STOPPED): Likewise.
1720 (CLD_CONTINUED): Likewise.
1721 (POLL_IN): Likewise.
1722 (POLL_OUT): Likewise.
1723 (POLL_MSG): Likewise.
1724 (POLL_ERR): Likewise.
1725 (POLL_PRI): Likewise.
1726 (POLL_HUP): Likewise.
1727 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1728 (ILL_ILLOPN): Likewise.
1729 (ILL_ILLADR): Likewise.
1730 (ILL_ILLTRP): Likewise.
1731 (ILL_PRVOPC): Likewise.
1732 (ILL_PRVREG): Likewise.
1733 (ILL_COPROC): Likewise.
1734 (ILL_BADSTK): Likewise.
1735 (ILL_DBLFLT): Likewise.
1736 (ILL_HARDWALL): Likewise.
1737 (FPE_INTDIV): Likewise.
1738 (FPE_INTOVF): Likewise.
1739 (FPE_FLTDIV): Likewise.
1740 (FPE_FLTOVF): Likewise.
1741 (FPE_FLTUND): Likewise.
1742 (FPE_FLTRES): Likewise.
1743 (FPE_FLTINV): Likewise.
1744 (FPE_FLTSUB): Likewise.
1745 (SEGV_MAPERR): Likewise.
1746 (SEGV_ACCERR): Likewise.
1747 (BUS_ADRALN): Likewise.
1748 (BUS_ADRERR): Likewise.
1749 (BUS_OBJERR): Likewise.
1750 (BUS_MCEERR_AR): Likewise.
1751 (BUS_MCEERR_AO): Likewise.
1752 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1753 (TRAP_TRACE): Likewise.
1754 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1755 __USE_XOPEN2K8].
1756 (CLD_KILLED): Likewise.
1757 (CLD_DUMPED): Likewise.
1758 (CLD_TRAPPED): Likewise.
1759 (CLD_STOPPED): Likewise.
1760 (CLD_CONTINUED): Likewise.
1761 (POLL_IN): Likewise.
1762 (POLL_OUT): Likewise.
1763 (POLL_MSG): Likewise.
1764 (POLL_ERR): Likewise.
1765 (POLL_PRI): Likewise.
1766 (POLL_HUP): Likewise.
1767 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1768 (ILL_ILLOPN): Likewise.
1769 (ILL_ILLADR): Likewise.
1770 (ILL_ILLTRP): Likewise.
1771 (ILL_PRVOPC): Likewise.
1772 (ILL_PRVREG): Likewise.
1773 (ILL_COPROC): Likewise.
1774 (ILL_BADSTK): Likewise.
1775 (FPE_INTDIV): Likewise.
1776 (FPE_INTOVF): Likewise.
1777 (FPE_FLTDIV): Likewise.
1778 (FPE_FLTOVF): Likewise.
1779 (FPE_FLTUND): Likewise.
1780 (FPE_FLTRES): Likewise.
1781 (FPE_FLTINV): Likewise.
1782 (FPE_FLTSUB): Likewise.
1783 (SEGV_MAPERR): Likewise.
1784 (SEGV_ACCERR): Likewise.
1785 (BUS_ADRALN): Likewise.
1786 (BUS_ADRERR): Likewise.
1787 (BUS_OBJERR): Likewise.
1788 (BUS_MCEERR_AR): Likewise.
1789 (BUS_MCEERR_AO): Likewise.
1790 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1791 (TRAP_TRACE): Likewise.
1792 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1793 __USE_XOPEN2K8].
1794 (CLD_KILLED): Likewise.
1795 (CLD_DUMPED): Likewise.
1796 (CLD_TRAPPED): Likewise.
1797 (CLD_STOPPED): Likewise.
1798 (CLD_CONTINUED): Likewise.
1799 (POLL_IN): Likewise.
1800 (POLL_OUT): Likewise.
1801 (POLL_MSG): Likewise.
1802 (POLL_ERR): Likewise.
1803 (POLL_PRI): Likewise.
1804 (POLL_HUP): Likewise.
1805 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1806 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1807
bc61d27c
JM
1808 [BZ #16670]
1809 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1810 before #include of <time.h>.
1811 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1812 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1813 (test-xfail-UNIX98/sched.h/conform): Likewise.
1814
302949e2
MS
18152014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1816
1817 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1818 error absence of trapping exception support.
1819 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1820
a00f522a
JM
18212014-03-07 Joseph Myers <joseph@codesourcery.com>
1822
6f99f280
JM
1823 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1824 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1825 * timezone/Makefile (testdata): Move definition above include of
1826 Rules.
1827 (test-zones): New variable.
1828 (tests-special): Add zone files.
1829 (build-testdata): Use $(evaluate-test).
1830
0b20a9e8
JM
1831 * elf/Makefile (tests-special): Rename tests to end with .out.
1832 ($(objpfx)noload-mem): Likewise.
1833 ($(objpfx)tst-leaks1-mem): Likewise.
1834 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1835 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1836 $(objpfx)test-iconvconfig.out.
1837 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1838 set -e inside subshell and redirect output to file.
1839 * iconvdata/Makefile (generated): Rename tests to end with .out.
1840 Correct type.
1841 (tests-special): Rename tests to end with .out.
1842 ($(objpfx)mtrace-tst-loading): Likewise.
1843 * intl/Makefile (generated): Likewise.
1844 (tests-special): Likewise.
1845 ($(objpfx)mtrace-tst-gettext): Likewise.
1846 * misc/Makefile (generated): Likewise.
1847 (tests-special): Likewise.
1848 ($(objpfx)tst-error1-mem): Likewise.
1849 * nptl/Makefile (tests-special): Likewise.
1850 ($(objpfx)tst-stack3-mem): Likewise.
1851 (generated): Likewise.
1852 * posix/Makefile (generated): Likewise.
1853 (tests-special): Likewise.
1854 (xtests-special): Likewise.
1855 ($(objpfx)tst-fnmatch-mem): Likewise.
1856 ($(objpfx)bug-regex2-mem): Likewise.
1857 ($(objpfx)bug-regex14-mem): Likewise.
1858 ($(objpfx)bug-regex21-mem): Likewise.
1859 ($(objpfx)bug-regex31-mem): Likewise.
1860 ($(objpfx)tst-vfork3-mem): Likewise.
1861 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1862 ($(objpfx)tst-pcre-mem): Likewise.
1863 ($(objpfx)tst-boost-mem): Likewise.
1864 ($(objpfx)bug-ga2-mem): Likewise.
1865 ($(objpfx)bug-glob2-mem): Likewise.
1866 * resolv/Makefile (generate): Likewise.
1867 (tests-special): Likewise.
1868 (xtests-special): Likewise.
1869 (generated): Likewise.
1870 ($(objpfx)mtrace-tst-leaks): Likewise.
1871 ($(objpfx)mtrace-tst-leaks2): Likewise.
1872
265d52ab
JM
1873 * scripts/merge-test-results.sh: New file.
1874 * Makefile (tests-special-notdir): New variable.
1875 (tests): Run merge-test-results.sh.
1876 (xtests): Likewise.
1877 * Rules (tests-special-notdir): New variable.
1878 (xtests-special-notdir): Likewise.
1879 (tests): Run merge-test-results.sh
1880 (xtests): Likewise.
1881
54ee292d
JM
1882 * Makeconfig (test-xfail-name): New variable.
1883 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1884 compute variable name for expected failures.
1885 * conform/Makefile (conformtest-headers-data): New variable.
1886 (conformtest-standards): Likewise.
1887 (conformtest-headers-ISO): Likewise.
1888 (conformtest-headers-ISO99): Likewise.
1889 (conformtest-headers-ISO11): Likewise.
1890 (conformtest-headers-POSIX): Likewise.
1891 (conformtest-headers-XPG3): Likewise.
1892 (conformtest-headers-XPG4): Likewise.
1893 (conformtest-headers-UNIX98): Likewise.
1894 (conformtest-headers-XOPEN2K): Likewise.
1895 (conformtest-headers-POSIX2008): Likewise.
1896 (conformtest-headers-XOPEN2K8): Likewise.
1897 (conformtest-header-list-base): Likewise.
1898 (conformtest-header-list-tests): Likewise.
1899 (conformtest-header-base): Likewise.
1900 (conformtest-header-tests): Likewise.
1901 (tests-special): Add $(conformtest-header-list-tests). If
1902 [$(fast-check) && !$(cross-compiling)], add
1903 $(conformtest-header-tests) instead of
1904 $(objpfx)run-conformtest.out.
1905 (generated): Add $(conformtest-header-list-base). If
1906 [$(fast-check) && !$(cross-compiling)], add
1907 $(conformtest-header-base). Remove previous setting.
1908 ($(conformtest-header-list-tests)): New target.
1909 (test-xfail-run-conformtest): Remove variable.
1910 ($(objpfx)run-conformtest.out): Remove target.
1911 (test-xfail-ISO11/complex.h/conform): New variable.
1912 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1913 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1914 (test-xfail-XPG3/varargs.h/conform): Likewise.
1915 (test-xfail-XPG4/varargs.h/conform): Likewise.
1916 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1917 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1918 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1919 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1920 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1921 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1922 (test-xfail-XPG3/ftw.h/conform): Likewise.
1923 (test-xfail-XPG3/grp.h/conform): Likewise.
1924 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1925 (test-xfail-XPG3/limits.h/conform): Likewise.
1926 (test-xfail-XPG3/pwd.h/conform): Likewise.
1927 (test-xfail-XPG3/search.h/conform): Likewise.
1928 (test-xfail-XPG3/signal.h/conform): Likewise.
1929 (test-xfail-XPG3/stdio.h/conform): Likewise.
1930 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1931 (test-xfail-XPG3/string.h/conform): Likewise.
1932 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1933 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1934 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1935 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1936 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1937 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1938 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1939 (test-xfail-XPG3/termios.h/conform): Likewise.
1940 (test-xfail-XPG3/time.h/conform): Likewise.
1941 (test-xfail-XPG3/unistd.h/conform): Likewise.
1942 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1943 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1944 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1945 (test-xfail-XPG4/netdb.h/conform): Likewise.
1946 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1947 (test-xfail-XPG4/signal.h/conform): Likewise.
1948 (test-xfail-XPG4/stdio.h/conform): Likewise.
1949 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1950 (test-xfail-XPG4/stropts.h/conform): Likewise.
1951 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1952 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1953 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1954 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1955 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1956 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1957 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1958 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1959 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1960 (test-xfail-XPG4/termios.h/conform): Likewise.
1961 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1962 (test-xfail-XPG4/unistd.h/conform): Likewise.
1963 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1964 (test-xfail-POSIX/sched.h/conform): Likewise.
1965 (test-xfail-POSIX/signal.h/conform): Likewise.
1966 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1967 (test-xfail-POSIX/tar.h/conform): Likewise.
1968 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1969 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1970 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1971 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1972 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1973 (test-xfail-UNIX98/sched.h/conform): Likewise.
1974 (test-xfail-UNIX98/signal.h/conform): Likewise.
1975 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1976 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1977 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1978 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
1979 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
1980 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
1981 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
1982 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
1983 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
1984 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
1985 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
1986 (test-xfail-UNIX98/unistd.h/conform): Likewise.
1987 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
1988 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
1989 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
1990 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
1991 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
1992 (test-xfail-XOPEN2K/math.h/conform): Likewise.
1993 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
1994 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
1995 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
1996 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
1997 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
1998 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
1999 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2000 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2001 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2002 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2003 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2004 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2005 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2006 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2007 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2008 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2009 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2010 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2011 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2012 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2013 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2014 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2015 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2016 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2017 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2018 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2019 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2020 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2021 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2022 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2023 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2024 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2025 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2026 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2027 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2028 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2029 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2030 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2031 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2032 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2033 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2034 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2035 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2036 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2037 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2038 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2039 (conformtest-cc-flags): Likewise.
2040 ($(conformtest-header-tests): New target.
2041 * conform/check-header-lists.sh: New file.
2042 * conform/run-conformtest.sh: Remove.
2043
a00f522a
JM
2044 * conform/conformtest.pl: Allow ' and \ in values given for
2045 constants.
2046 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2047 inclusion.
2048 [POSIX] (sys/types.h): Likewise.
2049 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2050 inclusion.
2051 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2052 inclusion.
2053 * conform/data/signal.h-data (SIGIO): Remove expectation.
2054 [XPG3] (SIGBUS): Do not expect.
2055 [POSIX || XPG3] (SIGPOLL): Likewise.
2056 [POSIX || XPG3] (SIGPROF): Likewise.
2057 [POSIX || XPG3] (SIGSYS): Likewise.
2058 [XPG3] (SIGTRAP): Likewise.
2059 [POSIX || XPG3] (SIGURG): Likewise.
2060 [POSIX || XPG3] (SIGVTALRM): Likewise.
2061 [POSIX || XPG3] (SIGXCPU): Likewise.
2062 [POSIX || XPG3] (SIGXFSZ): Likewise.
2063 [POSIX] (SA_SIGINFO): Expect.
2064 [XPG3] (siginfo_t): Do not expect type or contents.
2065 [POSIX] (si_pid): Do not expect element.
2066 [POSIX] (si_uid): Likewise.
2067 [POSIX] (si_addr): Likewise.
2068 [POSIX] (si_status): Likewise.
2069 [POSIX] (si_band): Likewise.
2070 [XPG4] (si_value): Likewise.
2071 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2072 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2073 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2074 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2075 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2076 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2077 [POSIX || XPG3] (ILL_COPROC): Likewise.
2078 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2079 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2080 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2081 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2082 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2083 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2084 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2085 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2086 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2087 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2088 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2089 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2090 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2091 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2092 [POSIX || XPG3] (CLD_EXITED): Likewise.
2093 [POSIX || XPG3] (CLD_KILLED): Likewise.
2094 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2095 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2096 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2097 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2098 [POSIX || XPG3] (POLL_IN): Likewise.
2099 [POSIX || XPG3] (POLL_OUT): Likewise.
2100 [POSIX || XPG3] (POLL_MSG): Likewise.
2101 [POSIX || XPG3] (POLL_ERR): Likewise.
2102 [POSIX || XPG3] (POLL_PRI): Likewise.
2103 [POSIX || XPG3] (POLL_HUP): Likewise.
2104 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2105 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2106 (SIG*): Do not allow.
2107 [XPG3] (si_*): Likewise.
2108 [XPG3] (SI_*): Likewise.
2109 [XPG3 || XPG4] (sigev_*): Likewise.
2110 [XPG3 || XPG4] (SIGEV_*): Likewise.
2111 [XPG3 || XPG4] (sival_*): Likewise.
2112 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2113 [POSIX || XPG3] (BUS_*): Likewise.
2114 [POSIX || XPG3] (CLD_*): Likewise.
2115 [POSIX || XPG3] (FPE_*): Likewise.
2116 [POSIX || XPG3] (ILL_*): Likewise.
2117 [POSIX || XPG3] (POLL_*): Likewise.
2118 [POSIX || XPG3] (SEGV_*): Likewise.
2119 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2120 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2121 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2122 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2123 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2124 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2125 Specify type and value.
2126 (TVERSLEN): Likewise.
2127 (REGTYPE): Likewise.
2128 (AREGTYPE): Likewise.
2129 (LNKTYPE): Likewise.
2130 (SYMTYPE): Likewise.
2131 (CHRTYPE): Likewise.
2132 (BLKTYPE): Likewise.
2133 (DIRTYPE): Likewise.
2134 (FIFOTYPE): Likewise.
2135 (CONTTYPE): Likewise.
2136 (TSUID): Likewise.
2137 (TSGID): Likewise.
2138 (TSVTX): Likewise.
2139 (TUREAD): Likewise.
2140 (TUWRITE): Likewise.
2141 (TUEXEC): Likewise.
2142 (TGREAD): Likewise.
2143 (TGWRITE): Likewise.
2144 (TGEXEC): Likewise.
2145 (TOREAD): Likewise.
2146 (TOWRITE): Likewise.
2147 (TOEXEC): Likewise.
2148 [POSIX] (TSVTX): Expect constant.
2149
aa97dee1
JM
21502014-03-06 Joseph Myers <joseph@codesourcery.com>
2151
f214606a
JM
2152 * Makefile (tests): Change dependencies to ....
2153 (tests-special): ... additions to this variable.
2154 (tests): Depend on $(tests-special).
2155 * Makerules (check-abi-list): New variable.
2156 (check-abi): Depend on $(check-abi-list).
2157 [$(subdir) = elf] (tests-special): Add
2158 $(objpfx)check-abi-libc.out.
2159 [$(build-shared) = yes && subdir] (tests-special): Add
2160 $(check-abi-list).
2161 [$(build-shared) = yes && subdir] (tests): Do not depend on
2162 check-abi.
2163 * Rules (tests): Depend on $(tests-special).
2164 (xtests): Depend on $(xtests-special).
2165 * catgets/Makefile (tests): Change dependencies to ....
2166 (tests-special): ... additions to this variable.
2167 * conform/Makefile (tests): Change dependencies to ....
2168 (tests-special): ... additions to this variable.
2169 * elf/Makefile (tests): Change dependencies to ....
2170 (tests-special): ... additions to this variable.
2171 * grp/Makefile (tests): Change dependencies to ....
2172 (tests-special): ... additions to this variable.
2173 * iconv/Makefile (xtests): Change dependencies to ....
2174 (xtests-special): ... additions to this variable.
2175 * iconvdata/Makefile (tests): Change dependencies to ....
2176 (tests-special): ... additions to this variable.
2177 * intl/Makefile (tests): Change dependencies to ....
2178 (tests-special): ... additions to this variable. Also add
2179 $(objpfx)tst-gettext.out.
2180 * io/Makefile (tests): Change dependencies to ....
2181 (tests-special): ... additions to this variable.
2182 * libio/Makefile (tests): Change dependencies to ....
2183 (tests-special): ... additions to this variable.
2184 * malloc/Makefile (tests): Change dependencies to ....
2185 (tests-special): ... additions to this variable.
2186 * misc/Makefile (tests): Change dependencies to ....
2187 (tests-special): ... additions to this variable.
2188 * nptl/Makefile (tests): Change dependencies to ....
2189 (tests-special): ... additions to this variable.
2190 * nptl_db/Makefile (tests): Change dependencies to ....
2191 (tests-special): ... additions to this variable.
2192 * posix/Makefile (tests): Change dependencies to ....
2193 (tests-special): ... additions to this variable.
2194 (xtests): Change dependencies to ....
2195 (xtests-special): ... additions to this variable.
2196 * resolv/Makefile (tests): Change dependencies to ....
2197 (tests-special): ... additions to this variable.
2198 (xtests): Change dependencies to ....
2199 (xtests-special): ... additions to this variable.
2200 * stdio-common/Makefile (tests): Change dependencies to ....
2201 (tests-special): ... additions to this variable.
2202 (do-tst-unbputc): Remove target.
2203 (do-tst-printf): Likewise.
2204 * stdlib/Makefile (tests): Change dependencies to ....
2205 (tests-special): ... additions to this variable.
2206 * string/Makefile (tests): Change dependencies to ....
2207 (tests-special): ... additions to this variable.
2208 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2209 (tests-special): ... additions to this variable.
2210
81700b53
JM
2211 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2212 whole file.
2213 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2214 whole file.
2215 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2216 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2217
2ea18461
JM
2218 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2219 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2220 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2221 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2222 * conform/data/libgen.h-data [XPG3]: Likewise.
2223 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2224 * conform/data/ndbm.h-data [XPG3]: Likewise.
2225 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2226 * conform/data/netdb.h-data [XPG3]: Likewise.
2227 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2228 * conform/data/poll.h-data [XPG3]: Likewise.
2229 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2230 * conform/data/strings.h-data [XPG3]: Likewise.
2231 * conform/data/stropts.h-data [XPG3]: Likewise.
2232 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2233 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2234 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2235 Likewise.
2236 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2237 * conform/data/sys/time.h-data [XPG3]: Likewise.
2238 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2239 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2240 * conform/data/sys/un.h-data [XPG3]: Likewise.
2241 * conform/data/syslog.h-data [XPG3]: Likewise.
2242 * conform/data/ucontext.h-data [XPG3]: Likewise.
2243 * conform/data/utmpx.h-data [XPG3]: Likewise.
2244 * conform/data/varargs.h-data [UNIX98]: Enable file.
2245
355bc986
JM
2246 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2247
215db402
JM
2248 * math/libm-test.inc (struct test_f_f_data): Move expected results
2249 into structure for each rounding mode.
2250 (struct test_ff_f_data): Likewise.
2251 (struct test_ff_f_data_nexttoward): Likewise.
2252 (struct test_fi_f_data): Likewise.
2253 (struct test_fl_f_data): Likewise.
2254 (struct test_if_f_data): Likewise.
2255 (struct test_fff_f_data): Likewise.
2256 (struct test_c_f_data): Likewise.
2257 (struct test_f_f1_data): Likewise.
2258 (struct test_fF_f1_data): Likewise.
2259 (struct test_ffI_f1_data): Likewise.
2260 (struct test_c_c_data): Likewise.
2261 (struct test_cc_c_data): Likewise.
2262 (struct test_f_i_data): Likewise.
2263 (struct test_ff_i_data): Likewise.
2264 (struct test_f_l_data): Likewise.
2265 (struct test_f_L_data): Likewise.
2266 (struct test_fFF_11_data): Likewise.
2267 (RM_): New macro.
2268 (RM_FE_DOWNWARD): Likewise.
2269 (RM_FE_TONEAREST): Likewise.
2270 (RM_FE_TOWARDZERO): Likewise.
2271 (RM_FE_UPWARD): Likewise.
2272 (RUN_TEST_LOOP_f_f): Update references to expected results.
2273 (RUN_TEST_LOOP_2_f): Likewise.
2274 (RUN_TEST_LOOP_fff_f): Likewise.
2275 (RUN_TEST_LOOP_c_f): Likewise.
2276 (RUN_TEST_LOOP_f_f1): Likewise.
2277 (RUN_TEST_LOOP_fF_f1): Likewise.
2278 (RUN_TEST_LOOP_fI_f1): Likewise.
2279 (RUN_TEST_LOOP_ffI_f1): Likewise.
2280 (RUN_TEST_LOOP_c_c): Likewise.
2281 (RUN_TEST_LOOP_cc_c): Likewise.
2282 (RUN_TEST_LOOP_f_i): Likewise.
2283 (RUN_TEST_LOOP_f_i_tg): Likewise.
2284 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2285 (RUN_TEST_LOOP_f_b): Likewise.
2286 (RUN_TEST_LOOP_f_b_tg): Likewise.
2287 (RUN_TEST_LOOP_f_l): Likewise.
2288 (RUN_TEST_LOOP_f_L): Likewise.
2289 (RUN_TEST_LOOP_fFF_11): Likewise.
2290 * math/gen-libm-test.pl (parse_args): Output four copies of
2291 expected results for each test.
2292
67737b8f
JM
2293 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2294 (__ASSUME_UTIMES): Remove.
2295 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2296 (__ASSUME_UTIMES): Likewise.
2297
aa97dee1
JM
2298 * math/gen-auto-libm-tests.c: Update comment on output format.
2299 (output_for_one_input_case): Generate before-rounding and
2300 after-rounding information as conditions on output flags not
2301 floating-point format.
2302 * math/auto-libm-test-out: Regenerated.
2303 * math/gen-libm-test.pl (cond_value): New function.
2304 (or_cond_value): Use cond_value.
2305 (generate_testfile): Handle conditional exceptions.
2306
e6b6a857
JM
23072014-03-05 Joseph Myers <joseph@codesourcery.com>
2308
2f0a0f44
JM
2309 * math/libm-test.inc (max_valid_error): New variable.
2310 (init_max_error): Take new argument specifying whether function
2311 results are exactly determined. Set max_valid_error and bound
2312 other variables for errors based on this argument.
2313 (set_max_error): Do not record results above max_valid_error.
2314 (check_float_internal): Only accept errors of up to 0.5ulps if
2315 also at most max_valid_error.
2316 (START): Take new argument EXACT and pass it to init_max_error.
2317 (acos_test): Update call to START.
2318 (acos_test_tonearest): Likewise.
2319 (acos_test_towardzero): Likewise.
2320 (acos_test_downward): Likewise.
2321 (acos_test_upward): Likewise.
2322 (acosh_test): Likewise.
2323 (asin_test): Likewise.
2324 (asin_test_tonearest): Likewise.
2325 (asin_test_towardzero): Likewise.
2326 (asin_test_downward): Likewise.
2327 (asin_test_upward): Likewise.
2328 (asinh_test): Likewise.
2329 (atan_test): Likewise.
2330 (atanh_test): Likewise.
2331 (atan2_test): Likewise.
2332 (cabs_test): Likewise.
2333 (cacos_test): Likewise.
2334 (cacosh_test): Likewise.
2335 (carg_test): Likewise.
2336 (casin_test): Likewise.
2337 (casinh_test): Likewise.
2338 (catan_test): Likewise.
2339 (catanh_test): Likewise.
2340 (cbrt_test): Likewise.
2341 (ccos_test): Likewise.
2342 (ccosh_test): Likewise.
2343 (ceil_test): Likewise.
2344 (cexp_test): Likewise.
2345 (cimag_test): Likewise.
2346 (clog_test): Likewise.
2347 (clog10_test): Likewise.
2348 (conj_test): Likewise.
2349 (copysign_test): Likewise.
2350 (cos_test): Likewise.
2351 (cos_test_tonearest): Likewise.
2352 (cos_test_towardzero): Likewise.
2353 (cos_test_downward): Likewise.
2354 (cos_test_upward): Likewise.
2355 (cosh_test): Likewise.
2356 (cosh_test_tonearest): Likewise.
2357 (cosh_test_towardzero): Likewise.
2358 (cosh_test_downward): Likewise.
2359 (cosh_test_upward): Likewise.
2360 (cpow_test): Likewise.
2361 (cproj_test): Likewise.
2362 (creal_test): Likewise.
2363 (csin_test): Likewise.
2364 (csinh_test): Likewise.
2365 (csqrt_test): Likewise.
2366 (ctan_test): Likewise.
2367 (ctan_test_tonearest): Likewise.
2368 (ctan_test_towardzero): Likewise.
2369 (ctan_test_downward): Likewise.
2370 (ctan_test_upward): Likewise.
2371 (ctanh_test): Likewise.
2372 (ctanh_test_tonearest): Likewise.
2373 (ctanh_test_towardzero): Likewise.
2374 (ctanh_test_downward): Likewise.
2375 (ctanh_test_upward): Likewise.
2376 (erf_test): Likewise.
2377 (erfc_test): Likewise.
2378 (exp_test): Likewise.
2379 (exp_test_tonearest): Likewise.
2380 (exp_test_towardzero): Likewise.
2381 (exp_test_downward): Likewise.
2382 (exp_test_upward): Likewise.
2383 (exp10_test): Likewise.
2384 (exp10_test_tonearest): Likewise.
2385 (exp10_test_towardzero): Likewise.
2386 (exp10_test_downward): Likewise.
2387 (exp10_test_upward): Likewise.
2388 (pow10_test): Likewise.
2389 (exp2_test): Likewise.
2390 (expm1_test): Likewise.
2391 (expm1_test_tonearest): Likewise.
2392 (expm1_test_towardzero): Likewise.
2393 (expm1_test_downward): Likewise.
2394 (expm1_test_upward): Likewise.
2395 (fabs_test): Likewise.
2396 (fdim_test): Likewise.
2397 (floor_test): Likewise.
2398 (fma_test): Likewise.
2399 (fma_test_towardzero): Likewise.
2400 (fma_test_downward): Likewise.
2401 (fma_test_upward): Likewise.
2402 (fmax_test): Likewise.
2403 (fmin_test): Likewise.
2404 (fmod_test): Likewise.
2405 (fpclassify_test): Likewise.
2406 (frexp_test): Likewise.
2407 (hypot_test): Likewise.
2408 (ilogb_test): Likewise.
2409 (isfinite_test): Likewise.
2410 (finite_test): Likewise.
2411 (isgreater_test): Likewise.
2412 (isgreaterequal_test): Likewise.
2413 (isinf_test): Likewise.
2414 (isless_test): Likewise.
2415 (islessequal_test): Likewise.
2416 (islessgreater_test): Likewise.
2417 (isnan_test): Likewise.
2418 (isnormal_test): Likewise.
2419 (issignaling_test): Likewise.
2420 (isunordered_test): Likewise.
2421 (j0_test): Likewise.
2422 (j1_test): Likewise.
2423 (jn_test): Likewise.
2424 (ldexp_test): Likewise.
2425 (lgamma_test): Likewise.
2426 (gamma_test): Likewise.
2427 (lrint_test): Likewise.
2428 (lrint_test_tonearest): Likewise.
2429 (lrint_test_towardzero): Likewise.
2430 (lrint_test_downward): Likewise.
2431 (lrint_test_upward): Likewise.
2432 (llrint_test): Likewise.
2433 (llrint_test_tonearest): Likewise.
2434 (llrint_test_towardzero): Likewise.
2435 (llrint_test_downward): Likewise.
2436 (llrint_test_upward): Likewise.
2437 (log_test): Likewise.
2438 (log10_test): Likewise.
2439 (log1p_test): Likewise.
2440 (log2_test): Likewise.
2441 (logb_test): Likewise.
2442 (logb_test_downward): Likewise.
2443 (lround_test): Likewise.
2444 (llround_test): Likewise.
2445 (modf_test): Likewise.
2446 (nearbyint_test): Likewise.
2447 (nextafter_test): Likewise.
2448 (nexttoward_test): Likewise.
2449 (pow_test): Likewise.
2450 (pow_test_tonearest): Likewise.
2451 (pow_test_towardzero): Likewise.
2452 (pow_test_downward): Likewise.
2453 (pow_test_upward): Likewise.
2454 (remainder_test): Likewise.
2455 (drem_test): Likewise.
2456 (remainder_test_tonearest): Likewise.
2457 (drem_test_tonearest): Likewise.
2458 (remainder_test_towardzero): Likewise.
2459 (drem_test_towardzero): Likewise.
2460 (remainder_test_downward): Likewise.
2461 (drem_test_downward): Likewise.
2462 (remainder_test_upward): Likewise.
2463 (drem_test_upward): Likewise.
2464 (remquo_test): Likewise.
2465 (rint_test): Likewise.
2466 (rint_test_tonearest): Likewise.
2467 (rint_test_towardzero): Likewise.
2468 (rint_test_downward): Likewise.
2469 (rint_test_upward): Likewise.
2470 (round_test): Likewise.
2471 (scalb_test): Likewise.
2472 (scalbn_test): Likewise.
2473 (scalbln_test): Likewise.
2474 (signbit_test): Likewise.
2475 (sin_test): Likewise.
2476 (sin_test_tonearest): Likewise.
2477 (sin_test_towardzero): Likewise.
2478 (sin_test_downward): Likewise.
2479 (sin_test_upward): Likewise.
2480 (sincos_test): Likewise.
2481 (sinh_test): Likewise.
2482 (sinh_test_tonearest): Likewise.
2483 (sinh_test_towardzero): Likewise.
2484 (sinh_test_downward): Likewise.
2485 (sinh_test_upward): Likewise.
2486 (sqrt_test): Likewise.
2487 (sqrt_test_tonearest): Likewise.
2488 (sqrt_test_towardzero): Likewise.
2489 (sqrt_test_downward): Likewise.
2490 (sqrt_test_upward): Likewise.
2491 (tan_test): Likewise.
2492 (tan_test_tonearest): Likewise.
2493 (tan_test_towardzero): Likewise.
2494 (tan_test_downward): Likewise.
2495 (tan_test_upward): Likewise.
2496 (tanh_test): Likewise.
2497 (tgamma_test): Likewise.
2498 (trunc_test): Likewise.
2499 (y0_test): Likewise.
2500 (y1_test): Likewise.
2501 (yn_test): Likewise.
2502 (significand_test): Likewise.
2503
e6b6a857
JM
2504 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2505 individual tests in comment.
2506 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2507 (prev_max_error): New variable.
2508 (prev_real_max_error): Likewise.
2509 (prev_imag_max_error): Likewise.
2510 (compare_ulp_data): Don't refer to test names in comment.
2511 (find_test_ulps): Remove function.
2512 (find_function_ulps): Likewise.
2513 (find_complex_function_ulps): Likewise.
2514 (init_max_error): Take function name as argument. Look up ulps
2515 for that function.
2516 (print_ulps): Remove function.
2517 (print_max_error): Use prev_max_error instead of calling
2518 find_function_ulps.
2519 (print_complex_max_error): Use prev_real_max_error and
2520 prev_imag_max_error instead of calling find_complex_function_ulps.
2521 (check_float_internal): Take max_ulp parameter instead of calling
2522 find_test_ulps. Don't call print_ulps.
2523 (check_float): Update call to check_float_internal.
2524 (check_complex): Update calls to check_float_internal.
2525 (START): Pass argument to init_max_error.
2526 * math/gen-libm-test.pl (%results): Don't include "kind"
2527 information.
2528 (parse_ulps): Don't handle ulps of individual tests.
2529 (print_ulps_file): Likewise.
2530 (output_ulps): Likewise.
2531 * math/README.libm-test: Update.
2532 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2533 individual tests.
2534 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2535 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2536 * sysdeps/arm/libm-test-ulps: Likewise.
2537 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2538 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2539 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2540 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2541 * sysdeps/microblaze/libm-test-ulps: Likewise.
2542 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2543 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2544 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2545 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2546 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2547 * sysdeps/sh/libm-test-ulps: Likewise.
2548 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2549 * sysdeps/tile/libm-test-ulps: Likewise.
2550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2551
45adef3c
JM
25522014-03-04 Joseph Myers <joseph@codesourcery.com>
2553
2554 * math/libm-test.inc (print_complex_max_error): Check separately
2555 whether real and imaginary errors are within allowed range and
2556 pass 0 to print_complex_function_ulps instead of value within
2557 allowed range.
2558
000232b9
SP
25592014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2560
d4b17258
SP
2561 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2562 formatting.
2563 (get_handles_fopen): Likewise.
2564 (do_write_test): Likewise.
2565
091eff71
SP
2566 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2567
fa3cd248
SP
2568 * libio/fileops.c (do_ftell): Use cached offset when
2569 available.
2570 * libio/iofwide.c (do_ftell_wide): Likewise.
2571 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2572 _IO_file_attach.
2573 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2574
000232b9
SP
2575 [BZ #16532]
2576 * libio/libioP.h (get_file_offset): New function.
2577 * libio/fileops.c (get_file_offset): Likewise.
2578 (do_ftell): Likewise.
2579 (_IO_new_file_seekoff): Split out ftell logic.
2580 * libio/wfileops.c (do_ftell_wide): Likewise.
2581 (_IO_wfile_seekoff): Split out ftell logic.
2582 * libio/tst-ftell-active-handler.c: New test case.
2583 * libio/Makefile (tests): Add it.
2584
116f4d1a
RM
25852014-03-03 Roland McGrath <roland@hack.frob.com>
2586
2587 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2588 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2589
532a6035
SP
25902014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2591
2592 [BZ #16639]
2593 * nscd/connections.c (nscd_init): Call do_exit.
2594 (start_threads): Call do_exit and notify_parent.
2595 (begin_drop_privileges): Call do_exit.
2596 (finish_drop_privileges): Likewise.
2597 * nscd/selinux.c (preserve_capabilities): Likewise.
2598 (install_real_capabilities): Likewise.
2599 (nscd_selinux_enabled): Likewise.
2600 (avc_create_thread): Likewise.
2601 (avc_alloc_lock): Likewise.
2602 (nscd_avc_init): Likewise.
2603 * nscd/nscd.c (parent_fd): New static variable.
2604 (main): Create a pipe between parent and child processes.
2605 Skip closing parent_fd.
2606 (monitor_child): New function.
2607 (do_exit): Likewise.
2608 (notify_parent): Likewise.
2609 * nscd/nscd.h (notify_parent): Likewise.
2610 (do_exit): Likewise.
2611
d6285c9f
CD
26122014-03-03 Carlos O'Donell <carlos@redhat.com>
2613
2614 * malloc/malloc.c (__libc_calloc): Revert last change.
2615
2b85d2a0
AZ
26162014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2617
2618 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2619
c7debbdf
RS
26202014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2621
2622 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2623 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2624 implementation.
2625 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2626 (__libc_ifunc_impl_list): Likewise.
2627 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2628 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2629 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2630 * string/strrchr.c: Define STRRCHR.
2631
235eed86
OB
26322014-02-28 Ondřej Bílka <neleai@seznam.cz>
2633
2634 * benchtest/bench-strtok.c (simple_strtok): Delete.
2635 (strtok_string): Use as benchmark.
2636 * string/strtok (STRTOK): New macro.
2637
8e25d1e7
CD
26382014-02-28 Carlos O'Donell <carlos@redhat.com>
2639
ef563f92
CD
2640 * manual/threads.texi: Add header and standard comments to all
2641 functions.
2642
8e25d1e7
CD
2643 * elf/dl-lookup.c (check_match): New function.
2644 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2645 (do_lookup_x): Remove nested function check_match. Use non-nested
2646 function check_match.
2647
ff71cc37
RM
26482014-02-28 Roland McGrath <roland@hack.frob.com>
2649
f08e9a26
RM
2650 * csu/Makefile (generated, before-compile): Use += rather than =.
2651 * catgets/Makefile (generated, generated-dirs): Likewise.
2652 * debug/Makefile (generated): Likewise.
2653 * dlfcn/Makefile (generated): Likewise.
2654 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2655 * iconvdata/Makefile (before-compile, generated): Likewise.
2656 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2657 * libio/Makefile (generated): Likewise.
2658 * malloc/Makefile (generated): Likewise.
2659 * manual/Makefile (generated, generated-dirs): Likewise.
2660 * misc/Makefile (generated): Likewise.
2661 * posix/Makefile (generated): Likewise.
2662 * resolv/Makefile (generated): Likewise.
2663 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2664 * timezone/Makefile (generated, generated-dirs): Likewise.
2665
ff71cc37
RM
2666 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2667
fe13a20c
AZ
26682014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2669
2670 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2671 implementation.
2672 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2673 POWER8 llround ifunc implementation.
2674 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2675 POWER8 implementation.
2676 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2677 POWER8 llround implementation.
2678
1ad8950a
AZ
26792014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2680
2681 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2682 implementation.
2683 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2684 POWER8 llrint ifunc implementation.
2685 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2686 POWER8 implementation.
2687 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2688 POWER8 llrint implementation.
2689
cac626d6
AZ
26902014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2691
2692 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2693 implementation.
2694 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2695 POWER8 finite ifunc implementation.
2696 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2697 POWER8 implementation.
2698 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2699 Likewise.
2700 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2701 POWER8 finite implementation.
2702 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2703
4393fc11
AZ
27042014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2705
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2707 implementation.
2708 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2709 POWER8 isinf ifunc implementation.
2710 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2711 POWER8 implementation.
2712 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2713 Likewise.
2714 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2715 POWER8 isinf implementation.
2716 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2717
487972ae
AZ
27182014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2719
2720 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2721 Add hwcap2 initialization.
2722 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2723 implementation.
2724 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2725 POWER8 isnan ifunc implementation.
2726 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2727 POWER8 implementation.
2728 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2729 Likewise.
2730 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2731 POWER8 isnan implementation.
2732 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2733
7d92b787
JY
27342014-02-27 Joey Ye <joey.ye@arm.com>
2735
2736 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2737 (_FP_NANFRAC_Q): Set to zero.
2738
1cadc858
SP
27392014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2740
2741 [BZ #16623]
2742 * math/auto-libm-test-in: New test inputs.
2743 * math/auto-libm-test-out: Regenerate.
2744 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2745 and DA.
2746 (__cos): Likewise.
2747 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2748
f8c17e79
JM
27492014-02-27 Joseph Myers <joseph@codesourcery.com>
2750
2751 * scripts/evaluate-test.sh: Take new argument indicating whether
2752 failure is expected.
2753 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2754 indicating whether failure is expected.
2755 * conform/Makefile (test-xfail-run-conformtest): New variable.
2756 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2757 level.
2758 * posix/Makefile (test-xfail-annexc): New variable.
2759 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2760
a5f891ac
JM
27612014-02-26 Joseph Myers <joseph@codesourcery.com>
2762
2763 * argp/Makefile: Include Makeconfig immediately after defining
2764 subdir.
2765 * assert/Makefile: Likewise.
2766 * benchtests/Makefile: Likewise.
2767 * catgets/Makefile: Likewise.
2768 * conform/Makefile: Likewise.
2769 * crypt/Makefile: Likewise.
2770 * csu/Makefile: Likewise.
2771 (all): Remove target.
2772 * ctype/Makefile: Include Makeconfig immediately after defining
2773 subdir.
2774 * debug/Makefile: Likewise.
2775 * dirent/Makefile: Likewise.
2776 * dlfcn/Makefile: Likewise.
2777 * gmon/Makefile: Likewise.
2778 * gnulib/Makefile: Likewise.
2779 * grp/Makefile: Likewise.
2780 * gshadow/Makefile: Likewise.
2781 * hesiod/Makefile: Likewise.
2782 * hurd/Makefile: Likewise.
2783 (all): Remove target.
2784 * iconvdata/Makefile: Include Makeconfig immediately after
2785 defining subdir.
2786 * inet/Makefile: Likewise.
2787 * intl/Makefile: Likewise.
2788 * io/Makefile: Likewise.
2789 * libio/Makefile: Likewise.
2790 (all): Remove target.
2791 * locale/Makefile: Include Makeconfig immediately after defining
2792 subdir.
2793 * login/Makefile: Likewise.
2794 * mach/Makefile: Likewise.
2795 (all): Remove target.
2796 * malloc/Makefile: Include Makeconfig immediately after defining
2797 subdir.
2798 (all): Remove target.
2799 * manual/Makefile: Include Makeconfig immediately after defining
2800 subdir.
2801 * math/Makefile: Likewise.
2802 * misc/Makefile: Likewise.
2803 * nis/Makefile: Likewise.
2804 * nss/Makefile: Likewise.
2805 * po/Makefile: Likewise.
2806 (all): Remove target.
2807 * posix/Makefile: Include Makeconfig immediately after defining
2808 subdir.
2809 * pwd/Makefile: Likewise.
2810 * resolv/Makefile: Likewise.
2811 * resource/Makefile: Likewise.
2812 * rt/Makefile: Likewise.
2813 * setjmp/Makefile: Likewise.
2814 * shadow/Makefile: Likewise.
2815 * signal/Makefile: Likewise.
2816 * socket/Makefile: Likewise.
2817 * soft-fp/Makefile: Likewise.
2818 * stdio-common/Makefile: Likewise.
2819 * stdlib/Makefile: Likewise.
2820 * streams/Makefile: Likewise.
2821 * string/Makefile: Likewise.
2822 * sunrpc/Makefile: Likewise.
2823 (all): Remove target.
2824 * sysvipc/Makefile: Include Makeconfig immediately after defining
2825 subdir.
2826 * termios/Makefile: Likewise.
2827 * time/Makefile: Likewise.
2828 * timezone/Makefile: Likewise.
2829 (all): Remove target.
2830 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2831 subdir.
2832 * wctype/Makefile: Likewise.
2833
5b456e9d
SE
28342014-02-26 Steve Ellcey <sellcey@mips.com>
2835
2836 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2837 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2838 (libc_feholdexcept_setround_mips): Ditto.
2839 (libc_feholdsetround): New.
2840 (libc_feholdsetroundf): New.
2841 (libc_feholdsetroundl): New.
2842 (libc_feupdateenv_test_mips): New.
2843 (libc_feupdateenv_test): New.
2844 (libc_feupdateenv_testf): New.
2845 (libc_feupdateenv_testl): New.
2846 (libc_feresetround): New.
2847 (libc_feresetroundf): New.
2848 (libc_feresetroundl): New.
2849 (libc_fetestexcept_mips): New.
2850 (libc_fetestexcept): New.
2851 (libc_fetestexceptf): New.
2852 (libc_fetestexceptl): New.
2853 (HAVE_RM_CTX): New.
2854 (libc_feholdexcept_setround_mips_ctx): New.
2855 (libc_feholdexcept_setround_ctx): New.
2856 (libc_feholdexcept_setroundf_ctx): New.
2857 (libc_feholdexcept_setroundl_ctx): New.
2858 (libc_fesetenv_mips_ctx): New.
2859 (libc_fesetenv_ctx): New.
2860 (libc_fesetenv_ctxf): New.
2861 (libc_fesetenv_ctxl): New.
2862 (libc_feupdateenv_mips_ctx): New.
2863 (libc_feupdateenv_ctx): New.
2864 (libc_feupdateenvf_ctx): New.
2865 (libc_feupdateenvl_ctx): New.
2866 (libc_feholdsetround_mips_ctx): New.
2867 (libc_feholdsetround_ctx): New.
2868 (libc_feholdsetroundf_ctx): New.
2869 (libc_feholdsetroundl_ctx): New.
2870 (libc_feresetround_mips_ctx): New.
2871 (libc_feresetround_ctx): New.
2872 (libc_feresetroundf_ctx): New.
2873 (libc_feresetroundl_ctx): New.
2874
085d0e35
CD
28752014-02-26 Carlos O'Donell <carlos@redhat.com>
2876
f067bf1f
CD
2877 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2878
085d0e35
CD
2879 * manual/ipc.texi: New file.
2880 * manual/Makefile (chapters): Add ipc.
2881 * manual/job.texi: Add "Inter-Process Communication" to next.
2882 * manual/process.texi: Add "Inter-Process Communication" to prev.
2883
86e58c08
AZ
28842014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2885
2886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2887
4248f0da
OB
28882014-02-26 Ondřej Bílka <neleai@seznam.cz>
2889
2890 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2891
cf822e3c
OB
2892 * manual/arith.texi: Fix spaces after sentences.
2893 * manual/charset.texi: Likewise.
2894 * manual/errno.texi: Likewise.
2895 * manual/install.texi: Likewise.
2896 * manual/llio.texi: Likewise.
2897 * manual/locale.texi: Likewise.
2898 * manual/maint.texi: Likewise.
2899 * manual/math.texi: Likewise.
2900 * manual/memory.texi: Likewise.
2901 * manual/message.texi: Likewise.
2902 * manual/probes.texi: Likewise.
2903 * manual/resource.texi: Likewise.
2904 * manual/signal.texi: Likewise.
2905 * manual/socket.texi: Likewise.
2906 * manual/stdio.texi: Likewise.
2907 * manual/string.texi: Likewise.
2908 * manual/time.texi: Likewise.
2909 * manual/users.texi: Likewise.
2910
ade40b10
CD
29112014-02-25 Carlos O'Donell <carlos@redhat.com>
2912
2913 [BZ #16632]
2914 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2915 _DEFAULT_SOURCE is defined.
2916
d0503676
CD
29172014-02-25 Ulrich Drepper <drepper@gmail.com>
2918 Carlos O'Donell <carlos@redhat.com>
2919
2920 [BZ #16613]
2921 * elf/dl-tls.c (_dl_count_modids): New function.
2922 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2923 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2924 audit library and increment generation counter.
2925 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2926 * elf/tst-audit9.c: New file.
2927 * elf/tst-auditmod9a.c: New file.
2928 * elf/tst-auditmod9b.c: New file.
2929 * elf/Makefile: Add rules to build and run tst-audit9.
2930
4cbf380c
FW
29312014-02-25 Florian Weimer <fweimer@redhat.com>
2932
2933 [BZ #15347]
2934 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2935
80a56cc3
WN
29362014-02-25 Will Newton <will.newton@linaro.org>
2937
2938 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2939 (__longjmp): Restore sp and lr before restoring callee
2940 saved registers. Add longjmp and longjmp_target
2941 SystemTap probe point.
2942 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2943 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2944 Define to zero to match jmpbuf layout.
2945 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2946 (__sigsetjmp): Save sp and lr before saving callee
2947 saved registers. Add setjmp SystemTap probe point.
2948
3ea0f74e
SL
29492014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2950
2951 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2952
b04acb26
AS
29532014-02-24 Andreas Schwab <schwab@suse.de>
2954
2955 [BZ #15804]
2956 * elf/pldd.c (wait_for_ptrace_stop): New function.
2957 (main): Call it after attaching.
2958
098ad55c
RM
29592014-02-22 Roland McGrath <roland@hack.frob.com>
2960
d4ec6ae1
RM
2961 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2962 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2963 Versions files is now verboten.
2964 * hurd/Versions (libc: GLIBC_2.0):
2965 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2966 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2967 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2968 * mach/Versions: Likewise.
2969
098ad55c
RM
2970 * csu/Versions: Remove unused %include.
2971 * resolv/Versions: Likewise.
2972
acd7f096
JM
29732014-02-21 Joseph Myers <joseph@codesourcery.com>
2974
f0881698
JM
2975 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2976 ($(objpfx)check-local-headers.out): Likewise.
2977 ($(objpfx)begin-end-check.out): Likewise.
2978 * Makerules (check-abi-%.out): Likewise.
2979 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
2980 ($(objpfx)test2.cat): Likewise.
2981 ($(objpfx)de/libc.cat): Likewise.
2982 ($(objpfx)test-gencat.out): Likewise.
2983 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
2984 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
2985 ($(objpfx)noload-mem): Likewise.
2986 ($(objpfx)tst-pathopt.out): Likewise.
2987 ($(objpfx)tst-rtld-load-self.out): Likewise.
2988 ($(objpfx)tst-array1-cmp.out): Likewise.
2989 ($(objpfx)tst-array1-static-cmp.out): Likewise.
2990 ($(objpfx)tst-array2-cmp.out): Likewise.
2991 ($(objpfx)tst-array3-cmp.out): Likewise.
2992 ($(objpfx)tst-array4-cmp.out): Likewise.
2993 ($(objpfx)tst-array5-cmp.out): Likewise.
2994 ($(objpfx)tst-array5-static-cmp.out): Likewise.
2995 ($(objpfx)check-textrel.out): Likewise.
2996 ($(objpfx)check-execstack.out): Likewise.
2997 ($(objpfx)check-localplt.out): Likewise.
2998 ($(objpfx)order2-cmp.out): Likewise.
2999 ($(objpfx)tst-leaks1-mem): Likewise.
3000 ($(objpfx)tst-leaks1-static-mem): Likewise.
3001 ($(objpfx)tst-initorder-cmp.out): Likewise.
3002 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3003 ($(objpfx)tst-unused-dep.out): Likewise.
3004 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3005 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3006 * iconv/Makefile (test-iconvconfig): Likewise.
3007 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3008 ($(objpfx)iconv-test.out): Likewise.
3009 ($(objpfx)tst-tables.out): Likewise.
3010 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3011 ($(objpfx)tst-gettext.out): Likewise.
3012 ($(objpfx)tst-translit.out): Likewise.
3013 ($(objpfx)tst-gettext2.out): Likewise.
3014 ($(objpfx)tst-gettext4.out): Likewise.
3015 ($(objpfx)tst-gettext6.out): Likewise.
3016 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3017 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3018 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3019 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3020 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3021 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3022 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3023 ($(objpfx)wordexp-tst.out): Likewise.
3024 ($(objpfx)annexc.out): Likewise.
3025 ($(objpfx)tst-fnmatch-mem): Likewise.
3026 ($(objpfx)bug-regex2-mem): Likewise.
3027 ($(objpfx)bug-regex14-mem): Likewise.
3028 ($(objpfx)bug-regex21-mem): Likewise.
3029 ($(objpfx)bug-regex31-mem): Likewise.
3030 ($(objpfx)tst-vfork3-mem): Likewise.
3031 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3032 ($(objpfx)tst-pcre-mem): Likewise.
3033 ($(objpfx)tst-boost-mem): Likewise.
3034 ($(objpfx)tst-getconf.out): Likewise.
3035 ($(objpfx)bug-ga2-mem): Likewise.
3036 ($(objpfx)bug-glob2-mem): Likewise.
3037 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3038 ($(objpfx)mtrace-tst-leaks2): Likewise.
3039 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3040 ($(objpfx)tst-printf.out): Likewise.
3041 ($(objpfx)tst-setvbuf1.out): Likewise.
3042 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3043 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3044 ($(objpfx)tst-fmtmsg.out): Likewise.
3045 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3046 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3047
acd7f096
JM
3048 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3049 * bits/sigaction.h [__USE_MISC]: Likewise.
3050 * bits/waitstatus.h: Update #endif comments.
3051 * ctype/ctype.h: Likewise.
3052 * dirent/dirent.h: Likewise.
3053 [__USE_MISC]: Remove redundant conditionals.
3054 * grp/grp.h: Update #endif comments.
3055 [__USE_GNU]: Remove redundant conditionals.
3056 [__USE_MISC]: Likewise.
3057 * inet/netinet/in.h [__USE_GNU]: Likewise.
3058 * io/sys/stat.h [__USE_MISC]: Likewise.
3059 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3060 * libio/bits/stdio.h: Update #endif comments.
3061 [__USE_MISC]: Remove redundant conditionals.
3062 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3063 * libio/stdio.h: Update #endif comments.
3064 [__USE_MISC]: Remove redundant conditionals.
3065 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3066 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3067 * math/math.h: Update #else and #endif comments.
3068 [__USE_MISC]: Remove redundant conditionals.
3069 * misc/sys/uio.h: Update #endif comments.
3070 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3071 * posix/glob.h [__USE_MISC]: Likewise.
3072 * posix/sys/types.h: Update #endif comments.
3073 [__USE_MISC]: Remove redundant conditionals.
3074 * posix/sys/wait.h: Update #endif comments.
3075 [__USE_MISC]: Remove redundant conditionals.
3076 * posix/unistd.h: Update #endif comments.
3077 [__USE_MISC]: Remove redundant conditionals.
3078 * pwd/pwd.h [__USE_GNU]: Likewise.
3079 [__USE_MISC]: Likewise.
3080 * resolv/netdb.h [__USE_GNU]: Likewise.
3081 * signal/signal.h: Update #endif comments.
3082 [__USE_MISC]: Remove redundant conditionals.
3083 * stdlib/stdlib.h: Update #else and #endif comments.
3084 [__USE_MISC]: Remove redundant conditionals.
3085 [__USE_GNU]: Likewise.
3086 * string/bits/string2.h [__USE_MISC]: Likewise.
3087 * string/string.h: Update #endif comments.
3088 [__USE_MISC]: Remove redundant conditionals.
3089 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3090 Likewise.
3091 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3092 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3093 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3094 Likewise.
3095 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3096 Likewise.
3097 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3098 comments.
3099 [__USE_MISC]: Remove redundant conditionals.
3100 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3101 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3102 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3103 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3104 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3105 Likewise.
3106 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3107 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3108 Likewise.
3109 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3110 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3111 Likewise.
3112 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3113 Likewise.
3114 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3115 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3116 Likewise.
3117 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3118 Likewise.
3119 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3120 * sysdeps/x86/bits/string.h: Update #endif comments.
3121 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3122 conditionals.
3123 * time/sys/time.h: Update #endif comments.
3124 * time/time.h: Likewise.
3125 [__USE_MISC]: Remove redundant conditionals.
3126
a5d82e4e
YG
31272014-02-21 Yury Gribov <y.gribov@samsung.com>
3128
3129 [BZ #16600]
3130 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3131
9a80491d
AS
31322014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3133
3134 * Versions.def (librt): Add GLIBC_2.17.
3135
105fa381
AC
31362014-02-21 Adam Conrad <adconrad@0c3.net>
3137
3138 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3139 synonym for _SYS_AUXV_H to allow direct inclusion.
3140 * sysdeps/sparc/bits/hwcap.h: Likewise.
3141 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3142 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3143 * sysdeps/sparc/sysdep.h: Likewise.
3144
b8cd1c4e
SP
31452014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3146
3147 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3148
bd939d23
RS
31492014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3150
3151 * benchtests/bench-strrchr.c: Print length instead of position.
3152
5d7b57ca
JM
31532014-02-20 Joseph Myers <joseph@codesourcery.com>
3154
bc688c10
JM
3155 [BZ #16611]
3156 * sysdeps/unix/sysv/linux/kernel-features.h
3157 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3158 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3159 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3160 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3161 Likewise.
3162 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3163 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3164 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3165 (__ASSUME_SENDMMSG): Define instead of using previous
3166 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3167 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3168 (__ASSUME_SENDMMSG_SYSCALL): Define.
3169 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3170 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3171 Likewise.
3172 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3173 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3174 Likewise.
3175 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3176 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3177 Likewise.
3178 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3179 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3180 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3181 [__ASSUME_SENDMMSG]: Change conditionals to
3182 [__ASSUME_SENDMMSG_SOCKETCALL].
3183 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3184 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3185 Define.
3186 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3187 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3188 Likewise.
3189 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3190 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3191 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3192 [!__ASSUME_SENDMMSG]: Change conditional to
3193 [!__ASSUME_SENDMMSG_SOCKETCALL].
3194 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3195 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3196 Define.
3197
0e31b18c
JM
3198 [BZ #16610]
3199 * sysdeps/unix/sysv/linux/kernel-features.h
3200 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3201 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3202 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3203 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3204 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3205 [__i386__ || __sparc__]
3206 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3207 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3208 (__ASSUME_RECVMMSG): Define instead of using previous
3209 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3210 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3211 (__ASSUME_RECVMMSG_SYSCALL): Define.
3212 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3213 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3214 Likewise.
3215 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3216 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3217 Likewise.
3218 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3219 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3220 Likewise.
3221 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3222 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3223 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3224 [__ASSUME_RECVMMSG]: Change condition to
3225 [__ASSUME_RECVMMSG_SOCKETCALL].
3226 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3227 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3228 Define.
3229 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3230 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3231 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3232 Likewise.
3233 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3234 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3235 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3236 [!__ASSUME_RECVMMSG]: Change condition to
3237 [!__ASSUME_RECVMMSG_SOCKETCALL].
3238 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3239 (__ASSUME_RECVMMSG_SYSCALL): Define.
3240
dd481ccf
JM
3241 [BZ #16609]
3242 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3243 __powerpc__ || __s390__ || __sh__ || __sparc__]
3244 (__ASSUME_SOCKETCALL): Define.
3245 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3246 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3247 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3248 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3249 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3250 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3251 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3252 (__ASSUME_ACCEPT4): Define instead of using previous
3253 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3254 __powerpc__ || __sparc__ || __s390__)] condition.
3255 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3256 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3257 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3258 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3259 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3260 [!__ASSUME_ACCEPT4]: Change condition to
3261 [!__ASSUME_ACCEPT4_SOCKETCALL].
3262 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3263 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3264 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3265 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3266 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3267 __ASSUME_ACCEPT4_SYSCALL.
3268 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3269 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3270 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3271 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3272 __ASSUME_ACCEPT4_SYSCALL.
3273 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3274 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3275 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3276 [__ASSUME_ACCEPT4]: Change condition to
3277 [__ASSUME_ACCEPT4_SOCKETCALL].
3278 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3279 (__ASSUME_SOCKETCALL): Define.
3280 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3281 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3282 (__ASSUME_SOCKETCALL): Define.
3283 (__ASSUME_ACCEPT4): Remove.
3284 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3285 Define.
3286 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3287 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3288 Likewise.
3289 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3290 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3291
5d7b57ca
JM
3292 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3293 macro.
3294 (HWCAP_ARM_LPAE): Likewise.
3295 (HWCAP_ARM_EVTSTRM): Likewise.
3296 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3297 Add vpfd32, lpae and evtstrm.
3298 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3299 Increase to 22.
3300
63689d61
JM
33012014-02-19 Joseph Myers <joseph@codesourcery.com>
3302
3303 * math/auto-libm-test-in: Add tests of clog10.
3304 * math/auto-libm-test-out: Regenerated.
3305 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3306 * sysdeps/i386/fpu/libm-test-ulps: Update.
3307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3308
ab09bf61
AS
33092014-02-18 Andreas Schwab <schwab@suse.de>
3310
3311 [BZ #16574]
3312 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3313 Store non-zero if the second buffer was newly allocated.
3314 (send_dg): Likewise.
3315 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3316 to send_vc and send_dg.
3317 (res_nsend): Pass NULL for ansp2_malloced.
3318 * resolv/res_query.c (__libc_res_nquery): Add parameter
3319 answerp2_malloced and pass it down to __libc_res_nsend.
3320 (res_nquery): Pass additional NULL to __libc_res_nquery.
3321 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3322 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3323 second answer buffer if answerp2_malloced was set.
3324 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3325 (__libc_res_nquerydomain): Add parameter
3326 answerp2_malloced and pass it down to __libc_res_nquery.
3327 (res_nquerydomain): Pass additional NULL to
3328 __libc_res_nquerydomain.
3329 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3330 additional NULL to __libc_res_nsend and __libc_res_nquery.
3331 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3332 additional NULL to __libc_res_nsearch.
3333 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3334 parameter of __libc_res_nsearch to check for separately allocated
3335 second buffer.
3336 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3337 __libc_res_nquery.
3338 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3339 additional NULL to __libc_res_nquery.
3340 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3341 __libc_res_nsearch.
3342 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3343 * include/resolv.h: Update prototypes of __libc_res_nquery,
3344 __libc_res_nsearch, __libc_res_nsend.
3345
a4fb7861
JM
33462014-02-18 Joseph Myers <joseph@codesourcery.com>
3347
c6af2d89
JM
3348 * math/auto-libm-test-in: Add tests of fma.
3349 * math/auto-libm-test-out: Regenerated.
3350 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3351 (fma_towardzero_test_data): Likewise.
3352 (fma_downward_test_data): Likewise.
3353 (fma_upward_test_data): Likewise.
3354 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3355 mpc_mode.
3356 (rounding_modes): Add values for new field.
3357 (func_calc_method): Add value mpfr_fff_f.
3358 (func_calc_desc): Add mpfr_fff_f union field.
3359 (test_function): Add field exact_args.
3360 (FUNC): Add macro argument EXACT_ARGS.
3361 (FUNC_mpfr_f_f): Update call to FUNC.
3362 (FUNC_mpfr_f_f): Likewise.
3363 (FUNC_mpfr_ff_f): Likewise.
3364 (FUNC_mpfr_if_f): Likewise.
3365 (FUNC_mpc_c_f): Likewise.
3366 (FUNC_mpc_c_c): Likewise.
3367 (test_functions): Add fma. Update calls to FUNC.
3368 (handle_input_arg): Add argument exact_args.
3369 (add_test): Update call to handle_input_arg.
3370 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3371 (output_for_one_input_case): Update call to calc_generic_results.
3372 Recalculate exact zero results in each rounding mode.
3373
a4fb7861
JM
3374 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3375 non-negative before setting low bit.
3376 * math/auto-libm-test-in: Mark one asin test possibly having
3377 spurious underflow.
3378 * math/auto-libm-test-out: Regenerated.
3379 * sysdeps/i386/fpu/libm-test-ulps: Update.
3380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3381
ef114eaf
DH
33822014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3383
2b7f4f2c
SP
3384 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3385 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3386 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3387 * README: Add missing listing for microblaze*-*-linux-gnu.
3388
c70a4b1d
MF
33892014-02-16 Mike Frysinger <vapier@gentoo.org>
3390
3391 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3392 * sysdeps/unix/sysv/linux/ia64: Move directory from
3393 ports/sysdeps/unix/sysv/linux/ia64.
3394 * README: Update listing for ia64-*-linux-gnu.
3395
591aeaf7
TD
33962014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3397 Joseph Myers <joseph@codesourcery.com>
3398
3399 * Makeconfig (test-name): New variable.
3400 (evaluate-test): Likewise.
3401 * Makerules (do-test-clean): Remove .test-result files.
3402 (common-mostlyclean): Likewise.
3403 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3404 * scripts/evaluate-test.sh: New file.
3405
6e89caf1
JM
34062014-02-14 Joseph Myers <joseph@codesourcery.com>
3407
7f98f180
JM
3408 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3409 separate $(objpfx)tst-fopenloc-cmp.out and
3410 $(objpfx)tst-fopenloc-mem.out targets.
3411 (tests): Update dependencies.
3412 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3413 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3414 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3415 (tst-rxspencer-no-utf8-ARGS): New variable.
3416 (tst-rxspencer-no-utf8-ENV): Likewise.
3417 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3418 instead of $(objpfx)tst-rxspencer-mem.
3419 ($(objpfx)tst-rxspencer-mem): Change target to
3420 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3421 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3422 * posix/tst-rxspencer-no-utf8.c: New file.
3423
6e89caf1
JM
3424 * elf/Makefile ($(objpfx)order.out): Remove rule.
3425 [$(run-built-tests) = yes] (tests): Depend on
3426 $(objpfx)order-cmp.out.
3427 ($(objpfx)order-cmp.out): New rule.
3428 [$(run-built-tests) = yes] (tests): Depend on
3429 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3430 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3431 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3432 $(objpfx)tst-array5-static-cmp.out.
3433 ($(objpfx)tst-array1.out): Remove rule.
3434 ($(objpfx)tst-array1-cmp.out): New rule.
3435 ($(objpfx)tst-array1-static.out): Remove rule.
3436 ($(objpfx)tst-array1-static-cmp.out): New rule.
3437 ($(objpfx)tst-array2.out): Remove rule.
3438 ($(objpfx)tst-array2-cmp.out): New rule.
3439 ($(objpfx)tst-array3.out): Remove rule.
3440 ($(objpfx)tst-array3-cmp.out): New rule.
3441 ($(objpfx)tst-array4.out): Remove rule.
3442 ($(objpfx)tst-array4-cmp.out): New rule.
3443 ($(objpfx)tst-array5.out): Remove rule.
3444 ($(objpfx)tst-array5-cmp.out): New rule.
3445 ($(objpfx)tst-array5-static.out): Remove rule.
3446 ($(objpfx)tst-array5-static-cmp.out): New rule.
3447 [$(run-built-tests) = yes] (tests): Depend on
3448 $(objpfx)order2-cmp.out.
3449 ($(objpfx)order2.out): Remove rule.
3450 ($(objpfx)order2-cmp.out): New rule.
3451 ($(objpfx)tst-initorder.out): Remove rule.
3452 [$(run-built-tests) = yes] (tests): Depend on
3453 $(objpfx)tst-initorder-cmp.out.
3454 ($(objpfx)tst-initorder-cmp.out): New rule.
3455 ($(objpfx)tst-initorder2.out): Remove rule.
3456 [$(run-built-tests) = yes] (tests): Depend on
3457 $(objpfx)tst-initorder2-cmp.out.
3458 ($(objpfx)tst-initorder2-cmp.out): New rule.
3459 [$(run-built-tests) = yes] (tests): Depend on
3460 $(objpfx)tst-unused-dep-cmp.out.
3461 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3462 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3463 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3464 on $(objpfx)tst-setvbuf1-cmp.out.
3465 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3466 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3467 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3468 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3469 ($(objpfx)tst-svc.out): Remove rule.
3470 ($(objpfx)tst-svc-cmp.out): New rule.
3471
ed9a38e2
JM
34722014-02-13 Joseph Myers <joseph@codesourcery.com>
3473
3474 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3475 * ctype/ctype.h [__USE_MISC]: Likewise.
3476 * dirent/dirent.h [__USE_MISC]: Likewise.
3477 * grp/grp.h [__USE_MISC]: Likewise.
3478 * io/fcntl.h [__USE_MISC]: Likewise.
3479 * io/sys/stat.h [__USE_MISC]: Likewise.
3480 * libio/stdio.h [__USE_MISC]: Likewise.
3481 * posix/unistd.h [__USE_MISC]: Likewise.
3482 * pwd/pwd.h [__USE_MISC]: Likewise.
3483 * stdlib.h [__USE_MISC]: Likewise.
3484 * string/bits/string2.h [__USE_MISC]: Likewise.
3485 * string/string.h [__USE_MISC]: Likewise.
3486 * time/time.h [__USE_MISC]: Likewise.
3487
d6680619
AS
34882014-02-13 Andreas Schwab <schwab@suse.de>
3489
3490 [BZ #16574]
3491 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3492 second answer buffer if it was separately allocated.
3493
ace614b8
JM
34942014-02-12 Joseph Myers <joseph@codesourcery.com>
3495
743151ae
JM
3496 * sysdeps/mips/math-tests.h: Include <features.h>.
3497 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3498 (ROUNDING_TESTS_long_double): Do not define.
3499 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3500 (EXCEPTION_TESTS_long_double): Likewise.
3501 * sysdeps/mips/mips64/libm-test-ulps: Update.
3502
498afc54
JM
3503 * include/features.h (__USE_BSD): Remove macro definitions.
3504 (__USE_SVID): Likewise.
3505 (_BSD_SOURCE): Likewise.
3506 (_SVID_SOURCE): Likewise.
3507 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3508 from definition of _DEFAULT_SOURCE.
3509 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3510 [_DEFAULT_SOURCE].
3511 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3512 * bits/mman.h [__USE_BSD]: Likewise.
3513 * bits/termios.h [__USE_BSD]: Likewise.
3514 * bits/waitstatus.h [__USE_BSD]: Likewise.
3515 * ctype/ctype.h [__USE_SVID]: Likewise.
3516 * dirent/dirent.h [__USE_BSD]: Likewise.
3517 * grp/grp.h [__USE_SVID]: Likewise.
3518 [__USE_BSD]: Likewise.
3519 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3520 * io/fcntl.h [__USE_BSD]: Likewise.
3521 * io/ftw.h [__USE_BSD]: Likewise.
3522 * io/sys/stat.h [__USE_BSD]: Likewise.
3523 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3524 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3525 * libio/stdio.h [__USE_SVID]: Likewise.
3526 [__USE_BSD]: Likewise.
3527 * math/math.h [__USE_SVID]: Likewise.
3528 [__USE_BSD]: Likewise.
3529 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3530 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3531 * misc/search.h [__USE_SVID]: Likewise.
3532 * misc/sys/mman.h [__USE_BSD]: Likewise.
3533 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3534 * misc/sys/uio.h [__USE_BSD]: Likewise.
3535 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3536 * posix/glob.h [__USE_BSD]: Likewise.
3537 * posix/regex.h [__USE_BSD]: Likewise.
3538 * posix/sys/types.h [__USE_BSD]: Likewise.
3539 [__USE_SVID]: Likewise.
3540 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3541 * posix/sys/wait.h [__USE_BSD]: Likewise.
3542 [__USE_SVID]: Likewise.
3543 * posix/unistd.h [__USE_BSD]: Likewise.
3544 [__USE_SVID]: Likewise.
3545 * pwd/pwd.h [__USE_SVID]: Likewise.
3546 * resolv/netdb.h [__USE_BSD]: Likewise.
3547 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3548 * signal/signal.h [__USE_BSD]: Likewise.
3549 [__USE_SVID]: Likewise.
3550 * socket/sys/socket.h [__USE_BSD]: Likewise.
3551 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3552 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3553 [__USE_SVID]: Likewise.
3554 * string/bits/string2.h [__USE_BSD]: Likewise.
3555 [__USE_SVID]: Likewise.
3556 * string/bits/string3.h [__USE_BSD]: Likewise.
3557 * string/endian.h [__USE_BSD]: Likewise.
3558 * string/string.h [__USE_SVID]: Likewise.
3559 [__USE_BSD]: Likewise.
3560 * string/strings.h [__USE_BSD]: Likewise.
3561 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3562 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3563 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3564 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3565 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3566 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3567 Likewise.
3568 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3569 Likewise.
3570 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3571 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3572 Likewise.
3573 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3574 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3575 Likewise.
3576 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3577 Likewise.
3578 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3579 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3580 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3581 Likewise.
3582 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3583 Likewise.
3584 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3585 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3586 * termios/termios.h [__USE_BSD]: Likewise.
3587 * time/sys/time.h [__USE_BSD]: Likewise.
3588 * time/time.h [__USE_BSD]: Likewise.
3589 [__USE_SVID]: Likewise.
3590
dd7b064c
JM
3591 * Makefile (subdir_targets): Remove subdir_lint.out.
3592
a2c4c199
JM
3593 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3594 (do-tst-printf): Likewise.
3595 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3596 $(objpfx)tst-printf.out.
3597
8756f740
JM
3598 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3599
1b6dd3f1
JM
3600 * Makerules (check-abi-%): Change target to
3601 $(objpfx)check-abi-%.out.
3602 (check-abi target): Update dependencies.
3603 (check-abi-pattern variable): Redirect output of diff to $@.
3604 (check-abi variable): Likewise.
3605 * elf/Makefile (check-abi): Update dependencies.
3606
ace614b8
JM
3607 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3608 unused.
3609 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3610 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3611 subnormal range.
3612 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3613 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3614 value has largest subnormal exponent.
3615 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3616 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3617 * sysdeps/aarch64/soft-fp/sfp-machine.h
3618 (_FP_TININESS_AFTER_ROUNDING): New macro.
3619 * sysdeps/alpha/soft-fp/sfp-machine.h
3620 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3621 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3622 Likewise.
3623 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3624 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3625 * sysdeps/mips/soft-fp/sfp-machine.h
3626 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3627 * sysdeps/powerpc/soft-fp/sfp-machine.h
3628 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3629 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3630 Likewise.
3631 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3632 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3633 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3634 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3635 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3636 Likewise.
3637
fbfdf9cb
DAS
36382014-02-12 Dylan Alex Simon <dylan@dylex.net>
3639
3640 [BZ #16545]
3641 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3642 model 1.
3643
68b7efaa
RH
36442014-02-12 Richard Henderson <rth@redhat.com>
3645
c70a4b1d 3646 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3647 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3648 * sysdeps/unix/sysv/linux/alpha: Move directory from
3649 ports/sysdeps/unix/sysv/linux/alpha.
3650 * README: Update listing for alpha-*-linux-gnu.
3651
cb4a2928
JM
36522014-02-11 Joseph Myers <joseph@codesourcery.com>
3653
c941736c
JM
3654 * include/features.h: Update comment documenting feature test
3655 macros.
3656 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3657 _DEFAULT_SOURCE.
3658 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3659 (_SVID_SOURCE): Likewise.
3660 (_DEFAULT_SOURCE): Update description of default features.
3661 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3662 with _GNU_SOURCE.
3663 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3664 (S_ISVTX): Likewise.
3665 * manual/math.texi (Mathematical Constants): Likewise.
3666 * manual/signal.texi (Interrupted Primitives): Likewise.
3667 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3668 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3669 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3670 Don't refer to _SVID_SOURCE in warning text.
3671
e8d8d7ec
JM
3672 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3673
cb4a2928
JM
3674 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3675 already defined.
3676 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3677 * sysdeps/mips/dl-lookup.c: Remove.
3678 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3679
7e6424e3
AK
36802014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3681
3682 [BZ #16447]
3683 * math/auto-libm-test-in: Add testcase for expl.
3684 * math/auto-libm-test-out: Regenerate.
3685 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3686 calculation of unsafe.
3687 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3688
75eff3fe
MS
36892014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3690
3691 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3692 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3693 ports/sysdeps/unix/sysv/linux/aarch64.
3694 * README: Update listing for aarch64*-*-linux-gnu.
3695
d35f1e80
WN
36962014-02-11 Will Newton <will.newton@linaro.org>
3697
3698 * manual/probes.texi (Mathematical Function Probes): Use
3699 "triggered" instead of "hit".
3700
7b3436d4
WN
37012014-02-11 Will Newton <will.newton@linaro.org>
3702
3703 * manual/probes.texi (Internal Probes): Add documentation
3704 of setjmp, longjmp and longjmp_target probes.
3705
b4f12ca3
WN
37062014-02-11 Will Newton <will.newton@linaro.org>
3707
3708 * include/stap-probe.h: Add comment about probe argument
3709 format.
3710
c13a72b7
WN
37112014-02-11 Will Newton <will.newton@linaro.org>
3712
3713 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3714 definition. (tr_where, tr_freehook, tr_mallochook,
3715 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3716
195b8165
DM
37172014-02-11 David S. Miller <davem@davemloft.net>
3718
3719 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3720 processing int_tests.
3721
2ad7600b
JM
37222014-02-10 Joseph Myers <joseph@codesourcery.com>
3723
3724 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3725 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3726 * sysdeps/unix/sysv/linux/mips: Move directory from
3727 ports/sysdeps/unix/sysv/linux/mips.
3728 * README: Update listing for mips-*-linux-gnu and
3729 mips64-*-linux-gnu.
3730
73588a72
AS
37312014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3732
3733 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3734 * sysdeps/unix/sysv/linux/m68k: Move directory from
3735 ports/sysdeps/unix/sysv/linux/m68k.
3736 * README: Update listing for m68k-*-linux-gnu.
3737
4372980f
CM
37382014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3739
3740 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3741 * sysdeps/unix/sysv/linux/generic: Move directory from
3742 ports/sysdeps/unix/sysv/linux/generic.
3743 * sysdeps/unix/sysv/linux/tile: Move directory from
3744 ports/sysdeps/unix/sysv/linux/tile.
3745 * README: Update listing for tile*-*-linux-gnu.
3746
a1ffb40e
OB
37472014-02-10 Ondřej Bílka <neleai@seznam.cz>
3748
3749 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3750 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3751 * catgets/open_catalog.c (__open_catalog): Likewise.
3752 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3753 * debug/confstr_chk.c: Likewise.
3754 * debug/fread_chk.c (__fread_chk): Likewise.
3755 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3756 * debug/getgroups_chk.c: Likewise.
3757 * debug/mbsnrtowcs_chk.c: Likewise.
3758 * debug/mbsrtowcs_chk.c: Likewise.
3759 * debug/mbstowcs_chk.c: Likewise.
3760 * debug/memcpy_chk.c: Likewise.
3761 * debug/memmove_chk.c: Likewise.
3762 * debug/mempcpy_chk.c: Likewise.
3763 * debug/memset_chk.c: Likewise.
3764 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3765 * debug/strcat_chk.c (__strcat_chk): Likewise.
3766 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3767 * debug/strncat_chk.c (__strncat_chk): Likewise.
3768 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3769 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3770 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3771 * debug/wcpncpy_chk.c: Likewise.
3772 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3773 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3774 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3775 * debug/wcsncpy_chk.c: Likewise.
3776 * debug/wcsnrtombs_chk.c: Likewise.
3777 * debug/wcsrtombs_chk.c: Likewise.
3778 * debug/wcstombs_chk.c: Likewise.
3779 * debug/wmemcpy_chk.c: Likewise.
3780 * debug/wmemmove_chk.c: Likewise.
3781 * debug/wmempcpy_chk.c: Likewise.
3782 * debug/wmemset_chk.c: Likewise.
3783 * dirent/scandirat.c (SCANDIRAT): Likewise.
3784 * dlfcn/dladdr1.c (dladdr1): Likewise.
3785 * dlfcn/dladdr.c (dladdr): Likewise.
3786 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3787 * dlfcn/dlerror.c (__dlerror): Likewise.
3788 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3789 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3790 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3791 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3792 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3793 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3794 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3795 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3796 Likewise.
3797 * elf/dl-conflict.c: Likewise.
3798 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3799 * elf/dl-dst.h: Likewise.
3800 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3801 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3802 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3803 * elf/dl-init.c (call_init, _dl_init): Likewise.
3804 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3805 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3806 _dl_map_object_from_fd, open_verify, open_path,
3807 _dl_map_object): Likewise.
3808 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3809 Likewise.
3810 * elf/dl-minimal.c (__libc_memalign): Likewise.
3811 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3812 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3813 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3814 * elf/dl-sym.c (do_sym): Likewise.
3815 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3816 _dl_tls_get_addr_soft): Likewise.
3817 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3818 * elf/dl-writev.h (_dl_writev): Likewise.
3819 * elf/ldconfig.c (search_dir): Likewise.
3820 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3821 dl_main): Likewise.
3822 * elf/setup-vdso.h (setup_vdso): Likewise.
3823 * grp/compat-initgroups.c (compat_call): Likewise.
3824 * grp/fgetgrent.c (fgetgrent): Likewise.
3825 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3826 * grp/putgrent.c (putgrent): Likewise.
3827 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3828 Likewise.
3829 * hurd/hurdinit.c: Likewise.
3830 * iconvdata/8bit-gap.c (struct): Likewise.
3831 * iconvdata/ansi_x3.110.c : Likewise.
3832 * iconvdata/big5.c : Likewise.
3833 * iconvdata/big5hkscs.c : Likewise.
3834 * iconvdata/cp1255.c: Likewise.
3835 * iconvdata/cp1258.c : Likewise.
3836 * iconvdata/cp932.c : Likewise.
3837 * iconvdata/euc-cn.c: Likewise.
3838 * iconvdata/euc-jisx0213.c : Likewise.
3839 * iconvdata/euc-jp.c: Likewise.
3840 * iconvdata/euc-jp-ms.c : Likewise.
3841 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3842 * iconvdata/gb18030.c : Likewise.
3843 * iconvdata/gbbig5.c (const): Likewise.
3844 * iconvdata/gbgbk.c: Likewise.
3845 * iconvdata/gbk.c : Likewise.
3846 * iconvdata/ibm1364.c : Likewise.
3847 * iconvdata/ibm930.c : Likewise.
3848 * iconvdata/ibm932.c: Likewise.
3849 * iconvdata/ibm933.c : Likewise.
3850 * iconvdata/ibm935.c : Likewise.
3851 * iconvdata/ibm937.c : Likewise.
3852 * iconvdata/ibm939.c : Likewise.
3853 * iconvdata/ibm943.c: Likewise.
3854 * iconvdata/iso_11548-1.c: Likewise.
3855 * iconvdata/iso-2022-cn.c : Likewise.
3856 * iconvdata/iso-2022-cn-ext.c : Likewise.
3857 * iconvdata/iso-2022-jp-3.c: Likewise.
3858 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3859 * iconvdata/iso-2022-kr.c : Likewise.
3860 * iconvdata/iso646.c (gconv_end): Likewise.
3861 * iconvdata/iso_6937-2.c : Likewise.
3862 * iconvdata/iso_6937.c : Likewise.
3863 * iconvdata/iso8859-1.c: Likewise.
3864 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3865 * iconvdata/shift_jisx0213.c : Likewise.
3866 * iconvdata/sjis.c : Likewise.
3867 * iconvdata/t.61.c : Likewise.
3868 * iconvdata/tcvn5712-1.c : Likewise.
3869 * iconvdata/tscii.c: Likewise.
3870 * iconvdata/uhc.c : Likewise.
3871 * iconvdata/unicode.c (gconv_end): Likewise.
3872 * iconvdata/utf-16.c (gconv_end): Likewise.
3873 * iconvdata/utf-32.c (gconv_end): Likewise.
3874 * iconvdata/utf-7.c (base64): Likewise.
3875 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3876 * iconv/gconv_close.c (__gconv_close): Likewise.
3877 * iconv/gconv_open.c (__gconv_open): Likewise.
3878 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3879 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3880 internal_ucs4le_loop_single, ucs4le_internal_loop,
3881 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3882 * iconv/iconv.c (iconv): Likewise.
3883 * iconv/iconv_close.c: Likewise.
3884 * iconv/loop.c (SINGLE): Likewise.
3885 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3886 * include/atomic.h: Likewise.
3887 * inet/inet6_option.c (option_alloc): Likewise.
3888 * intl/bindtextdom.c (set_binding_values): Likewise.
3889 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3890 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3891 * intl/localealias.c (read_alias_file): Likewise.
3892 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3893 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3894 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3895 * libio/fmemopen.c (fmemopen): Likewise.
3896 * libio/iofgets.c (_IO_fgets): Likewise.
3897 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3898 * libio/iofgetws.c (fgetws): Likewise.
3899 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3900 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3901 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3902 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3903 * locale/findlocale.c (_nl_find_locale): Likewise.
3904 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3905 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3906 Likewise.
3907 * locale/setlocale.c (setlocale): Likewise.
3908 * login/programs/pt_chown.c (main): Likewise.
3909 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3910 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3911 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3912 mmap, mmap64, mremap, munmap): Likewise.
3913 * math/e_exp2l.c: Likewise.
3914 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3915 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3916 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3917 * math/s_catan.c (__catan): Likewise.
3918 * math/s_catanf.c (__catanf): Likewise.
3919 * math/s_catanh.c (__catanh): Likewise.
3920 * math/s_catanhf.c (__catanhf): Likewise.
3921 * math/s_catanhl.c (__catanhl): Likewise.
3922 * math/s_catanl.c (__catanl): Likewise.
3923 * math/s_ccosh.c (__ccosh): Likewise.
3924 * math/s_ccoshf.c (__ccoshf): Likewise.
3925 * math/s_ccoshl.c (__ccoshl): Likewise.
3926 * math/s_cexp.c (__cexp): Likewise.
3927 * math/s_cexpf.c (__cexpf): Likewise.
3928 * math/s_cexpl.c (__cexpl): Likewise.
3929 * math/s_clog10.c (__clog10): Likewise.
3930 * math/s_clog10f.c (__clog10f): Likewise.
3931 * math/s_clog10l.c (__clog10l): Likewise.
3932 * math/s_clog.c (__clog): Likewise.
3933 * math/s_clogf.c (__clogf): Likewise.
3934 * math/s_clogl.c (__clogl): Likewise.
3935 * math/s_csin.c (__csin): Likewise.
3936 * math/s_csinf.c (__csinf): Likewise.
3937 * math/s_csinh.c (__csinh): Likewise.
3938 * math/s_csinhf.c (__csinhf): Likewise.
3939 * math/s_csinhl.c (__csinhl): Likewise.
3940 * math/s_csinl.c (__csinl): Likewise.
3941 * math/s_csqrt.c (__csqrt): Likewise.
3942 * math/s_csqrtf.c (__csqrtf): Likewise.
3943 * math/s_csqrtl.c (__csqrtl): Likewise.
3944 * math/s_ctan.c (__ctan): Likewise.
3945 * math/s_ctanf.c (__ctanf): Likewise.
3946 * math/s_ctanh.c (__ctanh): Likewise.
3947 * math/s_ctanhf.c (__ctanhf): Likewise.
3948 * math/s_ctanhl.c (__ctanhl): Likewise.
3949 * math/s_ctanl.c (__ctanl): Likewise.
3950 * math/w_pow.c: Likewise.
3951 * math/w_powf.c: Likewise.
3952 * math/w_powl.c: Likewise.
3953 * math/w_scalb.c (sysv_scalb): Likewise.
3954 * math/w_scalbf.c (sysv_scalbf): Likewise.
3955 * math/w_scalbl.c (sysv_scalbl): Likewise.
3956 * misc/error.c (error_tail): Likewise.
3957 * misc/pselect.c (__pselect): Likewise.
3958 * nis/nis_callback.c (__nis_create_callback): Likewise.
3959 * nis/nis_call.c (__nisfind_server): Likewise.
3960 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3961 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3962 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3963 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3964 * nis/nis_lookup.c (nis_lookup): Likewise.
3965 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3966 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3967 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3968 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3969 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3970 internal_getgrgid_r): Likewise.
3971 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3972 Likewise.
3973 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3974 internal_getpwuid_r): Likewise.
3975 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3976 internal_getspnam_r): Likewise.
3977 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3978 _nss_nis_getaliasbyname_r): Likewise.
3979 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
3980 _nss_nis_getntohost_r): Likewise.
3981 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
3982 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
3983 Likewise.
3984 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
3985 internal_nis_gethostent_r, internal_gethostbyname2_r,
3986 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
3987 _nss_nis_gethostbyname4_r): Likewise.
3988 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
3989 initgroups_netid): Likewise.
3990 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
3991 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
3992 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
3993 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
3994 _nss_nis_getprotobynumber_r): Likewise.
3995 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
3996 _nss_nis_getsecretkey): Likewise.
3997 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
3998 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
3999 Likewise.
4000 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4001 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4002 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4003 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4004 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4005 _nss_nis_getspnam_r): Likewise.
4006 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4007 Likewise.
4008 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4009 _nss_nisplus_getntohost_r): Likewise.
4010 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4011 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4012 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4013 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4014 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4015 Likewise.
4016 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4017 _nss_nisplus_getnetbyaddr_r): Likewise.
4018 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4019 _nss_nisplus_getprotobynumber_r): Likewise.
4020 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4021 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4022 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4023 Likewise.
4024 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4025 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4026 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4027 _nss_nisplus_getspnam_r): Likewise.
4028 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4029 * nscd/aicache.c (addhstaiX): Likewise.
4030 * nscd/cache.c (cache_search, prune_cache): Likewise.
4031 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4032 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4033 * nscd/grpcache.c (addgrbyX): Likewise.
4034 * nscd/hstcache.c (addhstbyX): Likewise.
4035 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4036 * nscd/mem.c (gc, mempool_alloc): Likewise.
4037 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4038 Likewise.
4039 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4040 Likewise.
4041 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4042 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4043 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4044 Likewise.
4045 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4046 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4047 * nscd/nscd_helper.c (__readvall, open_socket,
4048 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4049 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4050 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4051 * nscd/pwdcache.c (addpwbyX): Likewise.
4052 * nscd/selinux.c (preserve_capabilities): Likewise.
4053 * nscd/servicescache.c (addservbyX): Likewise.
4054 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4055 * posix/fnmatch.c (fnmatch): Likewise.
4056 * posix/getopt.c (_getopt_internal_r): Likewise.
4057 * posix/glob.c (glob, glob_in_dir): Likewise.
4058 * posix/wordexp.c (exec_comm_child): Likewise.
4059 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4060 gaih_getanswer_slice): Likewise.
4061 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4062 * resolv/res_init.c: Likewise.
4063 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4064 * resolv/res_query.c (__libc_res_nquery): Likewise.
4065 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4066 Likewise.
4067 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4068 * stdio-common/perror.c (perror): Likewise.
4069 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4070 * stdio-common/tmpnam.c (tmpnam): Likewise.
4071 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4072 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4073 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4074 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4075 * stdlib/putenv.c (putenv): Likewise.
4076 * stdlib/setenv.c (__add_to_environ): Likewise.
4077 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4078 * stdlib/strtol_l.c (INTERNAL): Likewise.
4079 * string/memmem.c (memmem): Likewise.
4080 * string/strerror.c (strerror): Likewise.
4081 * string/strnlen.c (__strnlen): Likewise.
4082 * string/test-memmem.c (simple_memmem): Likewise.
4083 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4084 * sunrpc/pm_getport.c (__get_socket): Likewise.
4085 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4086 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4087 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4088 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4089 Likewise.
4090 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4091 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4092 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4093 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4094 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4095 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4096 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4097 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4098 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4099 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4100 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4101 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4103 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4104 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4105 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4106 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4107 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4108 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4109 Likewise.
4110 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4111 Likewise.
4112 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4113 Likewise.
4114 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4115 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4116 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4117 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4118 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4119 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4120 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4121 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4122 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4123 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4124 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4125 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4126 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4127 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4128 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4129 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4130 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4131 Likewise.
4132 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4133 Likewise.
4134 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4135 Likewise.
4136 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4137 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4138 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4139 Likewise.
4140 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4141 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4142 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4143 * sysdeps/posix/sleep.c: Likewise.
4144 * sysdeps/posix/tempname.c: Likewise.
4145 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4146 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4147 Likewise.
4148 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4149 elf_machine_rela): Likewise.
4150 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4151 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4152 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4153 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4154 Likewise.
4155 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4156 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4157 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4158 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4159 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4160 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4161 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4162 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4163 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4164 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4165 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4166 elf_machine_lazy_rel): Likewise.
4167 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4168 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4169 elf_machine_lazy_rel): Likewise.
4170 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4171 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4172 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4173 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4174 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4175 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4176 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4177 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4178 Likewise.
4179 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4180 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4181 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4182 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4183 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4184 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4185 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4186 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4187 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4188 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4189 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4190 Likewise.
4191 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4192 (__posix_fallocate64_l64): Likewise.
4193 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4194 (posix_fallocate): Likewise.
4195 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4196 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4197 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4198 getifaddrs_internal): Likewise.
4199 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4200 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4201 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4202 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4203 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4204 (__posix_fallocate64_l64): Likewise.
4205 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4206 Likewise.
4207 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4208 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4209 Likewise.
4210 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4211 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4212 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4213 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4214 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4215 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4216 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4217 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4218 Likewise.
4219 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4220 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4221 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4222 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4223 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4224 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4225 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4226 Likewise.
4227 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4228 (posix_fallocate): Likewise.
4229 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4230 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4231 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4232 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4233 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4234 Likewise.
4235 * time/asctime.c (asctime_internal): Likewise.
4236 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4237 * time/tzset.c (__tzset_parse_tz): Likewise.
4238 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4239 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4240 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4241 * wcsmbs/wcsmbsload.h: Likewise.
4242
f3d338c9
OB
42432014-02-10 Ondřej Bílka <neleai@seznam.cz>
4244
4245 [BZ #15894]
4246 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4247
bdfe308a
OB
42482014-02-10 Ondřej Bílka <neleai@seznam.cz>
4249
4250 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4251 arena_get2): Remove THREAD_STATS conditionals.
4252 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4253 __malloc_stats, int): Likewise.
4254
d674667c
MF
42552014-02-08 Mike Frysinger <vapier@gentoo.org>
4256
4257 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4258 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4259
6349768c
MF
42602014-02-08 Mike Frysinger <vapier@gentoo.org>
4261
4262 * manual/setjmp.texi: Fix typos/grammar errors.
4263
0b7c7473
MF
42642014-02-08 Mike Frysinger <vapier@gentoo.org>
4265
4266 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4267 Only return early when n is <= 0. Delete unused return statement.
4268
ac8cc9e3
MF
42692014-02-08 Mike Frysinger <vapier@gentoo.org>
4270
4271 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4272 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4273 * debug/tst-longjmp_chk3.c: New file.
4274
c5bb8e23
MF
42752014-02-08 Mike Frysinger <vapier@gentoo.org>
4276
4277 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4278 (test_main): Replace code with set_fortify_handler call.
4279 * debug/test-strcpy_chk.c: Likewise.
4280 * debug/tst-chk1.c: Likewise.
4281 * debug/tst-longjmp_chk.c: Likewise.
4282 * test-skeleton.c: Include fcntl.h & paths.h
4283 (set_fortify_handler): Define.
4284
10444e42
MF
42852014-02-08 Mike Frysinger <vapier@gentoo.org>
4286
4287 * debug/tst-longjmp_chk.c: Add header comment and include
4288 ../test-skeleton.c.
4289 (do_test): Mark static.
4290 (TEST_FUNCTION): Define.
4291
1e805e8d
MF
42922014-02-08 Mike Frysinger <vapier@gentoo.org>
4293
4294 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4295 (IP_PMTUDISC_INTERFACE): Likewise.
4296 (IP_MULTICAST_IF): Likewise.
4297 (IP_MULTICAST_TTL): Likewise.
4298 (IP_MULTICAST_LOOP): Likewise.
4299 (IP_ADD_MEMBERSHIP): Likewise.
4300 (IP_DROP_MEMBERSHIP): Likewise.
4301 (IP_UNBLOCK_SOURCE): Likewise.
4302 (IP_BLOCK_SOURCE): Likewise.
4303 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4304 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4305 (IP_MSFILTER): Likewise.
4306 (MCAST_JOIN_GROUP): Likewise.
4307 (MCAST_BLOCK_SOURCE): Likewise.
4308 (MCAST_UNBLOCK_SOURCE): Likewise.
4309 (MCAST_LEAVE_GROUP): Likewise.
4310 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4311 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4312 (MCAST_MSFILTER): Likewise.
4313 (IP_MULTICAST_ALL): Likewise.
4314 (IP_UNICAST_IF): Likewise.
4315
73f79bb7
MF
43162014-02-08 Mike Frysinger <vapier@gentoo.org>
4317
4318 * timezone/Makefile: Delete $(have-ksh) check.
4319 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4320 * timezone/tzselect.ksh: Add +x mode bits.
4321
8da79b60
MF
43222014-02-08 Mike Frysinger <vapier@gentoo.org>
4323
4324 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4325 (ANON_INODE_FS_MAGIC): Likewise.
4326 (BDEVFS_MAGIC): Likewise.
4327 (BINFMTFS_MAGIC): Likewise.
4328 (BTRFS_TEST_MAGIC): Likewise.
4329 (CRAMFS_MAGIC_WEND): Likewise.
4330 (DEBUGFS_MAGIC): Likewise.
4331 (ECRYPTFS_SUPER_MAGIC): Likewise.
4332 (EXT3_SUPER_MAGIC): Likewise.
4333 (EXT4_SUPER_MAGIC): Likewise.
4334 (FUTEXFS_SUPER_MAGIC): Likewise.
4335 (HOSTFS_SUPER_MAGIC): Likewise.
4336 (HUGETLBFS_MAGIC): Likewise.
4337 (MINIX3_SUPER_MAGIC): Likewise.
4338 (MTD_INODE_FS_MAGIC): Likewise.
4339 (NILFS_SUPER_MAGIC): Likewise.
4340 (OPENPROM_SUPER_MAGIC): Likewise.
4341 (PIPEFS_MAGIC): Likewise.
4342 (PSTOREFS_MAGIC): Likewise.
4343 (QNX6_SUPER_MAGIC): Likewise.
4344 (RAMFS_MAGIC): Likewise.
4345 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4346 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4347 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4348 (SECURITYFS_MAGIC): Likewise.
4349 (SELINUX_MAGIC): Likewise.
4350 (SMACK_MAGIC): Likewise.
4351 (SOCKFS_MAGIC): Likewise.
4352 (SQUASHFS_MAGIC): Likewise.
4353 (STACK_END_MAGIC): Likewise.
4354 (TMPFS_MAGIC): Likewise.
4355 (USBDEVICE_SUPER_MAGIC): Likewise.
4356 (V9FS_MAGIC): Likewise.
4357 (XENFS_SUPER_MAGIC): Likewise.
4358 (CRAMFS_MAGIC): Fix typo in comment.
4359 (EXT2_SUPER_MAGIC): Update comment.
4360 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4361
464263cc
JM
43622014-02-08 Joseph Myers <joseph@codesourcery.com>
4363
c6bfe5c4
JM
4364 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4365 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4366 * sysdeps/unix/sysv/linux/arm: Move directory from
4367 ports/sysdeps/unix/sysv/linux/arm.
4368 * README: Update listing for arm-*-linux-gnueabi.
4369
464263cc
JM
4370 * README: Remove mention of am33.
4371
32749f6c
RM
43722014-02-07 Roland McGrath <roland@hack.frob.com>
4373
4374 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4375 than the comma operator, to avoid "rhs of comma has no effect"
4376 compiler warnings.
4377 (__sigfillset, __sigandset, __sigorset): Likewise.
4378 * include/signal.h (__sigemptyset): Likewise.
4379 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4380
d5b396c1
AM
43812014-02-07 Allan McRae <allan@archlinux.org>
4382
4383 * version.h (RELEASE): Set to "development".
4384 (VERSION): Set to "2.19.90"
4385 * NEWS: Add 2.20 section.
4386
3bfff2ed
CD
43872014-02-06 Carlos O'Donell <carlos@redhat.com>
4388
4389 [BZ #16529]
4390 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4391
ee7cc385
SP
43922014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4393
4394 * manual/contrib.texi: Update entry for Carlos O'Donell,
4395 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4396
f877c4f2
CD
43972014-02-05 Carlos O'Donell <carlos@rehdat.com>
4398
27e839f6
CD
4399 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4400
f877c4f2
CD
4401 * sysdeps/unix/sysv/linux/kernel-features.h
4402 [__LINUX_KERNEL_VERSION >= 0x020621]
4403 (__ASSUME_PROC_PID_TASK_COMM): Define.
4404
68159946
SP
44052014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4406
ba17cdbd
SP
4407 [BZ #16398]
4408 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4409 conversion when destination buffer does not have enough space.
4410 * libio/tst-ftell-partial-wide.c: New test case.
4411 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4412
68159946
SP
4413 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4414 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4415 Leonard and Allan McRae.
4416
2b528732
DM
44172014-02-04 David S. Miller <davem@davemloft.net>
4418
4419 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4420 32-bit.
4421
0ff82463
AZ
44222014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4423
c01603f7
AZ
4424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4425 file
4426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4427 New file
4428 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4429 file.
4430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4431 file.
4432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4433 New file.
4434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4435 file.
4436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4437 file.
4438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4439 New file.
4440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4441 New file.
4442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4443 New file.
4444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4445 New file.
4446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4447 New file.
4448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4449 New file.
4450
44512014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4452
0ff82463
AZ
4453 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4454 * shlib-versions: Likewise.
4455
1695c773
AZ
44562014-02-04 Roland McGrath <roland@hack.frob.com>
4457 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4458
4459 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4460 (abilist-pattern): New variable, set to %-le.abilist.
4461
4462 * Makerules (abilist-pattern): New variable.
4463 (vpath): Use $(abilist-pattern) in place of %.abilist.
4464 (check-abi-% pattern rule): Likewise.
4465 (check-abi, update-abi): Likewise.
4466
6c0ce4b4
EW
44672014-02-04 Eric Wong <normalperson@yhbt.net>
4468
4469 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4470
dc98b8f5
EW
44712014-02-04 Eric Wong <normalperson@yhbt.net>
4472
4473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4474
481e3524
CD
44752014-02-03 Carlos O'Donell <carlos@redhat.com>
4476
4477 * manual/startup.texi: Add next, previous, and top entries for
4478 the `Program Arguments' and `Environment Variables' nodes.
4479
375592d3
AO
44802014-02-03 Alexandre Oliva <aoliva@redhat.com>
4481
4482 * manual/macros.texi: Add comments before MTASC-safety macros.
4483
f54838ba
AO
4484 * manual/users.texi: Document MTASC-safety properties.
4485
909e12ad
AO
4486 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4487 pthread_getspecific, pthread_setspecific): Format with
4488 @deftypefun, and add @safety note.
4489 * manual/signal.texi: Move comments that analyze the above
4490 functions to their home place.
4491
fd3daba4
AM
44922014-02-03 Allan McRae <allan@archlinux.org>
4493
4494 * po/sl.po: Update Slovenian translation from translation project.
4495
597636d7
AO
44962014-02-02 Alexandre Oliva <aoliva@redhat.com>
4497
4498 * manual/time.texi (timegm): Add missing blank after @c.
4499 Reported by Joseph Myers <joseph@codesourcery.com>.
4500
ee196e3c
AO
45012014-02-01 Alexandre Oliva <aoliva@redhat.com>
4502
4503 * manual/check-safety.sh: New.
4504 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4505
f8d529d5
AO
4506 * manual/terminal.texi: Document MTASC-safety properties.
4507
de55fdf4
AO
4508 * manual/filesys.texi: Document MTASC-safety properties.
4509
c3299c08
AO
4510 * manual/errno.texi: Document MTASC-safety properties.
4511
06e90b14
AO
4512 * manual/intro.texi: Document safety identifiers and
4513 conditionals.
4514
1acd4371
AO
4515 * manual/string.texi (wcstok): Fix prototype.
4516 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4517
23e5b8cb
AO
4518 * manual/time.texi: Document MTASC-safety properties.
4519
11087373
AO
4520 * manual/string.texi: Document MTASC-safety properties.
4521
5da2c93d
AO
4522 * manual/threads.texi: Document MTASC-safety properties.
4523
171e9210
AO
4524 * manual/stdio.texi: Document MTASC-safety properties.
4525
d9e02532
AO
4526 * manual/syslog.texi: Document MTASC-safety properties.
4527
6af8bab7
AO
4528 * manual/sysinfo.texi: Document MTASC-safety properties.
4529
663b02d7
AO
4530 * manual/startup.texi: Document MTASC-safety properties.
4531
973f180b
AO
4532 * manual/socket.texi: Document MTASC-safety properties.
4533
8f3c25c8
AO
4534 * manual/signal.texi: Document MTASC-safety properties.
4535
542210fb
AO
45362014-01-31 Alexandre Oliva <aoliva@redhat.com>
4537
4538 * manual/setjmp.texi: Document MTASC-safety properties.
4539
433c45a2
AO
4540 * manual/search.texi: Document MTASC-safety properties.
4541
c8ce789c
AO
4542 * manual/resource.texi: Document MTASC-safety properties.
4543
19f5d29c
AO
4544 * manual/process.texi: Document MTASC-safety properties.
4545
e2dfb7f4
AO
4546 * manual/platform.texi: Document MTASC-safety properties.
4547
8c1413f5
AO
4548 * manual/pipe.texi: Document MTASC-safety properties.
4549
03483ada
AO
4550 * manual/pattern.texi: Document MTASC-safety properties.
4551
29e7e2df
AO
4552 * manual/message.texi: Document MTASC-safety properties.
4553
9f529d7c
AO
4554 [BZ #12751]
4555 * manual/memory.texi: Document MTASC-safety properties.
4556
27aaa791
AO
4557 * manual/math.texi: Document MTASC-safety properties.
4558
f2d58726
AO
4559 * manual/locale.texi: Document MTASC-safety properties.
4560
2cc3615c
AO
4561 * manual/llio.texi: Document MTASC-safety properties.
4562
d9f0ec97
AO
4563 * manual/libdl.texi: New.
4564
e7c4409a
AO
4565 * manual/lang.texi: Document MTASC-safety properties.
4566
27bdc63c
AO
4567 * manual/job.texi: Document MTASC-safety properties.
4568
a7b90ea9
AO
4569 * manual/getopt.texi: Document MTASC-safety properties.
4570
c49130e3
AO
4571 * manual/ctype.texi: Document MTASC-safety properties.
4572
0d23a5c1
MR
45732014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4574
4575 [BZ #16046]
4576 * csu/libc-tls.c (static_map): Remove variable.
4577 (__libc_setup_tls): Use main executable's link map for TLS data.
4578 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4579 casing for LM_ID_BASE and GL(dl_nns).
4580 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4581 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4582 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4583 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4584 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4585 member.
4586 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4587 l_phnum members.
4588
0037bb60
AO
45892014-01-30 Alexandre Oliva <aoliva@redhat.com>
4590
4591 * manual/debug.texi: Document MTASC-safety properties.
4592
409e00bd
L
45932014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4594
4595 [BZ #16510]
4596 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4597 of __x86_64__ when disabling x87 inline functions.
4598
86e60666
AO
45992014-01-29 Alexandre Oliva <aoliva@redhat.com>
4600
4601 * manual/charset.texi: Document MTASC-safety properties.
4602
76167637
AO
4603 * manual/crypt.texi: Document MTASC-safety properties.
4604
e567f2a0
AO
4605 * manual/conf.texi: Document MTASC-safety properties.
4606
b719dafd
AO
4607 * manual/arith.texi: Document MTASC-safety properties.
4608
4a16c662
AO
4609 * manual/argp.texi: Document MTASC-safety properties.
4610
0a57b83e
AO
4611 * manual/macros.texi: Introduce macros to document multi
4612 thread, asynchronous signal and asynchronous cancellation
4613 safety properties.
4614 * manual/intro.texi: Introduce the properties themselves.
4615
feab2397
KK
46162014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4617
4618 * sysdeps/sh/sh4/Makefile: New file.
4619
1c0d11bc
AS
46202014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4621
4622 * math/gen-libm-test.pl ($srcdir): New variable.
4623 ($auto_input): Use it.
4624
af37a8a3
SP
46252014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4626
d7b00f98
SP
4627 [BZ #16506]
4628 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4629 access beyond array bounds when parsing netgroups file.
4630
af37a8a3
SP
4631 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4632 the old buffer before realloc.
4633
0c00f062
AM
46342014-01-27 Allan McRae <allan@archlinux.org>
4635
4636 * po/fr.po: Update French translation from translation project.
4637
7d69a1b0
KK
46382014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4639
4640 * sysdeps/sh/libm-test-ulps: Regenerate.
4641
6e697ff7
DM
46422014-01-24 David S. Miller <davem@davemloft.net>
4643
4644 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4645
9cadb35c
KK
46462014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4647
4648 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4649 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4650
5d41dadf
SP
46512013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4652
4653 [BZ #16474]
4654 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4655 string pointers after reallocation.
4656
0bad441c
KK
46572014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4658
4659 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4660 __SH4A__ instead of __SH_FPU_ANY__.
4661
7007c661
KK
46622014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4663
4664 * sysdeps/sh/fpu_control.h: New file.
4665 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4666 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4667 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4668 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4669 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4670 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4671 * sysdeps/sh/sys/ucontext.h: Remove.
4672 * sysdeps/sh/sys: Remove directory.
4673
0f0c35e4
AK
46742014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4675
4676 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4677 s390/sys/ucontext.h.
4678 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4679 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4680
4959e284
L
46812014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4682
4683 [BZ #15605]
4684 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4685
d98720e0
AZ
46862014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4687
4688 [BZ#16431]
4689 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4690 Adjust the vDSO correctly for internal calls.
4691 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4692
91cbd0bc
AM
46932014-01-20 Allan McRae <allan@archlinux.org>
4694
4695 * po/ca.po: Update Catalan translation from translation project.
4696
7a02cfad
MF
46972014-01-16 Mike Frysinger <vapier@gentoo.org>
4698
4699 * sysdeps/s390/sotruss-lib.c: New file.
4700
736c304a
AZ
47012014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4702
4703 [BZ#16430]
6e077ee5 4704 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4705 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4706 local calls issues by not having a PLT stub required for IFUNC calls.
4707 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4708
94d0cea0
JM
47092014-01-16 Joseph Myers <joseph@codesourcery.com>
4710
4711 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4712 * math/test-fpucw-static.c: Likewise.
4713
980cb518
SP
47142013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4715
4716 [BZ #16453]
4717 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4718
2393fc01
AZ
47192014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4720
4721 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4722 implementation for powerpc.
4723
d359bcc2
OB
47242014-01-15 Ondřej Bílka <neleai@seznam.cz>
4725
4726 [BZ #14782]
4727 * sysdeps/posix/system.c (__libc_system): Do not enable
4728 asynchronous cancellation.
4729
7beb48cb
AK
47302014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4731
4732 [BZ #16427]
4733 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4734 handling only for numbers special also in the IEEE case.
4735
c20d5bf5
AK
47362014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4737
4738 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4739
e83bd4ee
AM
47402014-01-11 Allan McRae <allan@archlinux.org>
4741
76d0ea69
AM
4742 * po/bg.po: Update Bulgarian translation from translation project.
4743
e83bd4ee
AM
4744 * po/de.po: Update German translation from translation project.
4745
bc2ba20a
RM
47462014-01-10 Roland McGrath <roland@hack.frob.com>
4747
4748 * sysdeps/generic/gcc-compat.h: New file.
4749
649ecea2
SP
47502014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4751
4752 * benchtests/asin-inputs: Correct slow inputs.
4753 * benchtests/acos-inputs: Likewise.
4754
1b19c006
AM
47552014-01-10 Allan McRae <allan@archlinux.org>
4756
a46dab08
AM
4757 * po:sv.po: Update Swedish translation from translation project.
4758
421df74a
AM
4759 * po/vi.po: Update Vietnamese translation from translation project.
4760
d61c51a7
AM
4761 * po/eo.po: Update Esperanto translation from translation project.
4762
0339a319
AM
4763 * po/cs.po: Update Czech translation from translation project.
4764
94ad3e99
AM
4765 * po/nl.po: Update Dutch translation from translation project.
4766
e349ca71
AM
4767 * po/pl.po: Update Polish translation from translation project.
4768
ddf930c1
AM
4769 * po/ru.po: Update Russian translation from translation project.
4770
1b19c006
AM
4771 * po/uk.po: Update Ukrainian translation from translation project.
4772
9f236c49
BM
47732014-01-08 Brooks Moses <bmoses@google.com>
4774
4775 * elf/dl-load.c: Fix comment typo.
4776
cd6701cf
CD
47772014-01-08 Carlos O'Donell <carlos@redhat.com>
4778
4779 * po/header.pot: Rename to...
4780 * po/pot.header: ... this.
4781 * po/Makefile: Use pot.header.
4782
66671c84
YK
47832014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4784 Maxim Kuvyrkov <maxim@kugelworks.com>
4785
4786 [BZ #16394]
cd6701cf
CD
4787 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4788 SRC and DEST against LEN.
66671c84 4789
38f34581
AZ
47902014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4791
4792 [BZ #16414]
4793 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4794 implementation.
4795 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4796
47972014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4798
4799 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4800
4c327f2a
JM
48012014-01-08 Joseph Myers <joseph@codesourcery.com>
4802
4803 [BZ #16408]
4804 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4805 for large positive arguments.
4806
b821f414
JM
48072014-01-07 Joseph Myers <joseph@codesourcery.com>
4808
1f0f2067
JM
4809 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4810
a5a326f6
JM
4811 * math/auto-libm-test-in: Mark various tests with
4812 xfail-rounding:ldbl-128ibm.
4813 * math/auto-libm-test-out: Regenerated.
4814
b821f414
JM
4815 [BZ #16407]
4816 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4817 Increase overflow threshold.
4818
94c8a4bc
OB
48192014-01-07 Ondřej Bílka <neleai@seznam.cz>
4820
4821 [BZ #14286]
4822 * stdio-common/vfprintf.c: Check for integer overflow.
4823
87ded0c3
AK
48242014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4825
4826 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4827 the first argument and return value of __tls_get_addr_internal.
4828
c5eebdd0
AK
48292014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4830
4831 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4832 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4833
05d138ef
AK
48342014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4835
4836 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4837 * sysdeps/s390/rtld-global-offsets.sym: New file.
4838 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4839 GLIBC_2.19 symbol.
4840 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4841 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4842 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4843 ... this.
4844 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4845 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4846 ... this.
4847 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4848 Regenerate.
4849 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4850 Regenerate.
4851 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4852 halfs of GPRs for high_gprs contexts.
4853 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4854 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4855 field.
4856 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4857 uc_flags field.
4858 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4859 64 bit versions:
4860 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4861 for high GPRs (uc_high_gprs) and for future extensions
4862 (__reserved).
4863 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4864 for future extensions (__reserved).
4865 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4866 64 bit versions:
4867 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4868 SC_HIGHGPRS offset definition.
4869 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4870 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4871
93a45ff1
AK
48722014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4873
4874 * Versions.def: Add GLIBC_2.19 for libpthread.
4875 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4876 siglongjmp for libpthread with GLIBC_2.19 symver.
4877 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4878 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4879 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4880 * sysdeps/s390/__longjmp.c: New file.
4881 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4882 * sysdeps/s390/longjmp.c: New file.
4883 * sysdeps/s390/setjmp.S: New file.
4884 * sysdeps/s390/sigjmp.S: New file.
4885 * sysdeps/s390/v1-longjmp.c: New file.
4886 * sysdeps/s390/v1-setjmp.h: New file.
4887 * sysdeps/s390/v1-sigjmp.c: New file.
4888 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4889 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4890 GLIBC_2.19 version.
4891 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4892 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4893 versioned symbols for ____longjmp_chk.
4894 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4895 Likewise.
4896 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4897 Regenerate.
4898 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4899 Regenerate.
4900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4901 Regenerate.
4902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4903 Regenerate.
4904 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4905 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4906 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4907 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4908 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4909 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4910 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4911 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4912 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4913 * sysdeps/s390/rtld-__longjmp.c: New file.
4914 * sysdeps/s390/rtld-setjmp.S: New file.
4915
eb3fc44b
JM
49162014-01-06 Joseph Myers <joseph@codesourcery.com>
4917
4918 [BZ #16400]
4919 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4920 Return -__logl (x) for small positive arguments without evaluating
4921 a polynomial.
4922
9341dde4
MF
49232014-01-06 Mike Frysinger <vapier@gentoo.org>
4924
4925 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4926 Rename to ...
4927 (__ptrace_peeksiginfo_args): ... this.
4928 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4929 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4930 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4931
4cff0293
AM
49322014-01-06 Allan McRae <allan@archlinux.org>
4933
4934 * inet/netinet/in.h: Fix typo in comment.
4935
75595dcf
AJ
49362014-01-05 Andreas Jaeger <aj@suse.de>
4937
4938 * sysdeps/i386/fpu/libm-test-ulps: Update.
4939
79c1e109
AM
49402014-01-05 Allan McRae <allan@archlinux.org>
4941
dd804818
AM
4942 * po/libc.pot: Regenerated.
4943
79c1e109
AM
4944 * malloc/memusagestat.c: Fix gettext call formatting.
4945
0c813d1f
SK
49462014-01-04 Sami Kerola <kerolasa@iki.fi>
4947
4948 * nscd/nscd.c: Improve usage() output.
4949
20f4a8d9
MF
49502014-01-04 Mike Frysinger <vapier@gentoo.org>
4951
4952 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4953 * sysdeps/unix/sysv/linux/configure: Regenerated.
4954 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4955 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4956
22562bb2
JM
49572014-01-03 Joseph Myers <joseph@codesourcery.com>
4958
4959 [BZ #16390]
4960 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4961 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4962
d7ad2d9b
AZ
49632014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4964
4965 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4966 extra tokens at end of #undef directive.
4967 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4968 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4969 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4970
7dd009d8
JM
49712014-01-03 Joseph Myers <joseph@codesourcery.com>
4972
24db925a
JM
4973 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4974
7dd009d8
JM
4975 * math/auto-libm-test-in: Mark various tests with
4976 xfail-rounding:ldbl-128ibm.
4977 * math/auto-libm-test-out: Regenerated.
4978
396e3ecf
JM
49792014-01-02 Joseph Myers <joseph@codesourcery.com>
4980
819e5d50
JM
4981 [BZ #16386]
4982 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
4983 numbers with subnormal high part when calculating exponent.
4984
90b6a1e5
JM
4985 [BZ #16385]
4986 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
4987 fabs.
4988
396e3ecf
JM
4989 [BZ #16384]
4990 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
4991 M_LN2l.
4992 (__ieee754_acoshl): Use __log1pl not __log1p.
4993
6c8dbf00
OB
49942013-01-02 Ondřej Bílka <neleai@seznam.cz>
4995
4996 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
4997 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
4998 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
4999 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5000 Convert to GNU style.
5001 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5002 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5003 memalign_check, __malloc_set_state): Likewise.
5004 * malloc/mallocbug.c (main): Likewise.
5005 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5006 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5007 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5008 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5009 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5010 * malloc/malloc.h: Likewise.
5011 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5012 memalignhook, reallochook, mabort): Likewise.
5013 * malloc/mcheck.h: Likewise.
5014 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5015 mmap64, mremap, munmap, dest): Likewise.
5016 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5017 * malloc/morecore.c (__default_morecore): Likewise.
5018 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5019 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5020 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5021 print_and_abort): Likewise.
5022 * malloc/obstack.h: Likewise.
5023 * malloc/set-freeres.c (__libc_freeres): Likewise.
5024 * malloc/tst-mallocstate.c (main): Likewise.
5025 * malloc/tst-mtrace.c (main): Likewise.
5026 * malloc/tst-realloc.c (do_test): Likewise.
5027
d4124212
SP
50282013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5029
9a3c6a6f
SP
5030 [BZ #16366]
5031 * nscd/netgroupcache.c (do_notfound): New function.
5032 (addgetnetgrentX): Use it.
5033
d4124212
SP
5034 [BZ # 16365]
5035 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5036 NSS_STATUS_NOTFOUND.
5037
97b9a009
JM
50382014-01-01 Joseph Myers <joseph@codesourcery.com>
5039
5040 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5041 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5042
d4697bc9
AM
50432014-01-01 Allan McRae <allan@archlinux.org>
5044
ddb3687f
AM
5045 * scripts/update-copyrights: Update configure input file suffix.
5046
88726d48
AM
5047 * NEWS: Update copyright year.
5048 * catgets/gencat.c: Likewise.
5049 * csu/version.c: Likewise.
5050 * debug/catchsegv.sh: Likewise.
5051 * debug/pcprofiledump.c: Likewise.
5052 * debug/xtrace.sh: Likewise.
5053 * elf/ldconfig.c: Likewise.
5054 * elf/ldd.bash.in: Likewise.
5055 * elf/pldd.c: Likewise.
5056 * elf/sotruss.ksh: Likewise.
5057 * elf/sprof.c: Likewise.
5058 * iconv/iconv_prog.c: Likewise.
5059 * iconv/iconvconfig.c: Likewise.
5060 * locale/programs/locale.c: Likewise.
5061 * locale/programs/localedef.c: Likewise.
5062 * login/programs/pt_chown.c: Likewise.
5063 * malloc/memusage.sh: Likewise.
5064 * malloc/memusagestat.c: Likewise.
5065 * malloc/mtrace.pl: Likewise.
5066 * manual/libc.texinfo: Likewise.
5067 * nscd/nscd.c: Likewise.
5068 * nss/getent.c: Likewise.
5069 * nss/makedb.c: Likewise.
5070 * posix/getconf.c: Likewise.
5071 * scripts/test-installation.pl: Likewise.
5072
d4697bc9
AM
5073 * All files with FSF copyright notices: Update copyright dates
5074 using scripts/update-copyrights.
5075 * intl/plural.c: Regenerated.
5076 * locale/programs/charmap-kw.h: Likewise.
5077 * locale/programs/locfile-kw.h: Likewise.
5078
c8590f9d
MF
50792013-12-31 Mike Frysinger <vapier@gentoo.org>
5080
5081 * sysdeps/unix/sysv/linux/configure: Regenerated.
5082 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5083 the linux/fanotify.h header.
5084 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5085 HAVE_LINUX_FANOTIFY_H is defined.
5086
b19221b9
SP
50872013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5088
dd1d85e5
SP
5089 * benchtests/cos-inputs: New inputs.
5090 * benchtests/sin-inputs: Likewise.
5091
1acbb90f
SP
5092 * benchtests/atan-inputs: New inputs. Fix name of multiple
5093 precision fallback inputs.
5094
4c012ed3
SP
5095 * benchtests/atanh-inputs: New inputs.
5096 * benchtests/tanh-inputs: Likewise.
5097
eff98324
SP
5098 * benchtests/acosh-inputs: New inputs.
5099 * benchtests/asinh-inputs: Likewise.
5100
ce641152
SP
5101 * benchtests/cosh-inputs: New inputs.
5102 * benchtests/sinh-inputs: Likewise.
5103
b19221b9
SP
5104 * benchtests/acos-inputs: Add more inputs.
5105 * benchtests/asin-inputs: Likewise.
5106
030a4976 51072013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5108
030a4976 5109 [BZ #16375]
9dcc8f11
VS
5110 * manual/arith.texi: Fix spelling.
5111 * manual/charset.texi: Likewise.
5112 * manual/errno.texi: Likewise.
5113 * manual/filesys.texi: Likewise.
5114 * manual/lang.texi: Likewise.
5115 * manual/llio.texi: Likewise.
5116 * manual/locale.texi: Likewise.
5117 * manual/message.texi: Likewise.
5118 * manual/resource.texi: Likewise.
5119 * manual/search.texi: Likewise.
5120 * manual/setjmp.texi: Likewise.
5121 * manual/stdio.texi: Likewise.
5122 * manual/string.texi: Likewise.
5123 * manual/sysinfo.texi: Likewise.
5124 * manual/time.texi: Likewise.
5125
11520a57
CD
51262013-12-27 Carlos O'Donell <carlos@redhat.com>
5127
5128 * po/sl.po: New file.
5129
471103ae
MF
51302013-12-27 Mike Frysinger <vapier@gentoo.org>
5131
5132 * .gitignore: Add core/.gdbinit/.gdb_history.
5133
6c9642ed
AM
51342013-12-27 Allan McRae <allan@archlinux.org>
5135
5136 [BZ #16369]
5137 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5138 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5139
3f637079
BM
51402013-12-24 Brooks Moses <bmoses@google.com>
5141
5142 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5143 all compilers that claim C++98 compliance, not just GCC.
5144 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5145 Likewise.
5146
abc26e99
MK
51472013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5148
5149 * NEWS: Restore accidentally deleted bug-fix entries.
5150
362b47fe
MK
51512013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5152 Ondřej Bílka <neleai@seznam.cz>
5153
5154 [BZ #15073]
5155 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5156 have_lock.
362b47fe 5157
b9bcbbcb
OB
51582013-12-23 Ondřej Bílka <neleai@seznam.cz>
5159
5160 [BZ #12986]
5161 * manual/stdio.texi (String Input Conversions): Clarify that character
5162 classes are not supported.
5163
fb55fcd2
AZ
51642013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5165
5166 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5167
ef7344f0
JM
51682013-12-22 Joseph Myers <joseph@codesourcery.com>
5169
4f40e4b3
JM
5170 [BZ #16337]
5171 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5172 Calculate results for small negative arguments directly rather
5173 than using reflection formula with special underflow handling.
5174
ef7344f0
JM
5175 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5176 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5177 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5178 (fchflags): Likewise.
5179 (revoke): Likewise.
5180 (setlogin): Likewise.
5181 (sigaltstack): Likewise.
5182 (wait4): Likewise.
5183 (sigblock): Remove.
5184 (sigsetmask): Likewise.
5185 (wait3): Likewise.
5186 (waitpid): Likewise.
5187 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5188 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5189 file.
5190 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5191 * sysdeps/unix/bsd/Makefile: ... here.
5192 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5193 * sysdeps/unix/bsd/Versions: ... here.
5194 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5195 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5196 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5197 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5198 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5199 * sysdeps/unix/bsd/sigblock.c: ... here.
5200 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5201 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5202 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5203 * sysdeps/unix/bsd/sigvec.c: ... here.
5204 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5205 * sysdeps/unix/bsd/tcdrain.c: ... here.
5206 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5207 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5208 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5209 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5210 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5211 * sysdeps/unix/bsd/wait.c: ... here.
5212 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5213 * sysdeps/unix/bsd/wait3.c: ... here.
5214 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5215 * sysdeps/unix/bsd/waitpid.c: ... here.
5216
5b0626b9
JM
52172013-12-21 Joseph Myers <joseph@codesourcery.com>
5218
5219 [BZ #16356]
5220 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5221 round-to-nearest for [!USE_AS_EXPM1L].
5222 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5223 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5224 more tests of exp and exp10. Expect some exp10 tests to miss
5225 exceptions or fail in directed rounding modes.
5226 * math/auto-libm-test-out: Regenerated.
5227 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5228 (exp10_test_tonearest): New function.
5229 (exp10_towardzero_test_data): New array.
5230 (exp10_test_towardzero): New function.
5231 (exp10_downward_test_data): New array.
5232 (exp10_test_downward): New function.
5233 (exp10_upward_test_data): New array.
5234 (exp10_test_upward): New function.
5235 (main): Call the new functions.
5236 * sysdeps/i386/fpu/libm-test-ulps: Update.
5237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5238
7fda5682
JM
52392013-12-20 Joseph Myers <joseph@codesourcery.com>
5240
31e3a405
JM
5241 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5242 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5243 * math/auto-libm-test-out: Regenerated.
5244 * math/libm-test.inc (acosh_test_data): Add more tests.
5245 (atanh_test_data): Likewise.
5246 (ceil_test_data): Likewise.
5247 (copysign_test_data): Likewise.
5248 * sysdeps/i386/fpu/libm-test-ulps: Update.
5249 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5250
85bff96a
JM
5251 * timezone/checktab.awk: Update from tzcode 2013i.
5252 * timezone/private.h: Likewise.
5253 * timezone/scheck.c: Likewise.
5254 * timezone/tzfile.h: Likewise.
5255 * timezone/tzselect.ksh: Likewise.
5256 * timezone/zdump.c: Likewise.
5257 * timezone/zic.c: Likewise.
5258
b7867a3b
JM
5259 * math/auto-libm-test-in: Add tests of cpow.
5260 * math/auto-libm-test-out: Regenerated.
5261 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5262 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5263 mpc_cc_c.
5264 (func_calc_desc): Add mpc_cc_c union field.
5265 (test_functions): Add cpow.
5266 (special_fill_2pi): New function.
5267 (special_real_inputs): Add 2pi.
5268 (calc_generic_results): Handle mpc_cc_c.
5269 * sysdeps/i386/fpu/libm-test-ulps: Update.
5270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5271
7fda5682
JM
5272 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5273 csqrt, ctan and ctanh.
5274 * math/auto-libm-test-out: Regenerated.
5275 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5276 (TEST_COND_x86): Likewise.
5277 (ccos_test_data): Use AUTO_TESTS_c_c.
5278 (ccosh_test_data): Likewise.
5279 (cexp_test_data): Likewise.
5280 (clog_test_data): Likewise.
5281 (csqrt_test_data): Likewise.
5282 (ctan_test_data): Likewise.
5283 (ctan_tonearest_test_data): Likewise.
5284 (ctan_towardzero_test_data): Likewise.
5285 (ctan_downward_test_data): Likewise.
5286 (ctan_upward_test_data): Likewise.
5287 (ctanh_test_data): Likewise.
5288 (ctanh_tonearest_test_data): Likewise.
5289 (ctanh_towardzero_test_data): Likewise.
5290 (ctanh_downward_test_data): Likewise.
5291 (ctanh_upward_test_data): Likewise.
5292 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5293 mpc_c_c.
5294 (func_calc_desc): Add mpc_c_c union field.
5295 (FUNC_mpc_c_c): New macro.
5296 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5297 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5298 ctanh.
5299 (special_fill_min_subnorm_p120): New function.
5300 (special_real_inputs): Add min_subnorm_p120.
5301 (calc_generic_results): Handle mpc_c_c.
5302 * sysdeps/i386/fpu/libm-test-ulps: Update.
5303 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5304
5ff8d60e
SP
53052013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5306
392dd2de
SP
5307 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5308 do_sin_slow): New functions.
5309 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5310 cslow2, csloww1, csloww2): Use the new functions.
5311
84ba214c
SP
5312 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5313 Use M to change sign of result instead of X. Assume X is
5314 positive.
5315 (csloww1): Likewise.
5316 (__sin): Adjust.
5317 (__cos): Adjust.
5318
975195e4
SP
5319 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5320 arguments A and DA.
5321 (__sin): Adjust.
5322 (__cos): Likewise.
5323
5ff8d60e
SP
5324 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5325 (__cos): Likewise.
5326 (sloww1): Don't adjust sign of DX.
5327 (csloww1): Likewise.
5328 (sloww2): Use X directly and don't adjust sign of DX.
5329 (csloww2): Likewise.
5330
eb983568
JM
53312013-12-19 Joseph Myers <joseph@codesourcery.com>
5332
64a17f1a
JM
5333 * math/auto-libm-test-in: Add tests of cabs and carg.
5334 * math/auto-libm-test-out: Regenerated.
5335 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5336 (carg_test_data): Likewise.
5337 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5338 mpc_c_f.
5339 (func_calc_desc): Add mpc_c_f union field.
5340 (test_functions): Add cabs and carg.
5341 (calc_generic_results): Handle mpc_c_f.
5342
eb983568
JM
5343 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5344 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5345 as a macro and a compat symbol.
5346 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5347 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5348 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5349 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5350 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5351 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5352 not use .hidden.
5353 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5354 Likewise.
5355 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5356 Likewise.
5357 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5358 Likewise.
5359 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5360 Likewise.
5361 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5362 Likewise.
5363 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5364 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5365 from GLIBC_2.3.2.
5366
6eeb678a
AZ
53672013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5368
5369 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5370
6f6fc482
JM
53712013-12-19 Joseph Myers <joseph@codesourcery.com>
5372
21fea2e2
JM
5373 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5374 trailing whitespace removed.
5375 * scripts/config.guess: Update to version 2013-11-29.
5376 * scripts/config.sub: Update to version 2013-10-01.
5377
6f6fc482
JM
5378 * math/auto-libm-test-in: Add tests of sincos.
5379 * math/auto-libm-test-out: Regenerated.
5380 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5381 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5382 mpfr_f_11.
5383 (func_calc_desc): Add mpfr_f_11 union field.
5384 (test_functions): Add sincos.
5385 (calc_generic_results): Handle mpfr_f_11.
5386 * sysdeps/i386/fpu/libm-test-ulps: Update.
5387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5388
83f5c32d
AS
53892013-12-19 Andreas Schwab <schwab@suse.de>
5390
5391 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5392 CALL_MCOUNT.
5393 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5394 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5395 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5396
c688b419
JM
53972013-12-19 Joseph Myers <joseph@codesourcery.com>
5398
335ee092
JM
5399 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5400 * sysdeps/i386/fpu/libm-test-ulps: Update.
5401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5402
f88acd39
JM
5403 [BZ #16293]
5404 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5405 round-to-nearest mode when using frndint.
5406 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5407 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5408 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5409 Likewise.
5410 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5411 sinh test to fail.
5412 * math/auto-libm-test-out: Regenerated.
5413 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5414 (TEST_COND_x86): Likewise.
5415 (expm1_tonearest_test_data): New array.
5416 (expm1_test_tonearest): New function.
5417 (expm1_towardzero_test_data): New array.
5418 (expm1_test_towardzero): New function.
5419 (expm1_downward_test_data): New array.
5420 (expm1_test_downward): New function.
5421 (expm1_upward_test_data): New array.
5422 (expm1_test_upward): New function.
5423 (main): Run the new test functions.
5424 * sysdeps/i386/fpu/libm-test-ulps: Update.
5425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5426
c688b419
JM
5427 * include/features.h: Update comment documenting feature test
5428 macros. Mention _DEFAULT_SOURCE in comment.
5429 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5430 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5431 _BSD_SOURCE and _SVID_SOURCE.
5432 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5433 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5434 !_SVID_SOURCE]: Likewise.
5435 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5436 (__USE_POSIX_IMPLICITLY): Define.
5437 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5438 (_POSIX_SOURCE): Undefine and redefine.
5439 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5440 (_POSIX_C_SOURCE): Likewise.
5441 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5442 (Feature Test Macros): Update documentation of default features.
5443
9f6e964c
RS
54442013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5445
5446 * benchtests/Makefile: Add bench-strtok.
5447 * benchtests/bench-strtok.c: New file: strtok benchtest.
5448
ee0a148a
AM
54492013-12-19 Allan McRae <allan@archlinux.org>
5450
5451 * manual/install.texi: Suppress menu for plain text output.
5452 * INSTALL: Regenerated.
5453
b9ab448f
BM
54542013-12-18 Brooks Moses <bmoses@google.com>
5455
5456 [BZ #15846]
5457 * misc/getauxval.c: Include errno.h.
5458 (__getauxval): Set errno to ENOENT if the requested type is not
5459 found.
5460 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5461 don't declare with __attribute_const__.
5462 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5463 * manual/startup.texi: Document that getauxval sets errno.
5464
23776487
JM
54652013-12-18 Joseph Myers <joseph@codesourcery.com>
5466
f889953b
JM
5467 * math/auto-libm-test-in: Add tests of jn and yn.
5468 * math/auto-libm-test-out: Regenerated.
5469 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5470 (yn_test_data): Likewise.
5471 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5472 mpfr_if_f.
5473 (func_calc_desc): Add mpfr_if_f union field.
5474 (FUNC_mpfr_if_f): New macro.
5475 (test_functions): Add jn and yn.
5476 (calc_generic_results): Assert type of second input for
5477 mpfr_ff_f. Handle mpfr_if_f.
5478 (output_for_one_input_case): Disable all checking for arguments
5479 fitting floating-point types in case of an integer argument.
5480 * sysdeps/i386/fpu/libm-test-ulps: Update.
5481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5482
23776487
JM
5483 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5484 Don't expect fegetround reference in libm.so.
5485
cb756c6d
MS
54862013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5487
5488 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5489 $(config-cflags-nofma).
5490
2dec468f
JM
54912013-12-18 Joseph Myers <joseph@codesourcery.com>
5492
5953eb3a
JM
5493 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5494 * math/auto-libm-test-out: Regenerated.
5495
2dec468f
JM
5496 [BZ #16338]
5497 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5498 to determine exponent and adjust argument to have exponent of -1.
5499 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5500 log2.
5501 * math/auto-libm-test-out: Regenerated.
5502 * sysdeps/i386/fpu/libm-test-ulps: Update.
5503 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5504
4d84e6ad
OB
55052013-12-18 Ondřej Bílka <neleai@seznam.cz>
5506
5507 * manual/probes.texi: Remove cases when per-thread arenas are
5508 disabled.
5509
1818483b
AS
55102013-12-18 Andreas Schwab <schwab@suse.de>
5511
5512 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5513 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5514 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5515 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5516 * sysdeps/i386/i686/multiarch/Makefile: Update.
5517 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5518
25de95bf
JM
55192013-12-17 Joseph Myers <joseph@codesourcery.com>
5520
5521 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5522 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5523
674762d9
PE
55242013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5525
ed27ed83 5526 [BZ #15968]
0748546f
PE
5527 Support TZ transition times < 00:00:00.
5528 This is needed for version-3 tz-format files; it supports time
5529 stamps past 2037 for America/Godthab (the only entry in the tz
5530 database for which this change is relevant).
5531 * manual/time.texi (TZ Variable): Document transition times
5532 from -167:59:59 through -00:00:01.
5533 * time/tzset.c (tz_rule): Time of day is now signed.
5534 (__tzset_parse_tz): Parse negative time of day.
5535
4480e934
PE
5536 Document TZ transition times >= 25:00:00.
5537 * manual/time.texi (TZ Variable): Document transition times from
5538 25:00:00 through 167:59:59. These are already supported, and this
5539 support will help with version-3 tz-format files.
5540
69947401
PE
5541 * manual/time.texi (TZ Variable): Modernize North America example
5542 to reflect current (i.e., 2007-and-later) daylight saving rules.
5543
674762d9
PE
5544 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5545
7011c262
JM
55462013-12-17 Joseph Myers <joseph@codesourcery.com>
5547
2fc6557e
JM
5548 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5549 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5550 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5551 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5552 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5553 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5554 * sysdeps/unix/bsd/clock.c: Likewise.
5555 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5556 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5557 * sysdeps/unix/bsd/init-posix.c: Likewise.
5558 * sysdeps/unix/bsd/poll.c: Likewise.
5559 * sysdeps/unix/bsd/ptsname.c: Likewise.
5560 * sysdeps/unix/bsd/seekdir.c: Likewise.
5561 * sysdeps/unix/bsd/setegid.c: Likewise.
5562 * sysdeps/unix/bsd/seteuid.c: Likewise.
5563 * sysdeps/unix/bsd/setgid.c: Likewise.
5564 * sysdeps/unix/bsd/setrgid.c: Likewise.
5565 * sysdeps/unix/bsd/setruid.c: Likewise.
5566 * sysdeps/unix/bsd/setsid.c: Likewise.
5567 * sysdeps/unix/bsd/setuid.c: Likewise.
5568 * sysdeps/unix/bsd/sigaction.c: Likewise.
5569 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5570 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5571 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5572 * sysdeps/unix/bsd/telldir.c: Likewise.
5573 * sysdeps/unix/bsd/times.c: Likewise.
5574 * sysdeps/unix/bsd/usleep.c: Likewise.
5575
029c7b25
JM
5576 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5577 ($(objpfx)libbsd-compat.a): Remove rule.
5578
7011c262
JM
5579 * include/features.h (__FAVOR_BSD): Do not define.
5580 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5581 features conflicting with POSIX.
5582 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5583 (_BSD_SOURCE): Remove description of not being a subset of other
5584 feature test macros.
5585 * manual/job.texi (getpgrp): Do not document BSD version.
5586 (getpgid): Do not document by reference to BSD getpgrp.
5587 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5588 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5589 * signal/signal.h [__FAVOR_BSD]: Likewise.
5590 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5591 instead of making contents conditional on [__FAVOR_BSD].
5592 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5593
affb6f78
AZ
55942013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5595
5596 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5597
c88769dd
JM
55982013-12-17 Joseph Myers <joseph@codesourcery.com>
5599
6432a540
JM
5600 [BZ #16314]
5601 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5602 values below 2**-450, not 2**-500.
5603 * math/auto-libm-test-in: Don't allow spurious underflow from
5604 hypot.
5605 * math/auto-libm-test-out: Regenerated.
5606
c88769dd
JM
5607 [BZ #16316]
5608 [BZ #16330]
5609 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5610 values of ha and hb and sort them after adjusting subnormal
5611 arguments.
5612 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5613 Likewise.
5614 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5615 values of ea and eb and sort them after adjusting subnormal
5616 arguments.
5617 * math/auto-libm-test-in: Do not expect some hypot tests of
5618 subnormals to fail. Add more hypot tests.
5619 * math/auto-libm-test-out: Regenerated.
5620
29618f6b
KK
56212013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5622
5623 [BZ #13304]
5624 * sysdeps/sh/s_fma.c: New file.
5625 * sysdeps/sh/s_fmaf.c: New file.
5626 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5627 version.
5628 * sysdeps/sh/Implies: Add sh/soft-fp.
5629
eacfdfbf
RM
56302013-12-16 Roland McGrath <roland@hack.frob.com>
5631
5632 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5633 level of indirection to members `objname', `errstring', `malloced'.
5634 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5635 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5636 it as the __longjmp argument (just pass 1 instead).
5637 (_dl_catch_error): Initialize C with argument pointers and address of
5638 volatile local ERRCODE rather than copying values out of C at return.
5639
ff362e5b
JM
56402013-12-16 Joseph Myers <joseph@codesourcery.com>
5641
5642 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5643 * math/auto-libm-test-out: Regenerated.
5644 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5645 (hypot_test_data): Likewise.
5646 (pow_test_data): Likewise.
5647 (pow_tonearest_test_data): Likewise.
5648 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5649 mpfr_ff_f.
5650 (func_calc_desc): Add mpfr_ff_f union field.
5651 (FUNC_mpfr_ff_f): New macro.
5652 (test_functions): Add atan2, hypot and pow.
5653 (special_fill_min): New function.
5654 (special_fill_minus_min): Likewise.
5655 (special_fill_min_subnorm): Likewise.
5656 (special_fill_minus_min_subnorm): Likewise.
5657 (special_real_inputs): Add min, -min, min_subnorm and
5658 -min_subnorm.
5659 (calc_generic_results): Handle mpfr_ff_f.
5660 * sysdeps/i386/fpu/libm-test-ulps: Update.
5661 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5662
5764c27f
WN
56632013-12-16 Will Newton <will.newton@linaro.org>
5664
5665 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5666 (Aligned Memory Blocks): Add documentation for aligned_alloc
5667 and suggest it as an alternative to posix_memalign.
5668 (Hooks for Malloc): Document __memalign_hook is also called
5669 for aligned_alloc. (Summary of Malloc): Add summary for
5670 aligned alloc. Document __memalign_hook is also called
5671 for aligned_alloc.
5672
0a096e44
WN
56732013-12-16 Will Newton <will.newton@linaro.org>
5674
5675 * manual/memory.texi (Malloc Examples): Clarify default
5676 alignment documentation. Suggest posix_memalign rather
5677 than memalign or valloc.
5678 (Aligned Memory Blocks): Remove suggestion to use memalign
5679 or valloc. Remove obsolete comment about BSD.
5680 Document memalign errno values and mark the function obsolete.
5681 Document posix_memalign returned error codes. Mark valloc
5682 as obsolete. (Hooks for Malloc): __memalign_hook is also
5683 called for posix_memalign and valloc.
5684 (Summary of Malloc): Add posix_memalign to function summary.
5685 __memalign_hook is also called for posix_memalign and valloc.
5686
8d561986
SP
56872013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5688
5689 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5690 TAYLOR_SIN.
5691 (__sin): Adjust.
5692 (__cos): Likewise.
5693 (sloww): Use mynumber union. Expand ternary operator into
5694 if-else statements.
5695 (cslow): use mynumber union.
5696
73616a74
AM
56972013-12-16 Allan McRae <allan@archlinux.org>
5698
9e8ac24b
AM
5699 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5700 * configure: Regenerated.
5701
6f8e37eb
AM
5702 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5703
8894bad3
AM
5704 [BZ #14120]
5705 * configure.ac: Added --enable-maintainer-mode. Check for
5706 autoconf when enabled.
5707 * configure: Regenerated.
5708
73616a74
AM
5709 * nscd/nscd.service: New file.
5710 * nscd/nscd.tmpfiles: New file.
5711
584b18eb
OB
57122013-12-14 Ondřej Bílka <neleai@seznam.cz>
5713
5714 [BZ #12100]
5715 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5716 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5717 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5718 (strstr): Add __strstr_sse2_unaligned ifunc.
5719 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5720 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5721 (strcasestr): Remove __strcasestr_sse42 ifunc.
5722 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5723 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5724 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5725
8a5c7897
KK
57262013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5727
5728 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5729 * sysdeps/sh/bits/fenv.h: ... here.
5730 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5731
fd712ef3
AZ
57322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5733
5734 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5735
42fcb46c
AZ
57362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5737
5738 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5739 hypotf multiarch implementations.
5740 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5741 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5742 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5743 multiarch hypot for PPC64.
5744 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5745 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5746 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5747 multiarch hypotf for PPC64.
5748
83efded4
AZ
57492013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5750
5751 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5752 modff multiarch implementations.
5753 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5754 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5755 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5756 multiarch modf for PPC64.
5757 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5759 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5760 multiarch modff for PPC64.
5761
43e246d2
AZ
57622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5763
5764 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5765 and logl multiarch implementations.
5766 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5767 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5768 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5769 multiarch logb for PPC64.
5770 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5771 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5773 multiarch logb for PPC64.
5774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5777 multiarch logb for PPC64.
5778
8fdad123
AZ
57792013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5780
5781 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5782 isinff multiarch implementation.
5783 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5784 file.
5785 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5786 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5787 multiarch isinf for PPC64.
5788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5789 file.
5790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5791 multiarch isinff for PPC64.
5792
1481d706
AZ
57932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5794
5795 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5796 finitef multiarch implementation.
5797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5798 file.
5799 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5800 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5801 multiarch finite for PPC64.
5802 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5803 file.
5804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5805 multiarch finitef for PPC64.
5806
5ccd5fc8
AZ
58072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5808
5809 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5810 lrint multiarch implementation.
5811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5812 file.
5813 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5814 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5815 multiarch llrint for PPC64.
5816 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5817 multiarch lrint for PPC64.
5818
2568f3fa
AZ
58192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5820
5821 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5822 copysignf multiarch implementation.
5823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5824 file.
5825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5826 file.
5827 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5828 multiarch copysign for PPC64.
5829 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5830 multiarch copysignf for PPC64.
5831
1cb341fd
AZ
58322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5833
5834 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5835 multiarch implementation.
5836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5837 file.
5838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5839 file.
5840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5841 file.
5842 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5843 file.
5844 multiarch llround for PPC64.
5845 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5846 multiarch trunc for PPC64.
5847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5848 multiarch truncf for PPC64.
5849
59a3e194
AZ
58502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5851
5852 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5853 multiarch implementation.
5854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5855 file.
5856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5857 file.
5858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5859 file.
5860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5861 file.
5862 multiarch llround for PPC64.
5863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5864 multiarch round for PPC64.
5865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5866 multiarch roundf for PPC64.
5867
357fd3b4
AZ
58682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5869
5870 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5871 multiarch implementation.
5872 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5873 file.
5874 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5875 file.
5876 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5877 file.
5878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5879 file.
5880 multiarch llround for PPC64.
5881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5882 multiarch floor for PPC64.
5883 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5884 multiarch floorf for PPC64.
5885
96770f12
AZ
58862013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5887
5888 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5889 multiarch implementation.
5890 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5891 file.
5892 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5893 file.
5894 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5895 file.
5896 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5897 file.
5898 multiarch llround for PPC64.
5899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5900 multiarch ceil for PPC64.
5901 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5902 multiarch ceilf for PPC64.
5903
c3627f6e
AZ
59042013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5905
5906 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5907 multiarch implementation.
5908 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5909 file.
5910 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5911 file.
5912 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5913 file.
5914 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5915 multiarch llround for PPC64.
5916 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5917 multiarch lround for PPC64.
5918
b2284ad7
AZ
59192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5920
5921 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5922 multiarch implementation.
5923 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5925 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5926 file.
5927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5928 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5930 multiarch isnan for PPC64.
5931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5932 multiarch isnanf for PPC64.
5933
69bbc63d
AZ
59342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5935
5936 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5937 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5938 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5939 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5940 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5942
c24517c9
AZ
59432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5944
5945 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5946 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5947 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5948 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5949
a52374e8
AZ
59502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5951
5952 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5953 multiarch implementations.
5954 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5955 (__libc_ifunc_impl_list): Likewise.
5956 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5957 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5958 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5959 multiarch stpcpy for PPC64.
5960
7f5ec113
AZ
59612013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5962
5963 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5964 multiarch implementations.
5965 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5966 (__libc_ifunc_impl_list): Likewise.
5967 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5968 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5969 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5970 multiarch strcpy for PPC64.
5971
e28bcd42
AZ
59722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5973
5974 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5975 redefine function name.
5976 (_wordcopy_fwd_dest_aligned): Likewise.
5977 (_wordcopy_bwd_aligned): Likewise.
5978 (_wordcopy_bwd_dest_aligned): Likewise.
5979 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
5980 multiarch implementations.
5981 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5982 (__libc_ifunc_impl_list): Likewise.
5983 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
5984 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
5985 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
5986 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
5987 multiarch wcscpy for PPC64.
5988
92cacfce
AZ
59892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5990
5991 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
5992 multiarch implementations.
5993 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5994 (__libc_ifunc_impl_list): Likewise.
5995 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
5996 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
5997 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
5998 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
5999 multiarch wcscpy for PPC64.
6000
7b714620
AZ
60012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6002
6003 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6004 multiarch implementations.
6005 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6006 (__libc_ifunc_impl_list): Likewise.
6007 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6008 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6009 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6010 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6011 multiarch wcsrchr for PPC64.
6012
16fd2ae3
AZ
60132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6014
6015 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6016 multiarch implementations.
6017 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6018 (__libc_ifunc_impl_list): Likewise.
6019 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6020 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6021 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6022 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6023 multiarch wcschr for PPC64.
6024
9ee2969b
AZ
60252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026
6027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6028 multiarch implementations.
6029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6030 (__libc_ifunc_impl_list): Likewise.
6031 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6032 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6033 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6034 multiarch strchrnul for PPC64.
6035
372dc060
AZ
60362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6037
6038 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6039 implementations.
6040 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6041 (__libc_ifunc_impl_list): Likewise.
6042 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6043 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6044 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6045 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6046 strchr for PPC64.
6047
24c2c3b9
AZ
60482013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6049
6050 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6051 implementations.
6052 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6053 (__libc_ifunc_impl_list): Likewise.
6054 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6055 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6056 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6057 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6058 strncmp for PPC64.
6059
1c92d9a0
AZ
60602013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6061
6062 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6063 multiarch implementations.
6064 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6065 (__libc_ifunc_impl_list): Likewise.
6066 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6067 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6068 strncasecmp for PPC64.
6069 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6070 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6071 multiarch strncasecmp_l for PPC64.
6072
17de3ee3
AZ
60732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6074
6075 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6076 multiarch implementations.
6077 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6078 (__libc_ifunc_impl_list): Likewise.
6079 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6080 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6081 multiarch strcasecmp for PPC64.
6082 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6083 file.
6084 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6085 multiarch strcasecmp_l for PPC64.
6086
62982bf9
AZ
60872013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6088
6089 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6090 implementations.
6091 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6092 (__libc_ifunc_impl_list): Likewise.
6093 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6094 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6095 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6096 strnlen for PPC64.
6097
a65f4904
AZ
60982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6099
6100 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6101 implementations.
6102 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6103 (__libc_ifunc_impl_list): Likewise.
6104 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6105 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6106 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6107 strlen for PPC64.
6108
1fd005ad
AZ
61092013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6110
6111 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6112 implementations.
6113 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6114 (__libc_ifunc_impl_list): Likewise.
6115 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6116 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6117 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6118 rawmemrchr for PPC64.
6119
cd05ba91
AZ
61202013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6121
6122 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6123 implementation.
6124 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6125 (__libc_ifunc_impl_list): Likewise.
6126 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6127 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6128 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6129 memrchr for PPC64.
6130
870f8676
AZ
61312013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6132
6133 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6134 implementation.
6135 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6136 (__libc_ifunc_impl_list): Likewise.
6137 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6138 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6139 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6140 memchr for PPC64.
6141
f00be62b
AZ
61422013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6143
6144 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6145 implementation.
6146 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6147 (__libc_ifunc_impl_list): Likewise.
6148 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6149 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6150 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6151 mempcpy for PPC64.
6152
8a29a3d0
AZ
61532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6154
6155 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6156 avoid cretion of __bzero symbol.
6157 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6158 Likewise.
6159 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6160 Likewise.
6161 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6162 Likewise.
6163 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6164 multiarch implementations.
6165 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6166 (__libc_ifunc_impl_list): Likewise.
6167 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6168 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6169 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6170 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6171 bzero for PPC32.
6172 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6173 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6174 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6175 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6176 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6177 memset for PPC64.
6178 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6179
07253fcf
AZ
61802013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6181
6182 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6183 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6184 implementations.
6185 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6186 (__libc_ifunc_impl_list): Likewise.
6187 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6188 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6189 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6190 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6191 memcmp for PPC64.
6192
b5beafbc
AZ
61932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6194
6195 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6196 multiarch for POWER/PPC64.
6197 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6198 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6199 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6200 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6201 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6202 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6203 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6204 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6205 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6206 memcpy for PPC64.
6207
5e6a4d4b
AZ
62082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6209
6210 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6211 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6212 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6213 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6214 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6215 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6216 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6217 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6218 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6219 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6220 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6221 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6222 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6223 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6224 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6226 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6229 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6231 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6232
ddfab6dc
KK
62332013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6234
6235 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6236
19b5525e
SP
62372013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6238
6239 * benchtests/Makefile (bench): Add exp2 and log2.
6240 (LDLIBS-bench-exp2): Add -lm.
6241 (LDLIBS-bench-log2): Likewise.
6242 * benchtests/exp2-inputs: New inputs file.
6243 * benchtests/log2-inputs: New inputs file.
6244 * benchtests/log-inputs: Add new inputs.
6245 * benchtests/tan-inputs: Likewise.
6246
196f7f5d
SP
62472013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6248
7a74607f
SP
6249 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6250 definition...
6251 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6252 csloww1, csloww2): ... from here.
6253
196f7f5d
SP
6254 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6255 instead of structures.
6256 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6257 (POLYNOMIAL): Likewise.
6258 (TAYLOR_SLOW): Likewise.
6259 (__sin): Likewise.
6260 (__cos): Likewise.
6261 (slow1): Likewise.
6262 (slow2): Likewise.
6263 (sloww): Likewise.
6264 (sloww1); Likewise.
6265 (sloww2): Likewise.
6266 (bsloww1): Likewise.
6267 (bsloww2): Likewise.
6268 (cslow2): Likewise.
6269 (csloww): Likewise.
6270 (csloww1): Likewise.
6271 (csloww2): Likewise.
6272
0dfa665c
OB
62732013-12-10 Ondřej Bílka <neleai@seznam.cz>
6274
6275 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6276 (__malloc_assert, __libc_realloc, __libc_calloc,
6277 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6278 memcpy and memset.
6279 * malloc/hooks.c (realloc_check): Likewise.
6280
5782a80f
OB
62812013-12-10 Ondřej Bílka <neleai@seznam.cz>
6282
6283 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6284 * malloc/arena.c: Remove PER_THREAD conditional.
6285 [!PER_THREAD]: Remove code.
6286 (ptmalloc_unlock_all2): Likewise.
6287 (ptmalloc_init): Likewise.
6288 (_int_new_arena): Likewise.
6289 (arena_get2): Likewise.
6290 * malloc/hooks.c (__malloc_get_state): Likewise.
6291 (__malloc_set_state): Likewise.
6292 * malloc/malloc.c: Likewise.
6293 (struct malloc_state): Likewise.
6294 (struct malloc_par): Likewise.
6295 (__libc_realloc): Likewise.
6296 (__libc_mallopt): Likewise.
6297
aeb95445
AZ
62982013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6299
6300 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6301
e8349efd
OB
63022013-12-09 Ondřej Bílka <neleai@seznam.cz>
6303
6304 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6305 macro to a function. Check for zero perturb_byte.
6306 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6307
f3eeb3fc
OB
63082013-12-09 Ondřej Bílka <neleai@seznam.cz>
6309
6310 * malloc/malloc.c: (force_reg): Remove.
6311 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6312 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6313 force_reg by atomic_forced_read.
6314 * malloc/arena.c (ptmalloc_init): Likewise.
6315 * malloc/hooks.c (top_check): Likewise.
6316
be2f9009
AZ
63172013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6318
6319 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6320
e7b914bd
MT
63212013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6322
6323 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6324
9f0be4f8
JM
63252013-12-08 Joseph Myers <joseph@codesourcery.com>
6326
6327 * math/auto-libm-test-in: Add tests of lgamma.
6328 * math/auto-libm-test-out: Regenerated.
6329 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6330 (M_LOG_2_SQRT_PIl): Likewise.
6331 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6332 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6333 mpfr_f_f1.
6334 (func_calc_desc): Add mpfr_f_f1 union field.
6335 (ARGS1): New macro.
6336 (ARGS2): Likewise.
6337 (ARGS3): Likewise.
6338 (ARGS4): Likewise.
6339 (RET1): Likewise.
6340 (RET2): Likewise.
6341 (CALC): Likewise.
6342 (FUNC): Likewise.
6343 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6344 (test_functions): Add lgamma.
6345 (calc_generic_results): Handle mpfr_f_f1.
6346 * sysdeps/i386/fpu/libm-test-ulps: Update.
6347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6348
24eeafdb
AZ
63492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6350
6351 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6352 __mpn_add_n for PowerPC64/POWER7.
6353 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6354 __mpn_sub_n for PowerPC64/POWER7.
6355
4a2c0fd4
AZ
63562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6357
6358 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6359 __mpn_addmul_1 for PowerPC64.
6360 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6361 __mpn_submul_1 for PowerPC64.
6362 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6363 for PowerPC64.
6364 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6365 for PowerPC64.
6366
4b5b548c
FS
63672013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6368
6369 [BZ #15089]
6370 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6371
0a3ac0aa
AZ
63722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6373
6374 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6375
ccdc8438
AZ
63762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6377
6378 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6379 add multiarch folders.
6380 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6381 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6382 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6383 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6384 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6385 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6386 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6387 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6388 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6389 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6390 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6392 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6393 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6394 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6395 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6396 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6397
2e973d99
AZ
63982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6399
6400 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6401 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6402 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6403 New file.
6404 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6405 New file.
6406 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6407 multiarch __ieee754_hypot for PowerPC32.
6408 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6409 New file.
6410 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6411 New file.
6412 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6413 multiarch __ieee754_hypotf for PowerPC32.
6414
2d9470b2
AZ
64152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6416
6417 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6418 long_double_symbol only if __logbl is defined.
6419 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6420 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6421 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6422 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6423 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6424 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6425 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6426 path for implementation.
6427 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6428 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6430 logb, and logbl multiarch implementations for PowerPC32.
6431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6432 file.
6433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6434 file.
6435 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6436 multiarch logb for PowerPC32.
6437 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6438 file.
6439 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6440 file.
6441 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6442 multiarch logbf for PowerPC32.
6443 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6444 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6445 file.
6446 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6447 multiarch logbl implementation for PowerPC32.
6448
5212ffce
AZ
64492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6450
6451 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6452 and modff multiarch implementations.
6453 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6454 New file.
6455 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6456 New file.
6457 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6458 multiarch modf for PowerPC32.
6459 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6460 New file.
6461 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6462 New file.
6463 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6464 multiarch modff for PowerPC32.
6465
79dccf31
AZ
64662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6467
6468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6469 and lrintf multiarch implementations.
6470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6471 New file.
6472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6473 New file.
6474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6475 multiarch lrint for PowerPC32.
6476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6477 file: multiarch lrintf for PowerPC32.
6478
deb66480
AZ
64792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480
6481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6482 and lroundf multiarch implementations.
6483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6484 New file.
6485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6486 New file.
6487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6488 New file.
6489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6490 multiarch lround for PowerPC32.
6491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6492 file: multiarch lroundf for PowerPC32.
6493
264b036b
AZ
64942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6495
6496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6497 copysign and copysignf multiarch implementations.
6498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6499 New file.
6500 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6501 New file.
6502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6503 file: multiarch copysign for PowerPC32.
6504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6505 file: multiarch copysignf for PowerPC32.
6506
d47db6c9
AZ
65072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6508
6509 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6510 and truncf multiarch implementations.
6511 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6512 New file.
6513 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6514 file.
6515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6516 multiarch trunc for PowerPC32.
6517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6518 New file.
6519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6520 New file.
6521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6522 multiarch truncf for PowerPC32.
6523
ddb60b5a
AZ
65242013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6525
6526 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6527 and roundf multiarch implementations.
6528 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6529 New file.
6530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6531 file.
6532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6533 multiarch round for PowerPC32.
6534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6535 New file.
6536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6537 New file.
6538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6539 multiarch roundf for PowerPC32.
6540
bedcf49b
AZ
65412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6542
6543 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6544 and floorf multiarch implementations.
6545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6546 New file.
6547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6548 file.
6549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6550 multiarch floor for PowerPC32.
6551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6552 New file.
6553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6554 New file.
6555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6556 multiarch floorf for PowerPC32.
6557
35ae5b40
AZ
65582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6559
6560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6561 and ceilf multiarch implementations.
6562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6563 New file.
6564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6565 file.
6566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6567 multiarch ceil for PowerPC32.
6568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6569 New file.
6570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6571 file.
6572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6573 multiarch ceilf for PowerPC32.
6574
ae1a4cd9
AZ
65752013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6576
6577 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6578 is defined.
6579 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6580 FINITEF is defined.
6581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6582 and finitef multiarch implementations.
6583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6584 New file.
6585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6586 file.
6587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6588 multiarch finite for PowerPC32.
6589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6590 New file.
6591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6592 file: multiarch finitef for PowerPC32.
6593
64fffd65
AZ
65942013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6595
6596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6597 and isinff multiarch implementations.
6598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6599 file.
6600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6601 file.
6602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6603 multiarch isinf for PowerPC32.
6604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6605 New file.
6606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6607 multiarch isinff for PowerPC32.
6608
8e4e7ba2
AZ
66092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6610
6611 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6612 alias when __isnan is defined.
6613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6614 and isnanf multiarch implementations.
6615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6616 file.
6617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6618 file.
6619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6620 file.
6621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6622 file.
6623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6624 multiarch isnan for PowerPC32.
6625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6626 New file.
6627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6628 New file.
6629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6630 multiarch isnanf for PowerPC32.
6631
ddba588e
AZ
66322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6633
6634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6635 and sqrtf multiarch implementations.
6636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6637 file.
6638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6639 file.
6640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6641 multiarch sqrt for PowerPC32.
6642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6643 file.
6644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6645 file.
6646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6647 multiarch sqrtf for PowerPC32.
6648
0f96a2f0
AZ
66492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6650
6651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6652 and llroundf multiarch implementations.
6653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6654 New file.
6655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6656 New file.
6657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6658 New file.
6659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6660 file: multiarch llround for PowerPC32.
6661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6662 file: multiarch llroundf for PowerPC32.
6663
c9b5d79e
AZ
66642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6665
6666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6667 multiarch PowerPC32 fpu implementations.
6668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6669 New file.
6670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6671 New file.
6672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6673 multiarch llrint for PowerPC32.
6674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6675 New file.
6676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6677 New file.
6678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6679 file.
6680
9cbb3aab
AZ
66812013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6682
6683 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6684
ea5a72f8
AZ
66852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6686
6687 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6688 file.
6689 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6690 file.
6691 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6692 file.
6693 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6694 multiarch wordcopy for PPC32.
6695 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6696 wordcopy objects.
6697 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6698 (__libc_ifunc_impl_list): Likewise.
6699 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6700 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6701 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6702 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6703 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6704 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6705
93be09e7
AZ
67062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6707
6708 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6709 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6710 file.
6711 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6712 file.
6713 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6714 file.
6715 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6716 multiarch wcscpy for PPC32.
6717 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6718 multiarch objects.
6719 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6720 (__libc_ifunc_impl_list): Likewise.
6721 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6722 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6723 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6724 sysdeps/powerpc/power6/wcscpy.c.
6725
bb04e529
AZ
67262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6727
6728 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6729 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6730 file.
6731 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6732 file.
6733 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6734 file.
6735 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6736 multiarch wcsrchr for PPC32.
6737 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6738 multiarch objects.
6739 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6740 (__libc_ifunc_impl_list): Likewise.
6741 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6742 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6743 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6744 sysdeps/powerpc/power6/wcsrchr.c.
6745
05b5cd1c
AZ
67462013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6747
6748 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6749 file.
6750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6751 file.
6752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6753 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6754 multiarch wcschr for PPc32.
6755 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6756 multiarch objects.
6757 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6758 (__libc_ifunc_impl_list): Likewise.
6759 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6760 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6761 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6762 sysdeps/powerpc/power6/wcschr.c.
6763
ba964147
AZ
67642013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6765
6766 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6767 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6768 file.
6769 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6770 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6771 file: multiarch strchr for PPC32.
6772 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6773 multiarch objects.
6774 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6775 (__libc_ifunc_impl_list): Likewise.
6776
31c81aaa
AZ
67772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6778
6779 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6780 name.
6781 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6782 file.
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6784 file.
6785 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6786 multiarch strchrnul for PPC32.
6787 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6788 multiarch objects.
6789 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6790 (__libc_ifunc_impl_list): Likewise.
6791
0d0607d9
AZ
67922013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6793
6794 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6795 file.
6796 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6797 multiarch strncasecmp for PPC32.
6798 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6799 file.
6800 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6801 multiarch strncasecmp_l for PPC32.
6802 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6803 strncasecmp multiarch objects.
6804 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6805 (__libc_ifunc_impl_list): Likewise.
6806
4dfd5c86
AZ
68072013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6808
6809 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6810 file.
6811 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6812 multiarch strncasecmp for PPC32.
6813 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6814 New file.
6815 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6816 multiarch strcasecmp_l for PPC32.
6817 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6818 multiarch objects.
6819 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6820 (__libc_ifunc_impl_list): Likewise.
6821
a19e01a3
AZ
68222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6823
6824 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6825 file.
6826 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6827 file.
6828 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6829 multiarch strncmp for PPC32.
6830 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6831 multiarch objects.
6832 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6833 (__libc_ifunc_impl_list): Likewise.
6834
ae9cf7a2
AZ
68352013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6836
6837 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6838 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6839 file.
6840 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6841 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6842 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6843 multiarch objects.
6844 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6845 (__libc_ifunc_impl_list): Likewise.
6846
3148bb7d
AZ
68472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6848
6849 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6850 file.
6851 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6852 file.
6853 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6855 multiarch objects.
6856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6857 (__libc_ifunc_impl_list): Likewise.
6858
7af8b946
AZ
68592013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6860
6861 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6862 file.
6863 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6864 file.
6865 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6866 multiarch rawmemchr for PPC32.
6867 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6868 multiarch objects.
6869 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6870 (__libc_ifunc_impl_list): Likewise.
6871
03a6aa6a
AZ
68722013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6873
6874 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6875 file.
6876 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6877 file.
6878 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6879 file: memrchr multiarch for PPC32.
6880 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6881 multiarch objects.
6882 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6883 (__libc_ifunc_impl_list): Likewise.
6884
1c62e6d9
AZ
68852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6886
6887 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6888 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6889 file.
6890 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6891 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6892 multiarch memchr for PPC32.
6893 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6894 multiarch objects.
6895 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6896 (__libc_ifunc_impl_list): Likewise.
6897
87da8bdb
AZ
68982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6899
6900 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6901 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6902 file.
6903 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6904 file.
6905 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6906 file: multiarch mempcpy for PPC32.
6907 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6908 multiarch objects.
6909 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6910 (__libc_ifunc_impl_list): Likewise.
6911
20ed4714
AZ
69122013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6913
6914 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6916 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6918 multiarch bzero for PPC32.
6919 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6920 file.
6921 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6922 file.
6923 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6924 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6925 file: multiarch memset for PPC32.
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6928 memset multiarch objects.
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6930 (__libc_ifunc_impl_list): Likewise.
6931
ab3e3a46
AZ
69322013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6933
6934 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6935 file.
6936 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6938 memcmp for PPC32.
6939 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6941 multiarch objects.
6942 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6943 (__libc_ifunc_impl_list): Likewise.
6944
930de6f0
AZ
69452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6946
6947 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6948 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6949 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6950 file.
6951 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6952 file.
6953 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6954 file.
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6956 multiarch memcpy for PPC32.
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6958 multiarch objects.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6960 (__libc_ifunc_impl_list): Likewise.
6961
4c628e00
AZ
69622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6963
6964 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6965 support multiarch for POWER/PPC32.
6966 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6967 Likewise.
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6970 Implies file to make multiarch folder appers before the fpu and
6971 default folder for power4 configuration.
6972
f4479220
SP
69732013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6974
6975 * scripts/bench.pl: Append volatile keyword to type.
6976
8517800f
KK
69772013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6978
6979 * sysdeps/sh/sotruss-lib.c: New file.
6980 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
6981
180138f1
AZ
69822013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6983
6984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6985
bbf37bdc
JM
69862013-12-05 Joseph Myers <joseph@codesourcery.com>
6987
e47cc4e0
JM
6988 [BZ #6810]
6989 * math/w_tgamma.c: Include <errno.h>.
6990 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
6991 * math/w_tgammaf.c: Include <errno.h>.
6992 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
6993 * math/w_tgammal.c: Include <errno.h>.
6994 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
6995 * math/auto-libm-test-in: Do not allow missing errno on tgamma
6996 underflow. Add more tgamma tests.
6997 * math/auto-libm-test-out: Regenerated.
6998 * sysdeps/i386/fpu/libm-test-ulps: Update.
6999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7000
bbf37bdc
JM
7001 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7002 sin, sinh, tan, tanh, tgamma, y0 and y1.
7003 * math/auto-libm-test-out: Regenerated.
7004 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7005 (TEST_COND_x86): Likewise.
7006 (M_E2l): Remove macro.
7007 (M_E3l): Likewise.
7008 (M_2_SQRT_PIl): Likewise.
7009 (M_SQRT_PIl): Likewise.
7010 (M_1_DIV_El): Likewise.
7011 (log_test_data): Use AUTO_TESTS_f_f.
7012 (log10_test_data): Likewise.
7013 (log1p_test_data): Likewise.
7014 (log2_test_data): Likewise.
7015 (sin_test_data): Likewise.
7016 (sin_tonearest_test_data): Likewise.
7017 (sin_towardzero_test_data): Likewise.
7018 (sin_downward_test_data): Likewise.
7019 (sin_upward_test_data): Likewise.
7020 (sinh_test_data): Likewise.
7021 (sinh_tonearest_test_data): Likewise.
7022 (sinh_towardzero_test_data): Likewise.
7023 (sinh_downward_test_data): Likewise.
7024 (sinh_upward_test_data): Likewise.
7025 (tan_test_data): Likewise.
7026 (tan_tonearest_test_data): Likewise.
7027 (tan_towardzero_test_data): Likewise.
7028 (tan_downward_test_data): Likewise.
7029 (tan_upward_test_data): Likewise.
7030 (tanh_test_data): Likewise.
7031 (tgamma_test_data): Likewise.
7032 (y0_test_data): Likewise.
7033 (y1_test_data): Likewise.
7034 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7035 (special_real_inputs): Add pi/4.
7036 * sysdeps/i386/fpu/libm-test-ulps: Update.
7037 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7038
eb5ad6b9
AZ
70392013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7040
7041 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7042 "longjmp_target" static probes.
7043 (__longjmp): Rename to __longjmp_symbol.
7044 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7045 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7046 on which longjmp to generate.
7047 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7048 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7049 probe.
7050 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7051 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7052 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7053 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7054 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7055 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7057 __longjmp_symbol based on which __longjmp to generate.
7058 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7059 probe.
7060 (setjmp): Rename to setjmp_symbol.
7061 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7062 (_setjmp): Rename to _setjmp_symbol.
7063 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7064 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7065 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7066 which setjmp to generate.
7067 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7068 "longjmp_target" static probes.
7069
d136c6dc
SP
70702013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7071
9298ecba
SP
7072 * benchtests/README: Add note about output arguments.
7073 * benchtests/bench-sincos.c: Remove file.
7074 * benchtests/sincos-inputs: New file.
7075 * scripts/bench.pl: Identify output arguments and define
7076 static variables for them.
7077
232983e9
SP
7078 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7079
d136c6dc
SP
7080 [BZ #15941]
7081 * Makefile (INSTALL): Add install-plain.texi as the primary
7082 dependency.
7083 * manual/install-plain.texi: New file.
7084 * manual/install.texi: Include node directive only for
7085 non-plaintext output.
7086
699ff837
JM
70872013-12-04 Joseph Myers <joseph@codesourcery.com>
7088
ab07cea8
JM
7089 * stdlib/longlong.h: Update from GCC.
7090
699ff837
JM
7091 [BZ #6807]
7092 [BZ #15901]
7093 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7094 * math/w_j0f.c (y0f): Likewise.
7095 * math/w_j0l.c (__y0l): Likewise.
7096 * math/w_j1.c (y1): Likewise.
7097 * math/w_j1f.c (y1f): Likewise.
7098 * math/w_j1l.c (__y1l): Likewise
7099 * math/w_jn.c (yn): Likewise.
7100 * math/w_jnf.c (ynf): Likewise.
7101 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7102 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7103 value for Bessel function domain errors outside _SVID_ mode.
7104 Adjust sign of return value for yn (negative integer, 0).
7105 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7106 by zero in return for negative x and set sign appropriately for
7107 negative n.
7108 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7109 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7110 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7111 expectations in error cases.
7112 (y1_test_data): Likewise.
7113 (yn_test_data): Likewise.
7114 * sysdeps/i386/fpu/libm-test-ulps: Update.
7115 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7116
5b118558
UW
71172013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7118
7119 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7120 "64" to "64-v1". Add "64-v2".
7121 (abi-64-options): Rename to ...
7122 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7123 (abi-64-condition): Rename to ...
7124 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7125 (abi-64-ld-soname): Rename to ...
7126 (abi-64-v1-ld-soname): ... this.
7127 (abi-64-v2-options): Define.
7128 (abi-64-v2-condition): Likewise.
7129 (abi-64-v2-ld-soname): Likewise.
7130 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7131 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7135
61cd8fe4
UW
71362013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7137 Alan Modra <amodra@gmail.com>
7138
7139 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7140 New versions for use with the ELFv2 ABI.
7141 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7142 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7143 declaration.
7144 (struct La_ppc64v2_retval): Likewise.
7145 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7146 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7147 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7148 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7149 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7150 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7151 Do not save or restore CR.
7152 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7153 (_dl_profile_resolve): Do no save or restore CR. Support extended
7154 return values for ELFv2 ABI. Fix location of FPR return registers.
7155 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7156 updated values for _CALL_ELF == 2.
7157 (La_regs, La_retval, int_retval): Likewise.
7158
8b8a692c
UW
71592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7160
7161 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7162 (FRAME_MIN_SIZE_PARM): Likewise.
7163 (FRAME_BACKCHAIN): Likewise.
7164 (FRAME_CR_SAVE): Likewise.
7165 (FRAME_LR_SAVE): Likewise.
7166 (FRAME_TOC_SAVE): Likewise.
7167 (FRAME_PARM_SAVE): Likewise.
7168 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7169 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7170 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7171 (call_mcount_parm_offset): New macro.
7172 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7173 (PROF): Use symbolic stack frame offsets.
7174 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7175 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7176 Redefine in terms of FRAME_MIN_SIZE.
7177 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7178 (_dl_profile_resolve): Likewise. Update comment.
7179 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7180 symbols stack frame offsets.
7181 (__sigsetjmp): Likewise.
7182 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7183 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7184 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7185 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7186
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7188 (FRAME_BACKCHAIN): Remove.
7189 (FRAME_CR_SAVE): Likewise.
7190 (FRAME_LR_SAVE): Likewise.
7191 (FRAME_COMPILER_DW): Likewise.
7192 (FRAME_LINKER_DW): Likewise.
7193 (FRAME_TOC_SAVE): Likewise.
7194 (FRAME_PARM_SAVE): Likewise.
7195 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7196 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7197 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7199 (CHECK_SP): Use symbolic stack frame offsets.
7200 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7201 zone" instead of caller's parameter save area for temp storage.
7202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7203 Likewise. Also, use symbolic stack frame offsets.
7204 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7205 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7206 our own stack frame instead of the caller's.
7207 (__socket): Use symbolic stack frame offsets.
7208
122b66de
UW
72092013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7210 Alan Modra <amodra@gmail.com>
7211
7212 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7213 Define.
7214 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7215 PPC64_LOCAL_ENTRY_OFFSET): Define.
7216 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7217 New function.
7218 (elf_machine_fixup_plt): Call it.
7219 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7220 reloc arguments.
7221 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7222 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7223 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7224 r2 before calling target.
7225
696caf1d
UW
72262013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7227 Alan Modra <amodra@gmail.com>
7228
7229 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7230 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7231 versions of macros to support ELFv2 ABI.
7232 (LOCALENTRY): New macro.
7233 (ENTRY, EALIGN): Use it.
7234 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7235 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7236 fall through into ENTRY entry point.
7237 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7238 Only define if _CALL_ELF != 2.
7239
7240 (elf_machine_matches_host): Verify ABI version matches.
7241 (RTLD_START): Use LOCALENTRY.
7242 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7243 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7244 (PLT_ENTRY_WORDS): New macro.
7245 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7246 (elf_machine_runtime_setup): Support ELFv2 ABI.
7247 (elf_machine_fixup_plt): Likewise.
7248 (elf_machine_plt_conflict): Likewise.
7249 (resolve_ifunc): Likewise.
7250 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7251 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7252 Likewise.
7253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7254 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7256 (makecontext): Support ELFv2 ABI.
7257 * elf/elf.h (EF_PPC64_ABI): Define.
7258
d31beafa
UW
72592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7260
7261 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7262 New assembler macro.
7263 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7264 [ASSEMBLER] (ENTRY): ... but instead here ...
7265 [ASSEMBLER] (EALIGN): ... and here.
7266 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7267 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7268 [!ASSEMBLER] (ENTRY_2): Use it.
7269 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7270 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7271 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7272 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7273 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7275 Use PPC64_LOAD_FUNCPTR.
7276
b525166b
UW
72772013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7278
7279 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7280
7ec07d9a
AM
72812013-12-04 Alan Modra <amodra@gmail.com>
7282
7283 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7284 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7285 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7286 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7287
7288 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7289 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7290 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7291 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7292 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7293 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7294
5162e7dd
UW
72952013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7296
7297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7298 (__makecontext): Fix incorrect CFI when backtracing out of
7299 context created via makecontext.
7300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7301 (__setcontext): Fix incorrect CFI during switch to new context.
7302 (__novec_setcontext): Likewise.
7303
19e3372b
OB
73042013-12-04 Ondřej Bílka <neleai@seznam.cz>
7305
7306 [BZ #4772]
7307 * time/strptime_l.c (__strptime_internal): Allow modifiers
7308 in strptime.
7309 * time/tst-strptime.c (day_tests): Add testcase.
7310
7311
ecaf142d
SP
73122013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7313
7314 * scripts/bench.pl: Skip over blank lines.
7315
fbf964ae
PE
73162013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7317
7318 [BZ #926]
7319 * manual/time.texi (Calendar Time): Clarify what timezone functions
7320 use.
7321
fa60a674
AZ
73222013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7323
7324 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7325
d674f0ef
OB
73262013-12-04 Ondřej Bílka <neleai@seznam.cz>
7327
7328 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7329 implementation.
7330 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7331 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7332 * debug/memset_chk.c (__memset_chk): Likewise.
7333 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7334 * debug/strncpy_chk.c: Likewise.
7335
17dea188
JM
73362013-12-03 Joseph Myers <joseph@codesourcery.com>
7337
749008ff
JM
7338 [BZ #15268]
7339 [BZ #15425]
7340 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7341 (__ieee754_exp): For possibly underflowing results, check size of
7342 result and force underflow exception if required.
7343 * math/auto-libm-test-in: Add more tests of exp.
7344 * math/auto-libm-test-out: Regenerated.
7345 * sysdeps/i386/fpu/libm-test-ulps: Update.
7346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7347
17dea188
JM
7348 [BZ #16283]
7349 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7350 * math/w_exp2f.c (__exp2f): Likewise.
7351 * math/w_exp2l.c (__exp2l): Likewise.
7352 * math/auto-libm-test-in: Do not allow missing errno on exp2
7353 underflow.
7354 * math/auto-libm-test-out: Regenerated.
7355
b20de2c3
OB
73562013-12-03 Ondřej Bílka <neleai@seznam.cz>
7357
7358 [BZ #16274]
7359 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7360 handle filename validation.
7361 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7362 (do_open): Delete.
7363
d8e2dbe3
JM
73642013-12-03 Joseph Myers <joseph@codesourcery.com>
7365
34e16df5
JM
7366 [BZ #6786]
7367 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7368 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7369 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7370 <float.h>.
7371 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7372 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7373 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7374 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7375 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7376 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7377 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7378 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7379 Add more erfc tests.
7380 * math/auto-libm-test-out: Regenerated.
7381 * sysdeps/i386/fpu/libm-test-ulps: Update.
7382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7383
d8e2dbe3
JM
7384 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7385 exp2, expm1, j0 and j1.
7386 * math/auto-libm-test-out: Regenerated.
7387 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7388 (erfc_test_data): Likewise.
7389 (exp_test_data): Likewise.
7390 (exp_tonearest_test_data): Likewise.
7391 (exp_towardzero_test_data): Likewise.
7392 (exp_downward_test_data): Likewise.
7393 (exp_upward_test_data): Likewise.
7394 (exp10_test_data): Likewise.
7395 (exp2_test_data): Likewise.
7396 (expm1_test_data): Likewise.
7397 (j0_test_data): Likewise.
7398 (j1_test_data): Likewise.
7399 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7400 (input_flag_type): Add flag_xfail_rounding.
7401 (input_flags): Add xfail-rounding.
7402 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7403 (output_for_one_input_case): Handle flag_xfail_rounding.
7404 * sysdeps/i386/fpu/libm-test-ulps: Update.
7405 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7406
18d14251
AJ
74072013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7408
3d2e6075 7409 [BZ #16289]
18d14251
AJ
7410 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7411 division by 0.
7412
520d437b
SP
74132013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7414
7415 [BZ #16195]
7416 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7417 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7418 (STAP_PROBE0): New macro.
7419 (STAP_PROBE1): Likewise.
7420 (STAP_PROBE2): Likewise.
7421 (STAP_PROBE3): Likewise.
7422 (STAP_PROBE4): Likewise.
7423
416e0145
OB
74242013-12-02 Ondřej Bílka <neleai@seznam.cz>
7425
7426 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7427
9d17796a
SE
74282013-12-02 Steve Ellcey <sellcey@mips.com>
7429
7430 * benchtests/Makefile (bench): Add sqrt.
7431 (LDLIBS-bench-sqrt): New.
7432 * benchtests/sqrt-input: New.
7433
f524d6a8
PS
74342013-12-02 Pavel Simerda <psimerda@redhat.com>
7435
639a0ef8
PS
7436 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7437 (GAIH_EAI): Likewise.
7438 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7439 (gaih_inet): Likewise.
7440 (getaddrinfo): Don't use GAIH_EAI.
7441
f524d6a8
PS
7442 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7443 (struct gaih): Remove definition.
7444
df3aedaf
SP
74452013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7446
7447 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7448 Use HERRNOP directly.
7449
1ab19dec
AZ
74502013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7451
b42ad38d 7452 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7453
176b0c79
JM
74542013-11-30 Joseph Myers <joseph@codesourcery.com>
7455
7456 * math/gen-auto-libm-tests.c (test_functions): Add more
7457 single-argument functions.
7458 (special_fill_pi_2): New function.
7459 (special_fill_minus_pi_2): Likewise.
7460 (special_fill_pi_6): Likewise.
7461 (special_fill_minus_pi_6): Likewise.
7462 (special_fill_pi_3): Likewise.
7463 (special_fill_2pi_3): Likewise.
7464 (special_fill_e): Likewise.
7465 (special_fill_1_e): Likewise.
7466 (special_fill_e_minus_1): Likewise.
7467 (special_real_inputs): Add more special inputs.
7468 (output_for_one_input_case): Do not require ERANGE on underflow to
7469 zero if round-to-nearest result does not underflow to zero, unless
7470 exact results required.
7471 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7472 atan, atanh, cbrt, cos and cosh.
7473 * math/auto-libm-test-out: Regenerated.
7474 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7475 (acos_tonearest_test_data): Likewise.
7476 (acos_towardzero_test_data): Likewise.
7477 (acos_downward_test_data): Likewise.
7478 (acos_upward_test_data): Likewise.
7479 (acosh_test_data): Likewise.
7480 (asin_test_data): Likewise.
7481 (asin_tonearest_test_data): Likewise.
7482 (asin_towardzero_test_data): Likewise.
7483 (asin_upward_test_data): Likewise.
7484 (asinh_test_data): Likewise.
7485 (atan_test_data): Likewise.
7486 (atanh_test_data): Likewise.
7487 (cbrt_test_data): Likewise.
7488 (cos_test_data): Likewise.
7489 (cos_tonearest_test_data): Likewise.
7490 (cos_towardzero_test_data): Likewise.
7491 (cos_downward_test_data): Likewise.
7492 (cos_upward_test_data): Likewise.
7493 (cosh_test_data): Likewise.
7494 (cosh_tonearest_test_data): Likewise.
7495 (cosh_towardzero_test_data): Likewise.
7496 (cosh_downward_test_data): Likewise.
7497 (cosh_upward_test_data): Likewise.
7498 * sysdeps/i386/fpu/libm-test-ulps: Update.
7499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7500
ffb536d0
JM
75012013-11-29 Joseph Myers <joseph@codesourcery.com>
7502
2a77a467
JM
7503 [BZ #6787]
7504 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7505 * math/w_exp10f.c (__exp10f): Likewise.
7506 * math/w_exp10l.c (__exp10l): Likewise.
7507 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7508 errno settings in existing tests.
7509
ea3bc4e8
JM
7510 [BZ #14032]
7511 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7512 precision control set to double precision.
7513 * sysdeps/i386/fpu/w_sqrt.c: New file.
7514 * math/auto-libm-test-in: Add more tests.
7515 * math/auto-libm-test-out: Update.
7516
0712c9d8
JM
7517 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7518 (sqrt_test_tonearest): New function.
7519 (sqrt_towardzero_test_data): New variable.
7520 (sqrt_test_towardzero): New function.
7521 (sqrt_downward_test_data): New variable.
7522 (sqrt_test_downward): New function.
7523 (sqrt_upward_test_data): New variable.
7524 (sqrt_test_upward): New function.
7525 (main): Call the new functions.
7526
ffb536d0
JM
7527 * math/gen-auto-libm-tests.c: New file.
7528 * math/auto-libm-test-in: Likewise.
7529 * math/auto-libm-test-out: New generated file.
7530 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7531 variables.
7532 (%beautify): Add generated representations of zero.
7533 (top level): Set $auto_input and call parse_auto_input.
7534 (beautify): Remove trailing "f" from hex float constants.
7535 (parse_args): Handle XFAIL_TEST.
7536 (convert_condition): New function.
7537 (or_value): Likewise.
7538 (or_cond_value): Likewise.
7539 (generate_testfile): Handle AUTO_TESTS_* lines.
7540 (parse_auto_input): New function.
7541 * math/libm-test.inc (XFAIL_TEST): New macro.
7542 (ERRNO_UNCHANGED): Update value.
7543 (ERRNO_EDOM): Likewise.
7544 (ERRNO_ERANGE): Likewise.
7545 (IGNORE_RESULT): Likewise.
7546 (TEST_COND_flt_32): New macro.
7547 (TEST_COND_dbl_64): Likewise.
7548 (TEST_COND_ldbl_96_intel): Likewise.
7549 (TEST_COND_ldbl_96_m68k): Likewise.
7550 (TEST_COND_ldbl_128): Likewise.
7551 (TEST_COND_ldbl_128ibm): Likewise.
7552 (TEST_COND_long32): Likewise.
7553 (TEST_COND_long64): Likewise.
7554 (TEST_COND_before_rounding): Likewise.
7555 (TEST_COND_after_rounding): Likewise.
7556 (enable_test): Handle XFAIL_TEST flag.
7557 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7558 with finite results.
7559 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7560 auto-libm-test-out.
7561
acd98a8e
AK
75622013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7563 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7564
7565 [BZ #16214]
7566 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7567 __tls_get_addr_internal instead of __tls_get_offset in order to
7568 avoid GOT pointer dependency. Make rtld export
7569 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7570 __tls_get_addr since we are a __tls_get_offset platform.
7571 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7572 GOT pointer being set up before.
7573 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7574
3c1c46a6
JM
75752013-11-28 Joseph Myers <joseph@codesourcery.com>
7576
7475aef5
JM
7577 * manual/math.texi (Errors in Math Functions): Document accuracy
7578 goals.
7579
8bca7cd8
JM
7580 [BZ #15004]
7581 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7582 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7583 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7584 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7585 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7586 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7587 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7588 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7589 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7590 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7591 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7592 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7593 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7594 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7595 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7596 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7597
91a1f3fe
JM
7598 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7599 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7600 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7601 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7602 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7603 Likewise.
7604 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7605 Likewise.
7606 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7607 Likewise.
7608 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7609 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7610 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7611 atomic-feupdateenv and flt-rounds.
7612 * sysdeps/powerpc/nofpu/Versions (libc): Add
7613 __atomic_feholdexcept, __atomic_feclearexcept,
7614 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7615 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7616 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7617 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7618 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7619 here.
7620 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7621 Update.
7622
c5df7609
JM
7623 * manual/arith.texi (FP Exceptions): Document that exceptions may
7624 not be raised when matherr is used.
7625 (Math Error Reporting): Document overflow in directed rounding
7626 modes. Document that errno may not be set when finite values are
7627 returned on overflow. Document intent to set errno on underflow
7628 only for underflow to zero.
7629
3c1c46a6
JM
7630 [BZ #16271]
7631 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7632 round-to-nearest then adjust result for other rounding modes.
7633 * include/fenv.h (fegetround): Use libm_hidden_proto.
7634 * math/fegetround.c (fegetround): Use libm_hidden_def.
7635 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7636 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7637 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7638 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7639 Likewise.
7640 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7641 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7642 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7643 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7644
5a4c6d53
SP
76452013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7646
7647 [BZ #16077]
7648 * nss/Versions (libnss_files): Add
7649 _nss_files_gethostbyname3_r.
7650 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7651 New function.
7652 (HOST_DB_LOOKUP): Remove macro.
7653 (_nss_files_gethostbyname_r): Implement function without the
7654 HOST_DB_LOOKUP macro.
7655 (_nss_files_gethostbyname2_r): Likewise.
7656
897b98ba
OB
76572013-11-28 Ondřej Bílka <neleai@seznam.cz>
7658
7659 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7660
6f476861
UB
76612013-11-26 Uros Bizjak <ubizjak@gmail.com>
7662
7663 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7664 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7665 warning.
7666
bd12ab55
AZ
76672013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7668
7669 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7670 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7671 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7672 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7673 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7674 __fe_nomask_env_priv and attribute_hidden.
7675 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7676 (libc_feupdateenv_test_ppc): Likewise.
7677 (libc_feresetround_ppc): Likewise.
7678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7679 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7680 compat_symbol macro.
7681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7682 (__fe_nomask_env): Likewise.
7683 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7684
52bb6543
OB
76852013-11-26 Ondřej Bílka <neleai@seznam.cz>
7686
7687 * string/Makefile: Remove ifunc tests.
7688 * string/test-string.h: Define TEST_IFUNC.
7689 * string/test-bcopy-ifunc.c: Remove.
7690 * string/test-bzero-ifunc.c: Likewise.
7691 * string/test-memccpy-ifunc.c: Likewise.
7692 * string/test-memchr-ifunc.c: Likewise.
7693 * string/test-memcmp-ifunc.c: Likewise.
7694 * string/test-memcpy-ifunc.c: Likewise.
7695 * string/test-memmem-ifunc.c: Likewise.
7696 * string/test-memmove-ifunc.c: Likewise.
7697 * string/test-mempcpy-ifunc.c: Likewise.
7698 * string/test-memrchr-ifunc.c: Likewise.
7699 * string/test-memset-ifunc.c: Likewise.
7700 * string/test-rawmemchr-ifunc.c: Likewise.
7701 * string/test-stpcpy-ifunc.c: Likewise.
7702 * string/test-stpncpy-ifunc.c: Likewise.
7703 * string/test-strcasecmp-ifunc.c: Likewise.
7704 * string/test-strcasestr-ifunc.c: Likewise.
7705 * string/test-strcat-ifunc.c: Likewise.
7706 * string/test-strchr-ifunc.c: Likewise.
7707 * string/test-strchrnul-ifunc.c: Likewise.
7708 * string/test-strcmp-ifunc.c: Likewise.
7709 * string/test-strcpy-ifunc.c: Likewise.
7710 * string/test-strcspn-ifunc.c: Likewise.
7711 * string/test-strlen-ifunc.c: Likewise.
7712 * string/test-strncasecmp-ifunc.c: Likewise.
7713 * string/test-strncat-ifunc.c: Likewise.
7714 * string/test-strncmp-ifunc.c: Likewise.
7715 * string/test-strncpy-ifunc.c: Likewise.
7716 * string/test-strnlen-ifunc.c: Likewise.
7717 * string/test-strpbrk-ifunc.c: Likewise.
7718 * string/test-strrchr-ifunc.c: Likewise.
7719 * string/test-strspn-ifunc.c: Likewise.
7720 * string/test-strstr-ifunc.c: Likewise.
7721
ab260039 77222013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7723
7724 * benchtests/Makefile: Remove ifunc tests.
7725 * benchtests/bench-string.h: Define TEST_IFUNC.
7726 * benchtests/bench-bcopy-ifunc.c: Remove.
7727 * benchtests/bench-bzero-ifunc.c: Likewise.
7728 * benchtests/bench-memccpy-ifunc.c: Likewise.
7729 * benchtests/bench-memchr-ifunc.c: Likewise.
7730 * benchtests/bench-memcmp-ifunc.c: Likewise.
7731 * benchtests/bench-memcpy-ifunc.c: Likewise.
7732 * benchtests/bench-memmem-ifunc.c: Likewise.
7733 * benchtests/bench-memmove-ifunc.c: Likewise.
7734 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7735 * benchtests/bench-memrchr-ifunc.c: Likewise.
7736 * benchtests/bench-memset-ifunc.c: Likewise.
7737 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7738 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7739 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7740 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7741 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7742 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7743 * benchtests/bench-strcat-ifunc.c: Likewise.
7744 * benchtests/bench-strchr-ifunc.c: Likewise.
7745 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7746 * benchtests/bench-strcmp-ifunc.c: Likewise.
7747 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7748 * benchtests/bench-strcpy-ifunc.c: Likewise.
7749 * benchtests/bench-strcspn-ifunc.c: Likewise.
7750 * benchtests/bench-strlen-ifunc.c: Likewise.
7751 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7752 * benchtests/bench-strncat-ifunc.c: Likewise.
7753 * benchtests/bench-strncmp-ifunc.c: Likewise.
7754 * benchtests/bench-strncpy-ifunc.c: Likewise.
7755 * benchtests/bench-strnlen-ifunc.c: Likewise.
7756 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7757 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7758 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7759 * benchtests/bench-strspn-ifunc.c: Likewise.
7760 * benchtests/bench-strstr-ifunc.c: Likewise.
7761
77622013-11-26 Ondřej Bílka <neleai@seznam.cz>
7763
ab260039
OB
7764 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7765
d1d9eaf4 77662013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7767
d1d9eaf4
OB
7768 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7769 * rt/aio.h: Likewise.
7770 * sysdeps/gnu/bits/utmp.h: Likewise.
7771 * sysdeps/gnu/bits/utmpx.h: Likewise.
7772 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7773 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7774 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7775 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7776 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7777 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7778 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7779 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7780 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7781 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7782 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7783 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7784 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7786 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7787 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7788 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7789 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7790 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7791 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7792 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7793 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7794 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7795 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7796 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7797 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7798 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7799 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7800 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7801 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7802 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7803 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7804 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7805 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7806 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7807 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7808 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7809 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7810 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7811 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7812 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7813 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7814
a7624ed9
CD
78152013-11-25 Carlos O'Donell <carlos@redhat.com>
7816
7817 [BZ #16245]
7818 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7819 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7820
63cfe52b
JM
78212013-11-25 Joseph Myers <joseph@codesourcery.com>
7822
7823 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7824 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7825 Likewise.
7826
41e8926a
AZ
78272013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7828
7829 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7830 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7831 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7832 (__fesetround): Remove define.
7833 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7834 rounding and exceptions handling.
7835 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7836 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7837 (__fe_nomask_env): Likewise.
7838 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7839 __fegetround instead of fegetround.
7840 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7841 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7842
6851bd4d
RM
78432013-11-21 Roland McGrath <roland@hack.frob.com>
7844
070906ff
RM
7845 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7846 it's there.
7847
6851bd4d
RM
7848 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7849
84ae135d
MI
78502013-11-21 Meador Inge <meadori@codesourcery.com>
7851
7852 [BZ #11157]
7853 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7854 (encrypt_r): Likewise.
7855 * malloc/obstack.h (obstack_free): Likewise.
7856 * posix/unistd.h (encrypt): Likewise.
7857
daf75146
GM
78582013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7859
7860 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7861 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7862 DL_CALL_DT_FINI() that call the functions directly.
7863 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7864 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7865 * elf/dl-fini.c: Likewise.
7866
10ad46bc
OB
78672013-11-20 Ondřej Bílka <neleai@seznam.cz>
7868
7869 * malloc/hooks.c (memalign_check): Add alignment rounding.
7870 * malloc/malloc.c (_mid_memalign): New function.
7871 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7872 Implement by calling _mid_memalign.
7873 * manual/probes.texi (Memory Allocation Probes): Remove
7874 memory_valloc_retry and memory_pvalloc_retry.
7875
f3fd2628
SP
78762013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7877
4712799f
SP
7878 * locale/programs/locarchive.c (open_archive): Add const
7879 qualifier to ARCHIVEFNAME and copy default fname to
7880 DEFAULT_FNAME.
7881
0417b20f
SP
7882 [BZ #15601]
7883 * libio/tst-widetext.input: Rename Oriya to Odia.
7884 * locale/iso-639.def: Likewise.
7885
f3fd2628
SP
7886 * manual/probes.texi (Mathematical Function Probes): Add
7887 documentation for sin, cos, asin and acos probes.
7888 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7889 (__sin32): Add slowasin probe.
7890 (__cos32): Add slowacos probe.
7891 (__mpsin): Add slowsin probe.
7892 (__mpcos): Add slowcos probe.
7893
73c1ce4f
JM
78942013-11-19 Joseph Myers <joseph@codesourcery.com>
7895
7896 [BZ #15483]
7897 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7898 thread-local __sim_exceptions_thread and global
7899 __sim_exceptions_global.
7900 (__sim_disabled_exceptions): Change to thread-local
7901 __sim_disabled_exceptions_thread and global
7902 __sim_disabled_exceptions_global.
7903 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7904 and global __sim_round_mode_global.
7905 (__simulate_exceptions): Use thread-local floating-point state and
7906 set global state from it as needed.
7907 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7908 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7909 __sim_round_mode_thread.
7910 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7911 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7912 and global __sim_exceptions_global.
7913 (__sim_disabled_exceptions): Change to thread-local
7914 __sim_disabled_exceptions_thread and global
7915 __sim_disabled_exceptions_global.
7916 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7917 and global __sim_round_mode_global.
7918 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7919 (SIM_SET_GLOBAL): Likewise.
7920 * sysdeps/powerpc/soft-fp/sfp-machine.h
7921 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7922 __sim_round_mode_thread.
7923 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7924 __sim_disabled_exceptions_thread.
7925 (__sim_exceptions): Change to __sim_exceptions_thread.
7926 (__sim_disabled_exceptions): Change to
7927 __sim_disabled_exceptions_thread.
7928 (__sim_round_mode): Change to __sim_round_mode_thread.
7929 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7930 thread-local floating-point state and set global state from it as
7931 needed.
7932 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7933 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7934 (__sim_disabled_exceptions): Remove extern declaration.
7935 (feenableexcept): Use thread-local floating-point state and set
7936 global state from it as needed.
7937 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7938 extern declaration.
7939 (__sim_disabled_exceptions): Likewise.
7940 (__sim_round_mode): Likewise.
7941 (__fegetenv): Use thread-local floating-point state.
7942 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7943 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7944 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7945 floating-point state and set global state from it as needed.
7946 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7947 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7948 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7949 Likewise.
7950 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7951 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7952 Likewise.
7953 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7954 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7955 Use __sim_round_mode_thread.
7956 * math/test-fenv-tls.c: New file.
7957 * math/Makefile (tests): Add test-fenv-tls.
7958 ($(objpfx)test-fenv-tls): Depend on
7959 $(common-objpfx)nptl/libpthread.so.
7960
b5449b12
AS
79612013-11-19 Andreas Schwab <schwab@suse.de>
7962
7963 * locale/programs/locale.c (show_info): Decode wordarray elements.
7964 * locale/categories.def (LC_MONETARY): Add element for
7965 _NL_MONETARY_CRNCYSTR.
7966 * locale/C-monetary.c (conversion_rate): New variable.
7967 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7968 element.
7969
e186536b
CM
79702013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7971
7972 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7973 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7974
5c349950
PP
79752013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7976
7977 * elf/Makefile (tst-auxv): New test.
7978 * elf/tst-auxv.c: New
7979 * elf/rtld.c (dl_main): Adjust AT_EXECFN
7980
699df45b
JM
79812013-11-18 Joseph Myers <joseph@codesourcery.com>
7982
7983 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
7984 (hidden_proto): Caller changed.
7985 (hidden_tls_proto): New macro.
7986 (libc_hidden_tls_proto): Likewise.
7987 (rtld_hidden_tls_proto): Likewise.
7988 (libm_hidden_tls_proto): Likewise.
7989 (libresolv_hidden_tls_proto): Likewise.
7990 (librt_hidden_tls_proto): Likewise.
7991 (libdl_hidden_tls_proto): Likewise.
7992 (libnss_files_hidden_tls_proto): Likewise.
7993 (libnsl_hidden_tls_proto): Likewise.
7994 (libnss_nisplus_hidden_tls_proto): Likewise.
7995 (libutil_hidden_tls_proto): Likewise.
7996
b7589107
OB
79972013-11-18 Ondřej Bílka <neleai@seznam.cz>
7998
7999 [BZ #10253]
8000 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8001 (decompose_rpath): Defer expansion to fillin_rpath.
8002 (_dl_init_paths): Pass linkmap to fillin_rpath.
8003
250c23bd
RS
80042013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8005
8006 * benchtests/Makefile: Add strsep.
8007 * benchtests/bench-strsep.c: New file: strsep benchtest.
8008 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8009
a7931fcf
AS
80102013-11-18 Andreas Schwab <schwab@suse.de>
8011
8012 * locale/programs/locale.c (show_info) [case byte]: Check for
8013 '\377' instead of '\177'.
8014 * locale/C-monetary.c (not_available): Always use "\377".
8015 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8016 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8017 detect unavailable sign_posn locale elements.
8018 * locale/localeconv.c (__localeconv): For grouping and
8019 mon_grouping handle "\177" and "\377" like no grouping.
8020 (INT_ELEM): New macro. Use it to set all numeric members.
8021 * locale/programs/ld-monetary.c (monetary_read)
8022 <tok_mon_grouping>: Normalize single -1 to the empty string.
8023 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8024 Likewise.
8025
728dab0e
OB
80262013-11-07 Ondřej Bílka <neleai@seznam.cz>
8027
8028 [BZ #16055]
8029 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8030 when we match (nil).
8031 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8032
66294491
JM
80332013-11-16 Joseph Myers <joseph@codesourcery.com>
8034
ce665817
JM
8035 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8036 (NO_TEST_INLINE): Update value.
8037 (ERRNO_UNCHANGED): Likewise.
8038 (ERRNO_EDOM): Likewise.
8039 (ERRNO_ERANGE): Likewise.
8040 (IGNORE_RESULT): Likewise.
8041 (check_float_internal): Check signs of NaN results if
8042 TEST_NAN_SIGN used.
8043 (check_complex): Pass TEST_NAN_SIGN flag through to second
8044 check_float_internal call.
8045 (copysign_test_data): Add tests with quiet NaNs as second
8046 argument. Use TEST_NAN_SIGN.
8047 (fabs_test_data): Add test of negative quiet NaN argument. Use
8048 TEST_NAN_SIGN.
8049 (signbit_test_data): Add tests of quiet NaN argument.
8050 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8051
ee1466a9
JM
8052 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8053 $ignore_result.
8054 (parse_args): Handle function results specified as IGNORE.
8055 * math/libm-test.inc (IGNORE_RESULT): New macro.
8056 (check_float_internal): Do not check numerical result if flag
8057 IGNORE_RESULT set.
8058 (check_complex): Pass through IGNORE_RESULT to second
8059 check_float_internal call.
8060 (check_int): Do not check numerical result if flag IGNORE_RESULT
8061 set.
8062 (check_long): Likewise.
8063 (check_bool): Likewise.
8064 (check_longlong): Likewise.
8065 (lrint_test_data): Add tests of infinite and NaN arguments.
8066 (lrint_tonearest_test_data): Likewise.
8067 (lrint_towardzero_test_data): Likewise.
8068 (lrint_downward_test_data): Likewise.
8069 (lrint_upward_test_data): Likewise.
8070 (llrint_test_data): Likewise.
8071 (llrint_tonearest_test_data): Likewise.
8072 (llrint_towardzero_test_data): Likewise.
8073 (llrint_downward_test_data): Likewise.
8074 (llrint_upward_test_data): Likewise.
8075 (lround_test_data): Likewise.
8076 (llround_test_data): Likewise.
8077
14407b7e
JM
8078 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8079 (ERRNO_UNCHANGED): Update value.
8080 (ERRNO_EDOM): Likewise.
8081 (ERRNO_ERANGE): Likewise.
8082 (NO_TEST_INLINE_FLOAT): New macro.
8083 (NO_TEST_INLINE_DOUBLE): Likewise.
8084 (enable_test): New function.
8085 (RUN_TEST_f_f): Check enable_test before running test.
8086 (RUN_TEST_2_f): Likewise.
8087 (RUN_TEST_fff_f): Likewise.
8088 (RUN_TEST_c_f): Likewise.
8089 (RUN_TEST_f_f1): Likewise.
8090 (RUN_TEST_fF_f1): Likewise.
8091 (RUN_TEST_fI_f1): Likewise.
8092 (RUN_TEST_ffI_f1): Likewise.
8093 (RUN_TEST_c_c): Likewise.
8094 (RUN_TEST_cc_c): Likewise.
8095 (RUN_TEST_f_i): Likewise.
8096 (RUN_TEST_f_i_tg): Likewise.
8097 (RUN_TEST_ff_i_tg): Likewise.
8098 (RUN_TEST_f_b): Likewise.
8099 (RUN_TEST_f_b_tg): Likewise.
8100 (RUN_TEST_f_l): Likewise.
8101 (RUN_TEST_f_L): Likewise.
8102 (RUN_TEST_fFF_11): Likewise.
8103 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8104 conditionals.
8105 (cosh_test_data): Likewise.
8106 (exp_test_data): Likewise.
8107 (expm1_test_data): Likewise.
8108 (hypot_test_data): Likewise.
8109 (pow_test_data): Likewise.
8110 (sinh_test_data): Likewise.
8111 (tanh_test_data): Likewise.
8112 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8113 flags argument.
8114
ca07f197
JM
8115 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8116 tests with quiet NaN input and output.
8117 (acosh_test_data): Likewise.
8118 (asin_test_data): Likewise.
8119 (asinh_test_data): Likewise.
8120 (atan_test_data): Likewise.
8121 (atanh_test_data): Likewise.
8122 (atan2_test_data): Likewise.
8123 (cbrt_test_data): Likewise.
8124 (cos_test_data): Likewise.
8125 (cosh_test_data): Likewise.
8126 (erf_test_data): Likewise.
8127 (erfc_test_data): Likewise.
8128 (exp_test_data): Likewise.
8129 (exp10_test_data): Likewise.
8130 (exp2_test_data): Likewise.
8131 (expm1_test_data): Likewise.
8132 (hypot_test_data): Likewise.
8133 (j0_test_data): Likewise.
8134 (j1_test_data): Likewise.
8135 (jn_test_data): Likewise.
8136 (lgamma_test_data): Likewise.
8137 (log_test_data): Likewise.
8138 (log10_test_data): Likewise.
8139 (log1p_test_data): Likewise.
8140 (log2_test_data): Likewise.
8141 (pow_test_data): Likewise.
8142 (scalb_test_data): Likewise.
8143 (sin_test_data): Likewise.
8144 (sincos_test_data): Likewise.
8145 (sinh_test_data): Likewise.
8146 (tan_test_data): Likewise.
8147 (tanh_test_data): Likewise.
8148 (tgamma_test_data): Likewise.
8149 (y0_test_data): Likewise.
8150 (y1_test_data): Likewise.
8151 (yn_test_data): Likewise.
8152
66294491
JM
8153 [BZ #16167]
8154 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8155 argument being NaN and avoid computations with second argument in
8156 that case.
8157 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8158 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8159 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8160
1820b143
CL
81612013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8162
8163 * locale/iso-639.def: Add Chitwani Tharu (the).
8164
714bd261
AS
81652013-11-14 Andreas Schwab <schwab@suse.de>
8166
8167 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8168 word instead of empty string.
8169
7ab44563
AZ
81702013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8171
8172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8173 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8175 (__fe_nomask_env): Likewise.
8176
e8470ea2
SE
81772013-11-13 Steve Ellcey <sellcey@mips.com>
8178
8179 * benchtests/bench-timing.h: Include time.h.
8180
17c1d9f0
L
81812013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8182
8183 [BZ #15997]
8184 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8185 to 3.4.0 for x32.
8186 * sysdeps/unix/sysv/linux/configure: Regenerated.
8187
9310c284
JM
81882013-11-13 Joseph Myers <joseph@codesourcery.com>
8189
8190 [BZ #16151]
8191 * stdlib/strtod_l.c (round_and_return): Do not consider
8192 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8193 exponent one less than half the least subnormal exponent.
8194 * stdlib/test-strtod-round-data: Add more tests.
8195 * stdlib/tst-strtod-round.c (tests): Regenerated.
8196
7a2ad8cf
AZ
81972013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8198
8199 [BZ #14143]
8200 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8201 (__fe_mask_env): Likewise.
8202 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8203 libm_hidden_proto and add function prototype.
8204 (__fe_mask_env): Add function prototype.
8205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8206 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8207 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8208 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8209 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8210 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8211
50727aa7
MS
82122013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8213
b2f386c1 8214 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8215 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8216
a615be46
MS
82172013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8218
8219 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8220 of htab_find_slot().
8221
7ddace62
DM
82222013-11-11 David S. Miller <davem@davemloft.net>
8223
8224 [BZ #16150]
8225 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8226 symbol in the non-vis3 case in static builds.
8227 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8228 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8229 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8230 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8231
9182aa67
JK
82322013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8233
8234 [BZ #387]
8235 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8236 it is empty.
8237
450a2e2d
AZ
82382013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8239
b2f386c1
SP
8240 * benchtests/Makefile: Add bench-strtod.
8241 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8242
8ec3f656
AS
82432013-11-11 Andreas Schwab <schwab@suse.de>
8244
8245 [BZ #16153]
8246 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8247 terminating NUL in key length.
8248
76a9b998
AZ
82492013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8250
8251 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8252 Add artificial ODP entry for vDSO symbol for PPC64.
8253 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8254 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8255
e4368156
OB
82562013-11-07 Ondřej Bílka <neleai@seznam.cz>
8257
8258 [BZ #15374]
8259 * nss/getent.c (services_keys): Recognize services starting with digit.
8260
8d6bb57c
DM
82612013-11-06 David S. Miller <davem@davemloft.net>
8262
8263 [BZ #15985]
8264 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8265 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8266
e256c421
WN
82672013-11-06 Will Newton <will.newton@linaro.org>
8268
8269 * manual/memory.texi (Malloc Examples): Remove register
8270 keyword from examples.
8271
f6e12daa 82722013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8273
f6e12daa 8274 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8275
9d880655
AS
82762013-11-04 Joseph Myers <joseph@codesourcery.com>
8277
fd2f9486 8278 [BZ #6981]
9d880655
AS
8279 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8280 depending on [__GCC_IEC_559 > 0].
8281 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8282 depending on [__GCC_IEC_559_COMPLEX > 0].
8283
ae129d3c
CL
82842013-11-03 Chris Leonard <cjl@sugarlabs.org>
8285
8286 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8287 to iso-639.def.
8288
4a15c2a4 82892013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8290
8291 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8292
8b35e35d
OB
82932013-11-01 Ondřej Bílka <neleai@seznam.cz>
8294
8295 [BZ #16112]
8296 * malloc/malloc (malloc_info): Do not handle first bin as
8297 special case.
8298
1d70fd6c
CL
82992013-11-01 Chris Leonard <cjl@sugarlabs.org>
8300
8301 * locale/iso-639.def: Add Central Nahuatl (nhn).
8302
8c5c2600
BH
83032013-11-01 Bruno Haible <bruno@clisp.org>
8304
8305 [BZ #7003]
8306 * manual/math.texi (BSD Random): Specify range upper bound as
8307 in POSIX.
8308
da5579c2
CL
83092013-10-31 Chris Leonard <cjl@sugarlabs.org>
8310
8311 * locale/iso-639.def: Add Meadow Mari (mhr).
8312
5d30d853
OB
83132013-10-31 Ondřej Bílka <neleai@seznam.cz>
8314
8315 [BZ #14752], [BZ #15763]
8316 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8317 Validate name.
8318 * rt/tst_shm.c: Add test for escaping directory.
8319
a4966c61
AS
83202013-10-31 Andreas Schwab <schwab@suse.de>
8321
8a43e768 8322 [BZ #15917]
a4966c61
AS
8323 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8324 followed by 'x' as part of digit sequence.
8325 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8326
28d708c4
MAP
83272013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8328
8329 [BZ #16037]
8330 * configure.ac: allow GNU Make 4.0 and greater.
8331 * configure: Regenerated.
8332
a56ee40b
WN
83332013-10-30 Will Newton <will.newton@linaro.org>
8334
8335 [BZ #16038]
8336 * malloc/hooks.c (memalign_check): Limit alignment to the
8337 maximum representable power of two.
8338 * malloc/malloc.c (__libc_memalign): Likewise.
8339 * malloc/tst-memalign.c (do_test): Add test for very
8340 large alignment values.
8341 * malloc/tst-posix_memalign.c (do_test): Likewise.
8342
c6e4925d
OB
83432013-10-30 Ondřej Bílka <neleai@seznam.cz>
8344
8345 [BZ #11087]
8346 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8347 (munmap_chunk): Likewise.
8348 (mremap_chunk): Likewise.
8349
83502013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8351
8a43e768 8352 [BZ #15799]
bbea82f7
OB
8353 * stdlib/div.c (div): Remove obsolete code.
8354 * stdlib/ldiv.c (ldiv): Likewise.
8355 * stdlib/lldiv.c (lldiv): Likewise.
8356
977f4b31
SP
83572013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8358
8359 [BZ #16071]
8360 * nss/nss_files/files-XXX.c (get_contents_ret): New
8361 enumerator.
8362 (get_contents): New function.
8363 (internal_getent): Use it. Expand size of LINEBUFLEN.
8364
cb8a6dbd
MF
83652013-10-30 Mike Frysinger <vapier@gentoo.org>
8366
8367 * configure.in: Moved to ...
8368 * configure.ac: ... here. Change reference to configure.in
8369 to configure.ac.
8370 * sysdeps/arm/preconfigure.ac: ... here.
8371 configure.in to configure.ac.
8372 * sysdeps/gnu/configure.in: Moved to ...
8373 * sysdeps/gnu/configure.ac: ... here.
8374 * sysdeps/i386/configure.in: Moved to ...
8375 * sysdeps/i386/configure.ac: ... here.
8376 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8377 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8378 * sysdeps/mach/configure.in: Moved to ...
8379 * sysdeps/mach/configure.ac: ... here.
8380 * sysdeps/mach/hurd/configure.in: Moved to ...
8381 * sysdeps/mach/hurd/configure.ac: ... here.
8382 * sysdeps/powerpc/configure.in: Moved to ...
8383 * sysdeps/powerpc/configure.ac: ... here.
8384 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8385 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8386 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8387 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8388 * sysdeps/s390/s390-32/configure.in: Moved to ...
8389 * sysdeps/s390/s390-32/configure.ac: ... here.
8390 * sysdeps/s390/s390-64/configure.in: Moved to ...
8391 * sysdeps/s390/s390-64/configure.ac: ... here.
8392 * sysdeps/sh/configure.in: Moved to ...
8393 * sysdeps/sh/configure.ac: ... here.
8394 * sysdeps/sparc/configure.in: Moved to ...
8395 * sysdeps/sparc/configure.ac: ... here.
8396 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8397 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8398 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8399 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8400 * sysdeps/x86_64/configure.in: Moved to ...
8401 * sysdeps/x86_64/configure.ac: ... here.
8402 * sysdeps/x86_64/preconfigure.in: Moved to ...
8403 * sysdeps/x86_64/preconfigure.ac: ... here.
8404 * aclocal.m4: Change reference to configure.in to configure.ac.
8405 * config.h.in: Likewise.
8406 * manual/install.texi: Likewise.
8407 * manual/maint.texi: Likewise.
8408 * Makefile: Likewise.
8409 * malloc/Makefile: Likewise.
8410 * nscd/Makefile: Likewise.
8411 * Makeconfig: Change reference to configure.in and
8412 preconfigure.in to configure.ac and preconfigure.ac
8413 respectively.
8414 * INSTALL: Regenerated.
8415 * configure: Likewise.
8416 * sysdeps/gnu/configure: Likewise.
8417 * sysdeps/i386/configure: Likewise.
8418 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8419 * sysdeps/mach/configure: Likewise.
8420 * sysdeps/mach/hurd/configure: Likewise.
8421 * sysdeps/powerpc/configure: Likewise.
8422 * sysdeps/powerpc/powerpc32/configure: Likewise.
8423 * sysdeps/powerpc/powerpc64/configure: Likewise.
8424 * sysdeps/s390/s390-32/configure: Likewise.
8425 * sysdeps/s390/s390-64/configure: Likewise.
8426 * sysdeps/sh/configure: Likewise.
8427 * sysdeps/sparc/configure: Likewise.
8428 * sysdeps/unix/sysv/linux/configure: Likewise.
8429 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8430 * sysdeps/x86_64/configure: Likewise.
8431 * sysdeps/x86_64/preconfigure: Likewise.
8432
36a4953a
AS
84332013-10-29 Andreas Schwab <schwab@suse.de>
8434
8435 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8436
c79a1204
SP
84372013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8438
dfa1b402
SP
8439 * benchtests/pow-inputs: Add new inputs.
8440
54f73d9c
SP
8441 * benchtests/exp-inputs: Add new inputs.
8442
c79a1204
SP
8443 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8444 conditional check for return value.
8445 (__cos32): Likewise.
8446
67beb545 84472013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8448
8449 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8450 to provide a boost for large inputs with word alignment.
8451 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8452 implementation based on optimized PPC64 strcpy.
8453 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8454 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8455 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8456 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8457
151659f6
OB
84582013-10-25 Ondřej Bílka <neleai@seznam.cz>
8459
482a077e 8460 [BZ #2801]
151659f6
OB
8461 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8462
10b0f26b
OB
84632013-10-25 Ondřej Bílka <neleai@seznam.cz>
8464
8465 [BZ #14876]
8466 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8467 * time/tst-strptime.c (day_tests): Add testcase.
8468
ca42d35e
OB
84692013-10-25 Ondřej Bílka <neleai@seznam.cz>
8470
482a077e 8471 [BZ #14029]
ca42d35e
OB
8472 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8473
52e6d801
FB
84742013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8475
8476 [BZ #16074]
8477 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8478 MAP_FAILED on error.
8479
7cbcdb36
SP
84802013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8481
8482 [BZ #16072]
8483 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8484 heap for large requests.
8485
894f3f10
AM
84862013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8487
8488 [BZ #9954]
8489 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8490 result if the result has no associated interface.
8491 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8492 interface for all 127.X.Y.Z addresses.
8493
b85545a6
CL
84942013-10-24 Chris Leonard <cjl@sugarlabs.org>
8495
8496 * locale/iso-639.def: Add Ligurian (lij)
8497
d1f23d46
OB
84982013-10-21 Ondřej Bílka <neleai@seznam.cz>
8499
8500 [BZ #15825]
8501 * sunrpc/rpc_main.c: Document rpcgen -5.
8502
4db5b08f
MS
85032013-10-19 Michael Stahl <mstahl@redhat.com>
8504
8505 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8506
a471e96a
OB
85072013-10-19 Ondřej Bílka <neleai@seznam.cz>
8508
d1f23d46 8509 [BZ #10278]
a471e96a
OB
8510 * posix/glob.c: Match only directories when trailing slash is present.
8511 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8512 (main): Add testcase.
8513
45c30c61
OB
85142013-10-19 Ondřej Bílka <neleai@seznam.cz>
8515
8516 [BZ #15670]
8517 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8518
484c12fb
CD
85192013-10-18 Carlos O'Donell <carlos@redhat.com>
8520
3d7dc513
CD
8521 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8522 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8523 AUTH_DES and cindex for FIPS 140-2.
8524 (DES Encryption): Add cindex FIPS 46-3.
8525
484c12fb
CD
8526 * locale/locarchive.h (struct locarhandle): Add fname.
8527 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8528 if an optional argument was specified to --list-archive,
8529 otherwise NULL.
8530 * locale/programs/locarchive.c (show_archive_content): Take new
8531 argument fname and pass it via ah.fname to open_archive.
8532 * locale/programs/localedef.h: Update decl.
8533 (open_archive): If AH->fname is non-null, open that file
8534 rather than the default file name, and don't ignore ENOENT.
8535 (create_archive): Set AH.fname to NULL.
8536 (delete_locales_from_archive): Likewise.
8537 (add_locales_to_archive): Likewise.
8538 * locale/programs/locfile.c (write_all_categories): Likewise.
8539
3c8325fb
JM
85402013-10-18 Joseph Myers <joseph@codesourcery.com>
8541 Aldy Hernandez <aldyh@redhat.com>
8542
8543 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8544 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8545 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8546 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8547 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8548 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8549 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8550 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8551 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8552 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8553 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8554 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8555 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8556 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8557 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8558 Likewise.
8559 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8560 Likewise.
8561 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8562 Likewise.
8563 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8564 Likewise.
8565 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8566 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8567 Likewise.
8568 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8569 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8570 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8571 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8572 Likewise.
8573 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8574 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8575 * sysdeps/powerpc/preconfigure: Likewise.
8576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8577 Likewise.
8578 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8579 Replace contents of file by #include of <fenv_libc.h>.
8580 * sysdeps/powerpc/soft-fp/sfp-machine.h
8581 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8582 and <sys/prctl.h>.
8583 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8584 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8585 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8586 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8587 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8588 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8589 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8590 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8591 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8592 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8593 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8594 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8596 Allow copysignl PLT reference to be missing.
8597
5abe0682
RS
85982013-10-18 Richard Sandiford <richard@codesourcery.com>
8599 Joseph Myers <joseph@codesourcery.com
8600
8601 [BZ #15948]
8602 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8603 single character.
8604 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8605
c7738d08
SP
86062013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8607
8608 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8609 * elf/tst-tls1.c: Likewise.
8610 * elf/tst-tls10.h: Likewise.
8611 * elf/tst-tls14.c: Likewise.
8612 * elf/tst-tls2.c: Likewise.
8613 * elf/tst-tls3.c: Likewise.
8614 * elf/tst-tls4.c: Likewise.
8615 * elf/tst-tls5.c: Likewise.
8616 * elf/tst-tls6.c: Likewise.
8617 * elf/tst-tls7.c: Likewise.
8618 * elf/tst-tls8.c: Likewise.
8619 * elf/tst-tls9.c: Likewise.
8620 * elf/tst-tlsmod1.c: Likewise.
8621 * elf/tst-tlsmod13.c: Likewise.
8622 * elf/tst-tlsmod13a.c: Likewise.
8623 * elf/tst-tlsmod14a.c: Likewise.
8624 * elf/tst-tlsmod16a.c: Likewise.
8625 * elf/tst-tlsmod16b.c: Likewise.
8626 * elf/tst-tlsmod2.c: Likewise.
8627 * elf/tst-tlsmod3.c: Likewise.
8628 * elf/tst-tlsmod4.c: Likewise.
8629 * elf/tst-tlsmod5.c: Likewise.
8630 * elf/tst-tlsmod6.c: Likewise.
8631
0bfcf2c7
OB
86322013-10-18 Ondřej Bílka <neleai@seznam.cz>
8633
8634 [BZ #12486]
8635 * malloc/malloc.c: remove checks for statistics.
8636
264aad1e
OB
86372013-10-17 Ondřej Bílka <neleai@seznam.cz>
8638
8639 [BZ #15277]
8640 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8641 * inet/tst-network.c: Add testcase.
8642
b957ced8
AS
86432013-10-17 Andreas Schwab <schwab@suse.de>
8644
8645 [BZ #15218]
8646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8647 to determine canonical name.
8648
c5d5d574
OB
86492013-10-17 Ondřej Bílka <neleai@seznam.cz>
8650
8651 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8652 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8653 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8654 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8655 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8656 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8657 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8658 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8659 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8660 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8661 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8662 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8663 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8664 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8665 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8666 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8667 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8668 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8669 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8670 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8671 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8672 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8673 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8674 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8675 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8676 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8681 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8702 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8709
e5c2c2d0
JM
87102013-10-17 Joseph Myers <joseph@codesourcery.com>
8711
8712 [BZ #16041]
8713 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8714 make result into a quiet NaN.
8715
51ca9e29
JM
87162013-10-16 Joseph Myers <joseph@codesourcery.com>
8717
8718 * soft-fp/adddf3.c: Fix horizontal whitespace.
8719 * soft-fp/addsf3.c: Likewise.
8720 * soft-fp/addtf3.c: Likewise.
8721 * soft-fp/divdf3.c: Likewise.
8722 * soft-fp/divsf3.c: Likewise.
8723 * soft-fp/divtf3.c: Likewise.
8724 * soft-fp/double.h: Likewise.
8725 * soft-fp/eqdf2.c: Likewise.
8726 * soft-fp/eqsf2.c: Likewise.
8727 * soft-fp/eqtf2.c: Likewise.
8728 * soft-fp/extenddftf2.c: Likewise.
8729 * soft-fp/extended.h: Likewise.
8730 * soft-fp/extendsfdf2.c: Likewise.
8731 * soft-fp/extendsftf2.c: Likewise.
8732 * soft-fp/extendxftf2.c: Likewise.
8733 * soft-fp/fixdfdi.c: Likewise.
8734 * soft-fp/fixdfsi.c: Likewise.
8735 * soft-fp/fixdfti.c: Likewise.
8736 * soft-fp/fixsfdi.c: Likewise.
8737 * soft-fp/fixsfsi.c: Likewise.
8738 * soft-fp/fixsfti.c: Likewise.
8739 * soft-fp/fixtfdi.c: Likewise.
8740 * soft-fp/fixtfsi.c: Likewise.
8741 * soft-fp/fixtfti.c: Likewise.
8742 * soft-fp/fixunsdfdi.c: Likewise.
8743 * soft-fp/fixunsdfsi.c: Likewise.
8744 * soft-fp/fixunsdfti.c: Likewise.
8745 * soft-fp/fixunssfdi.c: Likewise.
8746 * soft-fp/fixunssfsi.c: Likewise.
8747 * soft-fp/fixunssfti.c: Likewise.
8748 * soft-fp/fixunstfdi.c: Likewise.
8749 * soft-fp/fixunstfsi.c: Likewise.
8750 * soft-fp/fixunstfti.c: Likewise.
8751 * soft-fp/floatdidf.c: Likewise.
8752 * soft-fp/floatdisf.c: Likewise.
8753 * soft-fp/floatditf.c: Likewise.
8754 * soft-fp/floatsidf.c: Likewise.
8755 * soft-fp/floatsisf.c: Likewise.
8756 * soft-fp/floatsitf.c: Likewise.
8757 * soft-fp/floattidf.c: Likewise.
8758 * soft-fp/floattisf.c: Likewise.
8759 * soft-fp/floattitf.c: Likewise.
8760 * soft-fp/floatundidf.c: Likewise.
8761 * soft-fp/floatundisf.c: Likewise.
8762 * soft-fp/floatunditf.c: Likewise.
8763 * soft-fp/floatunsidf.c: Likewise.
8764 * soft-fp/floatunsisf.c: Likewise.
8765 * soft-fp/floatunsitf.c: Likewise.
8766 * soft-fp/floatuntidf.c: Likewise.
8767 * soft-fp/floatuntisf.c: Likewise.
8768 * soft-fp/floatuntitf.c: Likewise.
8769 * soft-fp/fmadf4.c: Likewise.
8770 * soft-fp/fmasf4.c: Likewise.
8771 * soft-fp/fmatf4.c: Likewise.
8772 * soft-fp/gedf2.c: Likewise.
8773 * soft-fp/gesf2.c: Likewise.
8774 * soft-fp/getf2.c: Likewise.
8775 * soft-fp/ledf2.c: Likewise.
8776 * soft-fp/lesf2.c: Likewise.
8777 * soft-fp/letf2.c: Likewise.
8778 * soft-fp/muldf3.c: Likewise.
8779 * soft-fp/mulsf3.c: Likewise.
8780 * soft-fp/multf3.c: Likewise.
8781 * soft-fp/negdf2.c: Likewise.
8782 * soft-fp/negsf2.c: Likewise.
8783 * soft-fp/negtf2.c: Likewise.
8784 * soft-fp/op-1.h: Likewise.
8785 * soft-fp/op-2.h: Likewise.
8786 * soft-fp/op-4.h: Likewise.
8787 * soft-fp/op-8.h: Likewise.
8788 * soft-fp/op-common.h: Likewise.
8789 * soft-fp/quad.h: Likewise.
8790 * soft-fp/single.h: Likewise.
8791 * soft-fp/soft-fp.h: Likewise.
8792 * soft-fp/sqrtdf2.c: Likewise.
8793 * soft-fp/sqrtsf2.c: Likewise.
8794 * soft-fp/sqrttf2.c: Likewise.
8795 * soft-fp/subdf3.c: Likewise.
8796 * soft-fp/subsf3.c: Likewise.
8797 * soft-fp/subtf3.c: Likewise.
8798 * soft-fp/truncdfsf2.c: Likewise.
8799 * soft-fp/trunctfdf2.c: Likewise.
8800 * soft-fp/trunctfsf2.c: Likewise.
8801 * soft-fp/trunctfxf2.c: Likewise.
8802 * soft-fp/unorddf2.c: Likewise.
8803 * soft-fp/unordsf2.c: Likewise.
8804 * soft-fp/unordtf2.c: Likewise.
8805
9ebb0332
JM
88062013-10-15 Joseph Myers <joseph@codesourcery.com>
8807
8808 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8809 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8810
4b1a6d8b
OB
88112013-10-15 Ondřej Bílka <neleai@seznam.cz>
8812
8813 * elf/dl-libc.c: Clear initfini list after freeing.
8814
1e145589
JM
88152013-10-14 Joseph Myers <joseph@codesourcery.com>
8816
8817 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8818 * soft-fp/addsf3.c: Likewise.
8819 * soft-fp/addtf3.c: Likewise.
8820 * soft-fp/divdf3.c: Likewise.
8821 * soft-fp/divsf3.c: Likewise.
8822 * soft-fp/divtf3.c: Likewise.
8823 * soft-fp/double.h: Likewise.
8824 * soft-fp/eqdf2.c: Likewise.
8825 * soft-fp/eqsf2.c: Likewise.
8826 * soft-fp/eqtf2.c: Likewise.
8827 * soft-fp/extenddftf2.c: Likewise.
8828 * soft-fp/extended.h: Likewise.
8829 * soft-fp/extendsfdf2.c: Likewise.
8830 * soft-fp/extendsftf2.c: Likewise.
8831 * soft-fp/extendxftf2.c: Likewise.
8832 * soft-fp/fixdfdi.c: Likewise.
8833 * soft-fp/fixdfsi.c: Likewise.
8834 * soft-fp/fixdfti.c: Likewise.
8835 * soft-fp/fixsfdi.c: Likewise.
8836 * soft-fp/fixsfsi.c: Likewise.
8837 * soft-fp/fixsfti.c: Likewise.
8838 * soft-fp/fixtfdi.c: Likewise.
8839 * soft-fp/fixtfsi.c: Likewise.
8840 * soft-fp/fixtfti.c: Likewise.
8841 * soft-fp/fixunsdfdi.c: Likewise.
8842 * soft-fp/fixunsdfsi.c: Likewise.
8843 * soft-fp/fixunsdfti.c: Likewise.
8844 * soft-fp/fixunssfdi.c: Likewise.
8845 * soft-fp/fixunssfsi.c: Likewise.
8846 * soft-fp/fixunssfti.c: Likewise.
8847 * soft-fp/fixunstfdi.c: Likewise.
8848 * soft-fp/fixunstfsi.c: Likewise.
8849 * soft-fp/fixunstfti.c: Likewise.
8850 * soft-fp/floatdidf.c: Likewise.
8851 * soft-fp/floatdisf.c: Likewise.
8852 * soft-fp/floatditf.c: Likewise.
8853 * soft-fp/floatsidf.c: Likewise.
8854 * soft-fp/floatsisf.c: Likewise.
8855 * soft-fp/floatsitf.c: Likewise.
8856 * soft-fp/floattidf.c: Likewise.
8857 * soft-fp/floattisf.c: Likewise.
8858 * soft-fp/floattitf.c: Likewise.
8859 * soft-fp/floatundidf.c: Likewise.
8860 * soft-fp/floatundisf.c: Likewise.
8861 * soft-fp/floatunsidf.c: Likewise.
8862 * soft-fp/floatunsisf.c: Likewise.
8863 * soft-fp/floatuntidf.c: Likewise.
8864 * soft-fp/floatuntisf.c: Likewise.
8865 * soft-fp/floatuntitf.c: Likewise.
8866 * soft-fp/fmadf4.c: Likewise.
8867 * soft-fp/fmasf4.c: Likewise.
8868 * soft-fp/fmatf4.c: Likewise.
8869 * soft-fp/gedf2.c: Likewise.
8870 * soft-fp/gesf2.c: Likewise.
8871 * soft-fp/getf2.c: Likewise.
8872 * soft-fp/ledf2.c: Likewise.
8873 * soft-fp/lesf2.c: Likewise.
8874 * soft-fp/letf2.c: Likewise.
8875 * soft-fp/muldf3.c: Likewise.
8876 * soft-fp/mulsf3.c: Likewise.
8877 * soft-fp/multf3.c: Likewise.
8878 * soft-fp/negdf2.c: Likewise.
8879 * soft-fp/negsf2.c: Likewise.
8880 * soft-fp/negtf2.c: Likewise.
8881 * soft-fp/op-1.h: Likewise.
8882 * soft-fp/op-2.h: Likewise.
8883 * soft-fp/op-4.h: Likewise.
8884 * soft-fp/op-8.h: Likewise.
8885 * soft-fp/op-common.h: Likewise.
8886 * soft-fp/quad.h: Likewise.
8887 * soft-fp/single.h: Likewise.
8888 * soft-fp/soft-fp.h: Likewise.
8889 * soft-fp/sqrtdf2.c: Likewise.
8890 * soft-fp/sqrtsf2.c: Likewise.
8891 * soft-fp/sqrttf2.c: Likewise.
8892 * soft-fp/subdf3.c: Likewise.
8893 * soft-fp/subsf3.c: Likewise.
8894 * soft-fp/subtf3.c: Likewise.
8895 * soft-fp/truncdfsf2.c: Likewise.
8896 * soft-fp/trunctfdf2.c: Likewise.
8897 * soft-fp/trunctfsf2.c: Likewise.
8898 * soft-fp/trunctfxf2.c: Likewise.
8899 * soft-fp/unorddf2.c: Likewise.
8900 * soft-fp/unordsf2.c: Likewise.
8901 * soft-fp/unordtf2.c: Likewise.
8902
17c48a60
OB
89032013-10-14 Ondřej Bílka <neleai@seznam.cz>
8904
8905 [BZ #15672]
8906 * misc/error.c (error_tail): Fix possible buffer overflow.
8907
cabba934
OB
89082013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8909
8910 [BZ #13028]
8911 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8912 address.
8913
94bf958a
PM
89142013-10-14 P. J. McDermott <pj@pehjota.net>
8915
8916 [BZ #832]
8917 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8918 testing pipefail option.
8919
71b4dea7
JM
89202013-10-12 Joseph Myers <joseph@codesourcery.com>
8921
8922 * soft-fp/double.h: Indent preprocessor directives inside #if.
8923 * soft-fp/extended.h: Likewise.
8924 * soft-fp/op-2.h: Likewise.
8925 * soft-fp/op-4.h: Likewise.
8926 * soft-fp/op-common.h: Likewise.
8927 * soft-fp/quad.h: Likewise.
8928 * soft-fp/single.h: Likewise.
8929 * soft-fp/soft-fp.h: Likewise.
8930
55602758
YC
89312013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8932
8933 * iconv/iconv_prog.c: Fix typos.
8934 * stdio-common/psiginfo-data.h: Likewise.
8935
9cd83302
RT
89362013-10-12 Reuben Thomas <rrt@sc3d.org>
8937
8938 [BZ #15764]
8939 * locale/setlocale.c: Fix typo.
8940
99fd9f47
JM
89412013-10-12 Joseph Myers <joseph@codesourcery.com>
8942
b7ea74f0
JM
8943 [BZ #16036]
8944 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8945 signaling NaN arguments.
8946 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8947 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8948
8a509447
JM
8949 [BZ #14910]
8950 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8951 unordered operands.
8952 * soft-fp/gesf2.c (__gesf2): Likewise.
8953 * soft-fp/getf2.c (__getf2): Likewise.
8954 * soft-fp/ledf2.c (__ledf2): Likewise.
8955 * soft-fp/lesf2.c (__lesf2): Likewise.
8956 * soft-fp/letf2.c (__letf2): Likewise.
8957
98998e9f
JM
8958 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8959 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8960 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8961 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8962 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8963 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8964 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8965 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8966 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8967 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8968 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8969 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8970 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8971 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8972 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8973 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8974 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8975 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8976 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8977 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8978 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
8979 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
8980 * soft-fp/floatdisf.c (__floatdisf): Likewise.
8981 * soft-fp/floatsisf.c (__floatsisf): Likewise.
8982 * soft-fp/floattidf.c (__floattidf): Likewise.
8983 * soft-fp/floattisf.c (__floattisf): Likewise.
8984 * soft-fp/floattitf.c (__floattitf): Likewise.
8985 * soft-fp/floatundidf.c (__floatundidf): Likewise.
8986 * soft-fp/floatundisf.c (__floatundisf): Likewise.
8987 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
8988 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
8989 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
8990 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
8991 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
8992 * soft-fp/gesf2.c (__gesf2): Likewise.
8993 * soft-fp/getf2.c (__getf2): Likewise.
8994 * soft-fp/ledf2.c (__ledf2): Likewise.
8995 * soft-fp/lesf2.c (__lesf2): Likewise.
8996 * soft-fp/letf2.c (__letf2): Likewise.
8997
8edc4a11
JM
8998 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
8999 Undefine and redefine.
9000 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9001 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9002 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9003 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9004 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9005 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9006 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9007 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9008 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9009 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9010 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9011 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9012 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9013 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9014 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9015
8399acaf
JM
9016 [BZ #16032]
9017 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9018 without decrementing exponent if mantissa >= that for the
9019 denominator, not >.
9020 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9021 denominator, not >. Decrement exponent in < case instead of
9022 incrementing in >= case.
9023 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9024 without decrementing exponent if mantissa >= that for the
9025 denominator, not >.
9026
99fd9f47
JM
9027 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9028 computing saturated result for unsigned overflow.
9029
10e1cf6b
SP
90302013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9031 Jeff Law <law@redhat.com>
9032
9033 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9034 (atan2Mp): Add systemtap probe marker.
9035 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9036 (__ieee754_log): Add systemtap probe marker.
9037 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9038 (atanMp): Add systemtap probe marker.
9039 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9040 (tanMp): Add systemtap probe marker.
9041 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9042 (__slowexp): Add systemtap probe marker.
9043 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9044 (__slowpow): Add systemtap probe marker.
9045 * manual/probes.texi: Document probes.
9046
3d110c7c
EB
90472013-10-11 Eric Biggers <ebiggers3@gmail.com>
9048
9049 [BZ #15362]
9050 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9051 written.
9052 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9053 written.
9054 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9055 written to buffer but not flushed.
9056 * libio/iofwrite_u.c: Likewise.
9057 * libio/iopadn.c: Return bytes returned even if EOF was
9058 encountered.
9059 * libio/iowpadn.c: Likewise.
9060 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9061 if _IO_padn does not write the whole buffer.
9062 [!COMPILE_WPRINTF] (PAD): Likewise.
9063
75b4202a
DM
90642013-10-10 David S. Miller <davem@davemloft.net>
9065
9066 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9067 directory block.
9068
6c6352e6
JM
90692013-10-10 Joseph Myers <joseph@codesourcery.com>
9070
33b853c3
JM
9071 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9072 instead of FSF address.
9073 * soft-fp/fixdfti.c: Likewise.
9074 * soft-fp/fixsfti.c: Likewise.
9075 * soft-fp/fixtfti.c: Likewise.
9076 * soft-fp/fixunsdfti.c: Likewise.
9077 * soft-fp/fixunssfti.c: Likewise.
9078 * soft-fp/fixunstfti.c: Likewise.
9079 * soft-fp/floattidf.c: Likewise.
9080 * soft-fp/floattisf.c: Likewise.
9081 * soft-fp/floattitf.c: Likewise.
9082 * soft-fp/floatuntidf.c: Likewise.
9083 * soft-fp/floatuntisf.c: Likewise.
9084 * soft-fp/floatuntitf.c: Likewise.
9085 * soft-fp/trunctfxf2.c: Likewise.
9086
6c6352e6
JM
9087 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9088 * soft-fp/fixdfti.c: Likewise.
9089 * soft-fp/fixsfti.c: Likewise.
9090 * soft-fp/fixtfti.c: Likewise.
9091 * soft-fp/fixunsdfti.c: Likewise.
9092 * soft-fp/fixunssfti.c: Likewise.
9093 * soft-fp/fixunstfti.c: Likewise.
9094 * soft-fp/floattidf.c: Likewise.
9095 * soft-fp/floattisf.c: Likewise.
9096 * soft-fp/floattitf.c: Likewise.
9097 * soft-fp/floatuntidf.c: Likewise.
9098 * soft-fp/floatuntisf.c: Likewise.
9099 * soft-fp/floatuntitf.c: Likewise.
9100 * soft-fp/trunctfxf2.c: Likewise.
9101
3bf78b71
DM
91022013-10-10 David S. Miller <davem@davemloft.net>
9103
9104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9105
6f10289e
JM
91062013-10-10 Joseph Myers <joseph@codsourcery.com>
9107
bd878fc0
JM
9108 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9109 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9110 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9111 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9112 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9113 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9114 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9115
6f10289e
JM
9116 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9117 for NaNs before doing comparisons on argument.
9118 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9119 Likewise.
9120
321e2684
WN
91212013-10-10 Will Newton <will.newton@linaro.org>
9122
9123 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9124 passed to _int_memalign does not overflow.
9125
40fefba1
TR
91262013-10-10 Torvald Riegel <triegel@redhat.com>
9127
9128 * scripts/bench.pl: Add include-sources directive.
9129 * benchtests/README: Update documentation.
9130
2ae21ed2
JM
91312013-10-10 Joseph Myers <joseph@codesourcery.com>
9132
dcc2dd3f
JM
9133 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9134 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9135 instead of FP_INIT_ROUNDMODE.
9136 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9137 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9138
2ae21ed2
JM
9139 [BZ #16034]
9140 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9141 copy class of input value.
9142 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9143 not handle exceptions.
9144 * soft-fp/negsf2.c (__negsf2): Likewise.
9145 * soft-fp/negtf2.c (__negtf2): Likewise.
9146 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9147
cb8f9562
JM
91482013-10-09 Joseph Myers <joseph@codesourcery.com>
9149
9150 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9151 semicolon. From Linux kernel.
9152
5b60c59d
AB
91532013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9154
9155 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9156
b86835ca
YC
91572013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9158
9159 [BZ #156]
9160 * manual/socket.texi: Added statement about buffer
9161 for gethostbyname2_r.
9162
e7044ea7
OB
91632013-10-08 Ondřej Bílka <neleai@seznam.cz>
9164
9165 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9166 Use .p2align directive instead, throughout.
9167 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9168 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9169 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9170 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9171 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9172 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9173 * sysdeps/x86_64/strchr.S: Likewise.
9174 * sysdeps/x86_64/strrchr.S: Likewise.
9175
09544cbc
SP
91762013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9177
88576635
SP
9178 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9179
e7b2d1dd
SP
9180 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9181
09544cbc
SP
9182 * sysdeps/generic/math_private.h (__mpsin1): Remove
9183 declaration.
9184 (__mpcos1): Likewise.
9185 (__mpsin): New argument __range_reduce.
9186 (__mpcos): Likewise.
9187 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9188 (slow): Use __mpsin and __mpcos.
9189 (slow1): Likewise.
9190 (slow2): Likewise.
9191 (sloww): Likewise.
9192 (sloww1): Likewise.
9193 (sloww2): Likewise.
9194 (bsloww): Likewise.
9195 (bsloww1): Likewise.
9196 (bsloww2): Likewise.
9197 (cslow2): Likewise.
9198 (csloww): Likewise.
9199 (csloww1): Likewise.
9200 (csloww2): Likewise.
9201 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9202 range_reduce. Merge in __mpsin1.
9203 (__mpcos): Likewise.
9204 (__mpsin1): Remove.
9205 (__mpcos1): Likewise.
9206
7602d070
JM
92072013-10-07 Joseph Myers <joseph@codesourcery.com>
9208
9209 * locale/loadlocale.c (_nl_intern_locale_data): Use
9210 LOCFILE_ALIGNED_P.
9211 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9212 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9213 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9214 obstack data is appropriately aligned.
9215 (obstack_int32_grow_fast): Likewise.
9216 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9217 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9218 (add_locale_uint32_array): Likewise.
9219
a357259b
SP
92202013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9221
9222 * benchtests/Makefile: Remove ARGLIST and RET variables.
9223 ($(objpfx)bench-%.c): Pass only function name to the script.
9224 * benchtests/README: Update documentation.
9225 * benchtests/acos-inputs: Add new directives.
9226 * benchtests/acosh-inputs: Likewise.
9227 * benchtests/asin-inputs: Likewise.
9228 * benchtests/asinh-inputs: Likewise.
9229 * benchtests/atan-inputs: Likewise.
9230 * benchtests/atanh-inputs: Likewise.
9231 * benchtests/cos-inputs: Likewise.
9232 * benchtests/cosh-inputs: Likewise.
9233 * benchtests/exp-inputs: Likewise.
9234 * benchtests/log-inputs: Likewise.
9235 * benchtests/pow-inputs: Likewise.
9236 * benchtests/rint-inputs: Likewise.
9237 * benchtests/sin-inputs: Likewise.
9238 * benchtests/sinh-inputs: Likewise.
9239 * benchtests/tan-inputs: Likewise.
9240 * benchtests/tanh-inputs: Likewise.
9241 * scripts/bench.pl: Add support for new directives.
9242
9ec1b13d
AM
92432013-10-07 Alan Modra <amodra@gmail.com>
9244
9245 * README: Fix careless merge.
9246
8b7d57cd
AM
92472013-10-05 Alan Modra <amodra@gmail.com>
9248
9249 * NEWS: Mention powerpc64le support and bugs fixed.
9250 * README: Both big-endian and little-endian powerpc64 supported.
9251
7b7bab13
ST
92522013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9253
9254 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9255 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9256 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9257 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9258
d39baad1
RA
92592013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9260
9261 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9262 match prototype.
9263
cd78f7e7
JM
92642013-10-04 Joseph Myers <joseph@codesourcery.com>
9265
29d73d86
JM
9266 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9267 Move -mhard-float appending from
9268 ports/sysdeps/powerpc/powerpc32/Makefile.
9269 [$(with-fp) = yes] (ASFLAGS): Likewise.
9270 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9271 * sysdeps/powerpc/nofpu: Move directory from
9272 ports/sysdeps/powerpc/nofpu.
9273 * sysdeps/powerpc/soft-fp: Move directory from
9274 ports/sysdeps/powerpc/soft-fp.
9275 * sysdeps/powerpc/powerpc32/405: Move directory from
9276 ports/sysdeps/powerpc/powerpc32/405.
9277 * sysdeps/powerpc/powerpc32/440: Move directory from
9278 ports/sysdeps/powerpc/powerpc32/440.
9279 * sysdeps/powerpc/powerpc32/464: Move directory from
9280 ports/sysdeps/powerpc/powerpc32/464.
9281 * sysdeps/powerpc/powerpc32/476: Move directory from
9282 ports/sysdeps/powerpc/powerpc32/476.
9283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9284 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9285 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9286 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9288 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9290 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9292 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9293 * README: Update for powerpc-*-linux-gnu software floating point
9294 support in libc.
9295
e246b347
JM
9296 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9297 case to powerpc/powerpc32*.
9298 * sysdeps/unix/sysv/linux/configure: Regenerated.
9299
89c2003e
JM
9300 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9301 (_FPU_MASK_OM): Define as 0x04.
9302 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9303 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9304 0x00c10080.
9305 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9306 0x0000003c.
9307 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9308
cd78f7e7
JM
9309 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9310 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9311 getcontext_e500.
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9313 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9314 setcontext_e500.
9315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9316 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9317 and setcontext_e500.
9318
c755294d
CL
93192013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9320
9321 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9322
e16d221c
SP
93232013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9324
9325 * manual/threads.texi (Default Thread Attributes): Fix typo.
9326
215c7d43
WN
93272013-10-04 Will Newton <will.newton@linaro.org>
9328
9329 * malloc/Makefile: Add tst-memalign.
9330 * malloc/tst-memalign.c: New file.
9331
27d0461b
WN
9332 * malloc/tst-posix_memalign.c: Add comments.
9333 (do_test): Add comments and call free on all potentially
9334 allocated pointers. Add space after cast.
9335
1bc92709
WN
9336 * malloc/tst-pvalloc.c: Add comments.
9337 (do_test): Add comments and call free on all potentially
9338 allocated pointers. Remove duplicate check for NULL pointer.
9339 Add space after cast.
9340
66a9be9d
WN
9341 * malloc/tst-valloc.c: Add comments.
9342 (do_test): Add comments and call free on all potentially
9343 allocated pointers. Remove duplicate check for NULL pointer.
9344 Add space after cast.
9345
4cb81307
AM
93462013-10-04 Alan Modra <amodra@gmail.com>
9347
9348 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9349 Use stdint types in rather than __attribute__((mode())).
9350 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9351
f8e3e9f3
AM
93522013-10-04 Alan Modra <amodra@gmail.com>
9353
9354 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9355 Correct handling of unaligned relocs for little-endian.
9356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9357
8f9ebb08
AM
93582013-10-04 Alan Modra <amodra@gmail.com>
9359
9360 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9361 * configure: Regenerate.
9362 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9363 * shlib-versions: Likewise.
9364
0edf96c2
AM
93652013-10-04 Alan Modra <amodra@gmail.com>
9366
9367 * string/tester.c (test_memrchr): Increment reported test cycle.
9368
e0f7a380
AM
93692013-10-04 Alan Modra <amodra@gmail.com>
9370
9371 * string/test-memcpy.c (do_one_test): When reporting errors, print
9372 string address and don't overrun end of string.
9373
466b0393
AM
93742013-10-04 Alan Modra <amodra@gmail.com>
9375
9376 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9377 insrdi. Make better use of reg selection to speed exit slightly.
9378 Schedule entry path a little better. Remove useless "are we done"
9379 checks on entry to main loop. Handle wrapping around zero address.
9380 Correct main loop count. Handle single left-over word from main
9381 loop inline rather than by using loop_small. Remove extra word
9382 case in loop_small caused by wrong loop count. Add little-endian
9383 support.
9384 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9385 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9386 cache hint.
9387 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9388 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9389 support. Avoid rlwimi.
9390 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9391
3be87c77
AM
93922013-10-04 Alan Modra <amodra@gmail.com>
9393
9394 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9395 insrdi. Formatting.
3be87c77
AM
9396 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9397 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9398 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9399 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9400 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9401 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9402
759cfef3
AM
94032013-10-04 Alan Modra <amodra@gmail.com>
9404
9405 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9406 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9407 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9408 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9409 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9410 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9411 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9412 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9413 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9414 use of regs. Use power7 mtocrf. Tidy function tails.
9415
fe6e95d7
AM
94162013-10-04 Alan Modra <amodra@gmail.com>
9417
9418 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9419 Formatting. Consistently use rXXX register defines or rN defines.
9420 Use early exit labels that avoid restoring unused non-volatile regs.
9421 Make cr field use more consistent with rWORDn compares. Rename
9422 regs used as shift registers for unaligned loop, using rN defines
9423 for short lifetime/multiple use regs.
9424 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9425 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9426 addi 1,1,64 to pop stack frame. Simplify return value code.
9427 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9428
664318c3
AM
94292013-10-04 Alan Modra <amodra@gmail.com>
9430
9431 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9432 support. Correct typos, formatting. Optimize tail. Use insrdi
9433 rather than rlwimi.
9434 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9435 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9436 little-endian support. Correct typos.
9437 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9438 rather than rlwimi.
9439 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9440 in loop and entry code to keep "and." results.
9441 (strchr): Add little-endian support. Comment. Move cntlzd
9442 earlier in tail.
9443 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9444
43b84013
AM
94452013-10-04 Alan Modra <amodra@gmail.com>
9446
9447 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9448 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9449 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9450 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9451
8a7413f9
AM
94522013-10-04 Alan Modra <amodra@gmail.com>
9453
9454 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9455 (rTMP): Define as r11.
9456 (strcmp): Add little-endian support. Optimise tail.
9457 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9458 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9459 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9460 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9461 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9462 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9463 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9464
33ee81de
AM
94652013-10-04 Alan Modra <amodra@gmail.com>
9466
9467 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9468 little-endian support. Remove unnecessary "are we done" tests.
9469 Handle "s" wrapping around zero and extremely large "size".
9470 Correct main loop count. Handle single left-over word from main
9471 loop inline rather than by using small_loop. Correct comments.
9472 Delete "zero" tail, use "end_max" instead.
9473 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9474
db9b4570
AM
94752013-10-04 Alan Modra <amodra@gmail.com>
9476
9477 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9478 support. Don't branch over align.
9479 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9480 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9481 support. Rearrange tmp reg use to suit. Comment.
9482 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9483
f7c399cf
AM
94842013-10-04 Alan Modra <amodra@gmail.com>
9485
9486 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9487
0b2c2ace
AM
94882013-10-04 Alan Modra <amodra@gmail.com>
9489
9490 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9491 conditional form of branch and link when obtaining pc.
9492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9493
02f04a6c
AM
94942013-10-04 Alan Modra <amodra@gmail.com>
9495
9496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9497 HIWORD/LOWORD.
9498 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9499 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9500
9b874b2f
AM
95012013-10-04 Alan Modra <amodra@gmail.com>
9502
9503 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9504 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9505 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9506 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9507 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9508 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9509 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9510 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9511 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9512 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9513
be1e5d31
AB
95142013-10-04 Anton Blanchard <anton@au1.ibm.com>
9515 Alistair Popple <alistair@ozlabs.au.ibm.com>
9516 Alan Modra <amodra@gmail.com>
9517
9518 [BZ #15723]
9519 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9520 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9521 _dl_hwcap access for little-endian.
9522 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9523 destroy vmx regs when saving unaligned.
9524 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9525 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9526 destroy vmx regs when saving unaligned.
9527
fef13a78
AM
95282013-10-04 Alan Modra <amodra@gmail.com>
9529
9530 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9531 Don't use a union to pack hi/low value.
9532
76a66d51
AB
95332013-10-04 Anton Blanchard <anton@au1.ibm.com>
9534
9535 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9536 for little-endian.
9537 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9538 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9539 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9540 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9541 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9542
6a31fe7f
AM
95432013-10-04 Alan Modra <amodra@gmail.com>
9544
9545 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9546 constants to usual value for .cst8 section, and remove redundant
9547 high address load.
9548 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9549 constant for 0x1p52. Load little-endian words of double from
9550 correct stack offsets.
9551
7b88401f
AM
95522013-10-04 Alan Modra <amodra@gmail.com>
9553
9554 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9555 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9556 words of double from correct stack offsets.
9557 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9558 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9559 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9560 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9561 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9562 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9563 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9564 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9565 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9566 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9567 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9568 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9569 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9570 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9571 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9572 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9573 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9574
9c008155
AM
95752013-10-04 Alan Modra <amodra@gmail.com>
9576
9577 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9578 64-bit int/double union.
9579 (_FPU_SETCW): Likewise.
9580 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9581 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9582
da13146d
AM
95832013-10-04 Alan Modra <amodra@gmail.com>
9584
9585 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9586 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9587
603e8410
AM
95882013-10-04 Alan Modra <amodra@gmail.com>
9589
9590 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9591 use vector int constants.
9592 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9593
4a28b3ca
AB
95942013-10-04 Anton Blanchard <anton@au1.ibm.com>
9595
9596 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9597 array with long long.
9598 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9599 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9600 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9601 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9602 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9603 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9604 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9605 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9606 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9607 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9608 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9609 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9610 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9611
2ca85d2b
AB
96122013-10-04 Anton Blanchard <anton@au1.ibm.com>
9613
9614 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9615 (__signbit): Likewise. Correct for little-endian.
9616 (__signbitl): Call __signbit.
9617 (lrint): Correct for little-endian.
9618 (lrintf): Call lrint.
9619
62a728ae
AM
96202013-10-04 Alan Modra <amodra@gmail.com>
9621
9622 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9623 union 32-bit int array member with 64-bit int array.
9624 (t515, tm256): Double rather than long double.
9625 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9626
32c301df
AM
96272013-10-04 Alan Modra <amodra@gmail.com>
9628
9629 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9630 Delete.
9631 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9632 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9633 version of math_ldbl.h.
9634
650ef4bd
AM
96352013-10-04 Alan Modra <amodra@gmail.com>
9636
9637 [BZ #15734], [BZ #15735]
9638 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9639 all uses of ieee875 long double macros and unions. Simplify test
9640 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9641 ldbl_extract_mantissa value for ix,iy exponents. Properly
9642 normalize after ldbl_extract_mantissa, and don't add hidden bit
9643 already handled. Don't treat low word of ieee854 mantissa like
9644 low word of IBM long double and mask off bit when testing for
9645 zero.
9646 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9647 all uses of ieee875 long double macros and unions. Simplify tests
9648 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9649 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9650 two1022, instead use their values. Recognise that tests for large
9651 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9652 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9653 Rewrite all uses of ieee875 long double macros and unions. Simplify
9654 test for 0.0L and nan. Correct negation.
9655 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9656 ieee875 long double macros and unions. Correct output for large
9657 magnitude x. Correct absolute value calculation.
9658 (__erfcl): Likewise.
9659 * math/libm-test.inc: Add tests for errors discovered in IBM long
9660 double versions of fmodl, remainderl, erfl and erfcl.
9661
765714ca
AM
96622013-10-04 Alan Modra <amodra@gmail.com>
9663
9664 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9665 all uses of ieee854 long double macros and unions. Simplify tests
9666 for long doubles that are fully specified by the high double.
9667 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9668 Likewise.
9669 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9670 Remove dead code too.
9671 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9672 (__ieee754_ynl): Likewise.
9673 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9674 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9675 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9676 Remove dead code too.
9677 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9678 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9679 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9680 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9681 Simplify.
9682 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9683 Simplify.
9684 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9685 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9686 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9687 Comment on variable precision.
9688 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9689 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9690 Likewise.
9691 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9692 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9693 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9694 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9695 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9696
4ebd120c
AM
96972013-10-04 Alan Modra <amodra@gmail.com>
9698
9699 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9700 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9701 all uses of ieee854 long double macros and unions.
9702 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9703 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9704 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9705 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9706 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9707 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9708 Likewise.
9709 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9710 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9711 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9712 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9713 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9714 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9715 Simplify sign and nan test too.
9716 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9717 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9718 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9719 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9720 Likewise.
9721 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9722 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9723 Likewise.
9724 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9725 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9727 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9729 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9730
1b6adf88
AM
97312013-10-04 Alan Modra <amodra@gmail.com>
9732
9733 * stdio-common/printf_size.c (__printf_size): Don't use
9734 union ieee854_long_double in fpnum union.
9735 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9736 signbit macro to retrieve sign from long double.
9737 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9738 retrieve sign from long double.
9739 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9740 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9741 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9742 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9743 * math/test-misc.c (main): Don't use union ieee854_long_double.
9744
4cf69995
AM
97452013-10-04 Alan Modra <amodra@gmail.com>
9746
9747 [BZ #15680]
9748 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9749 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9750 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9751 calculation. Remove unnecessary test for denormal exponent.
9752 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9753 Correct handling of denormals. Avoid undefined shift behaviour.
9754 Correct normalisation of low mantissa when low double is denormal.
9755 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9756 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9757 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9758 Correct normalisation of low mantissa. Test for overflow of high
9759 mantissa and normalise.
9760 (ldbl_nearbyint): Use more readable constant for two52.
9761 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9762 (__mpn_construct_long_double): Fix test for overflow of high
9763 mantissa and correct normalisation. Avoid undefined shift.
9764
9605ca6c
AM
97652013-10-04 Alan Modra <amodra@gmail.com>
9766
9767 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9768 (union ibm_extended_long_double): Define as an array of ieee754_double.
9769 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9770 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9771 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9772 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9775 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9779 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9780
975569d0
JM
97812013-10-03 Joseph Myers <joseph@codesourcery.com>
9782
d3d23756
JM
9783 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9784 page size instead of calling getpagesize.
9785
975569d0
JM
9786 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9787 (LOCFILE_ALIGN_MASK): Likewise.
9788 (LOCFILE_ALIGN_UP): Likewise.
9789 (LOCFILE_ALIGNED_P): Likewise.
9790 * locale/programs/ld-collate.c (collate_output): Use the new
9791 macros instead of __alignof__ (int32_t).
9792 * locale/weight.h (findidx): Likewise.
9793
b1fe1f2b
OB
97942013-10-03 Ondřej Bílka <neleai@seznam.cz>
9795
9796 [BZ #431]
9797 * manual/string.texi: Fix strncat and wcsncat.
9798
5f855e35
BM
97992013-10-03 Brooks Moses <bmoses@google.com>
9800
9801 [BZ #15915]
9802 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9803 * Makerules: ...here, and adjust associated comments.
9804
3cef6009
WN
98052013-10-02 Will Newton <will.newton@linaro.org>
9806
9807 * malloc/Makefile: Add tst-pvalloc.
9808 * malloc/tst-pvalloc.c: New file.
9809
7815420b
WN
98102013-10-02 Will Newton <will.newton@linaro.org>
9811
9812 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9813 improve test coverage.
9814
4868b204
WN
98152013-10-02 Will Newton <will.newton@linaro.org>
9816
9817 * malloc/Makefile: Add tst-posix_memalign.
9818 * malloc/tst-posix_memalign.c: New file.
9819
29c793b3
EB
98202013-10-01 Eric Blake <eblake@redhat.com>
9821
9822 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9823 Use __THROWNL rather than __THROW on static functions.
9824
fd967522
PM
98252013-09-30 Petr Machata <pmachata@redhat.com>
9826
9827 * elf/elf.h (R_AARCH64_ABS16): New macro.
9828 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9829 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9830 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9831 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9832 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9833 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9834 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9835 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9836 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9837 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9838 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9839 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9840 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9841 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9842 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9843 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9844 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9845 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9846 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9847 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9848 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9849 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9850 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9851 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9852 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9853 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9854 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9855 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9856 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9857 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9858 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9859 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9860 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9861 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9862 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9863 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9864 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9865 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9866 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9867 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9868 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9869 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9870 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9871 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9872 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9873 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9874 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9875 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9876 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9877 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9878 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9879 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9880 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9881 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9882 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9883 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9884 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9885 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9886 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9887 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9888 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9889 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9890 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9891 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9892 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9893 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9894 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9895 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9896 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9897 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9898 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9899 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9900 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9901 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9902 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9903 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9904 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9905 (R_AARCH64_TLSDESC_LDR): Likewise.
9906 (R_AARCH64_TLSDESC_ADD): Likewise.
9907 (R_AARCH64_TLSDESC_CALL): Likewise.
9908
b2179107
AS
99092013-09-30 Andreas Schwab <schwab@suse.de>
9910
9911 [BZ #15048]
9912 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9913 the nss database lookup.
9914 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9915 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9916
47f28d0a
MF
99172013-09-28 Mike Frysinger <vapier@gentoo.org>
9918
9919 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9920
99212013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9922
9923 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9924 ${Bash-specific parameter/pattern/string} parameter expansion.
9925 * sysdeps/unix/make-syscalls.sh: Likewise.
9926
f4518a17
KK
99272013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9928
9929 * sysdeps/sh/stackguard-macros.h: New file.
9930
dc1a95c7
OB
99312013-09-26 Ondřej Bílka <neleai@seznam.cz>
9932
9933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9934 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9935 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9936 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9937 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9938 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9939
5ebbff8f
AZ
99402013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9941
9942 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9943 Fix thread ID register.
9944
4fd2cf9f
JM
99452013-09-25 Joseph Myers <joseph@codesourcery.com>
9946
9947 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9948 [POSIX || UNIX98]: Require rather than permitting all symbols from
9949 <time.h>.
9950 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9951 element of struct sched_param.
9952 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9953 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9954 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9955 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9956 constant.
9957
12c22bc4
OL
99582013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9959
9960 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9961 argument calculation.
9962
a03d8ea7
JM
99632013-09-24 Joseph Myers <joseph@codesourcery.com>
9964
9965 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9966 Expect macro.
9967 [POSIX] (pthread_attr_t): Do not require type.
9968 [POSIX] (pthread_cond_t): Likewise.
9969 [POSIX] (pthread_condattr_t): Likewise.
9970 [POSIX] (pthread_key_t): Likewise.
9971 [POSIX] (pthread_mutex_t): Likewise.
9972 [POSIX] (pthread_mutexattr_t): Likewise.
9973 [POSIX] (pthread_once_t): Likewise.
9974 [POSIX] (pthread_t): Likewise.
9975 [POSIX-based standards] (pthread_atfork): Expect function.
9976
6055173a
JM
99772013-09-24 Joseph Myers <joseph@codesourcery.com>
9978 Richard Sandiford <richard@codesourcery.com>
9979
9980 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
9981 (swap_endianness_p): New extern variable.
9982 (set_big_endian): New inline function.
9983 (maybe_swap_uint32): Likewise.
9984 (maybe_swap_uint32_array): Likewise.
9985 (maybe_swap_uint32_obstack): Likewise.
9986 * locale/programs/locfile.c: Include <stdbool.h>.
9987 (swap_endianness_p): New variable.
9988 (add_locale_uint32): Call maybe_swap_uint32.
9989 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
9990 (write_locale_data): Call maybe_swap_uint32_array.
9991 * locale/programs/ld-collate.c (obstack_int32_grow): Call
9992 maybe_swap_uint32.
9993 (obstack_int32_grow_fast): Likewise.
9994 (output_weightwc): Call maybe_swap_uint32_obstack.
9995 (collate_output): Likewise.
9996 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
9997 (OPT_LITTLE_ENDIAN): Likewise.
9998 (options): Add --little-endian and --big-endian options.
9999 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10000 * locale/programs/locarchive.c: Include "locfile.h".
10001 (GET): New macro.
10002 (SET): Likewise.
10003 (INC): Likewise.
10004 (create_archive): Use the new macros to access fields of
10005 structures directly mapped from or written to locale archives.
10006 (oldlocrecentcmp): Likewise.
10007 (enlarge_archive): Likewise.
10008 (insert_name): Likewise.
10009 (add_alias): Likewise.
10010 (add_locale): Likewise.
10011 (delete_locales_from_archive): Likewise.
10012 (show_archive_content): Likewise.
10013 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10014 locale data.
10015
39bf0bb4
RM
100162013-09-24 Roland McGrath <roland@hack.frob.com>
10017
10018 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10019 http://www.gnu.org/doc/freemanuals.texi.
10020 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10021
f02eed10
WN
100222013-09-24 Will Newton <will.newton@linaro.org>
10023
10024 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10025 macro.
10026
a3a6c312
JM
100272013-09-23 Joseph Myers <joseph@codesourcery.com>
10028
10029 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10030 unsigned char.
10031
107375ac
MR
100322013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10033
10034 * manual/threads.texi (POSIX Threads): Fix a typo.
10035
141f3a77
SP
100362013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10037
303e567a
SP
10038 [BZ #14547]
10039 * string/tst-strcoll-overflow.c: New test case.
10040 * string/Makefile (xtests): Add tst-strcoll-overflow.
10041 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10042 cache if string sizes may cause integer overflow.
10043
141f3a77
SP
10044 [BZ #14547]
10045 * string/strcoll_l.c (coll_seq): New members rule, idx,
10046 save_idx and back_us.
10047 (get_next_seq_nocache): New function.
10048 (do_compare_nocache): New function.
10049 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10050 when malloc fails.
10051
c61b4d41
CD
100522013-09-23 Carlos O'Donell <carlos@redhat.com>
10053
0b1f8e35
CD
10054 [BZ #15754]
10055 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10056 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10057 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10058
c61b4d41
CD
10059 [BZ #15754]
10060 * elf/Makefile (tests): Add tst-ptrguard1.
10061 (tests-static): Add tst-ptrguard1-static.
10062 (tst-ptrguard1-ARGS): Define.
10063 (tst-ptrguard1-static-ARGS): Define.
10064 * elf/tst-ptrguard1.c: New file.
10065 * elf/tst-ptrguard1-static.c: New file.
10066 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10067 * sysdeps/i386/stackguard-macros.h: Likewise.
10068 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10069 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10070 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10071 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10072 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10073 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10074
100752013-09-23 Hector Marco <hecmargi@upv.es>
10076 Ismael Ripoll <iripoll@disca.upv.es>
10077 Carlos O'Donell <carlos@redhat.com>
10078
10079 [BZ #15754]
10080 * sysdeps/generic/stackguard-macros.h: Define
10081 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10082 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10083 Define __pointer_chk_guard_local.
10084 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10085 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10086
f5f4e7b4
VV
100872013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10088
10089 [BZ #15859]
10090 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10091
5bb43a43
AS
100922013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10093
10094 * include/string.h (__ffs): Declare as hidden.
10095 * string/ffs.c (__ffs): Define as hidden.
10096 * sysdeps/i386/ffs.c (__ffs): Likewise.
10097 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10098 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10099 * sysdeps/s390/ffs.c (__ffs): Likewise.
10100 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10101
3ea5be54
AO
101022013-09-20 Alexandre Oliva <aoliva@redhat.com>
10103
ffb89e53
AO
10104 * NEWS: Mention malloc probes.
10105
322dea08
AO
10106 * malloc/arena.c (new_heap): New memory_heap_new probe.
10107 (grow_heap): New memory_heap_more probe.
10108 (shrink_heap): New memory_heap_less probe.
10109 (heap_trim): New memory_heap_free probe.
10110 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10111 (systrim): New memory_sbrk_less probe.
10112 * manual/probes.texi: Document them.
10113
655673f3
AO
10114 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10115 * manual/probes.texi: Document it.
10116
35fed6f1
AO
10117 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10118 (__libc_realloc): Add memory_realloc_retry probe.
10119 (__libc_memalign): Add memory_memalign_retry probe.
10120 (__libc_valloc): Add memory_valloc_retry probe.
10121 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10122 (__libc_calloc): Add memory_calloc_retry probe.
10123 * manual/probes.texi: Document them.
10124
6999d38c
AO
10125 * malloc/arena.c (get_free_list): Add probe
10126 memory_arena_reuse_free_list.
10127 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10128 and memory_arena_reuse.
10129 (arena_get2) [!PER_THREAD]: Likewise.
10130 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10131 memory_arena_reuse_realloc.
10132 * manual/probes.texi: Document them.
10133
0653427f
AO
10134 * malloc/malloc.c (__libc_free): Add
10135 memory_mallopt_free_dyn_thresholds probe.
10136 (__libc_mallopt): Add multiple memory_mallopt probes.
10137 * manual/probes.texi: Document them.
10138
3ea5be54
AO
10139 * malloc/malloc.c: Include stap-probe.h.
10140 (__libc_mallopt): Add memory_mallopt probe.
10141 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10142 * manual/probes.texi: New.
10143 * manual/Makefile (chapters): Add probes.
10144 * manual/threads.texi: Set next node.
10145
e35696c3 101462013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10147
e35696c3
CL
10148 [BZ #15963, #13985]
10149 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10150 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10151 Add `Chinese' to `nan' entry name.
10152
4aafb73c
SP
101532013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10154
10155 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10156 (POLYNOMIAL): Likewise.
10157 (TAYLOR_SINCOS): Likewise.
10158 (TAYLOR_SLOW): Likewise.
10159 (__sin): Use TAYLOR_SINCOS.
10160 (__cos): Likewise.
10161 (slow): Use TAYLOR_SLOW.
10162 (sloww): Likewise.
10163 (bsloww): Likewise.
10164 (csloww): Likewise.
10165
d84f25c7
LD
101662013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10167
10168 * stdlib/strtod_l.c: Fix buffer overrun.
10169
5eea0404
SP
101702013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10171
7849ff93
SP
10172 * benchtests/Makefile (bench): Add sincos.
10173 * benchtests/bench-sincos.c: New file.
10174
cfa3c886
SP
10175 * math/libm-test.inc (cos_test_data): New test inputs.
10176 (sin_test_data): Likewise.
10177
b348e1e3
SP
10178 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10179 macro.
10180 (__sin): Use it.
10181 (__cos): Likewise.
10182 (slow1): Likewise.
10183 (slow2): Likewise.
10184 (sloww1): Likewise.
10185 (sloww2): Likewise.
10186 (bsloww1): Likewise.
10187 (bsloww2): Likewise.
10188 (cslow2): Likewise.
10189 (csloww1): Likewise.
10190 (csloww2): Likewise.
10191
6cce25f8
SP
10192 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10193 function.
10194 (__sin): Use it.
10195 (__cos): Likewise.
10196
5eea0404
SP
10197 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10198 gotos.
10199 (__cos): Likewise.
10200
9c21573c
MR
102012013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10202
10203 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10204 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10205 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10206 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10207 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10208 * elf/cache.c (print_entry): Handle the new cache flags.
10209
24d22e65
JM
102102013-09-18 Joseph Myers <joseph@codesourcery.com>
10211 Aldy Hernandez <aldyh@redhat.com>
10212
10213 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10214 Change condition to [_SOFT_FLOAT].
10215 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10216 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10217 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10218 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10219 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10220 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10221 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10222 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10223 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10224 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10225 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10226 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10227 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10228 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10229 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10230 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10231 declaration.
10232
d13ef066
JM
102332013-09-18 Joseph Myers <joseph@codesourcery.com>
10234
2e071de0
JM
10235 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10236 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10237 (__longjmp): Use LOAD_GP to load saved GPRs.
10238 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10239 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10240 (__sigsetjmp): Use SAVE_GP to save GPRs.
10241
d13ef066
JM
10242 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10243 Do not append -msoft-float.
10244 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10245
97a0650b
SP
102462013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10247
10248 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10249
11ca09e9
JM
102502013-09-17 Joseph Myers <joseph@codesourcery.com>
10251
10252 [BZ #15966]
10253 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10254 (_FPU_GETCW): Use initial "__" on variable and field names but not
10255 on macro parameter name.
10256 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10257 parentheses around reference to macro parameter.
10258
08ffcf34
RS
102592013-09-13 Richard Sandiford <richard@codesourcery.com>
10260
10261 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10262 prototype.
10263 (ctype_startup): Use uint32_t in cast and sizeof for
10264 ctype->charnames.
10265
ae7080d3
JL
102662013-09-11 Jia Liu <proljc@gmail.com>
10267
10268 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10269 __daddr_t_defined.
10270 [__FreeBSD__]: Likewise.
10271
5905e7b3
OB
102722013-09-11 Ondřej Bílka <neleai@seznam.cz>
10273
10274 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10275 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10276 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10277 (strchr): Remove __strchr_sse42 ifunc selection.
10278 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10279 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10280
b987c776
WN
102812013-09-11 Will Newton <will.newton@linaro.org>
10282
10283 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10284 parameter to RES. Remove hardcoded 1000 value.
10285 * benchtests/bench-skeleton.c (main): Pass RES parameter
10286 to TIMING_INIT and multiply result by 1000.
10287
ddf985af
AZ
102882013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10289
10290 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10291
ffdd3181
AS
102922013-09-11 Andreas Schwab <schwab@suse.de>
10293
10294 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10295 if not defined.
10296 (O_TMPFILE) [__USE_GNU]: Define.
10297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10298 Define.
10299
b73ed247
WN
103002013-09-11 Will Newton <will.newton@linaro.org>
10301
10302 [BZ #15857]
10303 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10304 does not overflow.
10305
55e17aad
WN
103062013-09-11 Will Newton <will.newton@linaro.org>
10307
10308 [BZ #15856]
10309 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10310 does not overflow.
10311
1159a193
WN
103122013-09-11 Will Newton <will.newton@linaro.org>
10313
10314 [BZ #15855]
10315 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10316 does not overflow.
10317
5905e7b3 103182013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10319
10320 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10321 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10322 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10323 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10324 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10325
cdfc721b
AM
103262013-09-10 Allan McRae <allan@archlinux.org>
10327
aa04af00
AM
10328 [BZ #15748]
10329 * manual/arith.texi (Parsing of Floats): Clarify
10330 cross-reference.
10331
cdfc721b
AM
10332 [BZ #15849]
10333 * manual/install.texi (Running make install): Mention
10334 --enable-pt-chown.
10335 * INSTALL: Regenerated.
10336
95e7cf29
MR
103372013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10338
10339 * csu/init-first.c (_init): Remove the !SHARED condition around
10340 FPU control word initialization.
10341 * elf/dl-support.c (_dl_fpu_control): New variable.
10342 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10343 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10344 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10345 * math/test-fpucw-static.c: New file.
10346 * math/test-fpucw-ieee.c: New file.
10347 * math/test-fpucw-ieee-static.c: New file.
10348 * math/Makefile (tests): Add `test-fpucw-ieee' and
10349 `$(tests-static)'.
10350 (tests-static): New variable.
10351 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10352 dependency to...
10353 [($(build-shared),yes)]
10354 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10355 ... this.
10356 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10357 New dependency.
10358
83e43bf0
AM
103592013-09-09 Allan McRae <allan@archlinux.org>
10360
a9f5ce09
AM
10361 [BZ #15939]
10362 * manual/string.texi (Collation Functions): Fix typo in
10363 strcoll example.
10364 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10365
34829bc2
AM
10366 [BZ #15893]
10367 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10368
3932737d
AM
10369 [BZ #15892]
10370 * libio/memstream.c (open_memstream): Fix memory leak.
10371 * libio/wmemstream.c (open_wmemstream): Likewise.
10372
83e43bf0
AM
10373 [BZ #15895]
10374 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10375
0c66b8e9
WN
103762013-09-09 Will Newton <will.newton@linaro.org>
10377
10378 * malloc/Makefile: Add tst-realloc to tests.
10379 * malloc/tst-realloc.c: New file.
10380
f6b00fd1
AM
103812013-09-09 Allan McRae <allan@archlinux.org>
10382
10383 [BZ #15844]
10384 * COPYING: Update from GNU website to fix FSF address.
10385 * COPYING.LIB: Likewise.
10386
eec55e16
DM
103872013-09-06 David S. Miller <davem@davemloft.net>
10388
10389 * po/zh_TW.po: Update Chinese (traditional) translation from
10390 translation project.
10391
1ecbb381
RS
103922013-09-06 Richard Sandiford <richard@codesourcery.com>
10393 Joseph Myers <joseph@codesourcery.com>
10394
10395 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10396 "localeinfo.h".
10397 (obstack_chunk_alloc): New macro.
10398 (obstack_chunk_free): Likewise.
10399 (record_offset): New function.
10400 (init_locale_data): Likewise.
10401 (align_locale_data): Likewise.
10402 (add_locale_empty): Likewise.
10403 (add_locale_raw_data): Likewise.
10404 (add_locale_raw_obstack): Likewise.
10405 (add_locale_string): Likewise.
10406 (add_locale_wstring): Likewise.
10407 (add_locale_uint32): Likewise.
10408 (add_locale_uint32_array): Likewise.
10409 (add_locale_char): Likewise.
10410 (start_locale_structure): Likewise.
10411 (end_locale_structure): Likewise.
10412 (start_locale_prelude): Likewise.
10413 (end_locale_prelude): Likewise.
10414 (write_locale_data): Take locale_file structure rather than an
10415 iovec.
10416 * locale/programs/locfile.h: Include "obstack.h".
10417 (struct locale_file): Change to store locale file contents instead
10418 of header.
10419 (init_locale_data): New prototype.
10420 (align_locale_data): Likewise.
10421 (add_locale_empty): Likewise.
10422 (add_locale_raw_data): Likewise.
10423 (add_locale_raw_obstack): Likewise.
10424 (add_locale_string): Likewise.
10425 (add_locale_wstring): Likewise.
10426 (add_locale_uint32): Likewise.
10427 (add_locale_uint32_array): Likewise.
10428 (add_locale_char): Likewise.
10429 (start_locale_structure): Likewise.
10430 (end_locale_structure): Likewise.
10431 (start_locale_prelude): Likewise.
10432 (end_locale_prelude): Likewise.
10433 (write_locale_data): Update prototype.
10434 * locale/programs/3level.h (struct TABLE): Remove result field.
10435 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10436 Use new locale_file interface.
10437 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10438 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10439 * locale/programs/ld-address.c (address_output): Use new
10440 locale_file interface.
10441 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10442 NO_ADD_LOCALE.
10443 (collate_finish): Don't call collseq_table_finalize.
10444 (collate_output): Use new locale_file interface.
10445 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10446 in file.
10447 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10448 (TABLE): Move defines earlier in file.
10449 (ELEMENT): Likewise.
10450 (DEFAULT): Likewise.
10451 (wctrans_table_add): Move macro and inline function earlier in
10452 file.
10453 (struct wctype_table): Move type earlier in file.
10454 (add_locale_wctype_table): New static prototype.
10455 (struct locale_ctype_t): Use logical types instead of struct iovec
10456 pointers for members.
10457 (ctype_output): Use new locale_file interface.
10458 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10459 new locale_file interface.
10460 (allocate_arrays): Update for use of new locale_file interface.
10461 * locale/programs/ld-identification.c (identification_output): Use
10462 new locale_file interface.
10463 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10464 * locale/programs/ld-messages.c (messages_output): Likewise.
10465 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10466 * locale/programs/ld-name.c (name_output): Likewise.
10467 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10468 * locale/programs/ld-paper.c (paper_output): Likewise.
10469 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10470 * locale/programs/ld-time.c (time_output): Likewise.
10471
e029e2e5
AZ
104722013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10473
10474 * benchtests/Makefile: Add memrchr benchmark.
10475 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10476 benchmark as memrchr.
10477 * benchtests/bench-memrchr-ifunc.c: New file.
10478 * benchtests/bench-memrchr.c: New file.
10479
bbf6e8e4
WN
104802013-09-06 Will Newton <will.newton@linaro.org>
10481
10482 * benchtests/Makefile (string-bench): Add memcpy.
10483
6c82a2f8
CD
104842013-09-05 Carlos O'Donell <carlos@redhat.com>
10485 Cong Wang <amwang@redhat.com>
10486
e732c5f0 10487 [BZ #15850]
6c82a2f8
CD
10488 * sysdeps/unix/sysv/linux/bits/in.h
10489 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10490 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10491 before __USE_KERNEL_IPV6_DEFS uses.
10492 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10493 IPPROTO_BEETPH.
10494 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10495 sockaddr_in6, or ipv6_mreq.
10496
5430fc65
AZ
104972013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10498
10499 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10500 memory access for final bytes in some large inputs.
10501 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10502
4660856c
AZ
105032013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10504
10505 * string/test-memrchr.c: New file.
10506 * string/test-memrchr-ifunc.c: New file.
10507 * string/Makefile: Add new memrchr testcase.
10508
bb8ea713
MF
105092013-09-05 Mike Frysinger <vapier@gentoo.org>
10510
10511 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10512 fanotify_init returns EPERM.
10513
b92a20b5
JM
105142013-09-04 Joseph Myers <joseph@codesourcery.com>
10515
10516 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10517 errors.
10518 (top level): Treat second token from macro or constant entries for
10519 allowed headers as allowed.
10520 * include/complex.h: Condition internal declarations on
10521 [!_ISOMAC].
10522 * include/fenv.h: Condition include of <stdbool.h> and internal
10523 declarations on [!_ISOMAC].
7447ccd9
CL
10524
105252013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10526
3e181dda 10527 [BZ #15923]
7447ccd9
CL
10528 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10529
3f2e46a4
JM
105302013-09-04 Joseph Myers <joseph@codesourcery.com>
10531
10532 * configure.in (--enable-versioning): Remove configure option.
10533 (libc_cv_asm_symver_directive): Remove configure test.
10534 (libc_cv_ld_version_script_option): Likewise.
10535 (VERSIONING): Remove variable and AC_SUBST.
10536 (DO_VERSIONING): Remove AC_DEFINE.
10537 * configure: Regenerated.
10538 * config.h.in (DO_VERSIONING): Remove macro.
10539 * Makerules [$(versioning) = yes]: Change conditionals to
10540 [$(build-shared) = yes].
10541 * config.make.in (versioning): Remove variable.
10542 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10543 [$(build-shared) = yes].
10544 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10545 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10546 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10547 [$(build-shared) = yes].
10548 * extra-lib.mk [$(versioning) = yes]: Likewise.
10549 * hurd/Makefile [$(versioning) = yes]: Likewise.
10550 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10551 [SHARED].
10552 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10553 [SHARED].
10554 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10555 [SHARED && !NO_HIDDEN].
10556 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10557 [SHARED].
10558 [SHARED && DO_VERSIONING]: Likewise..
10559 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10560 [$(build-shared) = yes].
10561 * manual/install.texi (--disable-versioning): Remove
10562 documentation.
10563 * INSTALL: Regenerated.
10564 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10565 to [SHARED].
10566 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10567 [$(build-shared) = yes].
10568 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10569 * sysdeps/i386/i686/multiarch/strstr-c.c
10570 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10571 [SHARED && !NO_HIDDEN].
10572 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10573 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10574 * sysdeps/powerpc/powerpc32/dl-machine.c
10575 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10576 * sysdeps/powerpc/powerpc32/sysdep.h
10577 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10578 to [SHARED && PIC && !NO_HIDDEN].
10579 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10580 conditional to [SHARED].
10581
44558701
WN
105822013-09-04 Will Newton <will.newton@linaro.org>
10583
10584 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10585 * benchtests/bench-string.h: Include bench-timing.h instead
10586 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10587 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10588 call to HP_TIMING_DIFF_INIT.
10589 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10590 instead of hp-timing.h macros.
10591 * benchtests/bench-memchr.c: Likewise.
10592 * benchtests/bench-memcmp.c: Likewise.
10593 * benchtests/bench-memcpy.c: Likewise.
10594 * benchtests/bench-memmem.c: Likewise.
10595 * benchtests/bench-memmove.c: Likewise.
10596 * benchtests/bench-memset.c: Likewise.
10597 * benchtests/bench-rawmemchr.c: Likewise.
10598 * benchtests/bench-strcasecmp.c: Likewise.
10599 * benchtests/bench-strcasestr.c: Likewise.
10600 * benchtests/bench-strcat.c: Likewise.
10601 * benchtests/bench-strchr.c: Likewise.
10602 * benchtests/bench-strcmp.c: Likewise.
10603 * benchtests/bench-strcpy.c: Likewise.
10604 * benchtests/bench-strcpy_chk.c: Likewise.
10605 * benchtests/bench-strlen.c: Likewise.
10606 * benchtests/bench-strncasecmp.c: Likewise.
10607 * benchtests/bench-strncat.c: Likewise.
10608 * benchtests/bench-strncmp.c: Likewise.
10609 * benchtests/bench-strncpy.c: Likewise.
10610 * benchtests/bench-strnlen.c: Likewise.
10611 * benchtests/bench-strpbrk.c: Likewise.
10612 * benchtests/bench-strrchr.c: Likewise.
10613 * benchtests/bench-strspn.c: Likewise.
10614 * benchtests/bench-strstr.c: Likewise.
10615
cae16d66
WN
106162013-09-04 Will Newton <will.newton@linaro.org>
10617
10618 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10619
ffa3cd7f
JM
106202013-09-03 Joseph Myers <joseph@codesourcery.com>
10621
10622 [BZ #15427]
10623 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10624 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10625 * math/libm-test.inc (lgamma_test_data): Add more tests.
10626 * sysdeps/i386/fpu/libm-test-ulps: Update.
10627 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10628
8f02859f
OB
106292013-09-03 Ondřej Bílka <neleai@seznam.cz>
10630
10631 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10632 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10633 Add ifunc.
10634 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10635 Add strcmp-sse2-unaligned
10636 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10637
18d43716
MF
106382013-09-02 Mike Frysinger <vapier@gentoo.org>
10639
10640 * Versions.def (libc): Add GLIBC_2.19.
10641
ac444012
MF
106422013-09-02 Mike Frysinger <vapier@gentoo.org>
10643
10644 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10645 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10646
b7835e32
JM
106472013-09-02 Joseph Myers <joseph@codesourcery.com>
10648
10649 [BZ #14155]
10650 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10651 intermediate calculations in recurrence.
10652 (__ieee754_ynf): Likewise.
10653 * math/libm-test.inc (jn_test_data): Do not allow spurious
10654 underflow exception. Add more tests.
10655 (yn_test_data): Add more tests.
10656 * sysdeps/i386/fpu/libm-test-ulps: Update.
10657 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10658
8220f4f0
OB
106592013-09-02 Ondřej Bílka <neleai@seznam.cz>
10660
10661 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10662
f24a6d08
OB
106632013-08-30 Ondřej Bílka <neleai@seznam.cz>
10664
10665 * csu/init-first.c: Fix then/than typos.
10666 * locale/programs/ld-collate.c: Likewise.
10667 * locale/programs/linereader.h: Likewise.
10668 * manual/charset.texi: Likewise.
10669 * manual/filesys.texi: Likewise.
10670 * manual/stdio.texi: Likewise.
10671 * manual/string.texi: Likewise.
10672 * stdlib/fmtmsg.c: Likewise.
10673 * sysdeps/i386/stpncpy.S: Likewise.
10674 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10675 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10676 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10677 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10678
382466e0
OB
106792013-08-30 Ondřej Bílka <neleai@seznam.cz>
10680
10681 * elf/dl-open.c: Fix typos.
10682 * iconvdata/gbbig5.c: Likewise.
10683 * iconvdata/iso-2022-jp.c: Likewise.
10684 * iconv/gconv_int.h: Likewise.
10685 * iconv/loop.c: Likewise.
10686 * nis/rpcsvc/nis.h: Likewise.
10687 * resolv/ns_name.c: Likewise.
10688 * stdio-common/vfscanf.c: Likewise.
10689 * streams/stropts.h: Likewise.
10690 * sunrpc/rpc_thread.c: Likewise.
10691 * sysdeps/i386/strpbrk.S: Likewise.
10692 * sysdeps/ieee754/k_standard.c: Likewise.
10693 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10694 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10695 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10696 * sysdeps/mach/hurd/profil.c: Likewise.
10697 * sysdeps/s390/dl-procinfo.h: Likewise.
10698 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10699 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10700 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10701 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10702 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10703
0186c6e9
OB
107042013-08-30 Ondřej Bílka <neleai@seznam.cz>
10705
10706 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10707 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10708
d4e16af1
OB
107092013-08-29 Ondřej Bílka <neleai@seznam.cz>
10710
10711 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10712 aix specific files.
10713 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10714 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10715 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10716 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10717 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10718 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10719 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10720 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10721
88335980
TS
107222013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10723 Roland McGrath <roland@hack.frob.com>
10724
10725 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10726 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10727
ed479b02
ST
107282013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10729
10730 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10731 __executable_start symbol instead of _start.
10732
f1cc4c86
TS
107332013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10734
d821f07c
TS
10735 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10736 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10737 Move macros to...
10738 * sysdeps/gnu/ldsodefs.h: ... this new file.
10739
c54290cf
TS
10740 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10741 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10742 instead of ELFOSABI_LINUX.
10743
0007fc9b 10744 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10745 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10746 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10747 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10748 Likewise.
10749 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10750 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10751 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10752 Likewise.
10753 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10754 (ibm_extended_long_double): Add ieee_nan member.
10755 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10756 (do_test): New function.
10757
f1cc4c86
TS
10758 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10759 TEST_TRUNC.
10760 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10761 functions, renamed from truncdfsf_test, trunctfsf_test,
10762 trunctfdf_test.
10763 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10764 functions.
10765 (do_test): Run all these.
10766
6f65e668
OB
107672013-08-29 Ondřej Bílka <neleai@seznam.cz>
10768
10769 * argp/argp-help.c: Fix typos.
10770 * argp/argp-parse.c: Likewise.
10771 * debug/backtracesyms.c: Likewise.
10772 * elf/elf.h: Likewise.
10773 * malloc/malloc.c: Likewise.
10774 * nis/nis_print.c: Likewise.
10775 * resolv/res_comp.c: Likewise.
10776 * stdlib/stdlib.h: Likewise.
10777 * sunrpc/clnt_tcp.c: Likewise.
10778 * sunrpc/clnt_udp.c: Likewise.
10779 * sunrpc/clnt_unix.c: Likewise.
10780 * sysdeps/unix/bsd/ptsname.c: Likewise.
10781 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10782 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10783 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10784 Likewise.
10785 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10786 Likewise.
10787 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10788 Likewise.
6f65e668
OB
10789 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10790
3a309239
SP
107912013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10792
10793 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10795
3b813b29
MF
107962013-08-27 Mike Frysinger <vapier@gentoo.org>
10797
10798 [BZ #15897]
10799 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10800 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10801 ($(objpfx)bug-dl-leaf): New rule.
10802 ($(objpfx)bug-dl-leaf.so): Likewise.
10803 ($(objpfx)bug-dl-leaf.out): Likewise.
10804 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10805 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10806 * dlfcn/bug-dl-leaf.c: New test.
10807 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10808 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10809 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10810 (dlclose): Likewise.
10811 (dlmopen): Likewise.
10812
8cc3269f
RM
108132013-08-27 Roland McGrath <roland@hack.frob.com>
10814
7f9d0034
RM
10815 * include/netdb.h [!_ISOMAC]:
10816 Don't include <tls.h>.
10817 (h_errno, __libc_h_errno): Move declaration and macros out of
10818 [_LIBC_REENTRANT].
10819
fb431262
RM
10820 * include/resolv.h [_RESOLV_H_]:
10821 Don't include <tls.h>.
10822 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10823 * resolv/res_libc.c: Don't include <tls.h>.
10824 (_res): Use __attribute__ ((nocommon)) in place of
10825 __attribute__ ((section (".bss"))).
10826
bd81123a
RM
10827 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10828 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10829
c4e42566
RM
10830 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10831
f890a59b
RM
10832 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10833 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10834
10835 * resolv/res_mkquery.c: Include <sys/time.h>.
10836
5d1f0a09
RM
10837 * inet/ifreq.c: Moved to ...
10838 * sysdeps/unix/ifreq.c: ... here.
10839 * inet/ifreq.c: New file, true stub version.
10840
6fcf28b3
RM
10841 * socket/sa_len.c: New file.
10842 * socket/Makefile (aux): Add it.
10843 * sysdeps/unix/sysv/linux/Makefile
10844 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10845 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10846 and #include <socket/sa_len.c>.
10847 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10848 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10849
e041fb8b
RM
10850 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10851 * bits/socket.h: ... here.
10852
8cc3269f
RM
10853 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10854 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10855 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10856
5d228a43
AS
108572013-08-27 Andreas Schwab <schwab@suse.de>
10858
45b8accc
AS
10859 [BZ #15736]
10860 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10861 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10862 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10863 * string/test-strcasecmp.c (test_main): Run tests in several
10864 locales.
10865 * string/test-strncasecmp.c (test_main): Likewise.
10866
5d228a43
AS
10867 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10868 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10869 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10870 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10871 (__strncasecmp_ssse3) [PIC]: Likewise.
10872
59d112a4
RM
108732013-08-26 Roland McGrath <roland@hack.frob.com>
10874
53234cc3
RM
10875 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10876
59d112a4
RM
10877 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10878 instead of explicitly declaring xdecrypt.
10879 * nis/nss_nis/nis-publickey.c: Likewise.
10880
595aba70
SP
108812013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10882
10883 [BZ #15890]
10884 * nscd/aicache.c: Include res_hconf.h.
10885 (addhstaiX): Initialize res_hconf.
10886
ffabd393
AS
108872013-08-26 Andreas Schwab <schwab@suse.de>
10888
10889 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10890 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10891
e0a69f5c
SP
108922013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10893
10894 * nscd/aicache.c (addhstaiX): Fix indentation.
10895
8c12f01d
MF
108962013-08-25 Mike Frysinger <vapier@gentoo.org>
10897
10898 * configure.ac: Quote $build_pt_chown test.
10899 * configure: Regenerated.
10900
8fe89494
JM
109012013-08-23 Joseph Myers <joseph@codesourcery.com>
10902
10903 [BZ #15532]
10904 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10905 * math/s_cexpf.c (__cexpf): Likewise.
10906 * math/s_cexpl.c (__cexpl): Likewise.
10907 * math/libm-test.inc (cexp_test_data): Correct expected return
10908 value for NaN + i0. Add another test.
10909
75b181d6
DM
109102013-08-22 David S. Miller <davem@davemloft.net>
10911
10912 * po/ca.po: Update Catalan translation from translation project.
936241e4 10913 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10914
acd06bb1
JM
109152013-08-21 Joseph Myers <joseph@codesourcery.com>
10916
10917 [BZ #15797]
10918 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10919 is infinite, not alongside NaN test.
10920 * math/s_fdimf.c (__fdimf): Likewise.
10921 * math/s_fdiml.c (__fdiml): Likewise.
10922 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10923 errno is unchanged.
10924
c0c3f78a
OB
109252013-08-21 Ondřej Bílka <neleai@seznam.cz>
10926
10927 * argp/argp-help.c: Fix typos.
10928 * crypt/speeds.c: Likewise.
10929 * csu/check_fds.c: Likewise.
10930 * elf/dl-load.c: Likewise.
10931 * elf/dl-open.c: Likewise.
10932 * elf/reldep3.c: Likewise.
10933 * elf/reldep.c: Likewise.
10934 * elf/sprof.c: Likewise.
10935 * iconv/iconv_charmap.c: Likewise.
10936 * iconv/skeleton.c: Likewise.
10937 * iconv/strtab.c: Likewise.
10938 * io/lockf64.c: Likewise.
10939 * libio/libioP.h: Likewise.
10940 * resolv/gai_notify.c: Likewise.
10941 * resolv/ns_name.c: Likewise.
10942 * resolv/ns_samedomain.c: Likewise.
10943 * resolv/res_send.c: Likewise.
10944 * stdlib/random.c: Likewise.
10945 * sunrpc/rpc/xdr.h: Likewise.
10946 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10947 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10948 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10949 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10950 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10951 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10952 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10953 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10954 * sysdeps/mach/hurd/check_fds.c: Likewise.
10955 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10956 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10957 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10958 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10959 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10960 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10961 * sysdeps/pthread/aio_notify.c: Likewise.
10962 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10963 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10964 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10965 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10966 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10967
46ed1038
LD
109682013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10969
10970 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10971 version if bit_Slow_SSE4_2 is set.
10972 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10973 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10974
d400dcac
AZ
109752013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10976
10977 [BZ #15867]
10978 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
10979 trampoline stack frame information.
10980 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
10981 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
10982 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
10983 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
10984 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
10985 * sysdeps/unix/sysv/linux/powerpc/init-first.c
10986 (_libc_vdso_platform_setup): Initialize the signal trampolines.
10987 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
10988 sa_flags value.
10989 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
10990 interrupting a syscall and set with option SA_SIGINFO.
10991
42c8fdd8
JM
109922013-08-20 Joseph Myers <joseph@codesourcery.com>
10993
c980f2f4
JM
10994 [BZ #15531]
10995 * math/s_cproj.c (__cproj): Only return an infinity if one part of
10996 argument is infinite.
10997 * math/s_cprojf.c (__cprojf): Likewise.
10998 * math/s_cprojl.c (__cprojl): Likewise.
10999 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11000 * math/libm-test.inc (cproj_test_data): Add more tests.
11001
0716c4fc
JM
11002 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11003
42c8fdd8
JM
11004 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11005 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11006 size. Use __ffs to determine corresponding shift.
11007
b31469d0
JM
110082013-08-20 Joseph Myers <joseph@codesourcery.com>
11009 Roland McGrath <roland@hack.frob.com>
11010
11011 * Makefile (INSTALL): Remove trailing blank lines from output of
11012 makeinfo.
11013
4e39af6e
AK
110142013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11015
11016 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11017 Align 32 bit compat elf_greg to 8 bytes.
11018
f315524e
AA
110192013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11020
11021 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11022
1326ba1a
SP
110232013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11024
11025 * string/strcoll_l.c (coll_seq): New structure.
11026 (get_next_seq_cached): New function.
11027 (get_next_seq): New function.
11028 (do_compare): New function.
11029 (STRCOLL): Use GNU style definition. Simplify implementation
11030 by using get_next_seq, get_next_seq_cached and do_compare.
11031
91ce4085
FW
110322013-08-16 Florian Weimer <fweimer@redhat.com>
11033
11034 [BZ #14699]
11035 CVE-2013-4237
11036 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11037 member.
11038 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11039 member.
11040 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11041 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11042 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11043 conditional.
11044 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11045 GETDENTS_64BIT_ALIGNED.
11046 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11047 * manual/filesys.texi (Reading/Closing Directory): Document
11048 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11049 strongly.
11050 * manual/conf.texi (Limits for Files): Add portability note to
11051 NAME_MAX, PATH_MAX.
11052 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11053
ca0a6bc4
AS
110542013-08-13 Andreas Schwab <schwab@suse.de>
11055
11056 [BZ #15749]
11057 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11058 of fabs.
11059 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11060 LDBL_MAX_EXP >= 16384]: Add tests for it.
11061
6c1fd795
DM
110622013-08-12 David S. Miller <davem@davemloft.net>
11063
11064 * version.h (RELEASE): Set to "development".
11065 (VERSION): Set to "2.18.90".
11066 * NEWS: Add 2.19 section.
11067
31ad488d
DM
110682013-08-03 David S. Miller <davem@davemloft.net>
11069
11070 * po/ko.po: Update Korean translation from translation project.
11071
db24e684
DM
110722013-08-01 David S. Miller <davem@davemloft.net>
11073
11074 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11075 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11076 Bilka.
11077
f723285b
DM
110782013-07-30 David S. Miller <davem@davemloft.net>
11079
11080 * po/fr.po: Update French translation from translation project.
11081
3cbc52db
DM
110822013-07-28 David S. Miller <davem@davemloft.net>
11083
30bbc0cc
DM
11084 * po/cs.po: Update Czech translation from translation project.
11085
3cbc52db
DM
11086 * po/sv.po: Update Swedish translation from translation project.
11087
d492e6d0
DM
110882013-07-27 David S. Miller <davem@davemloft.net>
11089
f1a7f492
DM
11090 * po/eo.po: Update Esperanto translation from translation project.
11091
90e62a4a
DM
11092 * po/vi.po: Update Vietnamese translation from translation project.
11093
d492e6d0
DM
11094 * po/de.po: Update German translation from translation project.
11095
d4baa62d
DM
110962013-07-26 David S. Miller <davem@davemloft.net>
11097
641aa7b4
DM
11098 * po/bg.po: Update Bulgarian translation from translation project.
11099
d4baa62d
DM
11100 * po/nl.po: Update Dutch translation from translation project.
11101 * po/pl.po: Update Polish translation from translation project.
11102 * po/ru.po: Update Russian translation from translation project.
11103
61a9dcb9
DM
111042013-07-24 David S. Miller <davem@davemloft.net>
11105
11106 * po/libc.pot: Update.
11107
7b1f8b58
AZ
111082013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11109
11110 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11111 variable page size.
11112 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11113 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11114 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11115
a8fc7a03
AK
111162013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11117
11118 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11119
e4608715
CD
111202013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11121 Andreas Schwab <schwab@suse.de>
11122 Roland McGrath <roland@hack.frob.com>
11123 Joseph Myers <joseph@codesourcery.com>
11124 Carlos O'Donell <carlos@redhat.com>
11125
11126 [BZ #15755]
11127 * config.h.in: Define HAVE_PT_CHOWN.
11128 * config.make.in (build-pt-chown): New variable.
11129 * configure.in (--enable-pt_chown): New configure option.
11130 * configure: Regenerate.
11131 * login/Makefile: Include Makeconfig. Build pt_chown only if
11132 build-pt-chown is enabled.
11133 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11134 pt_chown to fix pty ownership.
11135 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11136 CLOSE_ALL_FDS.
11137 * manual/install.texi (Configuring and compiling): Mention
11138 --enable-pt_chown. Add @findex for grantpt.
11139 * INSTALL: Regenerate.
11140
da2d62df
DM
111412013-07-20 David S. Miller <davem@davemloft.net>
11142
11143 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11144 difference between 32-bit and 64-bit.
11145
d7e06450
CD
111462013-07-15 Carlos O'Donell <carlos@redhat.com>
11147
11148 [BZ #15711]
11149 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11150 Avoid system header dependency with -ffreestanding.
11151 ($(objpfx)bits/syscall%d): Likewise.
11152
f959cfd7
DM
111532013-07-13 David S. Miller <davem@davemloft.net>
11154
11155 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11156 underflows from atanl/atan2l due to bug 15319.
11157 (casinh_test_data): Likewise.
11158
c61f8513
DM
111592013-07-07 David S. Miller <davem@davemloft.net>
11160
11161 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11162
72c90ed0
JA
111632013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11164
11165 * sysdeps/i386/fpu/libm-test-ulps: Update.
11166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11167
52dfbe13
SP
111682013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11169
11170 * configure.in (--enable-lock-elision): Fix message text.
11171 * INSTALL: Regenerate.
11172 * configure: Regenerate.
11173
3f169543
AZ
111742013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11175
11176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11177
521c6785
AJ
111782013-07-03 Andreas Jaeger <aj@suse.de>
11179
11180 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11181 define.
11182 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11183 (ptrace_peeksiginfo_args): Add.
11184 (__ptrace_peeksiginfo_flags): Add.
11185 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11186 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11187 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11188
d2cc15cb
AM
111892013-07-03 Allan McRae <allan@archlinux.org>
11190
11191 * sysdeps/i386/fpu/libm-test-ulps: Update.
11192
3aaeeca7
DM
111932013-07-02 David S. Miller <davem@davemloft.net>
11194
11195 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11196
5314ed1a
MT
111972013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11198
11199 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11200
67338156
JM
112012013-07-02 Joseph Myers <joseph@codesourcery.com>
11202
11203 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11204 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11205
1717da59
AK
112062013-07-02 Andi Kleen <ak@linux.intel.com>
11207
11208 * config.h.in (ENABLE_LOCK_ELISION): Add.
11209 * configure.in (--enable-lock-elision): Add option.
11210 * manual/install.texi: Document --enable lock elision.
11211 * configure: Regenerate
11212 * INSTALL: Regenerate.
11213
1c81621c
L
112142013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11215
11216 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11217 SSE4.2 strcasecmp for libc.a.
11218 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11219
77f01ab5
JM
112202013-07-02 Joseph Myers <joseph@codesourcery.com>
11221
11222 [BZ #13304]
11223 * soft-fp/op-common.h (_FP_FMA): New macro.
11224 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11225 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11226 (_FP_MUL_MEAT_1_imm): ... here.
11227 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11228 (_FP_MUL_MEAT_1_wide): ... here.
11229 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11230 (_FP_MUL_MEAT_1_hard): ... here.
11231 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11232 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11233 (_FP_MUL_MEAT_2_wide): ... here.
11234 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11235 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11236 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11237 (_FP_MUL_MEAT_2_gmp): ... here.
11238 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11239 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11240 (_FP_MUL_MEAT_4_wide): ... here.
11241 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11242 (_FP_MUL_MEAT_4_gmp): ... here.
11243 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11244 (_FP_WFRACBITS_DW_S): Likewise.
11245 (_FP_WFRACXBITS_DW_S): Likewise.
11246 (_FP_HIGHBIT_DW_S): Likewise.
11247 (FP_FMA_S): Likewise.
11248 (_FP_FRAC_HIGH_DW_S): Likewise.
11249 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11250 (_FP_WFRACBITS_DW_D): Likewise.
11251 (_FP_WFRACXBITS_DW_D): Likewise.
11252 (_FP_HIGHBIT_DW_D): Likewise.
11253 (FP_FMA_D): Likewise.
11254 (_FP_FRAC_HIGH_DW_D): Likewise.
11255 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11256 (_FP_WFRACBITS_DW_E): Likewise.
11257 (_FP_WFRACXBITS_DW_E): Likewise.
11258 (_FP_HIGHBIT_DW_E): Likewise.
11259 (FP_FMA_E): Likewise.
11260 (_FP_FRAC_HIGH_DW_E): Likewise.
11261 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11262 (_FP_WFRACBITS_DW_Q): Likewise.
11263 (_FP_WFRACXBITS_DW_Q): Likewise.
11264 (_FP_HIGHBIT_DW_Q): Likewise.
11265 (FP_FMA_Q): Likewise.
11266 (_FP_FRAC_HIGH_DW_Q): Likewise.
11267 * soft-fp/fmasf4.c: New file.
11268 * soft-fp/fmadf4.c: Likewise.
11269 * soft-fp/fmatf4.c: Likewise.
11270
6308fd9a
LD
112712013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11272
11273 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11274 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11275 Silvermont.
11276 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11277 macro.
11278 (index_Slow_SSE4_2): Likewise.
11279 (index_Prefer_PMINUB_for_stringop): Likewise.
11280 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11281 bit_Slow_SSE4_2 is set.
11282 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11283 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11284
89cd9569
RA
112852013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11286
11287 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11288 rtld_global._dl_hwcap2.
11289 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11290 POWER8.
11291 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11292 POWER8 feature descriptions defined in _dl_hwcap2.
11293 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11294 string handling for POWER8 feature bits.
11295 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11296 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11297 _dl_powerpc_cap_flags.
11298 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11299 * sysdeps/powerpc/rtld-global-offsets.sym
11300 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11301 _dl_hwcap2 in the rtld_global_ro structure.
11302
1ae8bfe0
RA
113032013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11304
11305 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11306 hardware capabilities in support of AT_HWCAP2.
11307 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11308 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11309 GLRO(dl_hwcap2).
11310 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11311 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11312 explicitly the unknown a_type display mechanism is used.
11313 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11314 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11315 struct member.
11316 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11317 to macro prototype for AT_HWCAP2 support.
11318 * sysdeps/i386/dl-procinfo.h: Likewise.
11319 * sysdeps/s390/dl-procinfo.h: Likewise.
11320 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11321 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11322 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11323 return -1 for unknown a_type display fallback.
11324 * sysdeps/sparc/dl-procinfo.h: Likewise.
11325 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11326 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11327
8fbec010
JM
113282013-06-28 Joseph Myers <joseph@codesourcery.com>
11329
11330 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11331 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11332
0432680e
PY
113332013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11334
11335 [BZ #12492]
11336 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11337 mprotect making __stack_prot writable.
11338
ce61a2ad
NF
113392013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11340 Joseph Myers <joseph@codesourcery.com>
11341
11342 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11343 as being properly aligned.
11344
f91f1c0f
MR
113452013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11346
3d0f5d0c
MR
11347 * dlfcn/modstatic5.c: New file.
11348 * dlfcn/tststatic5.c: New file.
11349 * dlfcn/Makefile (tests): Add tststatic5.
11350 (tests-static): Likewise.
11351 (modules-names): Add modstatic5.
11352 (tststatic5-ENV): New variable.
11353 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11354
f91f1c0f
MR
11355 [BZ #15022]
11356 * elf/dl-support.c (_dl_main_map): New variable.
11357 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11358 (_dl_nns, _dl_load_adds): Set to 1.
11359 (_dl_initial_searchlist): Refer to _dl_main_map.
11360 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11361 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11362 call to _dl_get_origin.
11363 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11364 around call_map.
11365 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11366 * dlfcn/modstatic3.c: New file.
11367 * dlfcn/tststatic3.c: New file.
11368 * dlfcn/tststatic4.c: New file.
11369 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11370 (tests-static): Likewise.
11371 (modules-names): Add modstatic3.
11372 (tststatic3-ENV, tststatic4-ENV): New variables.
11373 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11374 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11375
cbe7d24b
JM
113762013-06-26 Joseph Myers <joseph@codesourcery.com>
11377
11378 * configure.in (CC): Require GCC version 4.4 or later.
11379 * configure: Regenerated.
11380 * manual/install.texi (Tools for Compilation): Update GCC version
11381 requirement.
11382 * INSTALL: Regenerated.
11383
11b8a0e1
LD
113842013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11385
11386 [BZ #15674]
bb5bb87c
L
11387 * string/test-memcmp.c (check2): New.
11388 (main): Call check2.
11389
11b8a0e1
LD
11390 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11391
b0037103
MR
113922013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11393
11394 [BZ #15022]
11395 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11396 over to...
11397 (dl_open_worker) [!SHARED]: ... here.
11398
c18c701d
RA
113992013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11400
11401 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11402
1d17fa5f
RH
114032013-06-25 Richard Henderson <rth@redhat.com>
11404
11405 * locale/programs/locarchive.c: Include <libc-internal.h>
11406
8fcb833a
JM
114072013-06-25 Joseph Myers <joseph@codesourcery.com>
11408
11409 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11410 trailing whitespace removed.
11411
17db6e8d
MF
114122013-06-24 Mike Frysinger <vapier@gentoo.org>
11413
11414 [BZ #10283]
17db6e8d
MF
11415 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11416 * locale/programs/locarchive.c: Include libc-mmap.h.
11417 (prepare_address_space): Take two new outputs (the mmap base and len).
11418 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11419 values.
11420 (create_archive): Declare new mmap base and len values for
11421 prepare_address_space, and store the result in ah.
11422 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11423 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11424 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11425 Declare new mmap base and len values for
11426 prepare_address_space, and store the result in new_ah.
11427 (open_archive): Declare new mmap base and len values for
11428 prepare_address_space, and store the result in ah.
11429 (close_archive): If ah->mmap_base is not NULL, use that and
11430 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11431 * sysdeps/generic/libc-mmap.h: New file.
11432
d605071e
MF
114332013-06-24 Mike Frysinger <vapier@gentoo.org>
11434
11435 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11436 (ALIGN_UP): Likewise.
11437 (PTR_ALIGN_DOWN): Likewise.
11438 (PTR_ALIGN_UP): Likewise.
11439
2f063a6e
RA
114402013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11441
11442 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11443 entry mapped to PPC_PLATFORM_POWER8.
11444 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11445 POWER8.
11446 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11447 (_dl_string_platform): Add case for exporting platform position for
11448 POWER8.
11449 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11450 search path to sysdeps/powerpc/powerpc32/power8 directory.
11451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11452 search path to sysdeps/powerpc/powerpc64/power8 directory.
11453 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11454 power7 directories.
11455 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11456 power7 directories.
11457
a31ee4b3
SP
114582013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11459
a74ca98f
SP
11460 * INSTALL: Regenerate.
11461
a31ee4b3
SP
11462 * nscd/connections.c (nscd_init): Fix comment.
11463
695c378f
JM
114642013-06-22 Joseph Myers <joseph@codesourcery.com>
11465
d8412221
JM
11466 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11467
695c378f
JM
11468 [BZ #15667]
11469 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11470 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11471
d1d54715
MR
114722013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11473
11474 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11475 DL_DST_REQ_STATIC.
11476 (DL_DST_REQ_STATIC): Remove macro.
11477
8fdda7af
JM
114782013-06-21 Joseph Myers <joseph@codesourcery.com>
11479
11480 [BZ #7006]
11481 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11482 with a shift of 0 bits.
11483
f3bc5e5a
MR
114842013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11485
11486 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11487 $(tststatic-ENV).
11488
be09e8c9
KK
114892013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11490
11491 [BZ #15655]
11492 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11493
85c2e611
AZ
114942013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11495
11496 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11497 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11498 accepts -fno-tree-loop-distribute-patterns.
11499 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11500 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11501 recursive call.
11502 * string/memset.c (memset): Likewise.
11503 * string/test-memmove.c (simple_memmove): Disable loop transformation
11504 to library calls.
11505 * string/test-memset.c (simple_memset): Likewise.
11506 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11507 * benchtests/bench-memset.c (simple_memset): Likewise.
11508 * configure: Regenerated.
11509
c91e0825
JM
115102013-06-20 Joseph Myers <joseph@codesourcery.com>
11511
b8c792af
JM
11512 * math/test-misc.c (main): Ignore fesetround failure when failures
11513 of subsequent rounding tests would be ignored.
11514
c91e0825
JM
11515 [BZ #15654]
11516 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11517 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11518 * math/fegetenv.c (__fegetenv): Return 0.
11519 * math/fegetexcept.c (fegetexcept): Return 0.
11520 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11521 FE_TONEAREST.
11522 * math/feholdexcpt.c (feholdexcept): Return 0.
11523 * math/fesetenv.c (__fesetenv): Return 0.
11524 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11525 argument FE_TONEAREST.
11526 * math/feupdateenv.c (__feupdateenv): Return 0.
11527 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11528
bfcacbde
RM
115292013-06-18 Roland McGrath <roland@hack.frob.com>
11530
11531 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11532 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11533 ($(objpfx)rtld-%.os rules): Use them.
11534
e55a9b25
AZ
115352013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11536
11537 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11538 fields.
11539
346d65b3
RM
115402013-06-17 Roland McGrath <roland@hack.frob.com>
11541
12086fb4
RM
11542 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11543 length of target pattern, then descending length of dependency pattern.
11544 * configure.in (AWK): Require gawk 3.1.2 or newer.
11545 * manual/install.texi (Tools for Compilation): Say that we do.
11546 * configure: Regenerated.
11547
346d65b3
RM
11548 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11549 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11550 * scripts/sysd-rules.awk: ... this new script.
11551 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11552 than a glob-style pattern.
11553
1a846317
JM
115542013-06-17 Joseph Myers <joseph@codesourcery.com>
11555
11556 * math/test-misc.c (main): Do not treat incorrectly rounded
11557 conversions as failure unless ROUNDING_TESTS passes.
11558
8fc75e6f
JM
115592013-06-15 Joseph Myers <joseph@codesourcery.com>
11560
3711a167
JM
11561 [BZ #15631]
11562 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11563 restore exception state around main square root computation, then
11564 check for inexactness explicitly.
11565
8fc75e6f
JM
11566 * math/libm-test.inc (fma_test_data): Add another test.
11567
61dd6208
SP
115682013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11569
adf23d2c
SP
11570 * manual/threads.texi (Non-POSIX Extensions): New document
11571 node. Document pthread_getattr_default_np and
11572 pthread_setattr_default_np.
11573
61dd6208
SP
11574 * Versions.def (libpthread): Add GLIBC_2.18.
11575 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11577 Likewise.
11578 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11579 Likewise.
11580 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11581 Likewise.
11582 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11583 Likewise.
11584 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11585 Likewise.
11586 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11587 Likewise.
11588 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11589 Likewise.
11590 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11591 Likewise.
11592 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11593 Likewise.
11594
d086fc7b
LD
115952013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11596
11597 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11598 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11599
747ef469
SP
116002013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11601 H.J. Lu <hjl.tools@gmail.com>
11602
11603 [BZ #15627]
11604 * sysdeps/x86_64/rtld-memset.c: Remove file.
11605 * sysdeps/x86_64/rtld-memset.S: New file.
11606
1b2feed2
JM
116072013-06-14 Joseph Myers <joseph@codesourcery.com>
11608
11609 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11610 (test_in_one_mode): Take arguments for whether the rounding mode
11611 is supported for each floating-point type.
11612 (do_test): Pass new arguments to test_in_one_mode using
11613 ROUNDING_TESTS.
11614
a58ad3f8
RM
116152013-06-13 Roland McGrath <roland@hack.frob.com>
11616
11617 * posix/tst-waitid.c (do_test): Distinguish different instances of
11618 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11619 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11620 before entering the kernel for waitpid.
11621
c204ab28
SP
116222013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11623
11624 * NEWS: Fix note on clock function precision. Text by Roland
11625 McGrath.
11626
f4a29fba
RM
116272013-06-13 Roland McGrath <roland@hack.frob.com>
11628
11629 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11630 it into place only when and if the sanity check passes.
11631
1f24b9ad
JM
116322013-06-13 Joseph Myers <joseph@codesourcery.com>
11633
11634 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11635 output for whether conversion result is exact. Take argument
11636 indicating whether type is IBM long double.
11637 (round_for_all): Change need_exact field to ibm_ld.
11638 * stdlib/tst-strtod-round.c (struct exactness): New type.
11639 (struct test): Change bool ld_ok field to struct exactness exact.
11640 (TEST): Update all definitions for change to field.
11641 (tests): Regenerate array contents.
11642 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11643 field value. Check for IBM long double here.
11644 (do_test): Update calls to test_in_one_mode.
11645
58206c68
SP
116462013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11647
11648 [BZ #12515]
11649 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11650 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11651
2d6f4c5b 116522013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11653
11654 [BZ #15605]
11655 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11656 generated by the compiler on loop optimizations.
11657 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11658 general definitions.
11659
94f2c076
JM
116602013-06-12 Joseph Myers <joseph@codesourcery.com>
11661
11662 * math/bug-nextafter.c: Include <math-tests.h>.
11663 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11664 the relevant type.
11665 * math/bug-nexttoward.c: Include <math-tests.h>.
11666 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11667 the relevant type.
11668 * math/test-misc.c: Include <math-tests.h>.
11669 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11670 the relevant type.
11671
e0e50a0a
AJ
116722013-06-12 Andreas Jaeger <aj@suse.de>
11673
11674 * po/ia.po: Update Interlingua translation from translation
11675 project.
11676
25061094
SP
116772013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11678
11679 * include/fenv.h: Include stdbool.h.
11680 (struct rm_ctx): New structure.
11681 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11682 Define macro.
11683 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11684 (SET_RESTORE_ROUNDF): Likewise.
11685 (SET_RESTORE_ROUNDL): Likewise.
11686 (SET_RESTORE_ROUND_NOEX): Likewise.
11687 (SET_RESTORE_ROUND_NOEXF): Likewise.
11688 (SET_RESTORE_ROUND_NOEXL): Likewise.
11689 (SET_RESTORE_ROUND_53BIT): Likewise.
11690 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11691 (libc_feresetround_noexf_ctx): Likewise.
11692 (libc_feresetround_noexl_ctx): Likewise.
11693 (libc_feholdsetround_53bit_ctx): Likewise.
11694 (libc_feresetround_53bit_ctx): Likewise.
11695 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11696 (libc_feholdexcept_setround_sse_ctx): New function.
11697 (libc_fesetenv_sse_ctx): Likewise.
11698 (libc_feupdateenv_sse_ctx): Likewise.
11699 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11700 (libc_feholdexcept_setround_387_ctx): Likewise.
11701 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11702 (libc_feholdsetround_387_prec_ctx): Likewise.
11703 (libc_feholdsetround_387_ctx): Likewise.
11704 (libc_feholdsetround_387_53bit_ctx): Likewise.
11705 (libc_feholdsetround_sse_ctx): Likewise.
11706 (libc_feresetround_sse_ctx): Likewise.
11707 (libc_feresetround_387_ctx): Likewise.
11708 (libc_feupdateenv_387_ctx): Likewise.
11709 (libc_feholdexcept_setroundf_ctx): Define macro.
11710 (libc_fesetenvf_ctx): Likewise.
11711 (libc_feupdateenvf_ctx): Likewise.
11712 (libc_feholdsetroundf_ctx): Likewise.
11713 (libc_feresetroundf_ctx): Likewise.
11714 (libc_feholdexcept_setround_ctx): Likewise.
11715 (libc_fesetenv_ctx): Likewise.
11716 (libc_feupdateenv_ctx): Likewise.
11717 (libc_feholdsetround_ctx): Likewise.
11718 (libc_feresetround_ctx): Likewise.
11719 (libc_feholdexcept_setroundl_ctx): Likewise.
11720 (libc_feupdateenvl_ctx): Likewise.
11721 (libc_feholdsetroundl_ctx): Likewise.
11722 (libc_feresetroundl_ctx): Likewise.
11723 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11724 (libc_feresetround_53bit_ctx): Likewise.
11725
59b30555
SP
117262013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11727
11728 * locale/iso-639.def: Convert to UTF-8.
11729
f1d73d30
JM
117302013-06-11 Joseph Myers <joseph@codesourcery.com>
11731
11732 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11733 (EXCEPTION_TESTS_double): Likewise.
11734 (EXCEPTION_TESTS_long_double): Likewise.
11735 (EXCEPTION_TESTS): Likewise.
11736 * math/libm-test.inc (test_exceptions): Only test exceptions if
11737 EXCEPTION_TESTS (FLOAT).
11738
94aca5e7
SP
117392013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11740
11741 * benchtests/Makefile (string-bench): Add strcpy_chk and
11742 stpcpy_chk.
11743 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11744 * benchtests/bench-stpcpy_chk.c: New file.
11745 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11746 * benchtests/bench-strcpy_chk.c: New file.
11747 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11748 code.
11749 (do_test): Likewise.
11750
fac0c5f2
RA
117512013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11752
11753 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11754 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11755 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11756 with tabs where appropriate.
11757 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11758 dl-procinfo.h.
11759 [PPC_PLATFORM_PPC440]: Likewise.
11760 [PPC_PLATFORM_PPC464]: Likewise.
11761 [PPC_PLATFORM_PPC476]: Likewise.
11762 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11763 ppc464, and ppc476 platform strings merging from ports/
11764 dl-procinfo.h.
11765
f22bc486
AS
117662013-06-11 Andreas Schwab <schwab@suse.de>
11767
11768 [BZ #14991]
11769 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11770 (from_ucs4_idx): Regenerate.
11771 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11772 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11773 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11774 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11775 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11776 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11777 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11778 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11779 from FROM_LOOP and TO_LOOP specific macros.
11780 (BODY): Handle combining characters.
11781 * iconvdata/BIG5HKSCS.irreversible: Update.
11782 * iconvdata/BIG5HKSCS.precomposed: New file.
11783 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11784 characters.
11785 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11786
c1f75dc3
SP
117872013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11788
4eacded2
SP
11789 * include/sys/time.h: Fix indentation and add copyright header.
11790
fec799f8
SP
11791 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11792 (do_test): Likewise.
11793 * string/test-memchr.c (do_one_test): Likewise.
11794 (do_test): Likewise.
11795 * string/test-memcmp.c (do_one_test): Likewise.
11796 (do_test): Likewise.
11797 * string/test-memcpy.c (do_one_test): Likewise.
11798 (do_test): Likewise.
11799 * string/test-memmem.c (do_one_test): Likewise.
11800 (do_test): Likewise.
11801 (do_random_tests): Likewise.
11802 * string/test-memmove.c (do_one_test): Likewise.
11803 (do_test): Likewise.
11804 * string/test-memset.c (do_one_test): Likewise.
11805 (do_test): Likewise.
11806 * string/test-rawmemchr.c (do_one_test): Likewise.
11807 (do_test): Likewise.
11808 * string/test-strcasecmp.c (do_one_test): Likewise.
11809 (do_test): Likewise.
11810 * string/test-strcasestr.c (do_one_test): Likewise.
11811 (do_test): Likewise.
11812 * string/test-strcat.c (do_one_test): Likewise.
11813 (do_test): Likewise.
11814 * string/test-strchr.c (do_one_test): Likewise.
11815 (do_test): Likewise.
11816 * string/test-strcmp.c (do_one_test): Likewise.
11817 (do_test): Likewise.
11818 * string/test-strcpy.c (do_one_test): Likewise.
11819 (do_test): Likewise.
11820 * string/test-string.h: Likewise.
11821 (test_init): Likewise.
11822 * string/test-strlen.c (do_one_test): Likewise.
11823 (do_test): Likewise.
11824 * string/test-strncasecmp.c (do_one_test): Likewise.
11825 (do_test): Likewise.
11826 * string/test-strncat.c (do_one_test): Likewise.
11827 (do_test): Likewise.
11828 * string/test-strncmp.c (do_one_test): Likewise.
11829 (do_test_limit): Likewise.
11830 (do_test): Likewise.
11831 * string/test-strncpy.c (do_one_test): Likewise.
11832 (do_test): Likewise.
11833 * string/test-strnlen.c (do_one_test): Likewise.
11834 (do_test): Likewise.
11835 * string/test-strpbrk.c (do_one_test): Likewise.
11836 (do_test): Likewise.
11837 * string/test-strrchr.c (do_one_test): Likewise.
11838 (do_test): Likewise.
11839 * string/test-strspn.c (do_one_test): Likewise.
11840 (do_test): Likewise.
11841 * string/test-strstr.c (do_one_test): Likewise.
11842 (do_test): Likewise.
11843
97020474
SP
11844 * benchtests/Makefile (string-bench): Add string benchmarks.
11845 * benchtests/bench-bcopy-ifunc.c: New file.
11846 * benchtests/bench-bcopy.c: New file.
11847 * benchtests/bench-bzero-ifunc.c: New file.
11848 * benchtests/bench-bzero.c: New file.
11849 * benchtests/bench-memccpy-ifunc.c: New file.
11850 * benchtests/bench-memccpy.c: New file.
11851 * benchtests/bench-memchr-ifunc.c: New file.
11852 * benchtests/bench-memchr.c: New file.
11853 * benchtests/bench-memcmp-ifunc.c: New file.
11854 * benchtests/bench-memcmp.c: New file.
11855 * benchtests/bench-memmem-ifunc.c: New file.
11856 * benchtests/bench-memmem.c: New file.
11857 * benchtests/bench-memmove-ifunc.c: New file.
11858 * benchtests/bench-memmove.c: New file.
11859 * benchtests/bench-mempcpy-ifunc.c: New file.
11860 * benchtests/bench-mempcpy.c: New file.
11861 * benchtests/bench-memset-ifunc.c: New file.
11862 * benchtests/bench-memset.c: New file.
11863 * benchtests/bench-rawmemchr-ifunc.c: New file.
11864 * benchtests/bench-rawmemchr.c: New file.
11865 * benchtests/bench-stpcpy-ifunc.c: New file.
11866 * benchtests/bench-stpcpy.c: New file.
11867 * benchtests/bench-stpncpy-ifunc.c: New file.
11868 * benchtests/bench-stpncpy.c: New file.
11869 * benchtests/bench-strcasecmp-ifunc.c: New file.
11870 * benchtests/bench-strcasecmp.c: New file.
11871 * benchtests/bench-strcasestr-ifunc.c: New file.
11872 * benchtests/bench-strcasestr.c: New file.
11873 * benchtests/bench-strcat-ifunc.c: New file.
11874 * benchtests/bench-strcat.c: New file.
11875 * benchtests/bench-strchr-ifunc.c: New file.
11876 * benchtests/bench-strchr.c: New file.
11877 * benchtests/bench-strchrnul-ifunc.c: New file.
11878 * benchtests/bench-strchrnul.c: New file.
11879 * benchtests/bench-strcmp-ifunc.c: New file.
11880 * benchtests/bench-strcmp.c: New file.
11881 * benchtests/bench-strcpy-ifunc.c: New file.
11882 * benchtests/bench-strcpy.c: New file.
11883 * benchtests/bench-strcspn-ifunc.c: New file.
11884 * benchtests/bench-strcspn.c: New file.
11885 * benchtests/bench-strlen-ifunc.c: New file.
11886 * benchtests/bench-strlen.c: New file.
11887 * benchtests/bench-strncasecmp-ifunc.c: New file.
11888 * benchtests/bench-strncasecmp.c: New file.
11889 * benchtests/bench-strncat-ifunc.c: New file.
11890 * benchtests/bench-strncat.c: New file.
11891 * benchtests/bench-strncmp-ifunc.c: New file.
11892 * benchtests/bench-strncmp.c: New file.
11893 * benchtests/bench-strncpy-ifunc.c: New file.
11894 * benchtests/bench-strncpy.c: New file.
11895 * benchtests/bench-strnlen-ifunc.c: New file.
11896 * benchtests/bench-strnlen.c: New file.
11897 * benchtests/bench-strpbrk-ifunc.c: New file.
11898 * benchtests/bench-strpbrk.c: New file.
11899 * benchtests/bench-strrchr-ifunc.c: New file.
11900 * benchtests/bench-strrchr.c: New file.
11901 * benchtests/bench-strspn-ifunc.c: New file.
11902 * benchtests/bench-strspn.c: New file.
11903 * benchtests/bench-strstr-ifunc.c: New file.
11904 * benchtests/bench-strstr.c: New file.
11905
c1f75dc3
SP
11906 * benchtests/Makefile: Disable parallel execution of targets.
11907 (string-bench): Add memcpy.
11908 (benchset): New variable to store a list of benchmark sets.
11909 (bench-func): Renamed from bench.
11910 (bench-set): New target.
11911 (bench): Depend on bench-func and bench-set.
11912 * benchtests/README: Add section on benchmark sets.
11913 * benchtests/bench-memcpy-ifunc.c: New file.
11914 * benchtests/bench-memcpy.c: New file.
11915 * benchtests/bench-string.h: New file.
11916
50fd745b
AS
119172013-06-11 Andreas Schwab <schwab@suse.de>
11918
11919 [BZ #15577]
11920 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11921 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11922 values in the triple.
11923 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11924 terminator in the group key.
11925
3ee7e9fe
AJ
119262013-06-11 Andreas Jaeger <aj@suse.de>
11927
11928 * po/zh_TW.po: Update Chinese (traditional) translation from
11929 translation project.
11930
89fb6835
SP
119312013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11932
11933 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11934 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11935 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11936 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11937 (clock_getcpuclockid): Likewise.
11938 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11939 Add weak_alias and libc_hidden_def.
11940 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11941 * rt/clock_gettime.c (clock_gettime): Rename to
11942 __clock_gettime. Add weak_alias and libc_hidden_def.
11943 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11944 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11945 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11946 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11947 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11948 Likewise.
11949 * rt/clock_settime.c (clock_settime): Rename to
11950 __clock_settime. Add weak_alias and libc_hidden_def.
11951 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11952
0efa6f8b
JM
119532013-06-10 Joseph Myers <joseph@codesourcery.com>
11954
b8c61b4b
JM
11955 * mach/err_boot.sub: Remove trailing whitespace.
11956 * mach/err_ipc.sub: Likewise.
11957 * mach/err_mach.sub: Likewise.
11958
0efa6f8b
JM
11959 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11960 (ROUNDING_TESTS_double): Likewise.
11961 (ROUNDING_TESTS_long_double): Likewise.
11962 (ROUNDING_TESTS): Likewise.
11963 * math/libm-test.inc: Include <math-tests.h>.
11964 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11965 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11966 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11967 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11968
50b818bf
SP
119692013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11970
11971 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11972 of assigning.
11973
60d2f8f3
JM
119742013-06-08 Joseph Myers <joseph@codesourcery.com>
11975
4902d2c3
JM
11976 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11977 otherwise empty TRANS lines.
11978 * sysdeps/gnu/errlist.c: Regenerated.
11979
60d2f8f3
JM
11980 * catgets/gencat.c (error_print): Use (void) in function
11981 definition.
11982 * crypt/crypt_util.c (__init_des): Likewise.
11983 * crypt/speeds.c (Stop): Likewise.
11984 (main): Likewise.
11985 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
11986 * inet/ruserpass.c (token): Likewise.
11987 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
11988 * intl/localealias.c (extend_alias_table): Likewise.
11989 * intl/plural-exp.c (init_germanic_plural): Likewise.
11990 * libio/fcloseall.c (__fcloseall): Likewise.
11991 * libio/genops.c (_IO_flush_all): Likewise.
11992 (_IO_flush_all_linebuffered): Likewise.
11993 (_IO_cleanup): Likewise.
11994 (_IO_iter_begin): Likewise.
11995 (_IO_iter_end): Likewise.
11996 (_IO_list_lock): Likewise.
11997 (_IO_list_unlock): Likewise.
11998 (_IO_list_resetlock): Likewise.
11999 * libio/getchar.c (getchar): Likewise.
12000 * libio/getchar_u.c (getchar_unlocked): Likewise.
12001 * libio/getwchar.c (getwchar): Likewise.
12002 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12003 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12004 * login/getpt.c (__getpt): Likewise.
12005 * login/tst-utmp.c (main): Likewise.
12006 * malloc/hooks.c (__malloc_check_init): Likewise.
12007 * malloc/malloc.c (__malloc_stats): Likewise.
12008 * malloc/mtrace.c (tr_break): Likewise.
12009 (mtrace): Likewise.
12010 (muntrace): Likewise.
12011 * misc/fstab.c (endfsent): Likewise.
12012 * misc/getclktck.c (__getclktck): Likewise.
12013 * misc/getdtsz.c (__getdtablesize): Likewise.
12014 * misc/gethostid.c (gethostid): Likewise.
12015 * misc/getpagesize.c (__getpagesize): Likewise.
12016 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12017 (__get_nprocs): Likewise.
12018 (__get_phys_pages): Likewise.
12019 (__get_avphys_pages): Likewise.
12020 * misc/getttyent.c (getttyent): Likewise.
12021 (setttyent): Likewise.
12022 (endttyent): Likewise.
12023 * misc/getusershell.c (getusershell): Likewise.
12024 (endusershell): Likewise.
12025 (setusershell): Likewise.
12026 (initshells): Likewise.
12027 * misc/hsearch.c (__hdestroy): Likewise.
12028 * misc/sync.c (sync): Likewise.
12029 * misc/syslog.c (closelog_internal): Likewise.
12030 (closelog): Likewise.
12031 * misc/ttyslot.c (ttyslot): Likewise.
12032 * misc/vhangup.c (vhangup): Likewise.
12033 * posix/fork.c (__fork): Likewise.
12034 * posix/getegid.c (__getegid): Likewise.
12035 * posix/geteuid.c (__geteuid): Likewise.
12036 * posix/getgid.c (__getgid): Likewise.
12037 * posix/getpid.c (__getpid): Likewise.
12038 * posix/getppid.c (__getppid): Likewise.
12039 * posix/getuid.c (__getuid): Likewise.
12040 * posix/pause.c (pause): Likewise.
12041 * posix/setpgrp.c (setpgrp): Likewise.
12042 * posix/setsid.c (__setsid): Likewise.
12043 * posix/test-vfork.c (noop): Likewise.
12044 * resolv/gethnamaddr.c (_endhtent): Likewise.
12045 (_gethtent): Likewise.
12046 (ht_endhostent): Likewise.
12047 (gethostent): Likewise.
12048 (dns_service): Likewise.
12049 * stdlib/drand48.c (drand48): Likewise.
12050 * stdlib/lrand48.c (lrand48): Likewise.
12051 * stdlib/mrand48.c (mrand48): Likewise.
12052 * stdlib/rand.c (rand): Likewise.
12053 * stdlib/random.c (__random): Likewise.
12054 * stdlib/setenv.c (clearenv): Likewise.
12055 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12056 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12057 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12058 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12059 (__get_nprocs): Likewise.
12060 (__get_phys_pages): Likewise.
12061 (__get_avphys_pages): Likewise.
12062 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12063 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12064 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12065 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12066 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12067 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12068 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12069 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12070 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12071 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12072 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12073 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12074 * sysdeps/posix/clock.c (clock): Likewise.
12075 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12076 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12077 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12078 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12079 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12080 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12081 (__get_nprocs_conf): Likewise.
12082 (__get_phys_pages): Likewise.
12083 (__get_avphys_pages): Likewise.
12084 * time/clock.c (clock): Likewise.
12085 * time/tzset.c (__tzname_max): Likewise.
12086
2e09a79a
JM
120872013-06-07 Joseph Myers <joseph@codesourcery.com>
12088
12089 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12090 (__bswap_32): Do not use "register".
12091 * crypt/crypt.c (_ufc_doit_r): Likewise.
12092 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12093 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12094 * gmon/gmon.c (__monstartup): Likewise.
12095 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12096 * hurd/hurdmalloc.c (more_memory): Likewise.
12097 (malloc): Likewise.
12098 (free): Likewise.
12099 (realloc): Likewise.
12100 (malloc_fork_prepare): Likewise.
12101 (malloc_fork_parent): Likewise.
12102 (malloc_fork_child): Likewise.
12103 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12104 (_svcauth_des): Likewise.
12105 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12106 * inet/inet_net.c (inet_network): Likewise.
12107 * inet/inet_netof.c (inet_netof): Likewise.
12108 * inet/rcmd.c (__validuser2_sa): Likewise.
12109 * io/fts.c (fts_open): Likewise.
12110 (fts_load): Likewise.
12111 (fts_close): Likewise.
12112 (fts_read): Likewise.
12113 (fts_children): Likewise.
12114 (fts_build): Likewise.
12115 (fts_stat): Likewise.
12116 (fts_sort): Likewise.
12117 (fts_alloc): Likewise.
12118 (fts_lfree): Likewise.
12119 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12120 (_IO_file_xsgetn): Likewise.
12121 (_IO_file_xsgetn_mmap): Likewise.
12122 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12123 (_IO_cookie_write): Likewise.
12124 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12125 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12126 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12127 * malloc/obstack.c (_obstack_begin): Likewise.
12128 (_obstack_begin_1): Likewise.
12129 (_obstack_newchunk): Likewise.
12130 (_obstack_allocated_p): Likewise.
12131 (obstack_free): Likewise.
12132 (_obstack_memory_used): Likewise.
12133 * misc/getttyent.c (getttynam): Likewise.
12134 (getttyent): Likewise.
12135 (skip): Likewise.
12136 (value): Likewise.
12137 * misc/getusershell.c (initshells): Likewise.
12138 * misc/syslog.c (__vsyslog_chk): Likewise.
12139 * misc/ttyslot.c (ttyslot): Likewise.
12140 * nis/nis_hash.c (__nis_hash): Likewise.
12141 * posix/fnmatch_loop.c (FCT): Likewise.
12142 * posix/getconf.c (print_all): Likewise.
12143 (main): Likewise.
12144 * posix/getopt.c (exchange): Likewise.
12145 * posix/glob.c (globfree): Likewise.
12146 (prefix_array): Likewise.
12147 (__glob_pattern_type): Likewise.
12148 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12149 (NS_GET32): Likewise.
12150 (NS_PUT16): Likewise.
12151 (NS_PUT32): Likewise.
12152 * resolv/gethnamaddr.c (getanswer): Likewise.
12153 (gethostbyname2): Likewise.
12154 (gethostbyaddr): Likewise.
12155 (_gethtent): Likewise.
12156 (_gethtbyname2): Likewise.
12157 (_gethtbyaddr): Likewise.
12158 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12159 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12160 * resolv/res_init.c (__res_vinit): Likewise.
12161 (net_mask): Likewise.
12162 * resolv/res_mkquery.c (outchar): Likewise.
12163 (PRINT): Likewise.
12164 * stdio-common/printf_fp.c (outchar): Likewise.
12165 (PRINT): Likewise.
12166 * stdio-common/printf_fphex.c (outchar): Likewise.
12167 (PRINT): Likewise.
12168 * stdio-common/printf_size.c (outchar): Likewise.
12169 (PRINT): Likewise.
12170 * stdio-common/test_rdwr.c (main): Likewise.
12171 * stdio-common/tfformat.c (matches): Likewise.
12172 * stdio-common/vfprintf.c (outchar): Likewise.
12173 (printf_unknown): Likewise.
12174 (buffered_vfprintf): Likewise.
12175 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12176 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12177 (ReadFile): Likewise.
12178 * stdlib/qsort.c (SWAP): Likewise.
12179 (_quicksort): Likewise.
12180 * stdlib/setenv.c (__add_to_environ): Likewise.
12181 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12182 * stdlib/strtol_l.c (__strtol_l): Likewise.
12183 * stdlib/tst-strtod.c (main): Likewise.
12184 * stdlib/tst-strtol.c (main): Likewise.
12185 * stdlib/tst-strtoll.c (main): Likewise.
12186 * string/bits/string2.h (__strcmp_cc): Likewise.
12187 (__strcmp_cg): Likewise.
12188 (__strcspn_c1): Likewise.
12189 (__strcspn_c2): Likewise.
12190 (__strcspn_c3): Likewise.
12191 (__strspn_c1): Likewise.
12192 (__strspn_c2): Likewise.
12193 (__strspn_c3): Likewise.
12194 (__strsep_1c): Likewise.
12195 (__strsep_2c): Likewise.
12196 (__strsep_3c): Likewise.
12197 * string/memccpy.c (__memccpy): Likewise.
12198 * string/stpcpy.c (__stpcpy): Likewise.
12199 * string/strcmp.c (strcmp): Likewise.
12200 * string/strrchr.c (strrchr): Likewise.
12201 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12202 Likewise.
12203 * sysdeps/mach/hurd/getcwd.c
12204 (_hurd_canonicalize_directory_name_internal): Likewise.
12205 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12206 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12207 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12208 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12209 Likewise, in both definitions.
12210 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12211 definitions.
12212 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12213 64] (__bswap_64): Likewise.
12214 * time/test_time.c (main): Likewise.
12215 * time/tzfile.c (__tzfile_read): Likewise.
12216 (__tzfile_compute): Likewise.
12217 * time/tzset.c (__tzset_parse_tz): Likewise.
12218 (tzset_internal): Likewise.
12219 (compute_change): Likewise.
12220 * wcsmbs/wcscat.c (__wcscat): Likewise.
12221 * wcsmbs/wcschr.c (wcschr): Likewise.
12222 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12223 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12224 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12225 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12226 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12227 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12228 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12229 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12230 * wcsmbs/wmemset.c (wmemset): Likewise.
12231
9e54314b
JM
122322013-06-06 Joseph Myers <joseph@codesourcery.com>
12233
12234 * scripts/config.guess: Update to version 2013-05-16.
12235 * scripts/config.sub: Update to version 2013-04-24.
12236 * scripts/install-sh: Update to version 2011-11-20.07.
12237 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12238 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12239
350635a5
OB
122402013-06-06 Ondřej Bílka <neleai@seznam.cz>
12241
12242 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12243 * elf/sln.c: Likewise.
12244 * hurd/hurd/ioctl.h: Likewise.
12245 * hurd/hurdmalloc.c: Likewise.
12246 * hurd/xattr.c: Likewise.
12247 * include/shlib-compat.h: Likewise.
12248 * inet/ruserpass.c: Likewise.
12249 * libio/iofgets_u.c: Likewise.
12250 * libio/iofgetws_u.c: Likewise.
12251 * locale/programs/ld-identification.c: Likewise.
12252 * locale/programs/ld-time.c: Likewise.
12253 * mach/msg-destroy.c: Likewise.
12254 * nss/nss_files/files-netgrp.c: Likewise.
12255 * resolv/res_data.c: Likewise.
12256 * soft-fp/op-1.h: Likewise.
12257 * soft-fp/op-2.h: Likewise.
12258 * soft-fp/op-4.h: Likewise.
12259 * soft-fp/op-common.h: Likewise.
12260 * stdio-common/printf_fphex.c: Likewise.
12261 * stdlib/strtod_l.c: Likewise.
12262 * sunrpc/rpc/clnt.h: Likewise.
12263 * sysdeps/generic/framestate.c: Likewise.
12264 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12265 * sysdeps/i386/bsd-setjmp.S: Likewise.
12266 * sysdeps/i386/__longjmp.S: Likewise.
12267 * sysdeps/i386/setjmp.S: Likewise.
12268 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12269 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12270 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12271 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12272 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12273 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12274 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12275 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12276 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12277 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12278 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12279 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12280 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12281 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12282 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12283 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12284 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12285 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12286 * sysdeps/ieee754/support.c: Likewise.
12287 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12288 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12289 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12290 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12291 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12292 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12293 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12294 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12295 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12296 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12297 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12298 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12299 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12300 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12301 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12302 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12303 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12305
44a988af
OB
123062013-06-05 Ondřej Bílka <neleai@seznam.cz>
12307
25506f09 12308 * posix/transbug.c: Remove executable mode.
44a988af 12309
9c84384c
JM
123102013-06-05 Joseph Myers <joseph@codesourcery.com>
12311
12312 * crypt/speeds.c: Remove trailing whitespace.
12313 * dlfcn/default.c: Likewise.
12314 * elf/ifuncdep2.c: Likewise.
12315 * elf/ifuncmain1.c: Likewise.
12316 * elf/ifuncmain1vis.c: Likewise.
12317 * elf/testobj.h: Likewise.
12318 * elf/tst-stackguard1.c: Likewise.
12319 * gmon/sys/gmon.h: Likewise.
12320 * hurd/hurdmsg.c: Likewise.
12321 * hurd/new-fd.c: Likewise.
12322 * hurd/ports-get.c: Likewise.
12323 * iconvdata/ibm1008_420.c: Likewise.
12324 * inet/tst-getni1.c: Likewise.
12325 * inet/tst-getni2.c: Likewise.
12326 * libio/ioungetc.c: Likewise.
12327 * libio/wfiledoalloc.c: Likewise.
12328 * manual/libm-err-tab.pl: Likewise.
12329 * math/w_dremf.c: Likewise.
12330 * misc/ftruncate.c: Likewise.
12331 * posix/bug-glob2.c: Likewise.
12332 * posix/tst-pcre.c: Likewise.
12333 * posix/wait4.c: Likewise.
12334 * resolv/README: Likewise.
12335 * resolv/res_debug.h: Likewise.
12336 * resolv/tst-inet_ntop.c: Likewise.
12337 * setjmp/bug269-setjmp.c: Likewise.
12338 * soft-fp/extended.h: Likewise.
12339 * soft-fp/op-1.h: Likewise.
12340 * soft-fp/op-2.h: Likewise.
12341 * soft-fp/op-4.h: Likewise.
12342 * soft-fp/op-8.h: Likewise.
12343 * soft-fp/testit.c: Likewise.
12344 * stdio-common/bug16.c: Likewise.
12345 * stdlib/random.c: Likewise.
12346 * sunrpc/rpcsvc/rquota.x: Likewise.
12347 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12348 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12349 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12350 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12351 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12352 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12353 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12354 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12355 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12356 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12357 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12358 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12359 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12360 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12361 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12362 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12363 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12364 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12365 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12366 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12367 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12368 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12369 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12370 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12371 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12372 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12373 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12374 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12375 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12376 * sysdeps/ieee754/s_lib_version.c: Likewise.
12377 * sysdeps/mach/hurd/check_fds.c: Likewise.
12378 * sysdeps/mach/hurd/getsockname.c: Likewise.
12379 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12380 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12381 * sysdeps/powerpc/bits/link.h: Likewise.
12382 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12383 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12384 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12385 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12386 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12387 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12388 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12389 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12390 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12391 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12392 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12393 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12394 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12395 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12396 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12397 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12398 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12399 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12400 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12401 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12402 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12403 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12404 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12405 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12406 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12407 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12408 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12409 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12410 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12411 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12412 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12413 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12414 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12415 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12416 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12417 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12418 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12419 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12420 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12421 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12422 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12423 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12424 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12425 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12426 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12427 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12428 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12429 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12430 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12431 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12432 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12433 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12434 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12435 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12436 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12437 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12438 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12439 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12440 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12441 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12442 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12443 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12444 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12445 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12446 * sysdeps/powerpc/sysdep.h: Likewise.
12447 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12448 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12449 * sysdeps/sh/dl-trampoline.S: Likewise.
12450 * sysdeps/sh/memset.S: Likewise.
12451 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12452 * sysdeps/sh/strlen.S: Likewise.
12453 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12454 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12455 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12456 * sysdeps/sparc/sparc32/rem.S: Likewise.
12457 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12458 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12459 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12460 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12461 * sysdeps/sparc/sparc32/urem.S: Likewise.
12462 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12463 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12464 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12465 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12466 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12467 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12468 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12469 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12470 * sysdeps/unix/bsd/times.c: Likewise.
12471 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12472 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12474 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12475 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12476 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12477 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12478 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12479 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12480 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12481 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12482 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12483 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12484 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12485 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12486 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12487 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12488 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12489 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12490 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12491 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12492 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12493 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12494 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12495 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12496 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12497 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12498 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12499 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12500 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12501 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12502 * sysdeps/x86_64/strcspn.S: Likewise.
12503
869378a5
RA
125042013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12505
12506 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12507 generated file. Regenerate properly from gen-translit.pl.
12508 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12509 locale/C-translit.h.
12510
840e2943
AS
125112013-06-05 Andreas Schwab <schwab@suse.de>
12512
12513 [BZ #15100]
12514 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12515 week as 6 instead of -1.
12516 * time/tst-strptime.c (day_tests): Add test case.
12517
4c60cb0c
SP
125182013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12519
12520 * sysdeps/generic/math_private.h
12521 (libc_feholdexcept_setround_53bit): Replace with
12522 libc_feholdsetround_53bit.
12523 (libc_feupdateenv_53bit): Replace with
12524 libc_feresetround_53bit.
12525 (SET_RESTORE_ROUND_53BIT): Adjust.
12526
d180203e
SP
125272013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12528
96df079a
SP
12529 * string/test-strchrnul.c: Add copyright header.
12530
d180203e
SP
12531 * posix/tst-getaddrinfo4.c: Increase test timeout.
12532
8b0ccb2d
CD
125332013-06-03 Carlos O'Donell <carlos@redhat.com>
12534
12535 [BZ #15536]
12536 * math/libm-test.inc (MAX_EXP): Remove
12537 (MIN_EXP): Define.
12538 (ulp): Use MIN_EXP - MANT_DIG.
12539 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12540
3b3c4d40
CD
125412013-05-31 Carlos O'Donell <carlos@redhat.com>
12542
12543 * po/be.po: Revert last change.
12544 * po/zh_CN.po: Likewise.
12545 * po/header.pot: Likewise.
12546
fab7ce3f
JM
125472013-05-31 Joseph Myers <joseph@codesourcery.com>
12548
12549 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12550 link-libc-deps to empty as target-specific variable.
12551 * Makerules (link-libc-args): New variable.
12552 (libc-for-link): Likewise.
12553 (link-libc-deps): Likewise.
12554 (lib%.so): Depend on $(link-libc-deps). Link with
12555 $(link-libc-args).
12556 (build-module): Link with $(link-libc-args).
12557 (build-module-asneeded): Likewise.
12558 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12559 list of objects.
12560 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12561 target-specific variable.
12562 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12563 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12564 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12565 libc.
12566 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12567 libc and ld.so.
12568 ($(objpfx)libpcprofile.so): Likewise.
12569 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12570 libc_nonshared.a.
12571 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12572 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12573 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12574 $(link-libc-deps).
12575 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12576 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12577 * login/Makefile ($(objpfx)libutil.so): Likewise.
12578 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12579 * math/Makefile ($(objpfx)libm.so): Likewise.
12580 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12581 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12582 variable instead of depending directly on libc.
12583 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12584 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12585 $(link-libc-deps).
12586 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12587 libc.
12588 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12589 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12590 ($(objpfx)libanl.so): Likewise.
12591 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12592 ld.so.
12593 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12594 $(link-libc-deps).
12595 * sysdeps/i386/fpu/Makefile: Remove file.
12596 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12597 ($(objpfx)libm.so): Remove dependency on ld.so.
12598
eca5920c
PF
125992013-05-30 Patsy Franklin <pfrankli@redhat.com>
12600
12601 [BZ # 15553]
12602 * nis/yp_xdr.c (XDRMAXNAME): Define.
12603 (XDRMAXRECORD): Define.
12604 (xdr_domainname): Use XDRMAXNAME.
12605 (xdr_mapname): Likewise.
12606 (xdr_peername): Likewise.
12607 (xdr_keydat): Use XDRMAXRECORD.
12608 (xdr_valdat): Likewise.
12609
126102013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12611
12612 [BZ #14256]
12613 * manual/errno.texi (ESTALE): Update to account for more than
12614 just NFS file systems.
12615 * sysdeps/gnu/errlist.c: Regenerated.
12616
b9375348
SP
126172013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12618
12619 [BZ #15465]
12620 * elf/Makefile (tests): Add tst-null-argv.
12621 (modules-names): Add tst-null-argv-lib.
12622 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12623 (tst-null-argv-ENV): Set environment for tst-null-argv.
12624 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12625 (RTLD_PROGNAME): New macro.
12626 * elf/tst-null-argv.c: New test case.
12627 * elf/tst-null-argv-lib.c: Library for test case.
12628 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12629 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12630 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12631 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12632 * elf/dl-init.c (call_init): Likewise.
12633 (_dl_init): Likewise.
12634 * elf/dl-load.c (print_search_path): Likewise.
12635 (_dl_map_object): Likewise.
12636 * elf/dl-lookup.c (do_lookup_x): Likewise.
12637 (add_dependency): Likewise.
12638 (_dl_lookup_symbol_x): Likewise.
12639 (_dl_debug_bindings): Likewise.
12640 * elf/dl-open.c (_dl_show_scope): Likewise.
12641 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12642 * elf/dl-version.c (match_symbol): Likewise.
12643 (_dl_check_map_versions): Likewise.
12644 * elf/rtld.c (dl_main): Likewise.
12645 (print_unresolved): Use RTLD_PROGNAME.
12646 (print_missing_version): Likewise.
12647 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12648 (elf_machine_rela): Likewise.
12649 * sysdeps/powerpc/powerpc32/dl-machine.c
12650 (__process_machine_rela): Likewise.
12651 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12652 Likewise.
12653 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12654 Likewise.
12655 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12656 Likewise.
12657 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12658 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12659 Likewise.
12660 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12661 Likewise.
12662 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12663
8a9f20c8
CD
126642013-05-28 Carlos O'Donell <carlos@redhat.com>
12665
12666 * po/be.po: Add descriptive title.
12667 * po/zh_CN.po: Likewise.
12668 * po/header.pot: Likewise.
12669
0e60d68e
MF
126702013-05-28 Mike Frysinger <vapier@gentoo.org>
12671
12672 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12673 error message.
12674 (enlarge_archive): Likewise.
12675
56b672e9
BN
126762013-05-28 Ben North <ben@redfrontdoor.org>
12677
12678 * manual/arith.texi (frexp): It is the magnitude of the return
12679 value which lies in [0.5, 1), not the return value itself.
12680
5e056687
AZ
126812013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12682
12683 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12684
2b66ef5d
TS
126852013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12686
528c2405
TS
12687 * stdio-common/bug26.c (main): Correct fscanf template.
12688
07b4c13d
TS
12689 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12690 declare _dl_skip_args.
12691
ec9dd97c
TS
12692 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12693 Don't declare.
12694
2b66ef5d
TS
12695 * manual/platform.texi: Add missing @end deftypefun.
12696
4f8dfe27
JM
126972013-05-24 Joseph Myers <joseph@codesourcery.com>
12698
0323d086
JM
12699 [BZ #15529]
12700 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12701 bit of mantissa of 2^16382.
12702 * math/libm-test.inc (hypot_test_data): Add more tests.
12703
dd4259b9
JM
12704 * math/libm-test.inc: Add drem and pow10 to list of tested
12705 functions.
12706 (pow10_test): New function.
12707 (drem_test): Likewise.
12708 (drem_test_tonearest): Likewise.
12709 (drem_test_towardzero): Likewise.
12710 (drem_test_downward): Likewise.
12711 (drem_test_upward): Likewise.
12712 (main): Call the new functions.
12713
4f8dfe27
JM
12714 * math/libm-test.inc (finite_test_data): Remove.
12715 (finite_test): Run tests from isfinite_test_data.
12716 (gamma_test_data): Remove.
12717 (gamma_test): Run tests from lgamma_test_data.
12718 * sysdeps/i386/fpu/libm-test-ulps: Update.
12719 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12720
d116b7c4
AZ
127212013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12722
12723 * manual/platform.texi: Add PowerPC PPR function set documentation.
12724 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12725 implementation.
12726
e96e3767
CD
127272013-05-24 Carlos O'Donell <carlos@redhat.com>
12728
12729 * math/libm-test.inc (MAX_EXP): Define.
12730 (ULPDIFF): Define.
12731 (ulp): New function.
12732 (check_float_internal): Use ULPDIFF.
12733 (cpow_test): Disable failing test.
12734 (check_ulp): Test ulp() implemetnation.
12735 (main): Call check_ulp before starting tests.
12736
b679a606
JM
127372013-05-24 Joseph Myers <joseph@codesourcery.com>
12738
e8bdba36
JM
12739 * math/gen-libm-test.pl (generate_testfile): Do not handle
12740 START_DATA and END_DATA.
12741 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12742 END_DATA.
12743 (acos_tonearest_test_data): Likewise.
12744 (acos_towardzero_test_data): Likewise.
12745 (acos_downward_test_data): Likewise.
12746 (acos_upward_test_data): Likewise.
12747 (acosh_test_data): Likewise.
12748 (asin_test_data): Likewise.
12749 (asin_tonearest_test_data): Likewise.
12750 (asin_towardzero_test_data): Likewise.
12751 (asin_downward_test_data): Likewise.
12752 (asin_upward_test_data): Likewise.
12753 (asinh_test_data): Likewise.
12754 (atan_test_data): Likewise.
12755 (atanh_test_data): Likewise.
12756 (atan2_test_data): Likewise.
12757 (cabs_test_data): Likewise.
12758 (cacos_test_data): Likewise.
12759 (cacosh_test_data): Likewise.
12760 (carg_test_data): Likewise.
12761 (casin_test_data): Likewise.
12762 (casinh_test_data): Likewise.
12763 (catan_test_data): Likewise.
12764 (catanh_test_data): Likewise.
12765 (cbrt_test_data): Likewise.
12766 (ccos_test_data): Likewise.
12767 (ccosh_test_data): Likewise.
12768 (ceil_test_data): Likewise.
12769 (cexp_test_data): Likewise.
12770 (cimag_test_data): Likewise.
12771 (clog_test_data): Likewise.
12772 (clog10_test_data): Likewise.
12773 (conj_test_data): Likewise.
12774 (copysign_test_data): Likewise.
12775 (cos_test_data): Likewise.
12776 (cos_tonearest_test_data): Likewise.
12777 (cos_towardzero_test_data): Likewise.
12778 (cos_downward_test_data): Likewise.
12779 (cos_upward_test_data): Likewise.
12780 (cosh_test_data): Likewise.
12781 (cosh_tonearest_test_data): Likewise.
12782 (cosh_towardzero_test_data): Likewise.
12783 (cosh_downward_test_data): Likewise.
12784 (cosh_upward_test_data): Likewise.
12785 (cpow_test_data): Likewise.
12786 (cproj_test_data): Likewise.
12787 (creal_test_data): Likewise.
12788 (csin_test_data): Likewise.
12789 (csinh_test_data): Likewise.
12790 (csqrt_test_data): Likewise.
12791 (ctan_test_data): Likewise.
12792 (ctan_tonearest_test_data): Likewise.
12793 (ctan_towardzero_test_data): Likewise.
12794 (ctan_downward_test_data): Likewise.
12795 (ctan_upward_test_data): Likewise.
12796 (ctanh_test_data): Likewise.
12797 (ctanh_tonearest_test_data): Likewise.
12798 (ctanh_towardzero_test_data): Likewise.
12799 (ctanh_downward_test_data): Likewise.
12800 (ctanh_upward_test_data): Likewise.
12801 (erf_test_data): Likewise.
12802 (erfc_test_data): Likewise.
12803 (exp_test_data): Likewise.
12804 (exp_tonearest_test_data): Likewise.
12805 (exp_towardzero_test_data): Likewise.
12806 (exp_downward_test_data): Likewise.
12807 (exp_upward_test_data): Likewise.
12808 (exp10_test_data): Likewise.
12809 (exp2_test_data): Likewise.
12810 (expm1_test_data): Likewise.
12811 (fabs_test_data): Likewise.
12812 (fdim_test_data): Likewise.
12813 (finite_test_data): Likewise.
12814 (floor_test_data): Likewise.
12815 (fma_test_data): Likewise.
12816 (fma_towardzero_test_data): Likewise.
12817 (fma_downward_test_data): Likewise.
12818 (fma_upward_test_data): Likewise.
12819 (fmax_test_data): Likewise.
12820 (fmin_test_data): Likewise.
12821 (fmod_test_data): Likewise.
12822 (fpclassify_test_data): Likewise.
12823 (frexp_test_data): Likewise.
12824 (gamma_test_data): Likewise.
12825 (hypot_test_data): Likewise.
12826 (ilogb_test_data): Likewise.
12827 (isfinite_test_data): Likewise.
12828 (isgreater_test_data): Likewise.
12829 (isgreaterequal_test_data): Likewise.
12830 (isinf_test_data): Likewise.
12831 (isless_test_data): Likewise.
12832 (islessequal_test_data): Likewise.
12833 (islessgreater_test_data): Likewise.
12834 (isnan_test_data): Likewise.
12835 (isnormal_test_data): Likewise.
12836 (issignaling_test_data): Likewise.
12837 (isunordered_test_data): Likewise.
12838 (j0_test_data): Likewise.
12839 (j1_test_data): Likewise.
12840 (jn_test_data): Likewise.
12841 (ldexp_test_data): Likewise.
12842 (lgamma_test_data): Likewise.
12843 (lrint_test_data): Likewise.
12844 (lrint_tonearest_test_data): Likewise.
12845 (lrint_towardzero_test_data): Likewise.
12846 (lrint_downward_test_data): Likewise.
12847 (lrint_upward_test_data): Likewise.
12848 (llrint_test_data): Likewise.
12849 (llrint_tonearest_test_data): Likewise.
12850 (llrint_towardzero_test_data): Likewise.
12851 (llrint_downward_test_data): Likewise.
12852 (llrint_upward_test_data): Likewise.
12853 (log_test_data): Likewise.
12854 (log10_test_data): Likewise.
12855 (log1p_test_data): Likewise.
12856 (log2_test_data): Likewise.
12857 (logb_test_data): Likewise.
12858 (logb_downward_test_data): Likewise.
12859 (lround_test_data): Likewise.
12860 (llround_test_data): Likewise.
12861 (modf_test_data): Likewise.
12862 (nearbyint_test_data): Likewise.
12863 (nextafter_test_data): Likewise.
12864 (nexttoward_test_data): Likewise.
12865 (pow_test_data): Likewise.
12866 (pow_tonearest_test_data): Likewise.
12867 (pow_towardzero_test_data): Likewise.
12868 (pow_downward_test_data): Likewise.
12869 (pow_upward_test_data): Likewise.
12870 (remainder_test_data): Likewise.
12871 (remainder_tonearest_test_data): Likewise.
12872 (remainder_towardzero_test_data): Likewise.
12873 (remainder_downward_test_data): Likewise.
12874 (remainder_upward_test_data): Likewise.
12875 (remquo_test_data): Likewise.
12876 (rint_test_data): Likewise.
12877 (rint_tonearest_test_data): Likewise.
12878 (rint_towardzero_test_data): Likewise.
12879 (rint_downward_test_data): Likewise.
12880 (rint_upward_test_data): Likewise.
12881 (round_test_data): Likewise.
12882 (scalb_test_data): Likewise.
12883 (scalbn_test_data): Likewise.
12884 (scalbln_test_data): Likewise.
12885 (signbit_test_data): Likewise.
12886 (sin_test_data): Likewise.
12887 (sin_tonearest_test_data): Likewise.
12888 (sin_towardzero_test_data): Likewise.
12889 (sin_downward_test_data): Likewise.
12890 (sin_upward_test_data): Likewise.
12891 (sincos_test_data): Likewise.
12892 (sinh_test_data): Likewise.
12893 (sinh_tonearest_test_data): Likewise.
12894 (sinh_towardzero_test_data): Likewise.
12895 (sinh_downward_test_data): Likewise.
12896 (sinh_upward_test_data): Likewise.
12897 (sqrt_test_data): Likewise.
12898 (tan_test_data): Likewise.
12899 (tan_tonearest_test_data): Likewise.
12900 (tan_towardzero_test_data): Likewise.
12901 (tan_downward_test_data): Likewise.
12902 (tan_upward_test_data): Likewise.
12903 (tanh_test_data): Likewise.
12904 (tgamma_test_data): Likewise.
12905 (trunc_test_data): Likewise.
12906 (y0_test_data): Likewise.
12907 (y1_test_data): Likewise.
12908 (yn_test_data): Likewise.
12909 (significand_test_data): Likewise.
12910
b679a606
JM
12911 * math/gen-libm-test.pl (@functions): Remove variable.
12912 (generate_testfile): Don't handle START and END lines.
12913 * math/libm-test.inc (START): New macro.
12914 (END): Likewise.
12915 (END_COMPLEX): Likewise.
12916 (acos_test): Use END macro without arguments.
12917 (acos_test_tonearest): Likewise.
12918 (acos_test_towardzero): Likewise.
12919 (acos_test_downward): Likewise.
12920 (acos_test_upward): Likewise.
12921 (acosh_test): Likewise.
12922 (asin_test): Likewise.
12923 (asin_test_tonearest): Likewise.
12924 (asin_test_towardzero): Likewise.
12925 (asin_test_downward): Likewise.
12926 (asin_test_upward): Likewise.
12927 (asinh_test): Likewise.
12928 (atan_test): Likewise.
12929 (atanh_test): Likewise.
12930 (atan2_test): Likewise.
12931 (cabs_test): Likewise.
12932 (cacos_test): Use END_COMPLEX macro without arguments.
12933 (cacosh_test): Likewise.
12934 (carg_test): Use END macro without arguments.
12935 (casin_test): Use END_COMPLEX macro without arguments.
12936 (casinh_test): Likewise.
12937 (catan_test): Likewise.
12938 (catanh_test): Likewise.
12939 (cbrt_test): Use END macro without arguments.
12940 (ccos_test): Use END_COMPLEX macro without arguments.
12941 (ccosh_test): Likewise.
12942 (ceil_test): Use END macro without arguments.
12943 (cexp_test): Use END_COMPLEX macro without arguments.
12944 (cimag_test): Use END macro without arguments.
12945 (clog_test): Use END_COMPLEX macro without arguments.
12946 (clog10_test): Likewise.
12947 (conj_test): Likewise.
12948 (copysign_test): Use END macro without arguments.
12949 (cos_test): Likewise.
12950 (cos_test_tonearest): Likewise.
12951 (cos_test_towardzero): Likewise.
12952 (cos_test_downward): Likewise.
12953 (cos_test_upward): Likewise.
12954 (cosh_test): Likewise.
12955 (cosh_test_tonearest): Likewise.
12956 (cosh_test_towardzero): Likewise.
12957 (cosh_test_downward): Likewise.
12958 (cosh_test_upward): Likewise.
12959 (cpow_test): Use END_COMPLEX macro without arguments.
12960 (cproj_test): Likewise.
12961 (creal_test): Use END macro without arguments.
12962 (csin_test): Use END_COMPLEX macro without arguments.
12963 (csinh_test): Likewise.
12964 (csqrt_test): Likewise.
12965 (ctan_test): Likewise.
12966 (ctan_test_tonearest): Likewise.
12967 (ctan_test_towardzero): Likewise.
12968 (ctan_test_downward): Likewise.
12969 (ctan_test_upward): Likewise.
12970 (ctanh_test): Likewise.
12971 (ctanh_test_tonearest): Likewise.
12972 (ctanh_test_towardzero): Likewise.
12973 (ctanh_test_downward): Likewise.
12974 (ctanh_test_upward): Likewise.
12975 (erf_test): Use END macro without arguments.
12976 (erfc_test): Likewise.
12977 (exp_test): Likewise.
12978 (exp_test_tonearest): Likewise.
12979 (exp_test_towardzero): Likewise.
12980 (exp_test_downward): Likewise.
12981 (exp_test_upward): Likewise.
12982 (exp10_test): Likewise.
12983 (exp2_test): Likewise.
12984 (expm1_test): Likewise.
12985 (fabs_test): Likewise.
12986 (fdim_test): Likewise.
12987 (finite_test): Likewise.
12988 (floor_test): Likewise.
12989 (fma_test): Likewise.
12990 (fma_test_towardzero): Likewise.
12991 (fma_test_downward): Likewise.
12992 (fma_test_upward): Likewise.
12993 (fmax_test): Likewise.
12994 (fmin_test): Likewise.
12995 (fmod_test): Likewise.
12996 (fpclassify_test): Likewise.
12997 (frexp_test): Likewise.
12998 (gamma_test): Likewise.
12999 (hypot_test): Likewise.
13000 (ilogb_test): Likewise.
13001 (isfinite_test): Likewise.
13002 (isgreater_test): Likewise.
13003 (isgreaterequal_test): Likewise.
13004 (isinf_test): Likewise.
13005 (isless_test): Likewise.
13006 (islessequal_test): Likewise.
13007 (islessgreater_test): Likewise.
13008 (isnan_test): Likewise.
13009 (isnormal_test): Likewise.
13010 (issignaling_test): Likewise.
13011 (isunordered_test): Likewise.
13012 (j0_test): Likewise.
13013 (j1_test): Likewise.
13014 (jn_test): Likewise.
13015 (ldexp_test): Likewise.
13016 (lgamma_test): Likewise.
13017 (lrint_test): Likewise.
13018 (lrint_test_tonearest): Likewise.
13019 (lrint_test_towardzero): Likewise.
13020 (lrint_test_downward): Likewise.
13021 (lrint_test_upward): Likewise.
13022 (llrint_test): Likewise.
13023 (llrint_test_tonearest): Likewise.
13024 (llrint_test_towardzero): Likewise.
13025 (llrint_test_downward): Likewise.
13026 (llrint_test_upward): Likewise.
13027 (log_test): Likewise.
13028 (log10_test): Likewise.
13029 (log1p_test): Likewise.
13030 (log2_test): Likewise.
13031 (logb_test): Likewise.
13032 (logb_test_downward): Likewise.
13033 (lround_test): Likewise.
13034 (llround_test): Likewise.
13035 (modf_test): Likewise.
13036 (nearbyint_test): Likewise.
13037 (nextafter_test): Likewise.
13038 (nexttoward_test): Likewise.
13039 (pow_test): Likewise.
13040 (pow_test_tonearest): Likewise.
13041 (pow_test_towardzero): Likewise.
13042 (pow_test_downward): Likewise.
13043 (pow_test_upward): Likewise.
13044 (remainder_test): Likewise.
13045 (remainder_test_tonearest): Likewise.
13046 (remainder_test_towardzero): Likewise.
13047 (remainder_test_downward): Likewise.
13048 (remainder_test_upward): Likewise.
13049 (remquo_test): Likewise.
13050 (rint_test): Likewise.
13051 (rint_test_tonearest): Likewise.
13052 (rint_test_towardzero): Likewise.
13053 (rint_test_downward): Likewise.
13054 (rint_test_upward): Likewise.
13055 (round_test): Likewise.
13056 (scalb_test): Likewise.
13057 (scalbn_test): Likewise.
13058 (scalbln_test): Likewise.
13059 (signbit_test): Likewise.
13060 (sin_test): Likewise.
13061 (sin_test_tonearest): Likewise.
13062 (sin_test_towardzero): Likewise.
13063 (sin_test_downward): Likewise.
13064 (sin_test_upward): Likewise.
13065 (sincos_test): Likewise.
13066 (sinh_test): Likewise.
13067 (sinh_test_tonearest): Likewise.
13068 (sinh_test_towardzero): Likewise.
13069 (sinh_test_downward): Likewise.
13070 (sinh_test_upward): Likewise.
13071 (sqrt_test): Likewise.
13072 (tan_test): Likewise.
13073 (tan_test_tonearest): Likewise.
13074 (tan_test_towardzero): Likewise.
13075 (tan_test_downward): Likewise.
13076 (tan_test_upward): Likewise.
13077 (tanh_test): Likewise.
13078 (tgamma_test): Likewise.
13079 (trunc_test): Likewise.
13080 (y0_test): Likewise.
13081 (y1_test): Likewise.
13082 (yn_test): Likewise.
13083 (significand_test): Likewise.
13084
bae143d2
OB
130852013-05-24 Ondřej Bílka <neleai@seznam.cz>
13086
13087 [BZ #15381]
13088 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13089
9323d39b
EM
130902013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13091
d4ea44a0 13092 [BZ #14894]
9323d39b
EM
13093 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13094 __ppc_mdoio and __ppc_mdoom.
13095 * manual/platform.texi: Document new functions __ppc_yield,
13096 __ppc_mdoio and __ppc_mdoom.
13097
13e23af7
CD
130982013-05-22 Carlos O'Donell <carlos@redhat.com>
13099
13100 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13101 (main): Mention "tls" pseudo-hwcap is legacy.
13102 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13103
351fe550
JM
131042013-05-22 Joseph Myers <joseph@codesourcery.com>
13105
13106 * math/gen-libm-test.pl (parse_args): Output only string of
13107 arguments as text for test name, not full call or descriptions of
13108 tests for extra outputs.
13109 (generate_testfile): Do not pass function name to parse_args.
13110 Generate this_func variable from START.
13111 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13112 field to arg_str.
13113 (struct test_ff_f_data): Likewise.
13114 (test_ff_f_data_nexttoward): Likewise.
13115 (struct test_fi_f_data): Likewise.
13116 (struct test_fl_f_data): Likewise.
13117 (struct test_if_f_data): Likewise.
13118 (struct test_fff_f_data): Likewise.
13119 (struct test_c_f_data): Likewise.
13120 (struct test_f_f1_data): Likewise. Remove field extra_name.
13121 (struct test_fF_f1_data): Likewise.
13122 (struct test_ffI_f1_data): Likewise.
13123 (struct test_c_c_data): Rename test_name field to arg_str.
13124 (struct test_cc_c_data): Likewise.
13125 (struct test_f_i_data): Likewise.
13126 (struct test_ff_i_data): Likewise.
13127 (struct test_f_l_data): Likewise.
13128 (struct test_f_L_data): Likewise.
13129 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13130 and extra2_name.
13131 (COMMON_TEST_SETUP): New macro.
13132 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13133 (COMMON_TEST_CLEANUP): Likewise.
13134 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13135 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13136 macros.
13137 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13138 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13139 macros.
13140 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13141 (RUN_TEST_fff_f): Take argument string. Call new setup and
13142 cleanup macros.
13143 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13144 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13145 macros.
13146 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13147 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13148 macros.
13149 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13150 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13151 cleanup macros.
13152 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13153 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13154 cleanup macros.
13155 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13156 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13157 cleanup macros.
13158 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13159 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13160 macros.
13161 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13162 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13163 macros.
13164 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13165 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13166 macros.
13167 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13168 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13169 cleanup macros.
13170 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13171 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13172 cleanup macros.
13173 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13174 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13175 macros.
13176 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13177 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13178 cleanup macros.
13179 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13180 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13181 macros.
13182 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13183 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13184 macros.
13185 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13186 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13187 cleanup macros.
13188 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13189
85118d4d
EBM
131902013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13191
13192 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13193 to _sifields.sigfault.
13194 (si_addr_lsb): Define new macro.
13195 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13196 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13197 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13198
7a44c18f
CD
131992013-05-03 Carlos O'Donell <carlos at redhat.com>
13200
13201 [BZ #15441]
13202 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13203 returns -1.
13204 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13205 null return -1.
13206 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13207 loading the domain.
13208
b50a7181
JM
132092013-05-22 Joseph Myers <joseph@codesourcery.com>
13210
13211 * math/gen-libm-test.pl (parse_args): Do not include expected
13212 result in test name.
13213 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13214 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13215 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13216 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13217 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13218 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13219
051063c8
SP
132202013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13221
3ce9e010
SP
13222 * benchtests/Makefile: Sort function entries.
13223
051063c8
SP
13224 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13225 tanh, asinh, acosh, atanh.
13226 * benchtests/acos-inputs: New file.
13227 * benchtests/acosh-inputs: New file.
13228 * benchtests/asin-inputs: New file.
13229 * benchtests/asinh-inputs: New file.
13230 * benchtests/atanh-inputs: New file.
13231 * benchtests/cosh-inputs: New file.
13232 * benchtests/log-inputs: New file.
13233 * benchtests/sinh-inputs: New file.
13234 * benchtests/tanh-inputs: New file.
13235
47c22455
DL
132362013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13237
13238 [BZ #15339]
13239 * posix/tst-getaddrinfo4.c: New test.
13240 * posix/Makefile (tests): Add it.
13241
3d04f5db
SP
132422013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13243
13244 [BZ #15339]
13245 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13246 when no services were used.
13247 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13248 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13249
d5dd6189
AS
132502013-05-21 Andreas Schwab <schwab@suse.de>
13251
13252 [BZ #15014]
13253 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13254 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13255 successful.
13256 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13257 redundant variable declarations and reallocation of buffer when
13258 parsing as IPv6 address. Always set NSS status when called from
13259 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13260 buffer too small. Correct computation of needed size.
13261 * nss/Makefile (tests): Add test-digits-dots.
13262 * nss/test-digits-dots.c: New test.
13263
fef94eab
SP
132642013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13265
13266 * benchtests/Makefile: Remove instructions for adding
13267 benchmark tests.
13268 * benchtests/README: New file to explain how to execute and
13269 enhance the benchmark tests.
13270
e39adf43
AS
132712013-05-21 Andreas Schwab <schwab@suse.de>
13272
13273 [BZ #15493]
13274 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13275 * setjmp/tst-sigsetjmp.c: New test.
13276
b2b671b6
OB
132772013-05-20 Ondřej Bílka <neleai@seznam.cz>
13278
13279 * sysdeps/x86_64/memset.S (memset): New implementation.
13280 (__bzero): Likewise.
13281 (__memset_tail): New function.
13282
2d48b41c
OB
132832013-05-20 Ondřej Bílka <neleai@seznam.cz>
13284
13285 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13286 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13287 __memcpy_sse2_unaligned ifunc selection.
13288 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13289 Add memcpy-sse2-unaligned.S.
13290 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13291 Add: __memcpy_sse2_unaligned.
13292
f16cc3eb
JM
132932013-05-19 Joseph Myers <joseph@codesourcery.com>
13294
3e694268
JM
13295 [BZ #15490]
13296 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13297 math_force_eval before restoring floating-point envrionment.
13298 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13299 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13300 Likewise.
13301 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13302 <math_private.h>.
13303 (__nearbyintl): Use math_force_eval before restoring
13304 floating-point environment.
13305 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13306
db62a907
JM
13307 * math/gen-libm-test.pl (special_functions): Remove.
13308 (parse_args): Don't handle TEST_extra. Handle functions with no
13309 return value.
13310 * math/libm-test.inc (struct test_sincos_data): Replace with
13311 struct test_fFF_11_data.
13312 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13313 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13314 (sincos_test_data): Change element type to struct
13315 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13316 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13317 RUN_TEST_LOOP_sincos.
13318 * math/README.libm-test: Don't mention special handling of
13319 individual functions.
13320 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13321 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13322 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13323 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13324 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13325 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13326
f16cc3eb
JM
13327 * math/gen-libm-test.pl (get_variable): Remove function.
13328 (parse_args): Don't show pointer parameters to call in test
13329 names. Use "extra output N" in test names for extra outputs
13330 rather than naming variables.
13331
3779b5b6
JM
133322013-05-18 Joseph Myers <joseph@codesourcery.com>
13333
2ee094ff
JM
13334 [BZ #15488]
13335 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13336 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13337 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13338 double tests.
13339 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13340 disable.
13341 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13342 check_long_double.
13343
3779b5b6
JM
13344 * math/gen-libm-test.pl (@tests): Remove variable.
13345 ($count): Likewise.
13346 (new_test): Remove function.
13347 (show_exceptions): New function.
13348 (special_functions): Use show_exceptions instead of new_test.
13349 (parse_args): Likewise.
13350 (generate_testfile): Pass only function name in generated call to
13351 print_max_error or print_complex_max_error.
13352 (get_ulps): Do not handle complex tests specially.
13353 (output_test): Rename to ...
13354 (get_all_ulps_for_test): ... this. Return a string rather than
13355 printing to a file. Require ulps to be present.
13356 (output_ulps): Generate arrays rather than #defines.
13357 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13358 (struct ulp_data): New type.
13359 (BUILD_COMPLEX_ULP): Remove macro.
13360 (compare_ulp_data): New function.
13361 (find_ulps): Likewise.
13362 (find_test_ulps): Likewise.
13363 (find_function_ulps): Likewise.
13364 (find_complex_function_ulps): Likewise.
13365 (print_max_error): Determine allowed ulps using
13366 find_function_ulps.
13367 (print_complex_max_error): Determine allowed ulps using
13368 find_complex_function_ulps.
13369 (check_float_internal): Determine max ulps using find_test_ulps.
13370 (check_float): Do not take max_ulp parameter. Update call to
13371 check_float_internal.
13372 (check_complex): Likewise.
13373 (check_int): Do not take max_ulp parameter.
13374 (check_long): Likewise.
13375 (check_bool): Likewise.
13376 (check_longlong): Likewise.
13377 (struct test_f_f_data): Remove max_ulp field.
13378 (struct test_ff_f_data): Likewise.
13379 (struct test_ff_f_data_nexttoward): Likewise.
13380 (struct test_fi_f_data): Likewise.
13381 (struct test_fl_f_data): Likewise.
13382 (struct test_if_f_data): Likewise.
13383 (struct test_fff_f_data): Likewise.
13384 (struct test_c_f_data): Likewise.
13385 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13386 (struct test_fF_f1_data): Likewise.
13387 (struct test_ffI_f1_data): Likewise.
13388 (struct test_c_c_data): Remove max_ulp field.
13389 (struct test_cc_c_data): Likewise.
13390 (struct test_f_i_data): Likewise.
13391 (struct test_ff_i_data): Likewise.
13392 (struct test_f_l_data): Likewise.
13393 (struct test_f_L_data): Likewise.
13394 (struct test_sincos_data): Likewise.
13395 (RUN_TEST_f_f): Do not handle ulps.
13396 (RUN_TEST_LOOP_f_f): Likewise.
13397 (RUN_TEST_2_f): Likewise.
13398 (RUN_TEST_LOOP_2_f): Likewise.
13399 (RUN_TEST_fff_f): Likewise.
13400 (RUN_TEST_LOOP_fff_f): Likewise.
13401 (RUN_TEST_c_f): Likewise.
13402 (RUN_TEST_LOOP_c_f): Likewise.
13403 (RUN_TEST_f_f1): Likewise.
13404 (RUN_TEST_LOOP_f_f1): Likewise.
13405 (RUN_TEST_fF_f1): Likewise.
13406 (RUN_TEST_LOOP_fF_f1): Likewise.
13407 (RUN_TEST_fI_f1): Likewise.
13408 (RUN_TEST_LOOP_fI_f1): Likewise.
13409 (RUN_TEST_ffI_f1): Likewise.
13410 (RUN_TEST_LOOP_ffI_f1): Likewise.
13411 (RUN_TEST_c_c): Likewise.
13412 (RUN_TEST_LOOP_c_c): Likewise.
13413 (RUN_TEST_cc_c): Likewise.
13414 (RUN_TEST_LOOP_cc_c): Likewise.
13415 (RUN_TEST_f_i): Likewise.
13416 (RUN_TEST_LOOP_f_i): Likewise.
13417 (RUN_TEST_f_i_tg): Likewise.
13418 (RUN_TEST_LOOP_f_i_tg): Likewise.
13419 (RUN_TEST_ff_i_tg): Likewise.
13420 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13421 (RUN_TEST_f_b): Likewise.
13422 (RUN_TEST_LOOP_f_b): Likewise.
13423 (RUN_TEST_f_b_tg): Likewise.
13424 (RUN_TEST_LOOP_f_b_tg): Likewise.
13425 (RUN_TEST_f_l): Likewise.
13426 (RUN_TEST_LOOP_f_l): Likewise.
13427 (RUN_TEST_f_L): Likewise.
13428 (RUN_TEST_LOOP_f_L): Likewise.
13429 (RUN_TEST_sincos): Likewise.
13430 (RUN_TEST_LOOP_sincos): Likewise.
13431
8269107f
JM
134322013-05-17 Joseph Myers <joseph@codesourcery.com>
13433
bb38759d
JM
13434 [BZ #15480]
13435 [BZ #15485]
13436 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13437 main case of finite arguments, set rounding mode to FE_TONEAREST
13438 and discard exceptions.
13439 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13440 exceptions.
13441 (remainder_tonearest_test_data): New variable.
13442 (remainder_test_tonearest): New function.
13443 (remainder_towardzero_test_data): New variable.
13444 (remainder_test_towardzero): New function.
13445 (remainder_downward_test_data): New variable.
13446 (remainder_test_downward): New function.
13447 (remainder_upward_test_data): New variable.
13448 (remainder_test_upward): New function.
13449 (main): Call the new test functions.
13450
a00bdcf0
JM
13451 * math/libm-test.inc (struct test_f_f1_data): Remove field
13452 extra_init.
13453 (struct test_fF_f1_data): Likewise.
13454 (struct test_ffI_f1_data): Likewise.
13455 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13456 based on value of EXTRA_EXPECTED.
13457 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13458 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13459 EXTRA_VAR based on value of EXTRA_EXPECTED.
13460 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13461 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13462 EXTRA_VAR based on value of EXTRA_EXPECTED.
13463 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13464 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13465 EXTRA_VAR based on value of EXTRA_EXPECTED.
13466 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13467 * math/gen-libm-test.pl (parse_args): Don't output initializers
13468 for extra output values.
13469
de407f79
JM
13470 * math/libm-test.inc (check_int): Expect result to be exactly
13471 equal to expected value and do not handle ulps.
13472 (check_long): Likewise.
13473 (check_longlong): Likewise.
13474
8269107f
JM
13475 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13476 exceptions.
13477 (cimag_test_data): Likewise.
13478 (conj_test_data): Likewise.
13479 (copysign_test_data): Likewise.
13480 (cproj_test_data): Likewise.
13481 (creal_test_data): Likewise.
13482 (fabs_test_data): Likewise.
13483 (fdim_test_data): Likewise.
13484 (finite_test_data): Likewise.
13485 (floor_test_data): Likewise.
13486 (fmax_test_data): Likewise.
13487 (fmin_test_data): Likewise.
13488 (fmod_test_data): Likewise.
13489 (fpclassify_test_data): Likewise.
13490 (frexp_test_data): Likewise.
13491 (ilogb_test_data): Likewise.
13492 (isfinite_test_data): Likewise.
13493 (isgreater_test_data): Likewise.
13494 (isgreaterequal_test_data): Likewise.
13495 (isinf_test_data): Likewise.
13496 (isless_test_data): Likewise.
13497 (islessequal_test_data): Likewise.
13498 (islessgreater_test_data): Likewise.
13499 (isnan_test_data): Likewise.
13500 (isnormal_test_data): Likewise.
13501 (issignaling_test_data): Likewise.
13502 (isunordered_test_data): Likewise.
13503 (ldexp_test_data): Likewise.
13504 (lrint_test_data): Likewise.
13505 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13506 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13507 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13508 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13509 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13510 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13511 test input.
13512 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13513 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13514 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13515 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13516 that test input.
13517 (lrint_downward_test_data): Test for "inexact" exceptions.
13518 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13519 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13520 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13521 test input.
13522 (lrint_upward_test_data): Test for "inexact" exceptions.
13523 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13524 test input.
13525 (llrint_test_data): Test for "inexact" exceptions.
13526 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13527 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13528 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13529 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13530 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13531 (llrint_downward_test_data): Test for "inexact" exceptions.
13532 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13533 (llrint_upward_test_data): Test for "inexact" exceptions.
13534 (logb_test_data): Likewise.
13535 (logb_downward_test_data): Likewise.
13536 (nextafter_test_data): Likewise.
13537 (nexttoward_test_data): Likewise.
13538 (remainder_test_data): Likewise.
13539 (remquo_test_data): Likewise.
13540 (scalbn_test_data): Likewise.
13541 (scalbln_test_data): Likewise.
13542 (signbit_test_data): Likewise.
13543 (sqrt_test_data): Likewise.
13544 (significand_test_data): Likewise.
13545
48a18de1
SP
135462013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13547
13548 [BZ #15424]
13549 * benchtests/bench-modf.c (struct args): Mark arg0 as
13550 volatile.
13551 * scripts/bench.pl: Mark members of struct args as volatile.
13552
13d3b41a
AZ
135532013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13554
68191c1d 13555 [BZ # 15497]
13d3b41a
AZ
13556 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13557 negative infinity on POWER6 or lower.
13558 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13559
2848b105
MR
135602013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13561
13562 [BZ #15442]
13563 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13564 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13565 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13566 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13567 (_FP_SETQNAN): New macro.
13568 (_FP_SETQNAN_SEMIRAW): Likewise.
13569 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13570 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13571 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13572 (FP_EXTEND): Use _FP_FRAC_SNANP.
13573 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13574 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13575 into account.
13576 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13577 New macro.
13578 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13579 Likewise.
13580
323e5cb7
JM
135812013-05-16 Joseph Myers <joseph@codesourcery.com>
13582
c58b274f
JM
13583 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13584 with DIVIDE_BY_ZERO_EXCEPTION.
13585 (gamma_test_data): Likewise.
13586 (lgamma_test_data): Likewise.
13587 (log_test_data): Likewise.
13588 (log10_test_data): Likewise.
13589 (log2_test_data): Likewise.
13590 (tgamma_test_data): Likewise.
13591
0ab34904
JM
13592 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13593 (acos_test_tonearest): Likewise.
13594 (acos_test_towardzero): Likewise.
13595 (acos_test_downward): Likewise.
13596 (acos_test_upward): Likewise.
13597 (acosh_test): Likewise.
13598 (asin_test): Likewise.
13599 (asin_test_tonearest): Likewise.
13600 (asin_test_towardzero): Likewise.
13601 (asin_test_downward): Likewise.
13602 (asin_test_upward): Likewise.
13603 (asinh_test): Likewise.
13604 (atan_test): Likewise.
13605 (atanh_test): Likewise.
13606 (atan2_test): Likewise.
13607 (cabs_test): Likewise.
13608 (cacos_test): Likewise.
13609 (cacosh_test): Likewise.
13610 (casin_test): Likewise.
13611 (casinh_test): Likewise.
13612 (catan_test): Likewise.
13613 (catanh_test): Likewise.
13614 (cbrt_test): Likewise.
13615 (ccos_test): Likewise.
13616 (ccosh_test): Likewise.
13617 (cexp_test): Likewise.
13618 (clog_test): Likewise.
13619 (clog10_test): Likewise.
13620 (cos_test): Likewise.
13621 (cos_test_tonearest): Likewise.
13622 (cos_test_towardzero): Likewise.
13623 (cos_test_downward): Likewise.
13624 (cos_test_upward): Likewise.
13625 (cosh_test): Likewise.
13626 (cosh_test_tonearest): Likewise.
13627 (cosh_test_towardzero): Likewise.
13628 (cosh_test_downward): Likewise.
13629 (cosh_test_upward): Likewise.
13630 (cpow_test): Likewise.
13631 (csin_test): Likewise.
13632 (csinh_test): Likewise.
13633 (csqrt_test): Likewise.
13634 (ctan_test): Likewise.
13635 (ctan_test_tonearest): Likewise.
13636 (ctan_test_towardzero): Likewise.
13637 (ctan_test_downward): Likewise.
13638 (ctan_test_upward): Likewise.
13639 (ctanh_test): Likewise.
13640 (ctanh_test_tonearest): Likewise.
13641 (ctanh_test_towardzero): Likewise.
13642 (ctanh_test_downward): Likewise.
13643 (ctanh_test_upward): Likewise.
13644 (erf_test): Likewise.
13645 (erfc_test): Likewise.
13646 (exp_test): Likewise.
13647 (exp_test_tonearest): Likewise.
13648 (exp_test_towardzero): Likewise.
13649 (exp_test_downward): Likewise.
13650 (exp_test_upward): Likewise.
13651 (exp10_test): Likewise.
13652 (exp2_test): Likewise.
13653 (expm1_test): Likewise.
13654 (fmod_test): Likewise.
13655 (gamma_test): Likewise.
13656 (hypot_test): Likewise.
13657 (j0_test): Likewise.
13658 (j1_test): Likewise.
13659 (jn_test): Likewise.
13660 (lgamma_test): Likewise.
13661 (log_test): Likewise.
13662 (log10_test): Likewise.
13663 (log1p_test): Likewise.
13664 (log2_test): Likewise.
13665 (logb_test_downward): Likewise.
13666 (pow_test): Likewise.
13667 (pow_test_tonearest): Likewise.
13668 (pow_test_towardzero): Likewise.
13669 (pow_test_downward): Likewise.
13670 (pow_test_upward): Likewise.
13671 (remainder_test): Likewise.
13672 (remquo_test): Likewise.
13673 (sin_test): Likewise.
13674 (sin_test_tonearest): Likewise.
13675 (sin_test_towardzero): Likewise.
13676 (sin_test_downward): Likewise.
13677 (sin_test_upward): Likewise.
13678 (sincos_test): Likewise.
13679 (sinh_test): Likewise.
13680 (sinh_test_tonearest): Likewise.
13681 (sinh_test_towardzero): Likewise.
13682 (sinh_test_downward): Likewise.
13683 (sinh_test_upward): Likewise.
13684 (sqrt_test): Likewise.
13685 (tan_test): Likewise.
13686 (tan_test_tonearest): Likewise.
13687 (tan_test_towardzero): Likewise.
13688 (tan_test_downward): Likewise.
13689 (tan_test_upward): Likewise.
13690 (tanh_test): Likewise.
13691 (tgamma_test): Likewise.
13692 (y0_test): Likewise.
13693 (y1_test): Likewise.
13694 (yn_test): Likewise.
13695
323e5cb7
JM
13696 * math/gen-libm-test.pl (adjust_arg): Remove function.
13697 (special_function): Remove argument $in_func. Only handle
13698 generating output for tables of tests, not inside functions.
13699 (parse_args): Likewise.
13700 (generate_testfile): Remove variable $in_func. Update call to
13701 parse_args.
13702 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13703 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13704 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13705 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13706 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13707 (MAX_VALUE_INIT): Rename macro to max_value.
13708 (MIN_VALUE_INIT): Rename macro to min_value.
13709 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13710 (plus_zero): Remove variable.
13711 (minus_zero): Likewise.
13712 (plus_infty): Likewise.
13713 (minus_infty): Likewise.
13714 (qnan_value): Likewise.
13715 (max_value): Likewise.
13716 (min_value): Likewise.
13717 (min_subnorm_value): Likewise.
13718
e054f494
RA
137192013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13720
13721 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13722 uint64_t or uint32_t usage.
13723 * crypt/sha256-block.c: Likewise.
13724 * crypt/sha256-crypt.c: Likewise.
13725 * crypt/sha256.c: Likewise.
13726 * crypt/sha512-block.c: Likewise.
13727 * crypt/sha512-crypt.c: Likewise.
13728 * crypt/sha512.c: Likewise.
13729 * debug/backtrace-tst.c: Likewise.
13730 * debug/pcprofiledump.c: Likewise.
13731 * elf/cache.c: Likewise.
13732 * elf/dl-cache.c: Likewise.
13733 * elf/dl-misc.c: Likewise.
13734 * elf/dl-profile.c: Likewise.
13735 * elf/dl-support.c: Likewise.
13736 * elf/ldconfig.c: Likewise.
13737 * elf/sprof.c: Likewise.
13738 * iconv/dummy-repertoire.c: Likewise.
13739 * iconv/iconv_charmap.c: Likewise.
13740 * iconv/skeleton.c: Likewise.
13741 * iconvdata/8bit-generic.c: Likewise.
13742 * iconvdata/cp737.h: Likewise.
13743 * iconvdata/cp775.h: Likewise.
13744 * iconvdata/ibm1008.h: Likewise.
13745 * iconvdata/ibm1025.h: Likewise.
13746 * iconvdata/ibm1046.h: Likewise.
13747 * iconvdata/ibm1097.h: Likewise.
13748 * iconvdata/ibm1112.h: Likewise.
13749 * iconvdata/ibm1122.h: Likewise.
13750 * iconvdata/ibm1123.h: Likewise.
13751 * iconvdata/ibm1124.h: Likewise.
13752 * iconvdata/ibm1129.h: Likewise.
13753 * iconvdata/ibm1130.h: Likewise.
13754 * iconvdata/ibm1132.h: Likewise.
13755 * iconvdata/ibm1133.h: Likewise.
13756 * iconvdata/ibm1137.h: Likewise.
13757 * iconvdata/ibm1140.h: Likewise.
13758 * iconvdata/ibm1141.h: Likewise.
13759 * iconvdata/ibm1142.h: Likewise.
13760 * iconvdata/ibm1143.h: Likewise.
13761 * iconvdata/ibm1144.h: Likewise.
13762 * iconvdata/ibm1145.h: Likewise.
13763 * iconvdata/ibm1146.h: Likewise.
13764 * iconvdata/ibm1147.h: Likewise.
13765 * iconvdata/ibm1148.h: Likewise.
13766 * iconvdata/ibm1149.h: Likewise.
13767 * iconvdata/ibm1153.h: Likewise.
13768 * iconvdata/ibm1154.h: Likewise.
13769 * iconvdata/ibm1155.h: Likewise.
13770 * iconvdata/ibm1156.h: Likewise.
13771 * iconvdata/ibm1157.h: Likewise.
13772 * iconvdata/ibm1158.h: Likewise.
13773 * iconvdata/ibm1160.h: Likewise.
13774 * iconvdata/ibm1161.h: Likewise.
13775 * iconvdata/ibm1162.h: Likewise.
13776 * iconvdata/ibm1163.h: Likewise.
13777 * iconvdata/ibm1164.h: Likewise.
13778 * iconvdata/ibm1166.h: Likewise.
13779 * iconvdata/ibm1167.h: Likewise.
13780 * iconvdata/ibm12712.h: Likewise.
13781 * iconvdata/ibm1390.h: Likewise.
13782 * iconvdata/ibm1399.h: Likewise.
13783 * iconvdata/ibm16804.h: Likewise.
13784 * iconvdata/ibm4517.h: Likewise.
13785 * iconvdata/ibm4899.h: Likewise.
13786 * iconvdata/ibm4909.h: Likewise.
13787 * iconvdata/ibm4971.h: Likewise.
13788 * iconvdata/ibm5347.h: Likewise.
13789 * iconvdata/ibm803.h: Likewise.
13790 * iconvdata/ibm856.h: Likewise.
13791 * iconvdata/ibm901.h: Likewise.
13792 * iconvdata/ibm902.h: Likewise.
13793 * iconvdata/ibm9030.h: Likewise.
13794 * iconvdata/ibm9066.h: Likewise.
13795 * iconvdata/ibm921.h: Likewise.
13796 * iconvdata/ibm922.h: Likewise.
13797 * iconvdata/ibm9448.h: Likewise.
13798 * iconvdata/isiri-3342.h: Likewise.
13799 * iconvdata/jis0201.h: Likewise.
13800 * include/link.h: Likewise.
13801 * include/netdb.h: Likewise.
13802 * inet/check_native.c: Likewise.
13803 * inet/check_pf.c: Likewise.
13804 * inet/getipv4sourcefilter.c: Likewise.
13805 * inet/getnameinfo.c: Likewise.
13806 * inet/getsourcefilter.c: Likewise.
13807 * inet/htonl.c: Likewise.
13808 * inet/setipv4sourcefilter.c: Likewise.
13809 * inet/setsourcefilter.c: Likewise.
13810 * inet/test-inet6_opt.c: Likewise.
13811 * inet/tst-network.c: Likewise.
13812 * locale/C-collate.c: Likewise.
13813 * locale/C-ctype.c: Likewise.
13814 * locale/C-time.c: Likewise.
13815 * locale/C-translit.h: Likewise.
13816 * locale/loadarchive.c: Likewise.
13817 * locale/programs/3level.h: Likewise.
13818 * locale/programs/charmap.c: Likewise.
13819 * locale/programs/charmap.h: Likewise.
13820 * locale/programs/ld-address.c: Likewise.
13821 * locale/programs/ld-collate.c: Likewise.
13822 * locale/programs/ld-ctype.c: Likewise.
13823 * locale/programs/ld-identification.c: Likewise.
13824 * locale/programs/ld-measurement.c: Likewise.
13825 * locale/programs/ld-messages.c: Likewise.
13826 * locale/programs/ld-monetary.c: Likewise.
13827 * locale/programs/ld-name.c: Likewise.
13828 * locale/programs/ld-numeric.c: Likewise.
13829 * locale/programs/ld-paper.c: Likewise.
13830 * locale/programs/ld-telephone.c: Likewise.
13831 * locale/programs/ld-time.c: Likewise.
13832 * locale/programs/linereader.c: Likewise.
13833 * locale/programs/locale.c: Likewise.
13834 * locale/programs/locarchive.c: Likewise.
13835 * locale/programs/locfile.h: Likewise.
13836 * locale/programs/repertoire.c: Likewise.
13837 * locale/programs/simple-hash.c: Likewise.
13838 * locale/programs/simple-hash.h: Likewise.
13839 * malloc/memusage.c: Likewise.
13840 * malloc/memusagestat.c: Likewise.
13841 * nis/nis_defaults.c: Likewise.
13842 * nis/nis_hash.c: Likewise.
13843 * nis/nis_print.c: Likewise.
13844 * nis/nis_xdr.c: Likewise.
13845 * nscd/connections.c: Likewise.
13846 * nscd/hstcache.c: Likewise.
13847 * nscd/nscd_gethst_r.c: Likewise.
13848 * nscd/nscd_getserv_r.c: Likewise.
13849 * nscd/nscd_helper.c: Likewise.
13850 * nscd/servicescache.c: Likewise.
13851 * nss/makedb.c: Likewise.
13852 * nss/nss_db/db-XXX.c: Likewise.
13853 * nss/nss_db/db-initgroups.c: Likewise.
13854 * nss/nss_db/db-netgrp.c: Likewise.
13855 * nss/nss_files/files-network.c: Likewise.
13856 * nss/nss_files/files-parse.c: Likewise.
13857 * posix/bug-regex5.c: Likewise.
13858 * posix/fnmatch_loop.c: Likewise.
13859 * posix/regcomp.c: Likewise.
13860 * posix/regexec.c: Likewise.
13861 * posix/tst-rfc3484-2.c: Likewise.
13862 * posix/tst-rfc3484-3.c: Likewise.
13863 * posix/tst-rfc3484.c: Likewise.
13864 * resolv/nss_dns/dns-canon.c: Likewise.
13865 * resolv/nss_dns/dns-network.c: Likewise.
13866 * resolv/res_init.c: Likewise.
13867 * resolv/res_mkquery.c: Likewise.
13868 * resolv/tst-aton.c: Likewise.
13869 * stdlib/cxa_atexit.c: Likewise.
13870 * stdlib/cxa_finalize.c: Likewise.
13871 * stdlib/gen-fpioconst.c: Likewise.
13872 * stdlib/strtol_l.c: Likewise.
13873 * string/tst-endian.c: Likewise.
13874 * sunrpc/auth_des.c: Likewise.
13875 * sunrpc/clnt_udp.c: Likewise.
13876 * sunrpc/rtime.c: Likewise.
13877 * sunrpc/svcauth_des.c: Likewise.
13878 * sunrpc/xdr.c: Likewise.
13879 * sunrpc/xdr_intXX_t.c: Likewise.
13880 * sunrpc/xdr_rec.c: Likewise.
13881 * sysdeps/generic/ldconfig.h: Likewise.
13882 * sysdeps/generic/ldsodefs.h: Likewise.
13883 * sysdeps/generic/memusage.h: Likewise.
13884 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13885 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13886 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13887 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13888 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13889 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13890 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13891 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13892 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13893 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13894 * sysdeps/posix/getaddrinfo.c: Likewise.
13895 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13896 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13897 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13898 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13899 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13900 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13901 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13902 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13903 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13904 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13905 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13906 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13907 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13908 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13909 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13910 * sysdeps/x86_64/dl-tls.h: Likewise.
13911 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13912 * time/alt_digit.c: Likewise.
13913 * time/era.c: Likewise.
13914 * wcsmbs/tst-c16c32-1.c: Likewise.
13915
8c75f674
JM
139162013-05-16 Joseph Myers <joseph@codesourcery.com>
13917
13918 * math/libm-test.inc (struct test_sincos_data): New type.
13919 (RUN_TEST_LOOP_sincos): New macro.
13920 (sincos_test_data): New variable.
13921 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13922
e6e49e59
RH
139232013-05-16 Richard Henderson <rth@redhat.com>
13924
13925 * math/atest-exp2.c (LIMB64): New macro.
13926 (CONSTSZ): New macro.
13927 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13928 (hexdig): Move ...
13929 (print_mpn_fp): ... to function scope.
13930 (read_mpn_hex): Remove.
13931 (get_log2): Remove.
13932 (exp2_mpn): Use mp_log2.
13933 (main): Use mp_exp1.
13934
15c7c18d
JM
139352013-05-16 Joseph Myers <joseph@codesourcery.com>
13936
105a07df
JM
13937 * math/libm-test.inc: Remove comment about not testing "inexact"
13938 exceptions.
13939 (INEXACT_EXCEPTION): New macro.
13940 (NO_INEXACT_EXCEPTION): Likewise.
13941 (INVALID_EXCEPTION_OK): Update value.
13942 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13943 (OVERFLOW_EXCEPTION_OK): Likewise.
13944 (UNDERFLOW_EXCEPTION_OK): Likewise.
13945 (IGNORE_ZERO_INF_SIGN): Likewise.
13946 (ERRNO_UNCHANGED): Likewise.
13947 (ERRNO_EDOM): Likewise.
13948 (ERRNO_ERANGE): Likewise.
13949 (test_exceptions): Handle testing "inexact" exceptions.
13950 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13951 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13952 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13953 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13954 INEXACT_EXCEPTION.
13955 (rint_towardzero_test_data): Likewise.
13956 (rint_downward_test_data): Likewise.
13957 (rint_upward_test_data): Likewise.
13958
e9eee333
JM
13959 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13960 with OVERFLOW_EXCEPTION.
13961 (exp10_test_data): Likewise.
13962 (exp2_test_data): Likewise.
13963 (expm1_test_data): Likewise.
13964 (lgamma_test_data): Likewise.
13965 (pow_test_data): Likewise.
13966 (tgamma_test_data): Likewise.
13967 (yn_test_data): Remove duplicate test of overflow.
13968
1c38ff73
JM
13969 * math/libm-test.inc (struct test_cc_c_data): New type.
13970 (RUN_TEST_LOOP_cc_c): New macro.
13971 (cpow_test_data): New variable.
13972 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13973
15c7c18d
JM
13974 * math/libm-test.inc (struct test_f_L_data): New type.
13975 (RUN_TEST_LOOP_f_L): New macro.
13976 (llrint_test_data): New variable.
13977 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13978 (llrint_tonearest_test_data): New variable.
13979 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
13980 (llrint_towardzero_test_data): New variable.
13981 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
13982 (llrint_downward_test_data): New variable.
13983 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
13984 (llrint_upward_test_data): New variable.
13985 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
13986 (llround_test_data): New variable.
13987 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
13988
f137ff13
PC
139892013-05-13 Peter Collingbourne <pcc@google.com>
13990
13991 * math/atest-exp2.c (get_log2): Remove const attribute.
13992
3608cb24
JM
139932013-05-15 Joseph Myers <joseph@codesourcery.com>
13994
13995 * math/libm-test.inc (struct test_f_l_data): New type.
13996 (RUN_TEST_LOOP_f_l): New macro.
13997 (lrint_test_data): New variable.
13998 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
13999 (lrint_tonearest_test_data): New variable.
14000 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14001 (lrint_towardzero_test_data): New variable.
14002 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14003 (lrint_downward_test_data): New variable.
14004 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14005 (lrint_upward_test_data): New variable.
14006 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14007 (lround_test_data): New variable.
14008 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14009
39b1f617
PC
140102013-05-15 Peter Collingbourne <pcc@google.com>
14011
1deff3dc
PC
14012 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14013 (EXTRACT_WORDS64) Use where appropriate.
14014 (INSERT_WORDS64) Likewise.
14015
791f3ba0
PC
14016 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14017 constraints with x constraints.
14018 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14019
39b1f617
PC
14020 * malloc/obstack.c (_obstack_compat): Add initializer.
14021
12fba011
EM
140222013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14023
14024 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14025 si_trapno and add si_addr_lsb to _sifields.sigfault.
14026 (si_trapno): Remove macro.
14027 (si_addr_lsb): Define new macro.
14028 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14029
d369f531
JM
140302013-05-15 Joseph Myers <joseph@codesourcery.com>
14031
b861c6c4
JM
14032 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14033 instead of TEST_f_l.
14034 (llrint_test_tonearest): Likewise.
14035 (llrint_test_towardzero): Likewise.
14036 (llrint_test_downward): Likewise.
14037 (llrint_test_upward): Likewise.
14038 (llround_test): Likewise.
14039
7abeee12
JM
14040 * math/libm-test.inc (struct test_f_i_data): Add comment.
14041 (RUN_TEST_LOOP_f_b): New macro.
14042 (RUN_TEST_LOOP_f_b_tg): Likewise.
14043 (finite_test_data): New variable.
14044 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14045 (isfinite_test_data): New variable.
14046 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14047 (isinf_test_data): New variable.
14048 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14049 (isnan_test_data): New variable.
14050 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14051 (isnormal_test_data): New variable.
14052 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14053 (issignaling_test_data): New variable.
14054 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14055 (signbit_test_data): New variable.
14056 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14057
cbe8c4d3
JM
14058 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14059 with INVALID_EXCEPTION.
14060 (acosh_test_data): Likewise.
14061 (asin_test_data): Likewise.
14062 (atanh_test_data): Likewise.
14063 (fmod_test_data): Likewise.
14064 (log_test_data): Likewise.
14065 (log10_test_data): Likewise.
14066 (log2_test_data): Likewise.
14067 (pow_test_data): Likewise.
14068 (sqrt_test_data): Likewise.
14069 (y0_test_data): Likewise.
14070 (y1_test_data): Likewise.
14071 (yn_test_data): Likewise.
14072
5575c0e5
JM
14073 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14074 function contents.
14075
d369f531
JM
14076 * math/libm-test.inc (struct test_ff_i_data): New type.
14077 (RUN_TEST_LOOP_ff_i_tg): New macro.
14078 (isgreater_test_data): New variable.
14079 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14080 (isgreaterequal_test_data): New variable.
14081 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14082 (isless_test_data): New variable.
14083 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14084 (islessequal_test_data): New variable.
14085 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14086 (islessgreater_test_data): New variable.
14087 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14088 (isunordered_test_data): New variable.
14089 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14090
781fd748
DM
140912013-05-14 David S. Miller <davem@davemloft.net>
14092
14093 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14094
87aa21df
JM
140952013-05-14 Joseph Myers <joseph@codesourcery.com>
14096
5e908270
JM
14097 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14098
f71172e5
JM
14099 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14100 extra_test to int.
14101 (struct test_f_i_data): Change type of max_ulp to int.
14102
8cfa635a
JM
14103 * math/libm-test.inc (test_ffI_f1_data): New type.
14104 (RUN_TEST_LOOP_ffI_f1): New macro.
14105 (remquo_test_data): New variable.
14106 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14107
2bcb36b2
JM
14108 * setjmp/tst-setjmp-fp.c: New file.
14109 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14110 (link-libm): New variable.
14111 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14112
acbd839a
JM
14113 * math/libm-test.inc (struct test_f_i_data): New type.
14114 (RUN_TEST_LOOP_f_i): New macro.
14115 (RUN_TEST_LOOP_f_i_tg): Likewise.
14116 (fpclassify_test_data): New variable.
14117 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14118 (ilogb_test_data): New variable.
14119 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14120
e414d745
JM
14121 * math/libm-test.inc (scalbln_test): Correct function name in END
14122 call.
14123
d9c2a0fd
JM
14124 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14125 (RUN_TEST_LOOP_fI_f1): New macro.
14126 (frexp_test_data): New variable.
14127 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14128
9dc9095d
JM
14129 * math/libm-test.inc (struct test_fF_f1_data): New type.
14130 (RUN_TEST_LOOP_fF_f1): New macro.
14131 (modf_test_data): New variable.
14132 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14133
87aa21df
JM
14134 * math/libm-test.inc (struct test_f_f1_data): New type.
14135 (RUN_TEST_LOOP_f_f1): New macro.
14136 (gamma_test_data): New variable.
14137 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14138 (lgamma_test_data): New variable.
14139 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14140
141af660
CD
141412013-05-13 Carlos O'Donell <carlos@redhat.com>
14142
14143 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14144 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14145 (main): Comment "tls" pseudo-hwcap.
14146
6d33265c
JM
141472013-05-13 Joseph Myers <joseph@codesourcery.com>
14148
68fc074c
JM
14149 * math/libm-test.inc (struct test_fl_f_data): New type.
14150 (RUN_TEST_LOOP_fl_f): New variable.
14151 (scalbln_test_data): New variable.
14152 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14153
243216e1
JM
14154 * math/libm-test.inc (struct test_fi_f_data): New type.
14155 (RUN_TEST_LOOP_fi_f): New macro.
14156 (ldexp_test_data): New variable.
14157 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14158 (scalbn_test_data): New variable.
14159 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14160
6a1992e2
JM
14161 * math/libm-test.inc (struct test_c_f_data): New type.
14162 (RUN_TEST_LOOP_c_f): New macro.
14163 (cabs_test_data): New variable.
14164 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14165 (carg_test_data): New variable.
14166 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14167 (cimag_test_data): New variable.
14168 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14169 (creal_test_data): New variable.
14170 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14171
0e400df5
JM
14172 * math/libm-test.inc (struct test_if_f_data): New type.
14173 (RUN_TEST_LOOP_if_f): New macro.
14174 (jn_test_data): New variable.
14175 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14176 (yn_test_data): New variable.
14177 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14178
6d33265c
JM
14179 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14180
f98ece5f
AZ
141812013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14182
14183 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14184 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14185
0f7d347b
SP
141862013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14187
43fe811b
SP
14188 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14189 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14190 (bench-deps): Add bench-timing.h.
14191 * benchtests-bench-skeleton.c: Include bench-timing.h.
14192 (main): Use TIMING_* macros instead of clock_gettime.
14193 * benchtests/bench-timing.h: New file.
14194
0f7d347b
SP
14195 [BZ #14582]
14196 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14197 Renamed from _LIB_VERSION.
14198 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14199
601a3a5f
JM
142002013-05-12 Joseph Myers <joseph@codesourcery.com>
14201
4f184d30
JM
14202 * math/libm-test.inc (struct test_fff_f_data): New type.
14203 (RUN_TEST_LOOP_fff_f): New macro.
14204 (fma_test_data): New variable.
14205 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14206 (fma_towardzero_test_data): New variable.
14207 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14208 (fma_downward_test_data): New variable.
14209 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14210 (fma_upward_test_data): New variable.
14211 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14212
08198877
JM
14213 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14214 (struct test_c_c_data): New type.
14215 (RUN_TEST_LOOP_c_c): New macro.
14216 (cacos_test_data): New variable.
14217 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14218 (cacosh_test_data): New variable.
14219 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14220 (casin_test_data): New variable.
14221 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14222 (casinh_test_data): New variable.
14223 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14224 (catan_test_data): New variable.
14225 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14226 (catanh_test_data): New variable.
14227 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14228 (ccos_test_data): New variable.
14229 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14230 (ccosh_test_data): New variable.
14231 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14232 (cexp_test_data): New variable.
14233 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14234 (clog_test_data): New variable.
14235 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14236 (clog10_test_data): New variable.
14237 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14238 (conj_test_data): New variable.
14239 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14240 (cproj_test_data): New variable.
14241 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14242 (csin_test_data): New variable.
14243 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14244 (csinh_test_data): New variable.
14245 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14246 (csqrt_test_data): New variable.
14247 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14248 (ctan_test_data): New variable.
14249 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14250 (ctan_tonearest_test_data): New variable.
14251 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14252 (ctan_towardzero_test_data): New variable.
14253 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14254 (ctan_downward_test_data): New variable.
14255 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14256 (ctan_upward_test_data): New variable.
14257 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14258 (ctanh_test_data): New variable.
14259 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14260 (ctanh_tonearest_test_data): New variable.
14261 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14262 (ctanh_towardzero_test_data): New variable.
14263 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14264 (ctanh_downward_test_data): New variable.
14265 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14266 (ctanh_upward_test_data): New variable.
14267 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14268 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14269 of BUILD_COMPLEX.
14270
601a3a5f
JM
14271 * math/libm-test.inc (struct test_ff_f_data): New type.
14272 (struct test_ff_f_data_nexttoward): Likewise.
14273 (RUN_TEST_LOOP_2_f): New macro.
14274 (RUN_TEST_LOOP_ff_f): Likewise.
14275 (atan2_test_data): New variable.
14276 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14277 (copysign_test_data): New variable.
14278 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14279 (fdim_test_data): New variable.
14280 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14281 (fmax_test_data): New variable.
14282 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14283 (fmin_test_data): New variable.
14284 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14285 (fmod_test_data): New variable.
14286 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14287 (hypot_test_data): New variable.
14288 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14289 (nextafter_test_data): New variable.
14290 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14291 (nexttoward_test_data): New variable.
14292 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14293 (pow_test_data): New variable.
14294 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14295 (pow_tonearest_test_data): New variable.
14296 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14297 (pow_towardzero_test_data): New variable.
14298 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14299 (pow_downward_test_data): New variable.
14300 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14301 (pow_upward_test_data): New variable.
14302 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14303 (remainder_test_data): New variable.
14304 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14305 (scalb_test_data): New variable.
14306 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14307 * sysdeps/i386/fpu/libm-test-ulps: Update.
14308
74c57478
JM
143092013-05-11 Joseph Myers <joseph@codesourcery.com>
14310
8329e4da
JM
14311 * math/libm-test.inc (fma_test): Use max_value instead of local
14312 variable fltmax.
14313 (nextafter_test): Likewise.
14314
74c57478
JM
14315 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14316 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14317 (acos_downward_test_data): New variable.
14318 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14319 (acos_upward_test_data): New variable.
14320 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14321 (acosh_test_data): New variable.
14322 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14323 (asin_test_data): New variable.
14324 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14325 (asin_tonearest_test_data): New variable.
14326 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14327 (asin_towardzero_test_data): New variable.
14328 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14329 (asin_downward_test_data): New variable.
14330 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14331 (asin_upward_test_data): New variable.
14332 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14333 (asinh_test_data): New variable.
14334 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14335 (atan_test_data): New variable.
14336 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14337 (atanh_test_data): New variable.
14338 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14339 (cbrt_test_data): New variable.
14340 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14341 (ceil_test_data): New variable.
14342 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14343 (cos_test_data): New variable.
14344 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14345 (cos_tonearest_test_data): New variable.
14346 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14347 (cos_towardzero_test_data): New variable.
14348 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14349 (cos_downward_test_data): New variable.
14350 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14351 (cos_upward_test_data): New variable.
14352 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14353 (cosh_test_data): New variable.
14354 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14355 (cosh_tonearest_test_data): New variable.
14356 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14357 (cosh_towardzero_test_data): New variable.
14358 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14359 (cosh_downward_test_data): New variable.
14360 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14361 (cosh_upward_test_data): New variable.
14362 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14363 (erf_test_data): New variable.
14364 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14365 (erfc_test_data): New variable.
14366 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14367 (exp_test_data): New variable.
14368 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14369 (exp_tonearest_test_data): New variable.
14370 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14371 (exp_towardzero_test_data): New variable.
14372 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14373 (exp_downward_test_data): New variable.
14374 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14375 (exp_upward_test_data): New variable.
14376 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14377 (exp10_test_data): New variable.
14378 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14379 (exp2_test_data): New variable.
14380 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14381 (expm1_test_data): New variable.
14382 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14383 (fabs_test_data): New variable.
14384 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14385 (floor_test_data): New variable.
14386 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14387 (j0_test_data): New variable.
14388 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14389 (j1_test_data): New variable.
14390 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14391 (log_test_data): New variable.
14392 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14393 (log10_test_data): New variable.
14394 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14395 (log1p_test_data): New variable.
14396 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14397 (log2_test_data): New variable.
14398 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14399 (logb_test_data): New variable.
14400 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14401 (logb_downward_test_data): New variable.
14402 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14403 (nearbyint_test_data): New variable.
14404 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14405 (rint_test_data): New variable.
14406 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14407 (rint_tonearest_test_data): New variable.
14408 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14409 (rint_towardzero_test_data): New variable.
14410 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14411 (rint_downward_test_data): New variable.
14412 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14413 (rint_upward_test_data): New variable.
14414 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14415 (round_test_data): New variable.
14416 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14417 (sin_test_data): New variable.
14418 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14419 (sin_tonearest_test_data): New variable.
14420 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14421 (sin_towardzero_test_data): New variable.
14422 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14423 (sin_downward_test_data): New variable.
14424 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14425 (sin_upward_test_data): New variable.
14426 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14427 (sinh_test_data): New variable.
14428 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14429 (sinh_tonearest_test_data): New variable.
14430 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14431 (sinh_towardzero_test_data): New variable.
14432 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14433 (sinh_downward_test_data): New variable.
14434 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14435 (sinh_upward_test_data): New variable.
14436 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14437 (sqrt_test_data): New variable.
14438 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14439 (tan_test_data): New variable.
14440 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14441 (tan_tonearest_test_data): New variable.
14442 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14443 (tan_towardzero_test_data): New variable.
14444 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14445 (tan_downward_test_data): New variable.
14446 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14447 (tan_upward_test_data): New variable.
14448 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14449 (tanh_test_data): New variable.
14450 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14451 (tgamma_test_data): New variable.
14452 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14453 (trunc_test_data): New variable.
14454 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14455 (y0_test_data): New variable.
14456 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14457 (y1_test_data): New variable.
14458 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14459 (significand_test_data): New variable.
14460 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14461
7187d844
CG
144622013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14463
14464 [BZ #12387]
14465 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14466
f63fae73
PT
144672013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14468
14469 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14470
8a67a4b3
AJ
144712013-05-10 Andreas Jaeger <aj@suse.de>
14472
14473 [BZ #15448]
14474 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14475 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14476
51df539d
JM
144772013-05-10 Joseph Myers <joseph@codesourcery.com>
14478
14479 * math/gen-libm-test.pl (adjust_arg): New function.
14480 (special_functions): Handle generating output in both functions
14481 and arrays.
14482 (parse_args): Likewise.
14483 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14484 $in_func argument to parse_args.
14485 * math/libm-test.inc (struct test_f_f_data): New type.
14486 (IF_ROUND_INIT_): New macro.
14487 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14488 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14489 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14490 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14491 (ROUND_RESTORE_): Likewise.
14492 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14493 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14494 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14495 (ROUND_RESTORE_FE_UPWARD): Likewise.
14496 (RUN_TEST_LOOP_f_f): New macro.
14497 (acos_test_data): New variable.
14498 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14499 (acos_tonearest_test_data): New variable.
14500 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14501
5c637fe5
SP
145022013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14503
14504 * benchtests/bench-skeleton.c (startup): Fix coding style.
14505
ab2b9461
JM
145062013-05-10 Joseph Myers <joseph@codesourcery.com>
14507
14508 [BZ #6809]
14509 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14510 negative infinity argument.
14511 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14512 negative infinity argument.
14513 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14514 negative infinity argument.
14515 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14516 domain errors.
14517
4c0fe6fe
FW
145182013-05-10 Florian Weimer <fweimer@redhat.com>
14519
14520 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14521 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14522 * iconv/iconv_prog.c (main): Likewise.
14523 * locale/programs/charmap-dir.c (charmap_readdir)
14524 (fopen_uncompressed): Likewise.
14525 * locale/programs/locfile.c (siblings_uncached)
14526 (write_locale_data): Use lstat64 instead of lstat.
14527 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14528 stat.
14529
a3375d29
AJ
145302013-05-10 Andreas Jaeger <aj@suse.de>
14531
14532 [BZ #15395]
14533 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14534 localization.
14535 Include <locale.h>.
14536
36129722
CD
145372013-05-09 Carlos O'Donell <carlos@redhat.com>
14538
14539 * elf/dl-close.c (_dl_close_worker): Add comments.
14540
faa7f811
JM
145412013-05-09 Joseph Myers <joseph@codesourcery.com>
14542
ed41ffef
JM
14543 [BZ #15359]
14544 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14545 high part of pi/2.
14546 (__ieee754_rem_pio2l): Update comments.
14547
d0213cd0
JM
14548 [BZ #15429]
14549 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14550 high part of pi/2.
14551 (__ieee754_rem_pio2l): Update comments.
14552
0d3e777a
JM
14553 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14554 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14555
24f56066
JM
14556 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14557 M_PI_4l.
14558
faa7f811
JM
14559 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14560 (M_PI_34_LOG10El): Likewise.
14561 (M_PI2_LOG10El): Likewise.
14562 (M_PI4_LOG10El): Likewise.
14563 (M_PI_LOG10El): Likewise.
14564
e9a5e0fd
AZ
145652013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14566
14567 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14568
d8cd06db
JM
145692013-05-08 Joseph Myers <joseph@codesourcery.com>
14570
a0d9f9d7
JM
14571 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14572 (MINUS_ZERO_INIT): Likewise.
14573 (PLUS_INFTY_INIT): Likewise.
14574 (MINUS_INFTY_INIT): Likewise.
14575 (QNAN_VALUE_INIT): Likewise.
14576 (MAX_VALUE_INIT): Likewise.
14577 (MIN_VALUE_INIT): Likewise.
14578 (MIN_SUBNORM_VALUE_INIT): Likewise.
14579 (plus_zero): Initialize with PLUS_ZERO_INIT.
14580 (minus_zero): Initialize with MINUS_ZERO_INIT.
14581 (plus_infty): Initialize with PLUS_INFTY_INIT.
14582 (minus_infty): Initialize with MINUS_INFTY_INIT.
14583 (qnan_value): Initialize with QNAN_VALUE_INIT.
14584 (max_value): Initialize with MAX_VALUE_INIT.
14585 (min_value): Initialize with MIN_VALUE_INIT.
14586 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14587
ae08db3b
JM
14588 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14589 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14590 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14591 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14592
f44bf14a
JM
14593 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14594 (RUN_TEST_2_f): Likewise.
14595 (RUN_TEST_ff_f): Likewise.
14596 (RUN_TEST_fi_f): Likewise.
14597 (RUN_TEST_fl_f): Likewise.
14598 (RUN_TEST_fff_f): Likewise.
14599 (RUN_TEST_c_f): Likewise.
14600 (RUN_TEST_f_f1): Likewise.
14601 (RUN_TEST_fF_f1): Likewise.
14602 (RUN_TEST_fI_f1): Likewise.
14603 (RUN_TEST_ffI_f1): Likewise.
14604 (RUN_TEST_c_c): Likewise.
14605 (RUN_TEST_cc_c): Likewise.
14606 (RUN_TEST_f_i): Likewise.
14607 (RUN_TEST_f_i_tg): Likewise.
14608 (RUN_TEST_ff_i_tg): Likewise.
14609 (RUN_TEST_f_b): Likewise.
14610 (RUN_TEST_f_b_tg): Likewise.
14611 (RUN_TEST_f_l): Likewise.
14612 (RUN_TEST_f_L): Likewise.
14613 (RUN_TEST_sincos): Likewise.
14614 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14615 whether to show exceptions. Do not include ");\n" in return
14616 value.
14617 (special_functions): Output call to RUN_TEST_sincos instead of
14618 check_float calls. Update calls to new_test.
14619 (parse_args): Output call to single RUN_TEST_* macro instead of
14620 check_* calls and other assignments. Update calls to new_test.
14621
d8cd06db
JM
14622 [BZ #2546]
14623 [BZ #2560]
14624 [BZ #5159]
14625 [BZ #15426]
14626 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14627 input to result for tgamma overflow.
14628 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14629 (gamma_coeff): New variable.
14630 (NCOEFF): New macro.
14631 (gamma_positive): New function.
14632 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14633 underflow here. Use gamma_positive instead of exp (lgamma) for
14634 other arguments.
14635 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14636 (gamma_coeff): New variable.
14637 (NCOEFF): New macro.
14638 (gammaf_positive): New function.
14639 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14640 underflow here. Use gamma_positive instead of exp (lgamma) for
14641 other arguments.
14642 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14643 (gamma_coeff): New variable.
14644 (NCOEFF): New macro.
14645 (gammal_positive): New function.
14646 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14647 underflow here. Use gamma_positive instead of exp (lgamma) for
14648 other arguments.
14649 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14650 (gamma_coeff): New variable.
14651 (NCOEFF): New macro.
14652 (gammal_positive): New function.
14653 (__ieee754_gammal_r): Handle positive infinity, overflow and
14654 underflow here. Handle NaN the same as positive infinity. Remove
14655 check x < 0xffffffff for negative integers. Use gamma_positive
14656 instead of exp (lgamma) for other arguments.
14657 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14658 (gamma_coeff): New variable.
14659 (NCOEFF): New macro.
14660 (gammal_positive): New function.
14661 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14662 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14663 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14664 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14665 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14666 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14667 * sysdeps/generic/math_private.h (__gamma_productf): New
14668 prototype.
14669 (__gamma_product): Likewise.
14670 (__gamma_productl): Likewise.
14671 * math/Makefile (libm-calls): Add gamma_product.
14672 * math/libm-test.inc (tgamma_test): Add more tests.
14673 * sysdeps/i386/fpu/libm-test-ulps: Update.
14674 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14675
bb7cf681
OB
146762013-05-08 Ondřej Bílka <neleai@seznam.cz>
14677
14678 * benchtests/bench-skeleton.c (main): Preheat CPU.
14679
ba853947
AJ
146802013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14681
14682 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14683
8347c74c
RM
146842013-05-07 Roland McGrath <roland@hack.frob.com>
14685
14686 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14687 and _dl_skip_args_internal.
14688
e8dd4791
CD
146892013-05-07 Carlos O'Donell <carlos@redhat.com>
14690
14691 * manual/message.texi (Message Translation): Talk about users.
14692 Message to key mapping impacts design.
14693
c7405830
RM
146942013-05-06 Roland McGrath <roland@hack.frob.com>
14695
a9173057
RM
14696 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14697
976e2f03
RM
14698 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14699
9723ffc5
RM
14700 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14701 * sysdeps/wordsize-64/glob64.c: ... here.
14702
962e6658
RM
14703 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14704 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14705 New macros.
14706
ee586a6d
RM
14707 * debug/getlogin_r_chk.c: Moved to ...
14708 * login/getlogin_r_chk.c: ... here.
14709 * debug/Makefile (routines): Move getlogin_r_chk to ...
14710 * login/Makefile (routines): ... here.
14711 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14712 * login/Versions (libc: GLIBC_2.4): ... here.
14713
355f9165
RM
14714 * io/poll.c (__poll): Renamed from poll.
14715 Add libc_hidden_def.
14716 (poll): Define as weak alias.
14717
bd9ffde6
RM
14718 * debug/ptsname_r_chk.c: Moved to ...
14719 * login/ptsname_r_chk.c: ... here.
14720 * debug/Makefile (routines): Move ptsname_r_chk to ...
14721 * login/Makefile (routines): ... here.
14722 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14723 * login/Versions (libc: GLIBC_2.4): ... here.
14724
8fb16a04
RM
14725 * posix/getlogin.c: Moved to ...
14726 * login/getlogin.c: ... here.
14727 * posix/getlogin_r.c: Moved to ...
14728 * login/getlogin_r.c: ... here.
14729 * posix/getlogin_r.c: Moved to ...
14730 * login/getlogin_r.c: ... here.
14731 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14732 * login/Makefile (routines): ... here.
14733 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14734 * login/Versions (libc: GLIBC_2.0): ... here.
14735
b99b892f
RM
14736 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14737 (setrlimit): Define as weak alias.
14738
c7405830
RM
14739 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14740 Call __ names for open, ftruncate, and close.
14741 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14742 (truncate): Define as weak alias.
14743
5bf96de5
JM
147442013-05-06 Joseph Myers <joseph@codesourcery.com>
14745
9ea3513c
JM
14746 * math/gen-libm-test.pl (parse_args): Initialize x before each
14747 test of frexp, modf and remquo.
14748
5bf96de5
JM
14749 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14750 test signgam value.
14751
16e616a7
AZ
147522013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14753
14754 [BZ #15418]
14755 [BZ #15419]
14756 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14757 internal tests.
14758 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14759
d5e82754
RM
147602013-05-06 Roland McGrath <roland@hack.frob.com>
14761
14762 * elf/dl-writev.h: New file.
14763 * elf/dl-misc.c: Include it.
14764 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14765 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14766
a7548d41
JM
147672013-05-04 Joseph Myers <joseph@codesourcery.com>
14768
b7dab1e4
JM
14769 * math/libm-test.inc (noXFails): Remove variable.
14770 (noXPasses): Likewise.
14771 (BUILD_COMPLEX_INT): Remove macro.
14772 (print_screen): Remove xfail argument.
14773 (print_screen_max_error): Likewise.
14774 (update_stats): Likewise.
14775 (print_max_error): Likewise. Update calls to other affected
14776 functions.
14777 (print_complex_max_error): Likewise.
14778 (test_single_exception): Update calls to print_screen.
14779 (test_single_errno): Likewise.
14780 (check_float_internal): Remove xfail argument. Update calls to
14781 other affected functions.
14782 (check_float): Likewise.
14783 (check_complex): Likewise.
14784 (check_int): Likewise.
14785 (check_long): Likewise.
14786 (check_bool): Likewise.
14787 (check_longlong): Likewise.
14788 (main): Don't print noXFails and noXPasses.
14789 * math/gen-libm-test.pl (top level): Don't mention expected
14790 failure handling in comment.
14791 (new_test): Don't handle expected failures.
14792 (parse_args): Don't mention expected failure handling in comment.
14793 (generate_testfile): Don't handle expected failures.
14794 (parse_ulps): Likewise.
14795 (print_ulps_file): Likewise.
14796 (get_failure): Remove function.
14797 (output_test): Don't handle expected failures.
14798 * make/README.libm-test: Don't mention expected failure handling.
14799
a7548d41
JM
14800 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14801 (minus_zero): Likewise.
14802 (plus_infty): Likewise.
14803 (minus_infty): Likewise.
14804 (qnan_value): Likewise.
14805 (max_value): Likewise.
14806 (min_value): Likewise.
14807 (min_subnorm_value): Likewise.
14808 (initialize): Do not initialize those variables dynamically.
14809
60bfd54c
RM
148102013-05-03 Roland McGrath <roland@hack.frob.com>
14811
cc0e6ed8
RM
14812 * io/open.c (__open_2): Moved to ...
14813 * io/open_2.c: ... this new file.
14814 * io/open64.c (__open64_2): Moved to ...
14815 * io/open64_2.c: ... this new file.
14816 * io/openat.c (__openat_2): Moved to ...
14817 * io/openat_2.c: ... this new file.
14818 * io/openat64.c (__openat64_2): Moved to ...
14819 * io/openat64_2.c: ... this new file.
14820 * io/Makefile (routines): Add them.
14821 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14822 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14823 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14824 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14825 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14826 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14827 (__openat64): Add hidden_ver.
14828 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14829 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14830
60bfd54c
RM
14831 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14832 Separately conditionalize setting of GLRO(dl_sysinfo) so
14833 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14834 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14835
83e7640f
AZ
148362013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14837
14838 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14839 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14840 definition.
14841 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14842 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14843 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14844 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14845 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14846
d5dc2af3
JM
148472013-05-03 Joseph Myers <joseph@codesourcery.com>
14848
c31a5b1e
JM
14849 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14850 test signgam value.
14851
d5dc2af3
JM
14852 * math/libm-test.inc (hypot_test): Do not use
14853 IGNORE_ZERO_INF_SIGN.
14854
164fd39d
AJ
148552013-05-03 Andreas Jaeger <aj@suse.de>
14856
14857 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14858 Linux 3.9.
14859 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14860 (PF_MAX): Adjust for VSOCK change.
14861
8237f48c
AZ
148622013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14863
14864 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14865
9df02941
CD
148662013-05-02 Carlos O'Donell <carlos@redhat.com>
14867
14868 [BZ #15264]
14869 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14870 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14871 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14872
d422395e
DM
148732013-05-02 David S. Miller <davem@davemloft.net>
14874
14875 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14876
a07c5731
OB
148772013-05-01 Ondřej Bílka <neleai@seznam.cz>
14878
14879 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14880
1324e37f
RM
148812013-05-01 Roland McGrath <roland@hack.frob.com>
14882
14883 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14884
0695940b
RS
148852013-05-01 Richard Smith <richard@metafoo.co.uk>
14886
bb5f27ad 14887 [BZ #14952]
0695940b
RS
14888 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14889 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14890 Use __attribute__ ((__gnu_inline__)).
14891 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14892 Don't use __attribute__ ((__gnu_inline__)).
14893
10de07f5
JM
148942013-05-01 Joseph Myers <joseph@codesourcery.com>
14895
14896 [BZ #15423]
14897 * math/s_catan.c (__catan): Handle small real or imaginary part of
14898 input specially to avoid spurious underflow.
14899 * math/s_catanf.c (__catanf): Likewise.
14900 * math/s_catanh.c (__catanh): Likewise.
14901 * math/s_catanhf.c (__catanhf): Likewise.
14902 * math/s_catanhl.c (__catanhl): Likewise.
14903 * math/s_catanl.c (__catanl): Likewise.
14904 * math/libm-test.inc (catan_test): Add more tests.
14905 (catanh_test): Likewise.
14906 * sysdeps/i386/fpu/libm-test-ulps: Update.
14907 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14908
cb4d5414
AZ
149092013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14910
14911 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14912
caf84319
JM
149132013-04-30 Joseph Myers <joseph@codesourcery.com>
14914
14915 [BZ #15416]
14916 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14917 accurately for denominator in atan2.
14918 * math/s_catanf.c (__catanf): Likewise.
14919 * math/s_catanh.c (__catanh): Likewise.
14920 * math/s_catanhf.c (__catanhf): Likewise.
14921 * math/s_catanhl.c (__catanhl): Likewise.
14922 * math/s_catanl.c (__catanl): Likewise.
14923 * math/libm-test.inc (catan_test): Add more tests.
14924 (catanh_test): Likewise.
14925 * sysdeps/i386/fpu/libm-test-ulps: Update.
14926 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14927
d569c6ee
SP
149282013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14929
6dbe713d
SP
14930 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14931
f0ee064b
SP
14932 * benchtests/Makefile (bench): Remove slow benchmarks.
14933 * benchtests/atan-inputs: Add slow benchmark inputs.
14934 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14935 (BENCH_FUNC): Accept variant offset.
14936 (VARIANT): Define.
14937 * benchtests/bench-skeleton.c (main): Run benchmark for each
14938 variant.
14939 * benchtests/cos-inputs: Add slow benchmark inputs.
14940 * benchtests/exp-inputs: Likewise.
14941 * benchtests/pow-inputs: Likewise.
14942 * benchtests/sin-inputs: Likewise.
14943 * benchtests/slowatan-inputs: Remove.
14944 * benchtests/slowatan.c: Remove.
14945 * benchtests/slowcos-inputs: Remove.
14946 * benchtests/slowcos.c: Remove.
14947 * benchtests/slowexp-inputs: Remove.
14948 * benchtests/slowexp.c: Remove.
14949 * benchtests/slowpow-inputs: Remove.
14950 * benchtests/slowpow.c: Remove.
14951 * benchtests/slowsin-inputs: Remove.
14952 * benchtests/slowsin.c: Remove.
14953 * benchtests/slowtan-inputs: Remove.
14954 * benchtests/slowtan.c: Remove.
14955 * benchtests/tan-inputs: Add slow benchmark inputs.
14956 * scripts/bench.pl: Parse comments and directives.
14957
d569c6ee
SP
14958 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14959 in CPPFLAGS.
14960 ($(objpfx)bench-%.c): Remove *-ITER.
14961 * benchtests/bench-modf.c: Remove definition of ITER.
14962 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14963 (main): Loop for DURATION seconds instead of fixed number of
14964 iterations.
14965 * scripts/bench.pl: Don't expect iterations in parameters.
14966
a6a242fe
RM
149672013-04-29 Roland McGrath <roland@hack.frob.com>
14968
14969 * io/fchdir.c (__fchdir): Renamed from fchdir.
14970 (fchdir): Define as weak alias.
14971
f2da7793
JM
149722013-04-29 Joseph Myers <joseph@codesourcery.com>
14973
14974 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14975 (ERRNO_EDOM): Likewise.
14976 (ERRNO_ERANGE): Likewise.
14977 (noErrnoTests): New variable.
14978 (init_max_error): Set errno to 0.
14979 (test_single_errno): New function.
14980 (test_errno): Likewise.
14981 (check_float_internal): Call test_errno. Set errno to 0.
14982 (check_complex): Refer to errno tests in comment.
14983 (check_int): Call test_errno. Set errno to 0.
14984 (check_long): Likewise.
14985 (check_bool): Likewise.
14986 (check_longlong): Likewise.
14987 (cos_test): Use ERRNO_* flags for errno tests instead of
14988 check_int.
14989 (expm1_test): Likewise.
14990 (fmod_test): Likewise.
14991 (ilogb_test): Likewise.
14992 (lgamma_test): Likewise.
14993 (pow_test): Likewise.
14994 (remainder_test): Likewise.
14995 (sin_test): Likewise.
14996 (tan_test): Likewise.
14997 (yn_test): Likewise.
14998 (initialize): Set errno to 0.
14999 (main): Print number of errno tests.
15000 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15001
b1a36ceb
AJ
150022013-04-29 Andreas Jaeger <aj@suse.de>
15003
c3ed8088
AJ
15004 [BZ #15084]
15005 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15006 and RES_USEVC.
15007
f1a24198
AJ
15008 [BZ #15085]
15009 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15010 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15011 unimplemented.
15012
9ce3b2cb
AJ
15013 [BZ #15380]
15014 * stdlib/random.c (__initstate): Return NULL if
15015 __initstate fails.
15016
f1a24198 15017 [BZ #15086]
b1a36ceb
AJ
15018 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15019 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15020 RES_SNGLKUPREOP.
15021
7e7b6f36
AZ
150222013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15023
15024 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15025
4d14f449
JM
150262013-04-29 Joseph Myers <joseph@codesourcery.com>
15027
15028 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15029 of individual tests.
15030 (casin_test): Likewise.
15031 (casinh_test): Likewise.
15032
5b4217d7
JM
150332013-04-27 Joseph Myers <joseph@codesourcery.com>
15034
15035 [BZ #15409]
15036 * math/s_catan.c (__catan): Handle arguments with large real or
15037 imaginary part separately without squaring.
15038 * math/s_catanf.c (__catanf): Likewise.
15039 * math/s_catanh.c (__catanh): Likewise.
15040 * math/s_catanhf.c (__catanhf): Likewise.
15041 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15042 and redefine.
15043 (__catanhl): Handle arguments with large real or imaginary part
15044 separately without squaring.
15045 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15046 and redefine.
15047 (__catanl): Handle arguments with large real or imaginary part
15048 separately without squaring.
15049 * math/libm-test.inc (catan_test): Add more tests.
15050 (catanh_test): Likewise.
15051 * sysdeps/i386/fpu/libm-test-ulps: Update.
15052 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15053
4220c3ef
AJ
150542013-04-27 Andreas Jaeger <aj@suse.de>
15055
15056 [BZ #15007]
15057 * stdlib/stdlib.h: Update guards for qecvt.
15058 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15059 <stdlib.h>.
15060
4721b2d1
AM
150612013-04-27 Allan McRae <allan@archlinux.org>
15062
15063 * sysdeps/i386/fpu/libm-test-ulps: Update.
15064
f0302940
JM
150652013-04-26 Joseph Myers <joseph@codesourcery.com>
15066
9457fd95
JM
15067 [BZ #15406]
15068 * math/s_catan.c: Include <float.h>.
15069 (__catan): Ensure underflow exception occurs for underflowed
15070 result.
15071 * math/s_catanf.c: Include <float.h>.
15072 (__catanf): Ensure underflow exception occurs for underflowed
15073 result.
15074 * math/s_catanh.c: Include <float.h>.
15075 (__catanh): Ensure underflow exception occurs for underflowed
15076 result.
15077 * math/s_catanhf.c: Include <float.h>.
15078 (__catanhf): Ensure underflow exception occurs for underflowed
15079 result.
15080 * math/s_catanhl.c: Include <float.h>.
15081 (__catanhl): Ensure underflow exception occurs for underflowed
15082 result.
15083 * math/s_catanl.c: Include <float.h>.
15084 (__catanl): Ensure underflow exception occurs for underflowed
15085 result.
15086 * math/libm-test.inc (catan_test): Add more tests.
15087 (catanh_test): Likewise.
15088
f0302940
JM
15089 [BZ #15405]
15090 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15091 underflowed result.
15092 * math/s_ccoshf.c (__ccoshf): Likewise.
15093 * math/s_ccoshl.c (__ccoshl): Likewise.
15094 * math/s_csin.c (__csin): Likewise.
15095 * math/s_csinf.c (__csinf): Likewise.
15096 * math/s_csinh.c (__csinh): Likewise.
15097 * math/s_csinhf.c (__csinhf): Likewise.
15098 * math/s_csinhl.c (__csinhl): Likewise.
15099 * math/s_csinl.c (__csinl): Likewise.
15100 * math/libm-test.inc (ccos_test): Add more tests.
15101 (ccosh_test): Likewise.
15102 (csin_test): Likewise.
15103 (csinh_test): Likewise.
15104
aa630f59
AZ
151052013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15106
15107 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15108 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15109 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15110 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15111 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15112 powerpc/power5+/fpu folders.
15113 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15114
15115
1b835983
MT
151162013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15117
15118 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15119
73709b26
JM
151202013-04-25 Joseph Myers <joseph@codesourcery.com>
15121
15122 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15123 additions to variable.
15124 [$(config-machine) = x86_64] (modules-names): Likewise.
15125 ($(objpfx)tst-audit3): Remove dependency.
15126 ($(objpfx)tst-audit3.out): Likewise.
15127 ($(objpfx)tst-audit4): Likewise.
15128 ($(objpfx)tst-audit4.out): Likewise.
15129 ($(objpfx)tst-audit5): Likewise.
15130 ($(objpfx)tst-audit5.out): Likewise.
15131 ($(objpfx)tst-audit6): Likewise.
15132 ($(objpfx)tst-audit6.out): Likewise.
15133 ($(objpfx)tst-audit7): Likewise.
15134 ($(objpfx)tst-audit7.out): Likewise.
15135 (tst-audit3-ENV): Remove variable.
15136 (tst-audit4-ENV): Likewise.
15137 (tst-audit5-ENV): Likewise.
15138 (tst-audit6-ENV): Likewise.
15139 (tst-audit7-ENV): Likewise.
15140 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15141 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15142 addition to variable.
15143 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15144 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15145 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15146 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15147 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15148 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15149 tst-audit3, tst-audit4 and tst-audit5.
15150 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15151 tst-audit6 and tst-audit7.
15152 [$(subdir) = elf] (modules-names): Add audit modules for those
15153 tests.
15154 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15155 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15156 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15157 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15158 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15159 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15160 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15161 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15162 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15163 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15164 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15165 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15166 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15167 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15168 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15169 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15170 Likewise.
15171 [$(subdir) = elf && $(config-cflags-avx) = yes]
15172 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15173 [$(subdir) = elf && $(config-cflags-avx) = yes]
15174 (CFLAGS-tst-auditmod4a.c): Likewise.
15175 [$(subdir) = elf && $(config-cflags-avx) = yes]
15176 (CFLAGS-tst-auditmod4b.c): Likewise.
15177 [$(subdir) = elf && $(config-cflags-avx) = yes]
15178 (CFLAGS-tst-auditmod6b.c): Likewise.
15179 [$(subdir) = elf && $(config-cflags-avx) = yes]
15180 (CFLAGS-tst-auditmod6c.c): Likewise.
15181 [$(subdir) = elf && $(config-cflags-avx) = yes]
15182 (CFLAGS-tst-auditmod7b.c): Likewise.
15183 * elf/tst-audit3.c: Move to ...
15184 * sysdeps/x86_64/tst-audit3.c: ... here.
15185 * elf/tst-audit4.c: Move to ...
15186 * sysdeps/x86_64/tst-audit4.c: ... here.
15187 * elf/tst-audit5.c: Move to ...
15188 * sysdeps/x86_64/tst-audit5.c: ... here.
15189 * elf/tst-audit6.c: Move to ...
15190 * sysdeps/x86_64/tst-audit6.c: ... here.
15191 * elf/tst-audit7.c: Move to ...
15192 * sysdeps/x86_64/tst-audit7.c: ... here.
15193 * elf/tst-auditmod3a.c: Move to ...
15194 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15195 * elf/tst-auditmod3b.c: Move to ...
15196 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15197 * elf/tst-auditmod4a.c: Move to ...
15198 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15199 * elf/tst-auditmod4b.c: Move to ...
15200 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15201 * elf/tst-auditmod5a.c: Move to ...
15202 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15203 * elf/tst-auditmod5b.c: Move to ...
15204 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15205 * elf/tst-auditmod6a.c: Move to ...
15206 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15207 * elf/tst-auditmod6b.c: Move to ...
15208 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15209 * elf/tst-auditmod6c.c: Move to ...
15210 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15211 * elf/tst-auditmod7a.c: Move to ...
15212 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15213 * elf/tst-auditmod7b.c: Move to ...
15214 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15215
1ef74943
PP
152162013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15217
15218 [BZ #15366]
15219 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15220 define unconditionally.
15221 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15222 define unconditionally.
15223 (INT8_C, INT16_C, etc.): Likewise.
15224
93fd48c5
MR
152252013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15226
ae9552cf
MR
15227 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15228 __ehdr_start with hidden visibility.
15229
93fd48c5
MR
15230 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15231
418601aa
CD
152322013-04-24 Carlos O'Donell <carlos@redhat.com>
15233
15234 * math/libm-test.inc (cos_test): Use accurate hex constants.
15235 (sincost_test): Likewise.
15236
2f38fbfe
JM
152372013-04-24 Joseph Myers <joseph@codesourcery.com>
15238
5e221800
JM
15239 * math/libm-test.inc (catan_test): Add more tests.
15240 (catanh_test): Likewise.
15241
77f143fd
JM
15242 * math/s_catanf.c (__catanf): Use suffixed floating-point
15243 constants.
15244 * math/s_catanhf.c (__catanhf): Likewise.
15245 * math/s_catanhl.c (__catanhl): Likewise.
15246 * math/s_catanl.c (__catanl): Likewise.
15247
2f38fbfe
JM
15248 [BZ #15394]
15249 * math/s_catan.c (__catan): Calculate imaginary part of result
15250 with log1p not log unless computing log of number close to 0.
15251 * math/s_catanf.c (__catanf): Likewise.
15252 * math/s_catanl.c (__catanl): Likewise.
15253 * math/s_catanh.c (__catanh): Calculate real part of result with
15254 log1p not log unless computing log of number close to 0.
15255 * math/s_catanhf.c (__catanhf): Likewise.
15256 * math/s_catanhl.c (__catanhl): Likewise.
15257 * math/libm-test.inc (catan_test): Add more tests.
15258 (catanh_test): Likewise.
15259 * sysdeps/i386/fpu/libm-test-ulps: Update.
15260 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15261
45d69176
SP
152622013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15263
15264 * benchtests/Makefile: Mention files in which fast and slow
15265 paths of math functions are implemented.
15266
87f51853
RM
152672013-04-23 Roland McGrath <roland@hack.frob.com>
15268
15269 * sysdeps/posix/timespec_get.c: New file.
15270
3c026539
AZ
152712013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15272
15273 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15274 POWER.
15275 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15276 for POWER.
15277 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15278 powerpc/power5/fpu folders.
15279 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15280 * benchtests/Makefile: Add modf testcase.
15281 * benchtests/bench-modf.c: New file: Benchmark test for mo
15282
ff491d14
SP
152832013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15284
15285 [BZ #14888]
15286 * time/Makefile (tests): Add tst-strptime-whitespace.
15287 * time/strptime_l.c (get_number): Use ISSPACE.
15288 (__strptime_internal): Likewise.
15289 * time/tst-strptime-whitespace.c: New test case.
15290
7ed3f4e8
AS
152912013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15292
15293 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15294 member.
15295 (_nss_files_init): Set it here.
15296
5c95f7b6
HC
152972013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15298
15299 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15300 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15301 unsigned.
15302
d34c9158
JBG
153032013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15304
15305 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15306
2169712d
SP
153072013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15308
15309 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15310 size just once.
15311
29c5de99
DM
153122013-04-21 David S. Miller <davem@davemloft.net>
15313
15314 * po/ru.po: Update Russion translation from translation project.
15315
ccdad15d
AC
153162013-04-17 Adam Conrad <adconrad@0c3.net>
15317
15318 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15319 and setfsgid.
15320
0f122b8d
CD
153212013-04-17 Carlos O'Donell <carlos@redhat.com>
15322
5c5b07da 15323 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15324 * configure: Regenerate.
5c5b07da 15325 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15326 Add example to error message.
15327 * sysdeps/i386/configure: Regenerate.
15328
037714dd
SP
153292013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15330
15331 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15332 slowtan.
15333 * benchtests/cos-inputs: New file.
15334 * benchtests/slowcos-inputs: New file.
15335 * benchtests/slowcos.c: New file.
15336 * benchtests/slowtan-inputs: New file.
15337 * benchtests/slowtan.c: New file.
15338 * benchtests/tan-inputs: New file.
15339
e913141d
RM
153402013-04-16 Roland McGrath <roland@hack.frob.com>
15341
15342 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15343 considered kosher.
15344
a2964074
SP
153452013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15346
4856bcd2
SP
15347 * benchtests/Makefile: Include cppflags-iterator.mk to add
15348 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15349
a2964074
SP
15350 * Makefile.in (bench-clean): New target.
15351 * benchtests/Makefile (bench-clean): Likewise.
15352
9fbf9aca
DH
153532013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15354
15355 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15356
207d1e2a
TS
153572013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15358
15359 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15360
306dfba9
AS
153612013-04-15 Andreas Schwab <schwab@suse.de>
15362
15363 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15364 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15365 * nscd/pwdcache.c (cache_addpw): Likewise.
15366 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15367 more than recsize.
15368
206a6699
SP
153692013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15370
15371 * benchtests/Makefile (bench): Write all output to
15372 bench-out.tmp together.
15373
0582f6b3
AS
153742013-04-15 Andreas Schwab <schwab@suse.de>
15375
15376 * nscd/nscd.c (main): Don't fork again after closing files.
15377
acb4325f
SP
153782013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15379
5cb26d0a
SP
15380 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15381
acb4325f
SP
15382 * benchtests/Rules (bench-deps): Collect dependencies into a
15383 single variable. Add Makefile to dependencies.
15384 ($(objpfx)bench-%.c): Depend on bench-deps.
15385
47792506
RM
153862013-04-12 Roland McGrath <roland@hack.frob.com>
15387 Xavier Roche <roche+kml2@exalead.com>
15388
15389 [BZ #15361]
15390 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15391 just that it's a file descriptor.
15392 * manual/llio.texi (Synchronizing AIO Operations): Update description
15393 for EBADF error from aio_fsync.
15394
8fc1bee5
SP
153952013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15396
15397 * Rules (bench): Move target definition...
15398 * benchtests/Makefile: ... here.
15399
aba5e333
CD
154002013-04-11 Carlos O'Donell <carlos@redhat.com>
15401
15402 * math/libm-test.inc (cos_test): Fix PI/2 test.
15403 (sincos_test): Likewise.
15404 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15405 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15406
273cdee8
AS
154072013-04-11 Andreas Schwab <schwab@suse.de>
15408
6ecec3b6
AS
15409 [BZ #13988]
15410 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15411 accept exponent character only when digits were seen.
15412 * stdio-common/Makefile (tests): Add bug26.
15413 * stdio-common/bug26.c: New file.
15414
273cdee8
AS
15415 [BZ #14293]
15416 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15417 non-freeable.
15418
8da491f5
SP
154192013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15420
01dc6df9
SP
15421 * Makeconfig (rtld-prefix): Define built linker prefix.
15422 * Rules (run-bench): Use it.
15423 * math/Makefile (run-regen-ulps): Likewise.
15424
8da491f5
SP
15425 * Rules (bench): Remove eval.
15426
abe7f530
SP
154272013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15428 Roland McGrath <roland@hack.frob.com>
15429 Ondrej Bilka <neleai@seznam.cz>
15430
15431 [BZ #15346]
15432 * time/getdate.c: Include ctype.h and alloca.h.
15433 (__getdate_r): Trim leading and trailing spaces of input.
15434 * time/tst-getdate.c (tests): Add tests with leading and
15435 trailing spaces.
15436
61c23e62
RM
154372013-04-08 Roland McGrath <roland@hack.frob.com>
15438
15439 [BZ #14280]
15440 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15441 when computing value.
15442
7208a313
CD
154432013-04-06 Carlos O'Donell <carlos@redhat.com>
15444
085b2d41
CD
15445 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15446 Use testrun.sh to run libm tests.
15447
7208a313
CD
15448 [BZ #15309]
15449 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15450
872c0acd
MM
154512013-04-06 Marko Myllynen <myllynen@redhat.com>
15452
15453 [BZ #15264]
15454 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15455
26510bdd
CD
154562013-04-06 Carlos O'Donell <carlos@redhat.com>
15457
15458 * Makefile.in (regen-ulps): New target.
15459 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15460 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15461 [ifneq (no,$(PERL)] (regen-ulps): New target.
15462 [ifeq (no,$(PERL)] (regen-ulps): New target.
15463 * math/libm-test.inc (ulps_file_name): Define.
15464 (output_dir): New variable.
15465 (options): Add "output-dir" option.
15466 (parse_opt): Handle 'o' case.
15467 (main): If output_dir is non-NULL use it as a prefix
15468 otherwise use "".
15469 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15470
a01f19c8
CD
154712013-04-06 Carlos O'Donell <carlos@redhat.com>
15472
15473 [BZ #10060, #10062]
15474 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15475 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15476 fail configure if __sync_val_compare_and_swap is not inlined.
15477 * sysdeps/i386/configure: Regenerate.
15478 * configure.in: Build for i686 when configured for i386.
15479 * configure: Regenerate.
15480 * README: Remove i386 reference.
15481
b7a329a5
CD
154822013-04-06 Carlos O'Donell <carlos@redhat.com>
15483
15484 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15485 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15486
bf0f50df
TS
154872013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15488
ee091edf
TS
15489 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15490 (lmsnanval): New variables.
15491 (F): Add conversion tests.
15492 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15493 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15494
a8b792d6
TS
15495 * stdio-common/tstdiomisc.c (F): Properly collect individual
15496 tests' results.
15497
a1cbf437
TS
15498 [BZ #14686, #15336]
15499 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15500 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15501 Instead, use input NaN values or generate a qNaN by arithmetic
15502 operation. Also fix bugs to comply with the standard.
15503 * math/libm-test.inc (remainder_test): Add more tests.
15504
8b43a0c9
TS
15505 [BZ #15335, #15342]
15506 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15507 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15508 input NaN values or generate a qNaN by arithmetic operation.
15509
d91da4ce
TS
15510 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15511 unreachable code.
15512
bf0f50df
TS
15513 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15514 definitions.
15515
05e166c8
JM
155162013-04-03 Joseph Myers <joseph@codesourcery.com>
15517
15518 [BZ #14478]
15519 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15520 underflowed result.
15521 * math/s_cexpf.c (__cexpf): Likewise.
15522 * math/s_cexpl.c (__cexpl): Likewise.
15523 * math/libm-test.inc (cexp_test): Add more tests.
15524
1cef1b19
AS
155252013-04-03 Andreas Schwab <schwab@suse.de>
15526
15527 [BZ #15330]
15528 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15529 order arrays from heap if bigger than alloca cutoff.
15530
74d87055
TS
155312013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15532
15533 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15534 (SNAN_TESTS_double): Refer to GCC PR56831.
15535 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15536 GCC PR56828.
15537
d755bba4
SP
155382013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15539
90d5d5bb
SP
15540 * Rules (bench): Move bench.out after the run is complete.
15541
73e0cd5d
SP
15542 * Rules (bench): Echo currently running benchmark.
15543
64aabd4b
SP
15544 * benchtests/Makefile (bench): Add atan and slowatan.
15545 * benchtests/atan-inputs: New file.
15546 * benchtests/slowatan-inputs: New file.
15547 * benchtests/slowatan.c: New file.
15548
c871eccd
SP
15549 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15550 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15551 its value.
15552
d755bba4
SP
15553 [BZ #15305]
15554 * sysdeps/unix/sysv/linux/kernel-features.h
15555 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15556 __ASSUME_XFS_RESTRICTED_CHOWN.
15557 * sysdeps/unix/sysv/linux/pathconf.c
15558 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15559 Save and restore errno.
15560
52ce4860
JM
155612013-04-02 Joseph Myers <joseph@codesourcery.com>
15562
15563 [BZ #15327]
15564 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15565 arguments using __kernel_casinh.
15566 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15567 arguments using __kernel_casinhf.
15568 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15569 arguments using __kernel_casinhl.
15570 * math/libm-test.inc (cacosh_test): Add more tests.
15571 * sysdeps/i386/fpu/libm-test-ulps: Update.
15572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15573
81f311c2
SP
155742013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15575
e7906a47
SP
15576 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15577 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15578
92e3664b
SP
15579 * bench/Makefile (bench): Add sin and slowsin.
15580 * benchtests/sin-inputs: New file.
15581 * benchtests/slowsin-inputs: New file.
15582 * benchtests/slowsin.c: New file.
15583
81f311c2
SP
15584 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15585 (bench): Add slowexp and slowpow.
15586 (exp-ITER): Increase iterations.
15587 (pow-ITER): Likewise.
15588 * benchtests/exp-inputs: Change input.
15589 * benchtests/pow-inputs: Likewise.
15590 * benchtests/slowexp-inputs: New file.
15591 * benchtests/slowexp.c: New file.
15592 * benchtests/slowpow-inputs: New file.
15593 * benchtests/slowpow.c: New file.
15594
ab0f1aa9
AZ
155952013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15596
15597 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15598 instructions.
15599 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15600 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15601 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15602 * benchtests/Makefile: Add rint benchtest.
15603 * benchtests/rint-inputs: Input for rint benchtest.
15604
57267616
TS
156052013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15606
15607 * Versions.def (libm): Add GLIBC_2.18.
15608 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15609 hidden libm prototypes.
15610 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15611 * math/Makefile (libm-calls): Add s_issignaling.
15612 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15613 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15614 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15615 declaration.
15616 * math/math.h [__USE_GNU] (issignaling): New macro.
15617 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15618 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15619 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15620 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15621 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15622 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15623 * manual/arith.texi (issignaling): New section.
15624 * manual/libm-err-tab.pl (@all_functions): Update comment.
15625 * math/gen-libm-test.pl (parse_args): Apply special handling for
15626 issignaling.
15627 * math/libm-test.inc (print_float, issignaling_test): New
15628 functions.
15629 (check_float_internal): Add issignaling checks.
15630 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15631 default definition.
15632 * sysdeps/powerpc/math-tests.h: New file.
15633 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15634 tests.
15635 * math/test-snan.c (TEST_FUNC): Likewise.
15636
6142896d
DM
156372013-03-30 David S. Miller <davem@davemloft.net>
15638
15639 * po/de.po: Update from translation team.
15640
ccc8cadf
JM
156412013-03-30 Joseph Myers <joseph@codesourcery.com>
15642
15643 [BZ #10357]
15644 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15645 imaginary part less than 1.0 and real part less than 0.5
15646 specially.
15647 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15648 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15649 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15650 (cacos_test): Add more tests.
15651 (casin_test): Likewise.
15652 (casinh_test): Likewise.
15653 * sysdeps/i386/fpu/libm-test-ulps: Update.
15654 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15655
0f6a8d4b
SP
156562013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15657
0d1029de
SP
15658 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15659 ONE with its value.
15660
c2d94018
SP
15661 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15662 (__pow_mp): Replace ONE and MONE with their values.
15663 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15664 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15665 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15666 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15667 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15668 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15669
27ec37f1
SP
15670 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15671
a64d7e0e
SP
15672 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15673 (__pow_mp): Replace ZERO and MZERO with their values.
15674 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15675 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15676 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15677 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15678 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15679 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15680 (__sqr): Likewise.
15681
d26dd3eb
SP
15682 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15683
0f6a8d4b
SP
15684 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15685
e57b0c61
RM
156862013-03-28 Roland McGrath <roland@hack.frob.com>
15687
15688 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15689 Declare with __attribute__ ((weak)).
15690 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15691 Call __call_tls_dtors only if it's not NULL.
15692
356b3480
RM
156932013-03-28 Roland McGrath <roland@hack.frob.com>
15694
288f7d79
RM
15695 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15696 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15697 magic __ehdr_start linker symbol if it's defined.
15698 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15699 them up here if it was already done.
15700
dc0a0263
RM
15701 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15702 (_dl_aux_init): Use const in cast when setting it.
15703 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15704 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15705 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15706
3d3436ae
RM
15707 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15708 Declare them here.
15709 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15710 * csu/libc-tls.c: Nor here.
15711 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15712
356b3480
RM
15713 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15714 (__libc_message): Never call vsyslog.
15715
b0f1246a
AM
157162013-03-28 Alan Modra <amodra@gmail.com>
15717
15718 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15719 Define as empty.
15720 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15721 Likewise.
15722
fbbe2b9a
AZ
157232013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15724
15725 [BZ #15214]
15726 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15727 underflow.
15728 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15729
1728ab37
SP
157302013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15731
7a86be6e
SP
15732 [BZ #15304]
15733 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15734 Don't add gid passed as argument.
15735
1728ab37
SP
15736 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15737
3a7182a1
JM
157382013-03-27 Joseph Myers <joseph@codesourcery.com>
15739
15740 [BZ #15307]
15741 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15742 imaginary part between 1.0 and 1.5 and real part less than 0.5
15743 specially.
15744 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15745 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15746 * math/libm-test.inc (cacos_test): Add more tests.
15747 (casin_test): Likewise.
15748 (casinh_test): Likewise.
15749 * sysdeps/i386/fpu/libm-test-ulps: Update.
15750 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15751
6f2e90e7
SP
157522013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15753
5739f705
SP
15754 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15755 constants.
15756 (norm): Likewise.
15757 (denorm): Likewise.
15758 (__dbl_mp): Likewise.
15759 (add_magnitudes): Likewise.
15760 (sub_magnitudes): Likewise.
15761 (__add): Likewise.
15762 (__sub): Likewise.
15763 (__mul): Likewise.
15764 (__sqr): Likewise.
15765 (__inv): Likewise.
15766 (__dvd): Likewise.
15767
e375e83d
SP
15768 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15769 commented code.
15770 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15771 (__dubcos): Likewise.
15772 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15773 (__ieee754_acos): Likewise.
15774 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15775 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15776 (__exp1): Likewise.
15777 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15778 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15779 (log1): Likewise.
15780 (my_log2): Likewise.
15781 (checkint): Likewise.
15782 * sysdeps/ieee754/dbl-64/e_remainder.c
15783 (__ieee754_remainder): Likewise.
15784 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15785 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15786 (bsloww): Likewise.
15787 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15788
6f2e90e7
SP
15789 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15790 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15791 MANTISSA_STORE_T to store computations on mantissa. Use
15792 macros for rounding and division.
15793 (denorm): Likewise.
15794 (__dbl_mp): Likewise.
15795 (add_magnitudes): Likewise.
15796 (sub_magnitudes): Likewise.
15797 (__mul): Likewise.
15798 (__sqr): Likewise.
15799 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15800 powers of two in terms of TWOPOW macro.
15801 (mp_no): Make type of mantissa as MANTISSA_T.
15802 [!RADIXI]: Define RADIXI.
15803 [!TWO52]: Define TWO52.
15804 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15805
fce14d4e
AZ
158062013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15807
15808 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15809 llroundl symbol when building for PPC32.
15810
9ad027fb
MW
158112013-03-24 Mark H Weaver <mhw@netris.org>
15812
15813 * manual/arith.texi (Normalization Functions): Fix prototypes for
15814 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15815
e42a38dd
AZ
158162013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15817
15818 [BZ #13889]
15819 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15820 high value to check if expl overflow.
15821 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15822 to check for underflow and overflow.
15823 * math/libm-test.inc: Add exp test.
15824
2e0fb521
DL
158252013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15826
15827 [BZ #11120]
15828 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15829 with NOT_IN_libc.
15830
b5784d95
AZ
158312013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15832
15833 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15834 symbol.
15835
5aa4a1a1
TS
158362013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15837
bdef0be7
TS
15838 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15839 wrap blocks consisting of several statements.
15840
5aa4a1a1
TS
15841 * sysdeps/generic/math-tests.h: New file.
15842 * sysdeps/i386/fpu/math-tests.h: Likewise.
15843 * math/test-snan.c: Include it.
15844 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15845
98c48fe5
JM
158462013-03-21 Joseph Myers <joseph@codesourcery.com>
15847
15848 [BZ #15285]
15849 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15850 (__ieee754_j0l): Do not improve calculations using cos of twice
15851 input for inputs above LDBL_MAX / 2.0L.
15852 (__ieee754_y0l): Likewise.
15853 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15854 (__ieee754_j1l): Do not improve calculations using cos of twice
15855 input for inputs above LDBL_MAX / 2.0L.
15856 (__ieee754_y1l): Likewise.
15857 * math/libm-test.inc (j0_test): Add another test.
15858 (j1_test): Likewise.
15859 (y0_test): Likewise.
15860 (y1_test): Likewise.
15861 * sysdeps/i386/fpu/libm-test-ulps: Update.
15862
3775a8bc
SP
158632013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15864
15865 * Rules ($(objpfx)bench-%.c): Include code from a C source
15866 file.
15867
0a1b2ae6
JM
158682013-03-21 Joseph Myers <joseph@codesourcery.com>
15869
15870 [BZ #15287]
15871 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15872 imaginary part 1.0 and real part less than 0.5 specially.
15873 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15874 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15875 * math/libm-test.inc (cacos_test): Add more tests.
15876 (casin_test): Likewise.
15877 (casinh_test): Likewise.
15878 * sysdeps/i386/fpu/libm-test-ulps: Update.
15879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15880
b33d4ce4
SP
158812013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15882
15883 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15884 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15885
bef0b507
JM
158862013-03-20 Joseph Myers <joseph@codesourcery.com>
15887
15888 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15889 * config.make.in (config-cflags-sse4): Remove variable.
15890 (config-cflags-avx): Likewise.
15891 (config-cflags-sse2avx): Likewise.
15892 (config-cflags-novzeroupper): Likewise.
15893 (config-asflags-i686): Likewise.
15894 (have-mfma4): Likewise.
15895 (have-as-vis3): Likewise.
15896 (MIG): Likewise.
15897 * configure.in (MIG): Do not AC_SUBST.
15898 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15899 (libc_cv_cc_sse4): Do not AC_SUBST.
15900 (libc_cv_cc_avx): Likewise.
15901 (libc_cv_cc_sse2avx): Likewise.
15902 (libc_cv_cc_novzeroupper): Likewise.
15903 (libc_cv_cc_fma4): Likewise.
15904 (libc_cv_as_i686): Likewise.
15905 (libc_cv_sparc_as_vis3): Likewise.
15906 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15907 LIBC_CONFIG_VAR.
15908 (config-asflags-i686): Likewise.
15909 (config-cflags-avx): Likewise.
15910 (config-cflags-sse2avx): Likewise.
15911 (have-mfma4): Likewise.
15912 (config-cflags-novzeroupper): Likewise.
15913 * sysdeps/mach/configure.in (MIG): Likewise.
15914 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15915 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15916 LIBC_CONFIG_VAR.
15917 (config-cflags-avx): Likewise.
15918 (config-cflags-sse2avx): Likewise.
15919 (have-mfma4): Likewise.
15920 (config-cflags-novzeroupper): Likewise.
15921 * configure: Regenerated.
15922 * sysdeps/i386/configure: Likewise.
15923 * sysdeps/mach/configure: Likewise.
15924 * sysdeps/sparc/configure: Likewise.
15925 * sysdeps/x86_64/configure: Likewise.
15926
912cc4b3
RM
159272013-03-20 Roland McGrath <roland@hack.frob.com>
15928
15929 [BZ #14812]
15930 * locale/programs/localedef.c (options): Put N_ translation marker
15931 on argument names, not just descriptions.
15932
04eed2b0
MS
159332013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15934
15935 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15936
a065ceff
OB
159372013-03-20 Ondřej Bílka <neleai@seznam.cz>
15938
9bb2a810 15939 [BZ #14176]
a065ceff
OB
15940 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15941
a600e5ce
RM
159422013-03-19 Roland McGrath <roland@hack.frob.com>
15943
15944 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15945 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15946 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15947 [!BEFORE_ABORT] (before_abort): New function.
15948 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15949 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15950 (writev_for_fatal): New function.
15951 (WRITEV_FOR_FATAL): New macro; call that.
15952 (backtrace_and_maps): New function.
15953 (BEFORE_ABORT): New macro; call that.
15954 (struct str_list): Type removed.
15955 (__libc_message, __libc_fatal): Functions removed.
15956 Include <sysdeps/posix/libc_fatal.c> instead.
15957
6b18bea6
JM
159582013-03-19 Joseph Myers <joseph@codesourcery.com>
15959
15960 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15961 constants.
15962 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15963 double constants.
15964
aaa8cb4b
AS
159652013-03-19 Andreas Schwab <schwab@suse.de>
15966
44673770
AS
15967 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15968 * sysdeps/gnu/configure: Regenerate.
15969
aaa8cb4b
AS
15970 * configure.in: Substitute libc_cv_rtlddir.
15971 * configure: Regenerate.
15972 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15973 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15974 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15975 * elf/Makefile (install-others, CFLAGS-interp.c)
15976 (ldso_install, common-ldd-rewrite): Likewise.
15977 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15978 $(inst_slibdir)/$(rtld-installed-name).
15979 * scripts/rellns-sh: Add -p option.
15980 * Makerules (make-shlib-link): Use rellns-sh to get relative name
15981 for source.
15982
d3cfc668
SP
159832013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
15984
15985 * manual/nptl.texi: Renamed to ...
15986 * manual/threads.texi: ... this.
15987 * manual/Makefile (chapters): Update.
15988
0e2b9cdd
RM
159892013-03-18 Roland McGrath <roland@hack.frob.com>
15990
15991 [BZ #14812]
15992 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
15993 on argument names, not just descriptions.
0e2b9cdd
RM
15994 * malloc/memusagestat.c (options): Likewise.
15995 * nss/getent.c (options): Likewise.
63270c24
RM
15996
159972013-03-18 Benno Schulenberg <bensberg@justemail.net>
15998
15999 [BZ #14812]
16000 * iconv/iconv_prog.c (options): Put N_ translation marker
16001 on argument names, not just descriptions.
16002 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16003
b2e1393c
OB
160042013-03-18 Ondrej Bilka <neleai@seznam.cz>
16005
16006 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16007 implementation which is faster on all x86_64 architectures.
16008 Tested on AMD, Intel Nehalem, SNB, IVB.
16009 * sysdeps/x86_64/strnlen.S: Likewise.
16010
16011 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16012 Remove all multiarch strlen and strnlen versions.
16013 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16014 Remove strlen and strnlen related parts.
16015
16016 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16017 Inline strlen part.
16018 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16019
16020 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16021 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16022 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16023 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16024 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16025 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16026
ec4ff04d
CD
160272013-03-17 Carlos O'Donell <carlos@redhat.com>
16028
16029 * manual/memory.texi (Malloc Tunable Parameters):
16030 Sort parameters alphabetically. Add comments for missing entries.
16031
cd18e90a
DM
160322013-03-17 David S. Miller <davem@davemloft.net>
16033
16034 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16035
2a185d32
JM
160362013-03-16 Joseph Myers <joseph@codesourcery.com>
16037
d2f9799e
JM
16038 [BZ #15283]
16039 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16040 for arguments at most half maximum finite value.
16041 * math/libm-test.inc (j0_test): Add more tests.
16042 (j1_test): Likewise.
16043 (y0_test): Likewise.
16044 (y1_test): Likewise.
16045 * sysdeps/i386/fpu/libm-test-ulps: Update.
16046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16047
2a185d32
JM
16048 [BZ #14155]
16049 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16050 1 / x and functions P and Q for arguments above 0x1p256L.
16051 (__ieee754_y0l): Likewise.
16052 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16053 (__ieee754_y1l): Likewise.
16054 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16055 (j1_test): Likewise.
16056 (y0_test): Likewise.
16057 (y1_test): Likewise.
16058
6cbec759
TS
160592013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16060
16061 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16062 variable.
16063
bc16e260
RM
160642013-03-15 Roland McGrath <roland@hack.frob.com>
16065
aefc9b8c
RM
16066 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16067 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16068 zero since it's initialized to EXEC_PAGESIZE.
16069
bc16e260
RM
16070 * sysdeps/unix/sysv/linux/ldsodefs.h
16071 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16072 * sysdeps/generic/ldsodefs.h: ... here.
16073
a57da955
TS
160742013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16075
af00a34d
TS
16076 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16077
495ded2c
TS
16078 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16079 math/test-snan.c.
16080 * math/test-snan.c: Renamed from
16081 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16082 * math/Makefile (tests): Add test-snan.
16083 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16084 test-powerpc-snan.
16085
777b0332
TS
16086 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16087 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16088 functions.
16089 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16090 __builtin_nan family of functions.
16091 * math/libm-test.inc (initialize): Initialize qnan_value with
16092 __builtin_nan family of functions.
16093 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16094 Remove variables.
16095 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16096 Remove functions.
16097 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16098 storage class. Initialize qNaN_var and sNaN_var with
16099 __builtin_nan and __builtin_nans families of functions,
16100 respectively.
16101
64d063b8
TS
16102 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16103 (sqrt_test): Remove duplicate test with qNaN input.
16104 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16105 (round_test, signbit_test, significand_test): Note missing +/-Inf
16106 as well as qNaN tests.
16107
67e971f1
TS
16108 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16109 qNaN_var. Fix a few strings, too.
16110 * math/libm-test.inc (nan_value): Rename to qnan_value.
16111 * math/gen-libm-test.pl (%beautify): Adjust to that.
16112 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16113 * math/test-misc.c (main): Likewise.
16114 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16115 to __qnan_bytes, and __qnan_union, respectively.
16116 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16117 Likewise.
16118 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16119 and lqnanval, respectively.
16120 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16121 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16122 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16123 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16124
64487e12
TS
16125 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16126 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16127 doubles.
16128
e015e27b
TS
16129 * math/test-misc.c (main): Fix copy'n'pastos.
16130 * misc/tst-efgcvt.c (special): Likewise.
16131
a57da955
TS
16132 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16133 Remove declarations.
16134
1e380345
SP
161352013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16136
16137 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16138 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16139 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16140 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16141
ef26eece
AZ
161422013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16143
16144 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16145 macro to return vdso values correctly in IFUNC implementations.
16146 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16147 Optimization by using IFUNC.
16148
8cfdb7e0
SP
161492013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16150 Richard Henderson <rth@redhat.com>
16151 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16152
16153 * Makefile.in (bench): New target.
16154 * NEWS: Mention the benchmark framework.
16155 * Rules (bench): Likewise.
16156 (binaries-bench): Generate binaries for functions to
16157 benchmark.
16158 * benchtests/Makefile: New makefile for benchmark tests.
16159 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16160 programs.
16161 * benchtests/exp-inputs: New input file for EXP function.
16162 * benchtests/pow-inputs: New input file for POW function.
16163 * scripts/bench.pl: New script to generate source files for
16164 benchmark programs.
16165
bcda9880
SP
161662013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16167
d22ca8cd
SP
16168 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16169 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16170 computations on mantissa. Use macros for rounding and
16171 division.
16172 (denorm): Likewise.
16173 (__dbl_mp): Likewise.
16174 (add_magnitudes): Likewise.
16175 (sub_magnitudes): Likewise.
16176 (__mul): Likewise.
16177 (__sqr): Likewise.
16178 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16179 powers of two in terms of TWOPOW macro.
16180 (mp_no): Make type of mantissa as MANTISSA_T.
16181 [!RADIXI]: Define RADIXI.
16182 [!TWO52]: Define TWO52.
16183 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16184
bcda9880
SP
16185 * manual/nptl.texi (cindex): Modify threads to pthreads.
16186
06d5adfb
JM
161872013-03-15 Joseph Myers <joseph@codesourcery.com>
16188
16189 * sysdeps/x86_64/preconfigure: Regenerated.
16190
41c7328e
JM
161912013-03-14 Joseph Myers <joseph@codesourcery.com>
16192
16193 [BZ #14155]
16194 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16195 0x1p28 and above.
16196 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16197 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16198 0x1p28 and above.
16199 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16200 * math/libm-test.inc (j0_test): Do not allow one spurious
16201 underflow exception.
16202 (y1_test): Likewise.
16203
e25cfa60
SP
162042013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16205
0409959c
SP
16206 * manual/Makefile (chapters): Add nptl.
16207 * manual/debug.texi (Debugging Support): Add link to Threads
16208 chapter.
16209 * manual/nptl.texi: New file.
16210
e25cfa60
SP
16211 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16212
58a1335e
PB
162132013-03-14 Petr Baudis <pasky@ucw.cz>
16214
16215 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16216 for non-NULL pointer before the memory validity test. Pointed
16217 out by Holger Brunck <holger.brunck@keymile.com>.
16218
9dc7c64f
AS
162192013-03-13 Andreas Schwab <schwab@suse.de>
16220
16221 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16222 instead of .os.
16223
54206aa6
JM
162242013-03-13 Joseph Myers <joseph@codesourcery.com>
16225
16226 * timezone/zic.c: Update from tzcode 2013b.
16227
e98cdb38
CD
162282013-03-12 Carlos O'Donell <carlos@redhat.com>
16229
16230 * manual/install.texi (Configuring and compiling):
16231 Mention i686 and i586.
16232 * INSTALL: Regenerate.
16233
9967e003
RM
162342013-03-12 Roland McGrath <roland@hack.frob.com>
16235
16236 * sysdeps/init_array/elf-init.c: New file.
16237 * csu/elf-init.c
16238 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16239 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16240
16241 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16242 __gmon_start__ as global, but as static with a .preinit_array pointer.
16243 * sysdeps/init_array/gmon-start.c: New file. Use that.
16244 * sysdeps/init_array/crti.S: New file, empty except for comments.
16245 * sysdeps/init_array/crtn.S: Likewise.
16246
e6b5a293 162472013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16248
16249 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16250 definining bcopy.
80f844c9
OB
16251 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16252 Remove Prefer_SSE_for_memop.
16253 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16254 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16255 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16256 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16257 memset-x86-64.
80f844c9 16258 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16259 Remove bzero, memset ifunc support.
80f844c9
OB
16260 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16261 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16262 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16263 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16264
fb6b0fcb
AS
162652013-03-11 Andreas Schwab <schwab@suse.de>
16266
16267 [BZ #15234]
16268 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16269 by SHLIB_COMPAT.
16270 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16271 (GLIBC_2.16): Remove pthread_atfork.
16272
3e6bd4b1
PP
162732013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16274
16275 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16276 (ptestcases.h): Likewise.
16277
222d7f00
RM
162782013-03-08 Roland McGrath <roland@hack.frob.com>
16279
16280 * Makeconfig ($(common-objpfx)config.status): Depend on
16281 sysdeps/*/preconfigure{,.in} too.
16282
1ba4f030
JM
162832013-03-08 Joseph Myers <joseph@codesourcery.com>
16284
a222d91a
JM
16285 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16286 (__free_hook): Use void * instead of __malloc_ptr_t.
16287 (__malloc_hook): Likewise.
16288 (__realloc_hook): Likewise.
16289 (__memalign_hook): Likewise.
16290 (__after_morecore_hook): Likewise.
16291 * malloc/arena.c (save_malloc_hook): Likewise.
16292 (save_free_hook): Likewise.
16293 * malloc/hooks.c (malloc_hook_ini): Likewise.
16294 (realloc_hook_ini): Likewise.
16295 (memalign_hook_ini): Likewise.
16296 * malloc/malloc.c (malloc_hook_ini): Likewise.
16297 (realloc_hook_ini): Likewise.
16298 (memalign_hook_ini): Likewise.
16299 (__free_hook): Likewise.
16300 (__malloc_hook): Likewise.
16301 (__realloc_hook): Likewise.
16302 (__memalign_hook): Likewise.
16303 (__libc_malloc): Likewise.
16304 (__libc_free): Likewise.
16305 (__libc_realloc): Likewise.
16306 (__libc_memalign): Likewise.
16307 (__libc_valloc): Likewise.
16308 (__libc_pvalloc): Likewise.
16309 (__libc_calloc): Likewise.
16310 (__posix_memalign): Likewise.
16311 * malloc/morecore.c (__sbrk): Likewise.
16312 (__default_morecore): Likewise.
16313
5cc45e10
JM
16314 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16315
dd54b864
JM
16316 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16317 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16318 __malloc_ptrdiff_t.
16319
1ba4f030
JM
16320 * malloc/malloc.h (__malloc_size_t): Remove macro.
16321 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16322 __malloc_size_t.
16323 (old_memalign_hook): Likewise.
16324 (old_realloc_hook): Likewise.
16325 (struct hdr): Likewise.
16326 (flood): Likewise.
16327 (mallochook): Likewise.
16328 (memalignhook): Likewise.
16329 (reallochook): Likewise.
16330 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16331 (tr_old_realloc_hook): Likewise.
16332 (tr_old_memalign_hook): Likewise.
16333 (tr_mallochook): Likewise.
16334 (tr_reallochook): Likewise.
16335 (tr_memalignhook): Likewise.
16336
edf66e57
AZ
163372013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16338
16339 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16340 default_ldbl_pack and using as default implementation.
16341 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16342 implementation.
16343 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16344 redundant definition.
16345 (ldbl_insert_mantissa): Likewise.
16346 (ldbl_canonicalize): Likewise.
16347 (ldbl_nearbyint): Likewise.
16348 (ldbl_pack): Rename to ldbl_pack_ppc.
16349 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16350 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16351 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16352
6d9145d8
SP
163532013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16354
16355 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16356 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16357 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16358 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16359 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16360 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16361 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16362 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16363
4dd4e157
AJ
163642013-03-07 Andreas Jaeger <aj@suse.de>
16365
16366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16367 bits/mman-linux.h.
16368
adbb8027
SP
163692013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16370
ce544b5b
SP
16371 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16372 Include mpa.h and declare __MPEXP.
16373 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16374 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16375 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16376 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16377 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16378 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16379 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16380
4cc149fd
SP
16381 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16382 (__slowpow): Use long double EXPL and LOGL functions to
16383 compute POW.
16384 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16385 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16386 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16387 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16388 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16389 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16390
e6ebd4a7
SP
16391 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16392 intermediate variable to calculate exponent.
16393 (__sqr): Likewise.
16394 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16395 Likewise.
16396 (__sqr): Likewise.
16397
82a9811d
SP
16398 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16399 [!NO__SQR]: Define __sqr.
16400 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16401 and NO__SQR. Remove all code except __mul and __sqr. Include
16402 sysdeps/ieee754/dbl-64/mpa.c.
16403 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16404
adbb8027
SP
16405 [BZ #12723]
16406 * posix/Makefile (tests): Add tst-pathconf.
16407 * posix/tst-pathconf.c: New test case.
16408 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16409 _PC_PIPE_BUF.
16410 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16411
39120df9
PF
164122013-03-06 Patsy Franklin <pfrankli@redhat.com>
16413
16414 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16415
67525cb8
AJ
164162013-03-06 Andreas Jaeger <aj@suse.de>
16417
664a9ce4
AJ
16418 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16419 definition via __MAP_ANONYMOUS.
16420
8e39047d
AJ
16421 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16422 it's not part of Linux headers.
16423
67525cb8
AJ
16424 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16425 (MAP_HUGE_MASK): Define.
16426
16427 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16428 Define.
16429 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16430 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16431 Define.
16432 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16433 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16434 Define.
16435 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16436 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16437 Define.
16438 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16439
16440 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16441 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16442 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16443 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16444 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16445 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16446
16447 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16448 Handle f2fs.
16449
16450 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16451 Handle f2fs and efivarfs.
16452
16453 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16454 f2fs.
16455
16456 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16457 (EFIVARFS_MAGIC): Add.
16458 (F2FS_LINK_MAX): Add.
16459
e1b42695
PP
164602013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16461
16462 * stdio-common/vfprintf.c: Replace __builtin_expect with
16463 __glibc_unlikely.
16464
2d67d91a
JM
164652013-03-06 Joseph Myers <joseph@codesourcery.com>
16466
16467 [BZ #13550]
16468 * sysdeps/generic/bp-sym.h: Remove file.
16469 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16470 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16471 <bp-sym.h> and <bp-asm.h>.
16472 (__longjmp): Don't use BP_SYM.
16473 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16474 and <bp-asm.h>.
16475 (memcpy): Don't use BP_SYM.
16476 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16477 <bp-sym.h> and <bp-asm.h>.
16478 (memcpy): Don't use BP_SYM.
16479 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16480 <bp-asm.h>.
16481 (memcpy): Don't use BP_SYM.
16482 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16483 <bp-asm.h>.
16484 (memset): Don't use BP_SYM.
16485 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16486 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16487 (__bzero): Don't use BP_SYM.
16488 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16489 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16490 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16491 <bp-sym.h> and <bp-asm.h>.
16492 (memcmp): Don't use BP_SYM. Remove comment about bounded
16493 pointers.
16494 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16495 <bp-sym.h> and <bp-asm.h>.
16496 (memcpy): Don't use BP_SYM.
16497 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16498 <bp-sym.h> and <bp-asm.h>.
16499 (memset): Don't use BP_SYM.
16500 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16501 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16502 (__bzero): Don't use BP_SYM.
16503 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16504 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16505 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16506 <bp-sym.h> and <bp-asm.h>.
16507 (strncmp): Don't use BP_SYM. Remove comment about bounded
16508 pointers.
16509 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16510 <bp-sym.h> and <bp-asm.h>.
16511 (memcpy): Don't use BP_SYM.
16512 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16513 <bp-sym.h> and <bp-asm.h>.
16514 (memset): Don't use BP_SYM.
16515 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16516 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16517 (__bzero): Don't use BP_SYM.
16518 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16519 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16520 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16521 <bp-sym.h> and <bp-asm.h>.
16522 (__memchr): Don't use BP_SYM.
16523 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16524 <bp-sym.h> and <bp-asm.h>.
16525 (memcmp): Don't use BP_SYM. Remove comment about bounded
16526 pointers.
16527 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16528 <bp-sym.h> and <bp-asm.h>.
16529 (memcpy): Don't use BP_SYM.
16530 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16531 <bp-sym.h> and <bp-asm.h>.
16532 (__mempcpy): Don't use BP_SYM.
16533 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16534 <bp-sym.h> and <bp-asm.h>.
16535 (__memrchr): Don't use BP_SYM.
16536 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16537 <bp-sym.h> and <bp-asm.h>.
16538 (memset): Don't use BP_SYM.
16539 (__bzero): Likewise.
16540 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16541 <bp-sym.h> and <bp-asm.h>.
16542 (__rawmemchr): Don't use BP_SYM.
16543 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16544 <bp-sym.h> and <bp-asm.h>.
16545 (__STRCMP): Don't use BP_SYM.
16546 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16547 <bp-sym.h> and <bp-asm.h>.
16548 (strchr): Don't use BP_SYM.
16549 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16550 <bp-sym.h> and <bp-asm.h>.
16551 (__strchrnul): Don't use BP_SYM.
16552 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16553 <bp-sym.h> and <bp-asm.h>.
16554 (strlen): Don't use BP_SYM.
16555 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16556 <bp-sym.h> and <bp-asm.h>.
16557 (strncmp): Don't use BP_SYM. Remove comment about bounded
16558 pointers.
16559 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16560 <bp-sym.h> and <bp-asm.h>.
16561 (__strnlen): Don't use BP_SYM.
16562 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16563 <bp-sym.h> and <bp-asm.h>.
16564 (__GI__setjmp): Don't use BP_SYM.
16565 (_setjmp): Likewise.
16566 (__sigsetjmp): Likewise.
16567 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16568 (L(start_addresses)): Don't use BP_SYM.
16569 (_start): Likewise.
16570 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16571 <bp-asm.h>.
16572 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16573 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16574 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16575 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16576 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16577 <bp-asm.h>.
16578 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16579 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16580 about bounded pointers.
16581 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16582 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16583 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16584 <bp-asm.h>.
16585 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16586 about bounded pointers. Remove GKM FIXME comments.
16587 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16588 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16589 <bp-asm.h>.
16590 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16591 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16592 Remove GKM FIXME comments.
16593 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16594 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16595 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16596 <bp-asm.h>.
16597 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16598 about bounded pointers. Remove GKM FIXME comment.
16599 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16600 and <bp-asm.h>.
16601 (strncmp): Don't use BP_SYM. Remove comment about bounded
16602 pointers.
16603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16604 <bp-sym.h> and <bp-asm.h>.
16605 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16606 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16607 <bp-sym.h> and <bp-asm.h>.
16608 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16609 comment.
16610
cdcf361f
PP
166112013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16612
16613 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16614 call free(NULL).
16615
3c4a2b15
DM
166162013-03-05 David S. Miller <davem@davemloft.net>
16617
16618 * po/es.po: Update from translation team.
16619
cdcf361f 166202013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16621
16622 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16623 <bits/mman-linux.h>.
16624 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16625 is fine.
16626 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16627 <bits/mman-linux.h> to end of file.
16628 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16629 is fine.
16630 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16631 <bits/mman-linux.h> to end of file.
16632 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16633 is fine.
16634 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16635 <bits/mman-linux.h> to end of file.
16636
16637 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16638 (MCL_CURRENT, MCL_FUTURE): Define here.
16639
5f67c04f
AK
166402013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16641
8a4473cc 16642 [BZ #15232]
5f67c04f
AK
16643 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16644 attribute_hidden.
16645 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16646
c3e94a95
AK
166472013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16648
16649 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16650 fourth parameter needed for rt_sigprocmask syscall.
16651 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16652 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16653 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16654 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16655 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16656 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16657
cfb6382a
JM
166582013-03-04 Joseph Myers <joseph@codesourcery.com>
16659
16660 [BZ #13550]
16661 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16662 comment about bounded pointers.
16663 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16664 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16665
539d8e01
AJ
166662013-03-04 Andreas Jaeger <aj@suse.de>
16667
16668 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16669 common definitions.
16670
16671 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16672 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16673 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16674 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16675 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16676 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16677
2e167a70 166782013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16679
16680 [BZ #15055]
16681 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16682 __ieee754_sqrl instead of __sqrl.
16683
68508633
JM
166842013-03-01 Joseph Myers <joseph@codesourcery.com>
16685
16686 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16687 * sysdeps/powerpc/fpu_control.h: ... here.
16688 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16689 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16690 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16691 * sysdeps/powerpc/bits/mathinline.h: ... here.
16692
7775448e
RM
166932013-03-01 Roland McGrath <roland@hack.frob.com>
16694
16695 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16696 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16697 to just [NEED_DL_SYSINFO_DSO].
16698 * elf/dl-support.c: Likewise.
16699 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16700 * elf/rtld.c (dl_main): Likewise.
16701 * elf/setup-vdso.h (setup_vdso): Likewise.
16702 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16703 * sysdeps/unix/sysv/linux/dl-sysdep.c
16704 (_dl_discover_osversion): Likewise.
16705
4e9b5995
CD
167062013-03-01 Carlos O'Donell <carlos@redhat.com>
16707
16708 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16709 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16710
e23872c8
SP
167112013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16712
e5c74c63
SP
16713 * NEWS: Mention libm performance improvements and non-x86 PI
16714 futex support.
16715
e23872c8
SP
16716 * csu/libc-start.c (__pthread_initialize_minimal): Change
16717 function arguments.
16718 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16719
b5510883
JM
167202013-02-28 Joseph Myers <joseph@codesourcery.com>
16721
16722 [BZ #13550]
16723 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16724 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16725 <bp-sym.h> and <bp-asm.h>.
16726 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16727 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16728 and <bp-asm.h>.
16729 (memcpy): Don't use BP_SYM.
16730 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16731 <bp-asm.h>.
16732 (__mpn_add_n): Don't use BP_SYM.
16733 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16734 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16735 and <bp-asm.h>.
16736 (__mpn_addmul_1): Don't use BP_SYM.
16737 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16738 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16739 <bp-sym.h>.
16740 (_setjmp): Don't use BP_SYM.
16741 (__novmx_setjmp): Likewise.
16742 (__GI__setjmp): Likewise.
16743 (__vmx_setjmp): Likewise.
16744 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16745 <bp-sym.h>.
16746 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16747 (__bzero): Don't use BP_SYM.
16748 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16749 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16750 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16751 <bp-sym.h> and <bp-asm.h>.
16752 (memcpy): Don't use BP_SYM.
16753 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16754 <bp-sym.h> and <bp-asm.h>.
16755 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16756 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16757 <bp-sym.h> and <bp-asm.h>.
16758 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16759 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16760 <bp-asm.h>.
16761 (__mpn_lshift): Don't use BP_SYM.
16762 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16763 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16764 <bp-asm.h>.
16765 (memset): Don't use BP_SYM.
16766 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16767 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16768 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16769 <bp-asm.h>.
16770 (__mpn_mul_1): Don't use BP_SYM.
16771 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16772 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16773 <bp-sym.h> and <bp-asm.h>.
16774 (memcmp): Don't use BP_SYM.
16775 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16776 <bp-sym.h> and <bp-asm.h>.
16777 (memcpy): Don't use BP_SYM.
16778 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16779 <bp-sym.h> and <bp-asm.h>.
16780 (memset): Don't use BP_SYM.
16781 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16782 <bp-sym.h> and <bp-asm.h>.
16783 (strncmp): Don't use BP_SYM.
16784 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16785 <bp-sym.h> and <bp-asm.h>.
16786 (memcpy): Don't use BP_SYM.
16787 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16788 <bp-sym.h> and <bp-asm.h>.
16789 (memset): Don't use BP_SYM.
16790 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16791 <bp-sym.h> and <bp-asm.h>.
16792 (__memchr): Don't use BP_SYM.
16793 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16794 <bp-sym.h> and <bp-asm.h>.
16795 (memcmp): Don't use BP_SYM.
16796 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16797 <bp-sym.h> and <bp-asm.h>.
16798 (memcpy): Don't use BP_SYM.
16799 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16800 <bp-sym.h> and <bp-asm.h>.
16801 (__mempcpy): Don't use BP_SYM.
16802 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16803 <bp-sym.h> and <bp-asm.h>.
16804 (__memrchr): Don't use BP_SYM.
16805 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16806 <bp-sym.h> and <bp-asm.h>.
16807 (memset): Don't use BP_SYM.
16808 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16809 <bp-sym.h> and <bp-asm.h>.
16810 (__rawmemchr): Don't use BP_SYM.
16811 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16812 <bp-sym.h> and <bp-asm.h>.
16813 (__STRCMP): Don't use BP_SYM.
16814 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16815 <bp-sym.h> and <bp-asm.h>.
16816 (strchr): Don't use BP_SYM.
16817 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16818 <bp-sym.h> and <bp-asm.h>.
16819 (__strchrnul): Don't use BP_SYM.
16820 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16821 <bp-sym.h> and <bp-asm.h>.
16822 (strlen): Don't use BP_SYM.
16823 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16824 <bp-sym.h> and <bp-asm.h>.
16825 (strncmp): Don't use BP_SYM.
16826 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16827 <bp-sym.h> and <bp-asm.h>.
16828 (__strnlen): Don't use BP_SYM.
16829 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16830 <bp-asm.h>.
16831 (__mpn_rshift): Don't use BP_SYM.
16832 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16833 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16834 <bp-sym.h> and <bp-asm.h>.
16835 (__sigsetjmp): Don't use BP_SYM.
16836 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16837 (L(start_addresses)): Don't use BP_SYM.
16838 (_start): Likewise.
16839 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16840 <bp-asm.h>.
16841 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16842 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16843 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16844 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16845 <bp-asm.h>.
16846 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16847 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16848 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16849 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16850 <bp-asm.h>.
16851 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16852 comments.
16853 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16854 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16855 <bp-asm.h>.
16856 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16857 FIXME comments.
16858 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16859 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16860 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16861 <bp-asm.h>.
16862 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16863 comment.
16864 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16865 and <bp-asm.h>.
16866 (strncmp): Don't use BP_SYM,
16867 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16868 <bp-asm.h>.
16869 (__mpn_sub_n): Don't use BP_SYM.
16870 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16871 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16872 and <bp-asm.h>.
16873 (__mpn_submul_1): Don't use BP_SYM.
16874 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16876 <bp-sym.h> and <bp-asm.h>.
16877 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16879 <bp-sym.h> and <bp-asm.h>.
16880 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16881 comment.
16882
8d19fe64
SP
168832013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16884
16885 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16886 Use ZK to minimize writes to Z.
16887 (sub_magnitudes): Simplify code a bit.
16888 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16889 Use ZK to minimize writes to Z.
16890 (sub_magnitudes): Simplify code a bit.
16891
85bd816a
RM
168922013-02-27 Roland McGrath <roland@hack.frob.com>
16893
16894 * csu/gmon-start.c: Add special exception to license text.
16895
b5977bf2
RH
168962013-02-27 Richard Henderson <rth@redhat.com>
16897
16898 * scripts/config.guess: Update from config.git.
16899 * scripts/config.sub: Likewise.
16900
11d6e2f2
SP
169012013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16902
09c14ed2
SP
16903 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16904
a688864e
SP
16905 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16906
6295157a
SP
16907 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16908
b8de2202
SP
16909 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16910
11d6e2f2
SP
16911 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16912
7e80ddb8
RM
169132013-02-26 Roland McGrath <roland@hack.frob.com>
16914
16915 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16916 [$(build-shared = yes].
7e80ddb8 16917
7da6d9ed
SP
169182013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16919
45f05884
SP
16920 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16921 (__mul): Reduce iterations for calculating mantissa.
16922
2236d359
SP
16923 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16924 MPTWO.
16925 (__mpranred): Likewise.
16926
7da6d9ed
SP
16927 [BZ #15160]
16928 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16929 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16930
b7688c42
PE
169312013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16932
16933 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16934 Define __attribute__.
16935
53a5c423
SP
169362013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16937
16938 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16939 unused.
16940 * posix/regex_internal.h (__attribute): Remove.
16941 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16942 (re_string_context_at): Likewise.
16943 (bitset_not): Use __attribute__ and mark function as possibly
16944 unused.
16945 (bitset_merge): Likewise.
16946 (bitset_mask): Likewise.
16947 (re_string_char_size_at): Likewise.
16948 (re_string_wchar_at): Likewise.
16949 (re_string_elem_size_at): Likewise.
16950
60f5a8b5
SP
169512013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16952
2a983a2e
SP
16953 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16954 code.
16955 (cc32): Likewise.
16956
e69804d1
SP
16957 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16958 (__acr): Likewise.
16959 (__cpy): Likewise.
16960 (norm): Likewise.
16961 (denorm): Likewise.
16962 (__dbl_mp): Likewise.
16963 (add_magnitudes): Likewise.
16964 (sub_magnitudes): Likewise.
16965 (__mul): Likewise.
16966 (__inv): Likewise.
16967
2f22a1e8
SP
16968 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16969 style.
16970
8930ddc7
SP
16971 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16972 style.
16973
dc60cb11
SP
16974 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16975 code.
16976
60f5a8b5
SP
16977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16978 up changes with default code.
16979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
16980 Likewise.
16981
b4d1fd33
AM
169822013-02-24 Allan McRae <allan@archlinux.org>
16983
faf6f8bc
AM
16984 * manual/socket.texi (The Internet Namespace): Order menu items
16985 to match that in the file.
16986
b4d1fd33
AM
16987 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
16988 node listing of the info page menu.
16989
2366713d
JM
169902013-02-21 Joseph Myers <joseph@codesourcery.com>
16991
16992 [BZ #13550]
16993 * sysdeps/i386/bp-asm.h: Remove file.
16994 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
16995 (PARMS): Do not use macros from bp-asm.h.
16996 (S1): Likewise.
16997 (S2): Likewise.
16998 (SIZE): Likewise.
16999 (__mpn_add_n): Do not use BP_SYM
17000 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17001 "bp-asm.h".
17002 (PARMS): Do not use macros from bp-asm.h.
17003 (S1): Likewise.
17004 (SIZE): Likewise.
17005 (__mpn_addmul_1): Do not use BP_SYM
17006 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17007 "bp-asm.h".
17008 (PARMS): Do not use macros from bp-asm.h.
17009 (SIGMSK): Likewise.
17010 (_setjmp): Likewise. Do not use BP_SYM.
17011 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17012 "bp-asm.h".
17013 (PARMS): Do not use macros from bp-asm.h.
17014 (SIGMSK): Likewise.
17015 (setjmp): Likewise. Do not use BP_SYM.
17016 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17017 "bp-asm.h".
17018 (PARMS): Do not use macros from bp-asm.h.
17019 (__frexp): Do not use BP_SYM.
17020 (frexp): Likewise.
17021 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17022 "bp-asm.h".
17023 (PARMS): Do not use macros from bp-asm.h.
17024 (__frexpf): Do not use BP_SYM.
17025 (frexpf): Likewise.
17026 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17027 "bp-asm.h".
17028 (PARMS): Do not use macros from bp-asm.h.
17029 (__frexpl): Do not use BP_SYM.
17030 (frexpl): Likewise.
17031 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17032 "bp-asm.h".
17033 (PARMS): Do not use macros from bp-asm.h.
17034 (__remquo): Do not use BP_SYM.
17035 (remquo): Likewise.
17036 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17037 "bp-asm.h".
17038 (PARMS): Do not use macros from bp-asm.h.
17039 (__remquof): Do not use BP_SYM.
17040 (remquof): Likewise.
17041 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17042 "bp-asm.h".
17043 (PARMS): Do not use macros from bp-asm.h.
17044 (__remquol): Do not use BP_SYM.
17045 (remquol): Likewise.
17046 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17047 "bp-asm.h".
17048 (PARMS): Do not use macros from bp-asm.h.
17049 (DEST): Likewise.
17050 (SRC): Likewise.
17051 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17052 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17053 "bp-asm.h".
17054 (PARMS): Do not use macros from bp-asm.h.
17055 (strlen): Do not use BP_SYM.
17056 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17057 "bp-asm.h".
17058 (PARMS): Do not use macros from bp-asm.h.
17059 (S1): Likewise.
17060 (S2): Likewise.
17061 (SIZE): Likewise.
17062 (__mpn_add_n): Do not use BP_SYM.
17063 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17064 "bp-asm.h".
17065 (PARMS): Do not use macros from bp-asm.h.
17066 (S1): Likewise.
17067 (SIZE): Likewise.
17068 (__mpn_addmul_1): Do not use BP_SYM.
17069 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17070 weak_alias.
17071 (bzero): Likewise.
17072 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17073 "bp-asm.h".
17074 (PARMS): Do not use macros from bp-asm.h.
17075 (S): Likewise.
17076 (SIZE): Likewise.
17077 (__mpn_lshift): Do not use BP_SYM.
17078 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17079 "bp-asm.h".
17080 (PARMS): Do not use macros from bp-asm.h.
17081 (DEST): Likewise.
17082 (SRC): Likewise.
17083 (LEN): Likewise.
17084 (memcpy): Likewise. Do not use BP_SYM.
17085 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17086 libc_hidden_def and weak_alias.
17087 (mempcpy): Do not use BP_SYM in weak_alias.
17088 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17089 "bp-asm.h".
17090 (PARMS): Do not use macros from bp-asm.h.
17091 (DEST): Likewise.
17092 (LEN): Likewise.
17093 [!BZERO_P] (CHR): Likewise.
17094 (memset): Likewise. Do not use BP_SYM.
17095 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17096 "bp-asm.h".
17097 (PARMS): Do not use macros from bp-asm.h.
17098 (S1): Likewise.
17099 (SIZE): Likewise.
17100 (__mpn_mul_1): Do not use BP_SYM.
17101 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17102 "bp-asm.h".
17103 (PARMS): Do not use macros from bp-asm.h.
17104 (S): Likewise.
17105 (SIZE): Likewise.
17106 (__mpn_rshift): Do not use BP_SYM.
17107 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17108 "bp-asm.h".
17109 (PARMS): Do not use macros from bp-asm.h.
17110 (STR): Likewise.
17111 (CHR): Likewise.
17112 (strchr): Likewise. Do not use BP_SYM.
17113 (index): Do not use BP_SYM in weak_alias.
17114 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17115 "bp-asm.h".
17116 (PARMS): Do not use macros from bp-asm.h.
17117 (DEST): Likewise.
17118 (SRC): Likewise.
17119 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17120 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17121 "bp-asm.h".
17122 (PARMS): Do not use macros from bp-asm.h.
17123 (strlen): Do not use BP_SYM.
17124 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17125 "bp-asm.h".
17126 (PARMS): Do not use macros from bp-asm.h.
17127 (S1): Likewise.
17128 (S2): Likewise.
17129 (SIZE): Likewise.
17130 (__mpn_sub_n): Do not use BP_SYM.
17131 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17132 "bp-asm.h".
17133 (PARMS): Do not use macros from bp-asm.h.
17134 (S1): Likewise.
17135 (SIZE): Likewise.
17136 (__mpn_submul_1): Do not use BP_SYM.
17137 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17138 "bp-asm.h".
17139 (PARMS): Do not use macros from bp-asm.h.
17140 (S1): Likewise.
17141 (S2): Likewise.
17142 (SIZE): Likewise.
17143 (__mpn_add_n): Do not use BP_SYM.
17144 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17145 weak_alias.
17146 (bzero): Likewise.
17147 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17148 "bp-asm.h".
17149 (PARMS): Do not use macros from bp-asm.h.
17150 (BLK2): Likewise.
17151 (LEN): Likewise.
17152 (memcmp): Do not use BP_SYM.
17153 (bcmp): Do not use BP_SYM in weak_alias.
17154 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17155 "bp-asm.h".
17156 (PARMS): Do not use macros from bp-asm.h.
17157 (DEST): Likewise.
17158 (SRC): Likewise.
17159 (LEN): Likewise.
17160 (memcpy): Likewise. Do not use BP_SYM.
17161 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17162 "bp-asm.h".
17163 (PARMS): Do not use macros from bp-asm.h.
17164 (DEST): Likewise.
17165 (SRC): Likewise.
17166 (LEN): Likewise.
17167 (memmove): Likewise. Do not use BP_SYM.
17168 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17169 "bp-asm.h".
17170 (PARMS): Do not use macros from bp-asm.h.
17171 (DEST): Likewise.
17172 (SRC): Likewise.
17173 (LEN): Likewise.
17174 (__mempcpy): Likewise. Do not use BP_SYM.
17175 (mempcpy): Do not use BP_SYM in weak_alias.
17176 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17177 "bp-asm.h".
17178 (PARMS): Do not use macros from bp-asm.h.
17179 (DEST): Likewise.
17180 (LEN): Likewise.
17181 [!BZERO_P] (CHR): Likewise.
17182 (memset): Likewise. Do not use BP_SYM.
17183 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17184 "bp-asm.h".
17185 (PARMS): Do not use macros from bp-asm.h.
17186 (STR2): Likewise.
17187 (strcmp): Do not use BP_SYM.
17188 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17189 "bp-asm.h".
17190 (PARMS): Do not use macros from bp-asm.h.
17191 (STR): Likewise.
17192 (DELIM): Likewise.
17193 [USE_AS_STRTOK_R] (SAVE): Likewise.
17194 (FUNCTION): Likewise. Do not use BP_SYM.
17195 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17196 aliases.
17197 (strtok_r): Likewise.
17198 (__GI___strtok_r): Likewise.
17199 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17200 (PARMS): Do not use macros from bp-asm.h.
17201 (S): Likewise.
17202 (SIZE): Likewise.
17203 (__mpn_lshift): Do not use BP_SYM.
17204 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17205 (PARMS): Do not use macros from bp-asm.h.
17206 (STR): Likewise.
17207 (CHR): Likewise.
17208 (__memchr): Do not use BP_SYM.
17209 (memchr): Do not use BP_SYM in weak_alias.
17210 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17211 (PARMS): Do not use macros from bp-asm.h.
17212 (BLK2): Likewise.
17213 (LEN): Likewise.
17214 (memcmp): Do not use BP_SYM.
17215 (bcmp): Do not use BP_SYM in weak_alias.
17216 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17217 (PARMS): Do not use macros from bp-asm.h.
17218 (S1): Likewise.
17219 (SIZE): Likewise.
17220 (__mpn_mul_1): Do not use BP_SYM.
17221 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17222 "bp-asm.h".
17223 (PARMS): Do not use macros from bp-asm.h.
17224 (STR): Likewise.
17225 (CHR): Likewise.
17226 (__rawmemchr): Do not use BP_SYM.
17227 (rawmemchr): Do not use BP_SYM in weak_alias.
17228 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17229 (PARMS): Do not use macros from bp-asm.h.
17230 (S): Likewise.
17231 (SIZE): Likewise.
17232 (__mpn_rshift): Do not use BP_SYM.
17233 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17234 (PARMS): Do not use macros from bp-asm.h.
17235 (SIGMSK): Likewise.
17236 (__sigsetjmp): Likewise. Do not use BP_SYM.
17237 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17238 (_start): Do not use BP_SYM.
17239 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17240 (PARMS): Do not use macros from bp-asm.h.
17241 (DEST): Likewise.
17242 (SRC): Likewise.
17243 (__stpcpy): Likewise. Do not use BP_SYM.
17244 (stpcpy): Do not use BP_SYM in weak_alias.
17245 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17246 "bp-asm.h".
17247 (PARMS): Do not use macros from bp-asm.h.
17248 (DEST): Likewise.
17249 (SRC): Likewise.
17250 (LEN): Likewise.
17251 (__stpncpy): Likewise. Do not use BP_SYM.
17252 (stpncpy): Do not use BP_SYM in weak_alias.
17253 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17254 (PARMS): Do not use macros from bp-asm.h.
17255 (STR): Likewise.
17256 (CHR): Likewise.
17257 (strchr): Likewise. Do not use BP_SYM.
17258 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17259 "bp-asm.h".
17260 (PARMS): Do not use macros from bp-asm.h.
17261 (STR): Likewise.
17262 (CHR): Likewise.
17263 (__strchrnul): Likewise. Do not use BP_SYM.
17264 (strchrnul): Do not use BP_SYM in weak_alias.
17265 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17266 "bp-asm.h".
17267 (PARMS): Do not use macros from bp-asm.h.
17268 (STOP): Likewise.
17269 (strcspn): Do not use BP_SYM.
17270 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17271 "bp-asm.h".
17272 (PARMS): Do not use macros from bp-asm.h.
17273 (STR): Likewise.
17274 (STOP): Likewise.
17275 (strpbrk): Likewise. Do not use BP_SYM.
17276 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17277 "bp-asm.h".
17278 (PARMS): Do not use macros from bp-asm.h.
17279 (STR): Likewise.
17280 (CHR): Likewise.
17281 (strrchr): Likewise. Do not use BP_SYM.
17282 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17283 (PARMS): Do not use macros from bp-asm.h.
17284 (SKIP): Likewise.
17285 (strspn): Do not use BP_SYM.
17286 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17287 (PARMS): Do not use macros from bp-asm.h.
17288 (STR): Likewise.
17289 (DELIM): Likewise.
17290 (SAVE): Likewise.
17291 (FUNCTION): Likewise. Do not use BP_SYM.
17292 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17293 aliases.
17294 (strtok_r): Likewise.
17295 (__GI___strtok_r): Likewise.
17296 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17297 (PARMS): Do not use macros from bp-asm.h.
17298 (S1): Likewise.
17299 (S2): Likewise.
17300 (SIZE): Likewise.
17301 (__mpn_sub_n): Do not use BP_SYM.
17302 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17303 "bp-asm.h".
17304 (PARMS): Do not use macros from bp-asm.h.
17305 (S1): Likewise.
17306 (SIZE): Likewise.
17307 (__mpn_submul_1): Do not use BP_SYM.
17308 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17309 <bp-sym.h>.
17310 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17311 and <bp-asm.h>.
17312 (PARMS): Do not use macros from bp-asm.h.
17313 (FLAGS): Likewise.
17314 (PTID): Likewise.
17315 (TLS): Likewise.
17316 (CTID): Likewise.
17317 (__clone): Do not use BP_SYM.
17318 (clone): Do not use BP_SYM in weak_alias.
17319 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17320 and <bp-asm.h>.
17321 (PARMS): Do not use macros from bp-asm.h.
17322 (LEN): Likewise.
17323 (__mmap64): Do not use BP_SYM.
17324 (mmap64): Do not use BP_SYM in weak_alias.
17325 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17326 <bp-sym.h> and <bp-asm.h>.
17327 (PARMS): Do not use macros from bp-asm.h.
17328 (__posix_fadvise64_l64): Do not use BP_SYM.
17329 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17330 (PARMS): Do not use macros from bp-asm.h.
17331 (NSOPS): Likewise.
17332 (semtimedop): Do not use BP_SYM.
17333 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17334 and <bp-asm.h>.
17335
582a3cff
AM
173362013-02-21 Allan McRae <allan@archlinux.org>
17337
17338 * manual/message.texi (Charset conversion in gettext):
17339 Move @end statement to beginning of line.
17340
bab8a695
SP
173412013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17342
80945231
SP
17343 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17344 static.
17345 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17346 Likewise.
17347
bab8a695
SP
17348 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17349 (denorm): Likewise.
17350 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17351 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17352
e21d7aa7
AK
173532013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17354
17355 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17356 tail-call to the resolved function if pltexit isn't needed.
17357
4c7a4263
SP
173582013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17359
17360 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17361 or Y being zero as being unlikely.
17362 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17363 Likewise.
17364
41f49342
CD
173652013-02-20 Carlos O'Donell <carlos@redhat.com>
17366
17367 * manual/nss.texi (System Databases and Name Service Switch):
17368 Remove frobnicate @pxref.
17369
50022a93
TS
173702013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17371
17372 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17373 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17374
08cbd996
PM
173752013-02-20 Petr Machata <pmachata@redhat.com>
17376
17377 * elf/elf.h (R_ARM_TARGET1): New macro.
17378 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17379 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17380 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17381 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17382 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17383 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17384 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17385 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17386 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17387 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17388 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17389 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17390 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17391 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17392 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17393 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17394 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17395 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17396 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17397 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17398 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17399 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17400 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17401 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17402 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17403 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17404 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17405 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17406 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17407 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17408 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17409 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17410 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17411 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17412 (R_ARM_THM_GOT_BREL12): Likewise.
17413 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17414 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17415 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17416 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17417 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17418 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17419 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17420 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17421 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17422
c7b275d6
TS
174232013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17424
17425 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17426 __attribute_used__ to __attribute__ ((unused)).
17427
20cd7fb3
SP
174282013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17429
17430 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17431 powerpc mpa.c.
17432 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17433 comment formatting.
17434 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17435
92945b52
JM
174362013-02-19 Joseph Myers <joseph@codesourcery.com>
17437
17438 [BZ #13550]
17439 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17440 Remove macro.
17441 (ENTER): Remove both macro definitions.
17442 (LEAVE): Likewise.
17443 (CHECK_BOUNDS_LOW): Likewise.
17444 (CHECK_BOUNDS_HIGH): Likewise.
17445 (CHECK_BOUNDS_BOTH): Likewise.
17446 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17447 (RETURN_BOUNDED_POINTER): Likewise.
17448 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17449 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17450 (POP_ERRNO_LOCATION_RETURN): Likewise.
17451 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17452 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17453 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17454 macros.
17455 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17456 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17457 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17458 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17459 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17460 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17461 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17462 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17463 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17464 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17465 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17466 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17467 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17468 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17469 removed macros.
17470 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17471 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17472 macros.
17473 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17474 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17475 * sysdeps/i386/i586/memset.S (memset): Likewise.
17476 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17477 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17478 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17479 macros.
17480 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17481 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17482 Change uses of L(2) to L(out).
17483 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17484 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17485 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17486 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17487 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17488 removed macros.
17489 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17490 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17491 macros.
17492 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17493 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17494 (RETURN): Do not use macro LEAVE.
17495 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17496 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17497 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17498 * sysdeps/i386/i686/memset.S (memset): Likewise.
17499 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17500 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17501 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17502 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17503 Likewise.
17504 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17505 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17506 L(1_2) and L(1_3) into L(1).
17507 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17508 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17509 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17510 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17511 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17512 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17513 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17514 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17515 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17516 macros.
17517 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17518 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17519 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17520 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17521 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17522 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17523 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17524 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17525 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17526 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17527 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17528 * sysdeps/i386/strspn.S (strspn): Likewise.
17529 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17530 conditional code.
17531 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17532 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17533 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17534 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17535 L(1_3) into L(1_1).
17536 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17537 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17538 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17539 macros.
17540 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17541
2389741a
JJ
175422013-02-19 Jakub Jelinek <jakub@redhat.com>
17543
17544 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17545 macro.
17546
2016b3cd
SP
175472013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17548
e4f22324
SP
17549 * math/atest-exp.c (exp_mpn): Remove ROUND.
17550 * math/atest-exp2.c (exp_mpn): Likewise.
17551 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17552
2016b3cd
SP
17553 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17554 * stdlib/tst-tls-atexit-lib.c: Likewise.
17555 * stdlib/tst-tls-atexit.c: Likewise.
17556
4be9b544
MF
175572013-02-18 Mike Frysinger <vapier@gentoo.org>
17558
17559 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17560 and __attribute_alloc_size__.
17561
2f62b9ee
MF
175622013-02-18 Mike Frysinger <vapier@gentoo.org>
17563
17564 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17565 __attribute_alloc_size__.
17566 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17567 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17568
6ff444c4
MF
175692013-02-18 Mike Frysinger <vapier@gentoo.org>
17570
17571 * include/programs/xmalloc.h: New file.
17572 * catgets/gencat.c: Include it.
17573 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17574 * elf/pldd.c: Likewise.
17575 * iconv/iconv_charmap.c: Likewise.
17576 * iconv/iconvconfig.c: Likewise.
17577 * iconv/strtab.c: Likewise.
17578 * locale/programs/locale.c: Likewise.
17579 * locale/programs/localedef.h: Likewise.
17580 * locale/programs/simple-hash.c: Likewise.
17581 * nscd/nscd.h: Likewise.
17582 * nss/makedb.c: Likewise.
17583 * sysdeps/generic/ldconfig.h: Likewise.
17584
be179c8a
SP
175852013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17586
ba384f6e
SP
17587 * Versions.def: Add GLIBC_2.18.
17588 * include/link.h (struct link_map): New member l_tls_dtor_count.
17589 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17590 (__call_tls_dtors): Likewise.
17591 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17592 __cxa_thread_atexit_impl.
17593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17594 Likewise.
17595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17596 Likewise.
17597 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17598 Likewise.
17599 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17600 Likewise.
17601 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17602 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17603 Likewise.
17604 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17605 Likewise.
17606 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17607 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17608 Likewise.
17609 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17610 (tests): Add test case tst-tls-atexit.
17611 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17612 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17613 (GLIBC_PRIVATE): Add __call_tls_dtors.
17614 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17615 for libstdc++.
17616 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17617 * stdlib/tst-tls-atexit.c: New test case.
17618 * stdlib/tst-tls-atexit-lib.c: New test case.
17619
ffaa74cf 17620 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17621
be179c8a
SP
17622 * elf/Versions (ld): Add _dl_find_dso_for_object.
17623 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17624 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17625 (dl_open_worker): Use _dl_find_dso_for_object.
17626 * elf/dl-sym.c (do_sym): Likewise.
17627 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17628
f78b5caa
AK
176292013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17630
17631 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17632 Syntactic changes only.
17633 (_dl_runtime_profile): Do a tail-call to the resolved function.
17634
29691210
JM
176352013-02-17 Joseph Myers <joseph@codesourcery.com>
17636
17637 [BZ #13550]
17638 * sysdeps/x86_64/bp-asm.h: Remove file.
17639 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17640 <bp-sym.h> and <bp-asm.h>.
17641 (__clone): Do not use BP_SYM.
17642 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17643 <bp-sym.h> and <bp-asm.h>.
17644 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17645 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17646 "bp-asm.h".
17647 (_setjmp): Do not use BP_SYM.
17648 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17649 "bp-asm.h".
17650 (setjmp): Do not use BP_SYM.
17651 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17652 libc_hidden_def.
17653 (mempcpy): Do not use BP_SYM in weak_alias.
17654 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17655 "bp-asm.h".
17656 (strchr): Do not use BP_SYM.
17657 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17658 "bp-asm.h".
17659 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17660 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17661 (_start): Do not use BP_SYM.
17662 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17663 "bp-asm.h".
17664 (strcat): Do not use BP_SYM.
17665 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17666 "bp-asm.h".
17667 (STRCMP): Do not use BP_SYM.
17668 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17669 "bp-asm.h".
17670 (STRCPY): Do not use BP_SYM.
17671 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17672 "bp-asm.h".
17673 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17674 "bp-asm.h".
17675 (FUNCTION): Do not use BP_SYM.
17676 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17677 weak_alias.
17678 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17679
f238fd19
AJ
176802013-02-17 Andreas Jaeger <aj@suse.de>
17681
17682 * time/Versions: Sort entries.
17683 * string/Versions: Likewise.
17684 * resolv/Versions: Likewise.
17685 * posix/Versions: Likewise.
17686 * iconv/Versions: Likewise.
17687 * elf/Versions: Likewise.
17688 * wcsmbs/Versions: Likewise.
17689
bd07f23c 176902013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17691
22af19f9
SP
17692 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17693 loop termination condition.
17694
4709fe76
SP
17695 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17696 variable to calculate EZ.
17697 (__sqr): Likewise.
2d0e0f29
SP
17698
17699 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17700 the lower precision input.
17701
daaa7713
JM
177022013-02-15 Joseph Myers <joseph@codesourcery.com>
17703
17704 [BZ #13550]
17705 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17706 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17707 (run-via-rtld-prefix): Do not handle %-bp tests.
17708 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17709 (all-object-suffixes): Remove .ob.
17710 (bppfx): Remove variable.
17711 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17712 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17713 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17714 [$(build-bounded) = yes] (libtype.ob): Likewise.
17715 * Makerules (elide-routines.ob): Remove variable.
17716 (do-tests-clean): Do not handle *-bp.out.
17717 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17718 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17719 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17720 (tests): Do not include $(tests-bp.out).
17721 (xtests): Do not include $(xtests-bp.out).
17722 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17723 [$(build-bounded) = yes] ($(addprefix
17724 $(objpfx),$(binaries-bounded))): Remove rule.
17725 ($(objpfx)%-bp.out): Remove rule.
17726 * config.make.in (build-bounded): Remove variable.
17727 * crypt/Makefile [$(build-bounded) = yes]
17728 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17729 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17730 append to variable.
17731 [$(build-bounded) = yes] (install-lib): Likewise.
17732 [$(build-bounded) = yes] (generated): Likewise.
17733 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17734 Remove rule.
17735 * intl/Makefile [$(build-bounded) = yes]
17736 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17737 * math/Makefile [$(build-bounded) = yes]
17738 ($(tests:%=$(objpfx)%-bp): Likewise.
17739 * misc/Makefile [$(build-bounded) = yes]
17740 ($(objpfx)tst-tsearch-bp): Likewise.
17741 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17742 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17743 Remove dependency.
17744 * string/Makefile (o-objects.ob): Remove variable.
17745 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17746 (CFLAGS-.ob): Remove variable.
17747 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17748 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17749 both definitions of variable.
17750 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17751 (ASFLAGS-.ob): Remove variable.
17752
e97ed6dd
JM
177532013-02-14 Joseph Myers <joseph@codesourcery.com>
17754
2bdd4ca6
JM
17755 [BZ #13550]
17756 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17757 Remove __BOUNDED_POINTERS__ from condition.
17758 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17759 * string/bits/string2.h [!__NO_STRING_INLINES &&
17760 !__BOUNDED_POINTERS__]: Likewise.
17761 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17762 Likewise.
17763 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17764 Remove conditional code.
17765 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17766 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17767 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17768 condition.
17769
e97ed6dd
JM
17770 [BZ #13550]
17771 * csu/libc-start.c: Do not include <bp-sym.h>.
17772 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17773 * elf/dl-open.c: Do not include <bp-sym.h>.
17774 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17775 * math/fegetenv.c: Do not include <bp-sym.h>.
17776 (fegetenv): Do not use BP_SYM in versioned symbols.
17777 * nptl/sysdeps/pthread/bits/libc-lockP.h
17778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17779 <bp-sym.h>.
17780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17781 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17783 (__pthread_mutex_destroy): Likewise.
17784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17785 (__pthread_mutex_lock): Likewise.
17786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17787 (__pthread_mutex_trylock): Likewise.
17788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17789 (__pthread_mutex_unlock): Likewise.
17790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17791 (__pthread_mutexattr_init): Likewise.
17792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17793 (__pthread_mutexattr_destroy): Likewise.
17794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17795 (__pthread_mutexattr_settype): Likewise.
17796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17797 (__pthread_rwlock_init): Likewise.
17798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17799 (__pthread_rwlock_destroy): Likewise.
17800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17801 (__pthread_rwlock_rdlock): Likewise.
17802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17803 (__pthread_rwlock_tryrdlock): Likewise.
17804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17805 (__pthread_rwlock_wrlock): Likewise.
17806 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17807 (__pthread_rwlock_trywrlock): Likewise.
17808 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17809 (__pthread_rwlock_unlock): Likewise.
17810 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17811 (__pthread_key_create): Likewise.
17812 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17813 (__pthread_setspecific): Likewise.
17814 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17815 (__pthread_getspecific): Likewise.
17816 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17817 Likewise.
17818 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17819 (_pthread_cleanup_push_defer): Likewise.
17820 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17821 (_pthread_cleanup_pop_restore): Likewise.
17822 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17823 (pthread_setcancelstate): Likewise.
17824 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17825 <bp-sym.h>.
17826 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17827 (memchr): Do not use BP_SYM in weak_alias.
17828 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17829 (fegetenv): Do not use BP_SYM in versioned symbols.
17830 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17831 (fesetenv): Do not use BP_SYM in versioned symbols.
17832 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17833 (feupdateenv): Do not use BP_SYM in versioned symbols.
17834 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17835 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17836 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17837 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17838 (open64): Do not use BP_SYM in weak_alias.
17839 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17840 (fegetenv): Do not use BP_SYM in versioned symbols.
17841 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17842 (fesetenv): Do not use BP_SYM in versioned symbols.
17843 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17844 (feupdateenv): Do not use BP_SYM in versioned symbols.
17845 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17846 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17847 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17848 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17849 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17850 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17851 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17852 <bp-sym.h>.
17853 (__libc_start_main): Do not use BP_SYM.
17854
d6752ccd
SP
178552013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17856
cb57ce60
SP
17857 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17858 redundant return line.
17859 (norm): Likewise.
17860 (denorm): Likewise.
17861 (dbl_mp): Likewise.
17862 (sub_magnitudes): Likewise.
17863 (__add): Likewise.
17864 (__sub): Likewise.
17865 (__mul): Likewise.
17866 (__inv): Likewise.
17867 (__dvd): Likewise.
17868 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17869 (norm): Likewise.
17870 (denorm): Likewise.
17871 (dbl_mp): Likewise.
17872 (sub_magnitudes): Likewise.
17873 (__add): Likewise.
17874 (__sub): Likewise.
17875 (__mul): Likewise.
17876 (__inv): Likewise.
17877 (__dvd): Likewise.
17878
f414520d
SP
17879 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17880 instead of __mul.
17881 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17882 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17883 (cc32): Likewise.
17884
d6752ccd
SP
17885 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17886 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17887 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17888 of __mul for squares.
17889 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17890 function
17891 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17892 Likewise.
17893 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17894 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17895
70d9946a
JM
178962013-02-13 Joseph Myers <joseph@codesourcery.com>
17897
17898 [BZ #13550]
17899 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17900 code.
17901 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17902 prototype or function definition. Rename ubp_* variables and
17903 parameters. Remove argv definitions conditional on
17904 [__BOUNDED_POINTERS__].
17905 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17906 * elf/dl-runtime.c (_dl_fixup): Likewise.
17907 * include/set-hooks.h (RUN_HOOK): Likewise.
17908 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17909 definition.
17910 * string/strcpy.c (strcpy): Do not use __unbounded.
17911 * sysdeps/generic/frame.h (struct layout): Likewise.
17912 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17913 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17914 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17915 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17916 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17917 (__backtrace): Likewise.
17918 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17919 use __ptrvalue.
17920 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17921 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17922 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17923 Likewise.
17924 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17925 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17926 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17927 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17928 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17929 Do not use __unbounded.
17930 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17931 Rename __unboundedrlimits parameter to rlimits in prototype.
17932 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17933 Do not use __unbounded.
17934 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17935 not use __ptrvalue.
17936 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17937 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17938 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17939 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17940 __ptrvalue or __unbounded.
17941 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17942 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17943 use __unbounded.
17944 (__new_msgctl): Do not use __ptrvalue.
17945 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17946 __unbounded.
17947 (__libc_msgrcv): Do not use __ptrvalue.
17948 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17949 startup_info): Do not use __unbounded.
17950 (__libc_start_main): Likewise. Rename ubp_* variables and
17951 parameters. Remove argv definitions conditional on
17952 [__BOUNDED_POINTERS__].
17953 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17954 __ptrvalue.
17955 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17956 use __unbounded.
17957 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17958 or __ptrvalue.
17959 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17960 use __unbounded.
17961 (__new_shmctl): Do not use __ptrvalue.
17962 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17963 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17964 Likewise.
17965 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17966 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17967 (__libc_sigaction): Likewise.
17968 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17969 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17970 Likewise.
17971 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17972
cc7834d6
OB
179732013-02-13 Ondřej Bílka <neleai@seznam.cz>
17974
ffb1ec7b 17975 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17976
17977 * string/mempcpy.c: Implement by calling memcpy.
17978
bdf02814
SP
179792013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
17980
c2af38aa
SP
17981 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
17982
4e92d59e
SP
17983 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
17984 evaluation.
17985
909279a5
SP
17986 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
17987 values in the mantissa.
17988
bdf02814
SP
17989 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
17990 minimize writes to Z.
17991 (sub_magnitudes): Simplify code a bit.
17992
cd525923
RM
179932013-02-12 Roland McGrath <roland@hack.frob.com>
17994
17995 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
17996 from the message. The linker prefixes all warnings with that already.
17997
7e2f0d2d
AS
179982013-02-12 Andreas Schwab <schwab@suse.de>
17999
a445af0b
AS
18000 [BZ #15078]
18001 * posix/regexec.c (extend_buffers): Add parameter min_len.
18002 (check_matching): Pass minimum needed length.
18003 (clean_state_log_if_needed): Likewise.
18004 (get_subexp): Likewise.
18005 * posix/Makefile (tests): Add bug-regex34.
18006 (bug-regex34-ENV): Define.
18007 * posix/bug-regex34.c: New file.
18008
7e2f0d2d
AS
18009 [BZ #11561]
18010 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18011 elements compare against the byte sequence of it, not its name.
18012 * posix/Makefile (tests): Add bug-regex35.
18013 (bug-regex35-ENV): Define.
18014 * posix/bug-regex35.c: New file.
18015
a175b684
TV
180162013-02-11 Tom de Vries <tom@codesourcery.com>
18017
18018 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18019 comment.
18020 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18021 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18022 (CHECK_EOL): Add undef.
18023
310998fe 180242013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18025
18026 * bits/stdlib-bsearch.h: New file.
18027 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18028 * stdlib/stdlib.h: Likewise.
41eda41d 18029
8ded91fb
RM
180302013-02-11 Roland McGrath <roland@hack.frob.com>
18031
18032 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18033 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18034 declaration.
18035 * manual/search.texi (Array Search Function): Add missing const in
18036 lfind prototype.
18037 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18038 declaration to use rlim_t.
18039 (Basic Scheduling Functions): Remove erroneous const from
18040 sched_getparam prototype. Remove erroneous * from
18041 sched_get_priority_max and sched_get_priority_min prototypes.
18042 (Resource Usage): Fix summary @comment on vtimes to refer to
18043 sys/vtimes.h rather than vtimes.h.
18044 Add missing *s in vtimes prototype.
18045 (Limits on Resources): Fix ulimit prototype to return long int.
18046 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18047 prototypes to use long int rather than double.
18048 (BSD Random): Fix initstate and setstate to use char *, not void *.
18049 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18050 prototype to make second argument 'struct aiocb64 *const[]'.
18051 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18052 (Status of AIO Operations): Remove erroneous const in aio_return and
18053 aio_return64 prototypes.
18054 (Synchronizing I/O): Fix sync prototype to return void.
18055 * manual/startup.texi (Suboptions): Remove an erroneous const in
18056 getsubopt prototype.
18057 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18058 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18059 use size_t rather than int.
18060 (Scanning All Users): Likewise for getpwent_r.
18061 (Setting Groups): Add missing const to setgroups prototype.
18062 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18063 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18064 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18065 'const void *' rather than 'const char *'.
18066 (Host Address Functions): Likewise for inet_ntop.
18067 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18068 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18069 ssize_t for return value.
18070 (Sending Data): Likewise for send, sendto, sendmsg.
18071 (Socket Option Functions): Add a missing const in setsockopt prototype.
18072 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18073 use wchar_t for the argument.
18074 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18075 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18076 take no arguments.
18077 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18078 double/float/long double for second argument.
18079 Fix return types of significand, significandf, significandl.
18080 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18081 argument in fchmod prototype.
18082 (File Owner): Use uid_t and gid_t in fchown prototype.
18083 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18084 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18085 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18086 use 'const struct dirent **' as argument types to CMP function pointer
18087 argument.
18088 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18089 (File Times): Fix summary magic @comment for struct utimbuf and utime
18090 to refer to utime.h, not time.h.
18091 * manual/string.texi (Argz Functions): Add missing const in
18092 argz_extract and argz_next prototypes.
18093 (Finding Tokens in a String): Likewise for basename.
18094 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18095 (Copying and Concatenation): Fix typo in wmemmove prototype.
18096 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18097 (Signal Stack): Remove erroneous const in sigstack prototype.
18098 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18099 prototype.
18100 (Simple Calendar Time): Likewise for stime.
18101 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18102 prototype.
18103 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18104 say sys/sysctl.h instead.
18105 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18106 and vsyslog prototypes.
18107
fe77fe6d
TV
181082013-02-11 Tom de Vries <tom@codesourcery.com>
18109
18110 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18111 Remove.
18112
3a09b620
RM
181132013-02-11 Roland McGrath <roland@hack.frob.com>
18114
18115 * misc/sys/mman.h: Fix typo in mremap comment.
18116
550a0b89
RM
181172013-02-08 Roland McGrath <roland@hack.frob.com>
18118
18119 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18120 the '\0' terminator.
18121
a2da1673
JM
181222013-02-08 Joseph Myers <joseph@codesourcery.com>
18123
18124 [BZ #13550]
18125 * debug/segfault.c: Don't include <bp-checks.h>.
18126 * sysdeps/generic/bp-checks.h: Remove file.
18127 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18128 (__GETDENTS): Don't use CHECK_N.
18129 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18130 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18131 (__getgroups): Don't use CHECK_N.
18132 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18133 (setgroups): Don't use CHECK_N.
18134 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18135 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18136 (__libc_msgrcv): Don't use CHECK_N.
18137 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18138 (__libc_msgsnd): Don't use CHECK_N.
18139 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18140 <bp-checks.h>.
18141 (__libc_pread): Don't use CHECK_N.
18142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18143 include <bp-checks.h>.
18144 (__libc_pread64): Don't use CHECK_N.
18145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18146 include <bp-checks.h>.
18147 (__libc_pwrite): Don't use CHECK_N.
18148 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18149 include <bp-checks.h>.
18150 (__libc_pwrite64): Don't use CHECK_N.
18151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18152 <bp-checks.h>.
18153 (__libc_pread): Don't use CHECK_N.
18154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18155 include <bp-checks.h>.
18156 (__libc_pread64): Don't use CHECK_N.
18157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18158 include <bp-checks.h>.
18159 (__libc_pwrite): Don't use CHECK_N.
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18161 include <bp-checks.h>.
18162 (__libc_pwrite64): Don't use CHECK_N.
18163 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18164 (do_pread): Don't use CHECK_N.
18165 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18166 (do_pread64): Don't use CHECK_N.
18167 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18168 (do_pwrite): Don't use CHECK_N.
18169 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18170 (do_pwrite64): Don't use CHECK_N.
18171 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18172 (__libc_readv): Don't use CHECK_N.
18173 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18174 (semop): Don't use CHECK_N.
18175 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18176 <bp-checks.h>.
18177 (semtimedop): Don't use CHECK_N.
18178 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18179 (__libc_pread): Don't use CHECK_N.
18180 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18181 <bp-checks.h>.
18182 (__libc_pread64): Don't use CHECK_N.
18183 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18184 <bp-checks.h>.
18185 (__libc_pwrite): Don't use CHECK_N.
18186 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18187 <bp-checks.h>.
18188 (__libc_pwrite64): Don't use CHECK_N.
18189 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18190 <bp-checks.h>.
18191 (__libc_msgrcv): Don't use CHECK_N.
18192 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18193 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18194 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18195 (__libc_writev): Don't use CHECK_N.
18196
b84660a8
RM
181972013-02-08 Roland McGrath <roland@hack.frob.com>
18198
7f3e75f8
RM
18199 * string/strcpy.c: Removed unused variable.
18200
b84660a8
RM
18201 * Makeconfig (+sysdep-includes): Define with := rather than =.
18202 Use an existing include/ subdir of each sysdeps dir before it.
18203
471514d3
CD
182042013-02-08 Carlos O'Donell <carlos@redhat.com>
18205
18206 * nscd/connection.c (register_traced_file): Comment function.
18207 [HAVE_INOTIFY] (union __inev): Define.
18208 [HAVE_INOTIFY] (inotify_check_files): New function.
18209 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18210 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18211 clear_db_cache.
18212 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18213
b2d3c3be
CD
182142013-02-08 Carlos O'Donell <carlos@redhat.com>
18215
18216 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18217 loaded if not already and that a failure is permanent.
18218
b39949d2
CD
182192013-02-08 Carlos O'Donell <carlos@redhat.com>
18220
ddacd1db 18221 [BZ #15006]
b39949d2
CD
18222 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18223 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18224
b2c9eff4
JM
182252013-02-08 Joseph Myers <joseph@codesourcery.com>
18226
f3aae3f3
JM
18227 [BZ #13550]
18228 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18229 (CHECK_1_NULL_OK): Likewise.
18230 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18231 (__fxstat): Do not use CHECK_1.
18232 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18233 <bp-checks.h>.
18234 (___fxstat64): Do not use CHECK_1.
18235 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18236 <bp-checks.h>.
18237 (__fxstatat): Do not use CHECK_1.
18238 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18239 <bp-checks.h>.
18240 (__fxstatat64): Do not use CHECK_1.
18241 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18242 <bp-checks.h>.
18243 (__fxstat): Do not use CHECK_1.
18244 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18245 <bp-checks.h>.
18246 (__fxstatat): Do not use CHECK_1.
18247 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18248 <bp-checks.h>.
18249 (__getresgid): Do not use CHECK_1.
18250 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18251 <bp-checks.h>.
18252 (__getresuid): Do not use CHECK_1.
18253 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18254 <bp-checks.h>.
18255 (__lxstat): Do not use CHECK_1.
18256 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18257 <bp-checks.h>.
18258 (__old_msgctl): Do not use CHECK_1.
18259 (__new_msgctl): Likewise.
18260 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18261 <bp-checks.h>.
18262 (__new_setrlimit): Do not use CHECK_1.
18263 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18264 <bp-checks.h>.
18265 (__old_shmctl): Do not use CHECK_1.
18266 (__new_shmctl): Likewise.
18267 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18268 <bp-checks.h>.
18269 (__xstat): Do not use CHECK_1.
18270 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18271 (__lxstat): Do not use CHECK_1.
18272 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18273 <bp-checks.h>.
18274 (___lxstat64): Do not use CHECK_1.
18275 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18276 (__old_msgctl): Do not use CHECK_1.
18277 (__new_msgctl): Likewise.
18278 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18279 <bp-checks.h>.
18280 (__gettimeofday): Do not use CHECK_1.
18281 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18282 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18283 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18284 <bp-checks.h>.
18285 (__gettimeofday): Do not use CHECK_1.
18286 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18287 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18288 (__new_shmctl): Do not use CHECK_1.
18289 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18290 <bp-checks.h>.
18291 (do_sigtimedwait): Do not use CHECK_1.
18292 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18293 <bp-checks.h>.
18294 (do_sigwaitinfo): Do not use CHECK_1.
18295 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18296 <bp-checks.h>.
18297 (msgctl): Do not use CHECK_1.
18298 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18299 <bp-checks.h>.
18300 (shmctl): Do not use CHECK_1.
18301 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18302 (ustat): Do not use CHECK_1.
18303 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18304 <bp-checks.h>.
18305 (__fxstat): Do not use CHECK_1.
18306 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18307 <bp-checks.h>.
18308 (__fxstatat): Do not use CHECK_1.
18309 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18310 <bp-checks.h>.
18311 (__lxstat): Do not use CHECK_1.
18312 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18313 <bp-checks.h>.
18314 (__xstat): Do not use CHECK_1.
18315 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18316 (__xstat): Do not use CHECK_1.
18317 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18318 (___xstat64): Do not use CHECK_1.
18319
b2c9eff4
JM
18320 [BZ #13550]
18321 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18322 definitions.
18323 (CHECK_BOUNDS_HIGH): Likewise.
18324 * string/strcpy.c: Do not include <bp-checks.h>.
18325 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18326
f1d70dad
RM
183272013-02-07 Roland McGrath <roland@hack.frob.com>
18328
18329 * nscd/nscd-client.h (__nscd_drop_map_ref):
18330 Add __attribute__ ((unused)).
18331 * nis/nss-nisplus.h (niserr2nss): Likewise.
18332
18333 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18334 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18335
18336 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18337 Remove inline keyword.
18338 * include/rounding-mode.h (round_away): Likewise.
18339 * libio/wfileops.c (adjust_wide_data): Likewise.
18340 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18341 (__m128i_strloadu_tolower): Likewise.
18342 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18343 (__m128i_strloadu_tolower): Likewise.
18344 * time/mktime.c (ydhms_diff): Likewise.
18345 * locale/elem-hash.h (elem_hash): Likewise.
18346 * locale/setlocale.c (setdata): Likewise.
18347 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18348 (re_string_wchar_at): Likewise.
18349 (bitset_not, bitset_merge, bitset_mask): Likewise.
18350 [!(__GNUC__ > 3)] (inline): Remove macro.
18351 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18352 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18353 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18354 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18355 * string/memcmp.c (memcmp_bytes): Likewise.
18356 * locale/programs/locarchive.c (compute_hashval): Likewise.
18357 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18358 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18359 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18360 * nss/getent.c (print_rpc, print_protocols): Likewise.
18361 (print_passwd, print_group, print_aliases): Likewise.
18362 * nis/nss-nisplus.h (niserr2nss): Likewise.
18363 * nscd/connections.c (restart_p): Likewise.
18364 Change return type to bool.
18365
eab55bfb
RM
183662013-02-05 Roland McGrath <roland@hack.frob.com>
18367
7bd642f5
RM
18368 * Makeconfig (all-Depend-files): Add existing
18369 $(sorted-subdirs:=/Depend) files.
18370 (all-subdirs): Remove nss.
18371 * sysdeps/unix/inet/Subdirs: Add it here instead.
18372 * hesiod/Depend: New file.
18373
573c29b2
RM
18374 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18375 instead of calling alloca.
18376
b2e25af0
RM
18377 * io/lseek.c (__lseek): Rename to __libc_lseek.
18378 Define __lseek as an alias.
18379
eab55bfb
RM
18380 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18381
9a0d1941
CD
183822013-02-04 Carlos O'Donell <carlos@redhat.com>
18383
18384 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18385 else clause and remove check for non-standard endianness.
18386
b83bbec4
DM
183872013-02-04 David S. Miller <davem@davemloft.net>
18388
18389 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18390
6277fdab
JM
183912013-02-04 Joseph Myers <joseph@codesourcery.com>
18392
18393 [BZ #13550]
18394 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18395 (__ubp_memchr): Remove prototype.
18396 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18397 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18398 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18399 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18400 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18401 Remove alias.
18402 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18403 (__ubp_memchr): Likewise.
18404 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18405 (__ubp_memchr): Likewise.
18406 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18407 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18408 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18409 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18410 CHECK_STRING.
18411 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18412 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18413 (__getcwd): Do not use CHECK_STRING.
18414 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18415 <bp-checks.h>.
18416 (__real_chown): Do not use CHECK_STRING.
18417 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18418 <bp-checks.h>.
18419 (fchownat): Do not use CHECK_STRING.
18420 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18421 CHECK_STRING.
18422 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18423 <bp-checks.h>.
18424 (__lchown): Do not use CHECK_STRING.
18425 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18426 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18427 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18428 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18430 include <bp-checks.h>.
18431 (truncate64): Do not use CHECK_STRING.
18432 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18433 <bp-checks.h>.
18434 (__real_chown): Do not use CHECK_STRING.
18435 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18436 <bp-checks.h>.
18437 (__lchown): Do not use CHECK_STRING.
18438 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18439 <bp-checks.h>.
18440 (__chown): Do not use CHECK_STRING.
18441 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18442 <bp-checks.h>.
18443 (truncate64): Do not use CHECK_STRING.
18444 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18445 Likewise.
18446 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18447 (__xmknod): Do not use CHECK_STRING.
18448 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18449 <bp-checks.h>.
18450 (__xmknodat): Do not use CHECK_STRING.
18451 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18452 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18453
903ae060
AS
184542013-02-04 Andreas Schwab <schwab@suse.de>
18455
18456 [BZ #14142]
18457 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18458 * include/netdb.h: Likewise for h_errno.
18459 * elf/tst-stackguard1.c: Include <tls.h>.
18460
542f9466
JK
184612013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18462
18463 * elf/link.h (struct link_map): Extend the l_addr comment.
18464 * include/link.h (struct link_map): Likewise.
18465
e782a927
JM
184662013-02-01 Joseph Myers <joseph@codesourcery.com>
18467
18468 [BZ #13550]
18469 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18470 (BOUNDED_1): Remove macro.
18471 * debug/backtrace.c: Don't include <bp-checks.h>.
18472 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18473 (__backtrace): Likewise.
18474 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18475 <bp-checks.h>.
18476 (__backtrace): Don't use BOUNDED_1.
18477 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18478 <bp-checks.h>.
18479 (__backtrace): Don't use BOUNDED_1.
18480 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18481 (__backtrace): Don't use BOUNDED_1.
18482 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18483 (shmat): Don't use BOUNDED_N.
18484
8cf28c5e
JM
184852013-01-31 Joseph Myers <joseph@codesourcery.com>
18486
3a7ac8a0
JM
18487 [BZ #13550]
18488 * sysdeps/generic/bp-start.h: Remove file.
18489 * csu/libc-start.c: Don't include <bp-start.h>.
18490 (LIBC_START_MAIN): Set up __environ directly instead of using
18491 INIT_ARGV_and_ENVIRON.
18492 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18493 <bp-start.h>.
18494
f3499f95
JM
18495 [BZ #13550]
18496 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18497 definitions.
18498 (CHECK_FCNTL): Likewise.
18499 (CHECK_N_PAGES): Likewise.
18500
32a45bea
JM
18501 [BZ #13550]
18502 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18503 definitions.
18504 (CHECK_SIGSET_NULL_OK): Likewise.
18505 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18506 <bp-checks.h>.
18507 (sigpending): Don't use CHECK_SIGSET.
18508 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18509 <bp-checks.h>.
18510 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18511 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18512 <bp-checks.h>.
18513 (do_sigsuspend): Don't use CHECK_SIGSET.
18514 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18515 use CHECK_SIGSET.
18516 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18517 (do_sigwait): Don't use CHECK_SIGSET.
18518 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18519 use CHECK_SIGSET.
18520 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18521 include <bp-checks.h>.
18522 (sigpending): Don't use CHECK_SIGSET.
18523 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18524 include <bp-checks.h>.
18525 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18526 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18527 <bp-checks.h>.
18528 (sigpending): Don't use CHECK_SIGSET.
18529 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18530 <bp-checks.h>.
18531 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18532
2e8a5c8c
JM
18533 [BZ #13550]
18534 * sysdeps/generic/bp-semctl.h: Remove file.
18535 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18536 <bp-checks.h> and <bp-semctl.h>.
18537 (__old_semctl): Don't use CHECK_SEMCTL.
18538 (__new_semctl): Likewise.
18539 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18540 and <bp-semctl.h>.
18541 (__old_semctl): Don't use CHECK_SEMCTL.
18542 (__new_semctl): Likewise.
18543 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18544 <bp-checks.h> and <bp-semctl.h>.
18545 (__old_semctl): Don't use CHECK_SEMCTL.
18546 (__new_semctl): Likewise.
18547 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18548 <bp-checks.h> and <bp-semctl.h>.
18549 (semctl): Don't use CHECK_SEMCTL.
18550
c2d54929
JM
18551 [BZ #13550]
18552 * Makerules (elide-bp-thunks): Remove variable.
18553 (elide-routines.oS): Don't use $(elide-bp-thunks).
18554 (elide-routines.os): Likewise.
18555 (elide-routines.o): Likewise.
18556 (elide-routines.op): Likewise.
18557 (elide-routines.og): Likewise.
18558 (objects): Don't use $(bp-thunks).
18559 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18560 include.
18561 (common-generated): Do not add s-proto-bp.d.
18562 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18563 (int): Likewise.
18564 (typ): Likewise.
18565 Do not generate makefile rules for bounded-pointer thunks.
18566 * sysdeps/generic/bp-thunks.h: Remove file.
18567 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18568 * sysdeps/unix/s-proto-bp.S: Likewise.
18569
8cf28c5e
JM
18570 [BZ #15062]
18571 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18572 parts of result separately when argument is not close to line from
18573 -i to i and one part of argument is small.
18574 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18575 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18576 * math/libm-test.inc (cacos_test): Add more tests.
18577 (casin_test): Likewise.
18578 (casinh_test): Likewise.
18579 * sysdeps/i386/fpu/libm-test-ulps: Update.
18580 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18581
c4e33b8d
DM
185822013-01-31 David S. Miller <davem@davemloft.net>
18583
18584 * po/de.po: Update from translation team.
18585
3b60b421
MK
185862013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18587
18588 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18589
bb931195
TS
185902013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18591
b5a5da23
TS
18592 * configure.in (_AC_PROG_CC_C89): New definition.
18593 * configure: Regenerate.
18594
bb931195
TS
18595 * configure.in (AC_PROG_CPP): New definition.
18596 * configure: Regenerate.
18597
8c53a12c
JM
185982013-01-23 Joseph Myers <joseph@codesourcery.com>
18599
18600 * debug/tst-backtrace.h: New file.
18601 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18602 (ret): Remove variable.
18603 (x): Likewise.
18604 (FAIL): Remove macro.
18605 (NO_INLINE): Likewise.
18606 (fn1): Use match function instead of strstr.
18607 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18608 (ret): Remove variable.
18609 (x): Likewise.
18610 (FAIL): Remove macro.
18611 (NO_INLINE): Likewise.
18612 (fn): Use match function instead of strstr.
18613 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18614 (ret): Remove variable.
18615 (x): Likewise.
18616 (FAIL): Remove macro.
18617 (NO_INLINE): Likewise.
18618 (handle_signal): Use match function instead of strstr.
18619 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18620 (ret): Remove variable.
18621 (x): Likewise.
18622 (FAIL): Remove macro.
18623 (NO_INLINE): Likewise.
18624 (handle_signal): Use match function instead of strstr.
18625
4858fa2a
RM
186262013-01-23 Roland McGrath <roland@hack.frob.com>
18627
18628 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18629
bae8e7f5
DM
186302013-01-23 David S. Miller <davem@davemloft.net>
18631
18632 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18633 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18634 argument of CAS if possible.
18635 * sysdeps/sparc/sparc64/bits/atomic.h
18636 (__arch_compare_and_exchange_val_32_acq): Likewise.
18637 (__arch_compare_and_exchange_val_64_acq): Likewise.
18638
9cbbc4ae
PT
186392013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18640
18641 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18642 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18643 Include <limits.h>.
67b3f58c 18644 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18645
5655a0b5
AC
186462013-01-23 Adam Conrad <adconrad@0c3.net>
18647
18648 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18649 (LDFLAGS-tst-array5): Likewise.
18650
052aff95
JM
186512013-01-23 Joseph Myers <joseph@codesourcery.com>
18652
18653 [BZ #15036]
18654 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18655 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18656 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18657 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18658
7c1e01aa
DM
186592013-01-21 David S. Miller <davem@davemloft.net>
18660
18661 * sysdeps/sparc/backtrace.c: New file.
18662 * sysdeps/sparc/sparc32/backtrace.h: New file.
18663 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18664 * sysdeps/sparc/sparc64/backtrace.h: New file.
18665 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18666 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18667 -funwind-tables.
18668
ab087e0a
AS
186692013-01-21 Andreas Schwab <schwab@suse.de>
18670
18671 [BZ #15020]
18672 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18673 closed its stdout.
18674
ed689c2f
AS
186752013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18676
18677 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18678 "mpa2.h".
18679 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18680
31d470ac
JM
186812013-01-18 Joseph Myers <joseph@codesourcery.com>
18682 Mark Mitchell <mark@codesourcery.com>
18683 Tom de Vries <tom@codesourcery.com>
18684 Paul Pluzhnikov <ppluzhnikov@google.com>
18685
18686 * debug/tst-backtrace2.c: New file.
18687 * debug/tst-backtrace3.c: Likewise.
18688 * debug/tst-backtrace4.c: Likewise.
18689 * debug/tst-backtrace5.c: Likewise.
18690 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18691 (CFLAGS-tst-backtrace3.c): Likewise.
18692 (CFLAGS-tst-backtrace4.c): Likewise.
18693 (CFLAGS-tst-backtrace5.c): Likewise.
18694 (LDFLAGS-tst-backtrace2): Likewise.
18695 (LDFLAGS-tst-backtrace3): Likewise.
18696 (LDFLAGS-tst-backtrace4): Likewise.
18697 (LDFLAGS-tst-backtrace5): Likewise.
18698 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18699 tst-backtrace4 and tst-backtrace5.
18700
90567f30 187012013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18702 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18703
18704 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18705 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18706 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18707 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18708 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18709 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18710 "+r" and remove output regs list as redundant. Add explicit inline
18711 asm to specify register of return val to work around compiler codegen
18712 bug. Remove (int) cast on return value. Add return type parameter to
18713 use in macro so that this macro does not truncate return value for
18714 64-bit values.
18715 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18716 pass to INTERNAL_VSYSCALL_NCS.
18717 (INLINE_VSYSCALL): Add 'long int' as return type to
18718 INTERNAL_VSYSCALL_NCS macro invocation.
18719 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18720 INTERNAL_VSYSCALL_NCS macro invocation.
18721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18722
d3b9ea61
SP
187232013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18724
0b57daeb
SP
18725 [BZ #14496]
18726 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18727 Fix application of SIMD FP exception mask.
18728
caa99d06
SP
18729 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18730 mp_no from a power of two.
18731 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18732 __mpexp_twomm1. Use __pow_mp.
18733
d3b9ea61
SP
18734 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18735 multiplication.
18736
1dbaee3c
DM
187372013-01-17 David S. Miller <davem@davemloft.net>
18738
18739 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18740
728d7b43
JM
187412013-01-17 Joseph Myers <joseph@codesourcery.com>
18742
18743 [BZ #15023]
18744 * include/complex.h: Condition contents on [!_COMPLEX_H].
18745 (__kernel_casinhf): New prototype.
18746 (__kernel_casinh): Likewise.
18747 (__kernel_casinhl): Likewise.
18748 * math/Makefile (libm_calls): Add k_casinh.
18749 * math/k_casinh.c: New file.
18750 * math/k_casinhf.c: Likewise.
18751 * math/k_casinhl.c: Likewise.
18752 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18753 finite nonzero arguments.
18754 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18755 finite nonzero arguments.
18756 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18757 finite nonzero arguments.
18758 * math/s_casinh.c: Do not include <float.h>.
18759 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18760 * math/s_casinhf.c: Do not include <float.h>.
18761 (__casinhf): Move code for finite nonzero arguments to
18762 k_casinhf.c.
18763 * math/s_casinhl.c: Do not include <float.h>.
18764 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18765 redefine.
18766 (__casinhl): Move code for finite nonzero arguments to
18767 k_casinhl.c.
18768 * math/libm-test.inc (cacos_test): Add more tests.
18769 * sysdeps/i386/fpu/libm-test-ulps: Update.
18770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18771
2a26ef3a
PT
187722013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18773
18774 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18775 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18776 [!HAVE_MREMAP]: Remove [defined linux] case.
18777 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18778
a897655d
SP
187792013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18780
18781 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18782
881ebe89 187832013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18784
18785 * elf/elf.h (R_386_SIZE32): New relocation.
18786 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18787 R_386_SIZE32.
18788 (elf_machine_rela): Likewise.
18789 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18790 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18791
59981e9b
JM
187922013-01-17 Joseph Myers <joseph@codesourcery.com>
18793
18794 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18795 (FP_FAST_FMA): Do not define.
18796 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18797 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18798 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18799 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18800 !_SOFT_FLOAT]: Likewise.
18801 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18802 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18803 value.
18804 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18805 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18806 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18807 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18808 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18809 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18810 file.
18811
cfa8054f
AS
188122013-01-16 Andreas Schwab <schwab@suse.de>
18813
18814 [BZ #14327]
18815 * include/stdlib.h (__mktemp): Add declaration.
18816 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18817 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18818
dd930cc5
SP
188192013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18820
881ebe89
SP
18821 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18822 definitions.
18823 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18824 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18825 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18826 definitions here.
18827 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18828 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18829 definitions.
18830 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18831 and ONE.
18832 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18833 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18834 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18835 definitions.
18836 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18837 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18838 definitions.
18839 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18840
dd930cc5
SP
18841 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18842
c19a9f89
DM
188432013-01-15 David S. Miller <davem@davemloft.net>
18844
1aa61767
DM
18845 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18846 trunc{,f} to libm-sysdep_routes.
18847 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18848 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18849 file.
18850 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18852 file.
18853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18854 file.
18855 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18856 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18857 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18858 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18859 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18860 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18861 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18862 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18863
c42d5e98
DM
18864 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18865 nearbyint{,f} to libm-sysdep_routes.
18866 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18867 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18868 New file.
18869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18870 file.
18871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18872 New file.
18873 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18874 file.
18875 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18877 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18878 file.
18879 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18880 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18881 file.
18882 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18883 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18884 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18885
c19a9f89
DM
18886 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18887 libc_feholdexcept and libc_fesetenv.
18888
357679d2
MF
188892013-01-15 Mike Frysinger <vapier@gentoo.org>
18890
18891 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18892
65a82e3d
DM
188932013-01-14 David S. Miller <davem@davemloft.net>
18894
8b954ab9
DM
18895 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18896 (SPARC_ASM_VIS2_IFUNC): Likewise.
18897 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18899 use of 'siam' instruction.
18900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18901 Likewise.
18902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18903 Likewise.
18904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18905 Likewise.
18906 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18907 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18908 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18909 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18911 file.
18912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18913 file.
18914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18915 file.
18916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18917 file.
18918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18920 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18921 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18923 new VIS2 routines.
18924 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18926 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18927 Likewise.
18928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18929 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18931 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18933 routines to libm-sysdep_routines.
18934 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18935
65a82e3d
DM
18936 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18937 fdim/fdimf to libm-sysdep_routines.
18938 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18939 file.
18940 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18941 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18942 file.
18943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18944 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18945 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18946 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18947 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18948 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18949 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18950
e34ab705
SP
189512013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18952
2a91b573
SP
18953 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18954 to optimize copies.
18955
1066a534
SP
18956 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18957 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18958 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18959
e34ab705
SP
18960 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18961 local variable MPTWO.
18962 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18963 Likewise.
18964
aba5e596
MF
189652013-01-13 Mike Frysinger <vapier@gentoo.org>
18966
18967 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18968 GLOB_NOESCAPE.
18969
e557e9e5
MF
189702013-01-13 Mike Frysinger <vapier@gentoo.org>
18971
18972 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18973
0428cec9
MF
189742013-01-13 Mike Frysinger <vapier@gentoo.org>
18975
18976 * manual/pattern.texi (glob_t): Document gl_flags.
18977 (glob64_t): Likewise.
18978
8794a964
DM
189792013-01-11 David S. Miller <davem@davemloft.net>
18980
66438c3f
RM
18981 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
18982 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
18983 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
18984 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
18985 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
18986 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
18987 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
18988 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
18989 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
18990 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
18991 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
18992 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
18993 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
18994
4ae4244d
DM
18995 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
18996 sparc V9 rather than using V8 code.
18997 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
18998 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
18999
8794a964
DM
19000 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19001 Move to...
19002 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19003 Here.
19004
6270516e
RM
190052013-01-11 Roland McGrath <roland@hack.frob.com>
19006
19007 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19008 not in the main loop.
19009 * configure: Regenerated.
19010
6a57d931
JM
190112013-01-11 Joseph Myers <joseph@codesourcery.com>
19012
19013 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19014 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19015 to just #else.
19016 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19017 [!__GLIBC_HAVE_LONG_LONG] case.
19018 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19019 condition to just #else.
19020 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19021 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19022 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19023 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19024 unconditional.
19025 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19026 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19027 #elif condition to just #else.
19028 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19029 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19030 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19031 #elif condition to just #else.
19032
0e8529e9
SE
190332013-01-11 Steve Ellcey <sellcey@mips.com>
19034
19035 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19036 (EF_MIPS_ARCH_64): Fix value.
19037 (EF_MIPS_ARCH_32R2): New.
19038 (EF_MIPS_ARCH_64R2): New.
19039
740b3dbe
L
190402013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19041
19042 * Makeconfig (+link-pie-before-libc): New.
19043 (+link-pie-after-libc): Likewise.
19044 (+link-pie-tests): Likewise.
19045 (+link-pie): Rewritten.
19046 (link-before-libc): Remove $(config-LDFLAGS).
19047 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19048 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19049 (config-LDFLAGS): Renamed to ...
19050 (rtld-LDFLAGS): This.
19051 (rtld-tests-LDFLAGS): New macro.
19052 (link-libc-rpath-link): Likewise.
19053 (link-libc-tests-rpath-link): Likewise.
19054 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19055 (link-libc): Prepand $(link-libc-rpath-link).
19056 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19057 (test-program-prefix): New macro.
19058 (test-via-rtld-prefix): Likewise.
19059 (test-program-cmd): Likewise.
19060 (host-test-program-cmd): Likewise.
19061 * Makefile ($(common-objpfx)testrun.sh): Replace
19062 $(run-program-prefix) with $(test-program-prefix).
19063 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19064 $(rtld-LDFLAGS).
19065 ($(common-objpfx)shlib.lds): Likewise.
19066 (build-module-helper): Likewise.
19067 ($(common-objpfx)format.lds): Likewise.
19068 * Rules (binaries-pie-tests): New.
19069 (binaries-pie-notests): Likewise.
19070 (binaries-pie): Rewritten.
19071 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19072 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19073 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19074 (make-test-out): Replace $(host-built-program-cmd) with
19075 $(host-test-program-cmd).
19076 * config.make.in (build-hardcoded-path-in-tests): New variable.
19077 * configure.in (--enable-hardcoded-path-in-tests): New configure
19078 option.
19079 (hardcoded_path_in_tests): New AC_SUBST.
19080 * configure: Regenerated.
19081 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19082 $(built-program-cmd) with $(test-program-cmd).
19083 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19084 (test_program_cmd): This.
19085 * elf/Makefile ($(objpfx)order.out): Run test with
19086 $(test-program-prefix).
19087 ($(objpfx)order2.out): Likewise.
19088 ($(objpfx)tst-initorder.out): Likewise.
19089 ($(objpfx)tst-initorder2.out): Likewise.
19090 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19091 $(test-program-cmd).
19092 ($(objpfx)tst-array1-static.out): Likewise.
19093 ($(objpfx)tst-array2.out): Likewise.
19094 ($(objpfx)tst-array3.out): Likewise.
19095 ($(objpfx)tst-array4.out): Likewise.
19096 ($(objpfx)tst-array5.out): Likewise.
19097 ($(objpfx)tst-array5-static.out): Likewise.
19098 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19099 $(test-program-cmd).
19100 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19101 $(run-program-prefix) with $(test-program-prefix).
19102 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19103 (test_program_prefix): This.
19104 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19105 $(run-program-prefix) with $(test-program-prefix).
19106 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19107 (test_program_prefix): This.
19108 * iconvdata/tst-tables.sh: Likewise.
19109 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19110 $(run-program-prefix) with $(test-program-prefix).
19111 ($(objpfx)tst-translit.out): Likewise.
19112 ($(objpfx)tst-gettext2.out): Likewise.
19113 ($(objpfx)tst-gettext4.out): Likewise.
19114 ($(objpfx)tst-gettext6.out): Likewise.
19115 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19116 (test_program_prefix): This.
19117 * intl/tst-gettext2.sh: Likewise.
19118 * intl/tst-gettext4.sh Likewise.
19119 * intl/tst-gettext6.sh: Likewise.
19120 * intl/tst-translit.sh: Likewise.
19121 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19122 with $(test-program-cmd).
19123 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19124 $(run-program-prefix) with $(test-program-prefix).
19125 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19126 (test_program_prefix): This.
19127 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19128 $(run-program-prefix) with $(test-program-prefix).
19129 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19130 (test_program_prefix): This.
19131 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19132 * posix/Makefile ($(objpfx)globtest.out): Replace
19133 $(run-via-rtld-prefix) and $(test-wrapper) with
19134 $(test-program-prefix) and $(test-via-rtld-prefix).
19135 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19136 $(test-program-prefix).
19137 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19138 $(host-test-program-cmd).
19139 (tst-spawn-ARGS): Likewise.
19140 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19141 $(test-program-prefix).
19142 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19143 (test_via_rtld_prefix): This.
19144 (test_wrapper): Renamed to ...
19145 (test_program_prefix): This.
19146 (run_program_prefix): Replaced by test_program_prefix.
19147 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19148 (test_program_prefix): This.
19149 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19150 with $(host-test-program-cmd).
19151 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19152 $(run-program-prefix) with $(test-program-prefix).
19153 ($(objpfx)tst-printf.out): Likewise.
19154 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19155 $(test-program-cmd).
19156 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19157 (test_program_prefix): This.
19158 * stdio-common/tst-unbputc.sh: Likewise.
19159 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19160 $(run-program-prefix) with $(test-program-prefix).
19161 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19162 (test_program_prefix): This.
19163 * string/Makefile ($(objpfx)tst-svc.out): Replace
19164 $(built-program-cmd) with $(test-program-cmd).
19165
c6fe55cf
AJ
191662013-01-11 Andreas Jaeger <aj@suse.de>
19167
19168 [BZ #15003]
19169 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19170 value. Sync with Linux 3.7.
19171
9e6919c8
DM
191722013-01-10 David S. Miller <davem@davemloft.net>
19173
19174 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19175 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19176 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19177
1c9f1a02
RM
191782013-01-10 Roland McGrath <roland@hack.frob.com>
19179
19180 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19181 never set.
19182 * configure: Regenerated.
19183
b9de2dde
DM
191842013-01-10 David S. Miller <davem@davemloft.net>
19185
19186 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19187 sparc V9 rather than using V8 code.
19188 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19189 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19190
e7f68ef4
RM
191912013-01-10 Roland McGrath <roland@hack.frob.com>
19192
19193 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19194 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19195 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19196 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19197 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19198 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19199 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19200 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19201 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19202 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19203 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19204 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19205 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19206 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19207 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19208 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19209 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19210 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19211 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19212 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19213 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19214 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19215 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19216 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19217 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19218 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19219 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19220
5a47cc9c
DM
192212013-01-10 David S. Miller <davem@davemloft.net>
19222
19223 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19224
4cf8f209
L
192252013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19226
19227 * posix/Makefile (tests-static): New variable.
19228 (tests): Add $(tests-static).
19229 (tst-exec-static-ARGS): New variable.
19230 (tst-spawn-static-ARGS): Likewise.
19231 * posix/tst-exec-static.c: New file.
19232 * posix/tst-spawn-static.c: Likewise.
19233 * posix/tst-exec.c: Support run directly.
19234 * posix/tst-spawn.c: Likewise.
19235
fed0faa1
JM
192362013-01-10 Joseph Myers <joseph@codesourcery.com>
19237
828beb13
JM
19238 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19239 long.
19240 * math/bits/mathcalls.h (llrint): Likewise.
19241 (llround): Likewise.
19242 * stdlib/stdlib.h (struct drand48_data): Likewise.
19243 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19244 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19245 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19246 Likewise.
19247 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19248 Likewise.
19249 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19250 (elf_greg_t): Likewise.
19251 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19252 (__jmp_buf): Likewise.
19253 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19254 definitions.
19255 (llrint): Likewise, for all definitions.
19256 (llrintl): Likewise.
19257
fed0faa1
JM
19258 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19259 Remove [__GNUC__] condition.
19260 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19261 condition to just [__USE_ISOC99].
19262 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19263
1a20cb20
L
192642013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19265
19266 [BZ #14200]
19267 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19268 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19269 defined.
19270 (_POSIX_V6_ILP32_OFF32): Likewise.
19271 (_XBS5_ILP32_OFF32): Likewise.
19272 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19273 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19274
751b85f7
SP
192752013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19276
7490eb81
SP
19277 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19278
751b85f7
SP
19279 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19280 doubles __mpexp_twomm1. Adjust usage.
19281 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19282 Remove.
19283
988197f0
AS
192842013-01-10 Andreas Schwab <schwab@suse.de>
19285
19286 [BZ #14964]
19287 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19288 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19289
e83d7298
DM
192902013-01-09 David S. Miller <davem@davemloft.net>
19291
034ed64b 19292 [BZ #15003]
e83d7298
DM
19293 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19294 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19295 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19296 TCP_FASTOPEN): Define.
19297 (tcp_repair_opt): New structure.
19298 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19299 enum values.
19300 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19301 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19302 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19303 (tcp_cookie_transactions): New structure.
19304
d5e0b9bd
AB
193052013-01-09 Anton Blanchard <anton@samba.org>
19306
19307 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19308 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19309 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19310 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19311
0c07e3ea
JM
193122013-01-09 Joseph Myers <joseph@codesourcery.com>
19313
19314 * include/features.h (__USE_ANSI): Remove.
19315
232f7002
RM
193162013-01-09 Roland McGrath <roland@hack.frob.com>
19317
ad98e30c
RM
19318 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19319
232f7002
RM
19320 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19321
950c99ca
SP
193222013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19323
b5792741
SP
19324 * sysdeps/s390/fpu/libm-test-ulps: Update.
19325
47cf2278
SP
19326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19327
950c99ca
SP
19328 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19329 (__acr): Likewise.
19330 (__cpy): Likewise.
19331 (norm): Likewise.
19332 (denorm): Likewise.
19333 (__mp_dbl): Likewise.
19334 (__dbl_mp): Likewise.
19335 (add_magnitudes): Likewise.
19336 (sub_magnitudes): Likewise.
19337 (__add): Likewise.
19338 (__sub): Likewise.
19339 (__mul): Likewise.
19340 (__inv): Likewise.
19341 (__dvd): Likewise.
19342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19343 (__acr): Likewise.
19344 (__cpy): Likewise.
19345 (norm): Likewise.
19346 (denorm): Likewise.
19347 (__mp_dbl): Likewise.
19348 (__dbl_mp): Likewise.
19349 (add_magnitudes): Likewise.
19350 (sub_magnitudes): Likewise.
19351 (__add): Likewise.
19352 (__sub): Likewise.
19353 (__mul): Likewise.
19354 (__inv): Likewise.
19355 (__dvd): Likewise.
19356 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19357 (__acr): Likewise.
19358 (__cpy): Likewise.
19359 (norm): Likewise.
19360 (denorm): Likewise.
19361 (__mp_dbl): Likewise.
19362 (__dbl_mp): Likewise.
19363 (add_magnitudes): Likewise.
19364 (sub_magnitudes): Likewise.
19365 (__add): Likewise.
19366 (__sub): Likewise.
19367 (__mul): Likewise.
19368 (__inv): Likewise.
19369 (__dvd): Likewise.
19370
eede9df9
JM
193712013-01-08 Joseph Myers <joseph@codesourcery.com>
19372
19373 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19374 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19375 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19376 2 && __USE_EXTERN_INLINES]: Likewise.
19377
c40ea3d9
AJ
193782013-01-08 Andreas Jaeger <aj@suse.de>
19379
19380 [BZ# 14985]
19381 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19382 Remove.
19383 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19384 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19385
2ccdea26
AB
193862013-01-07 Anton Blanchard <anton@samba.org>
19387
19388 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19389 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19390 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19391 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19392 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19393 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19394 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19395 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19396 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19397 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19398 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19399 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19400 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19401 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19402 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19403 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19404 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19405 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19406 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19407 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19408 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19409 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19410 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19411 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19412 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19413 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19414 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19415 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19416 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19417 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19418 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19419 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19420 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19421 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19422 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19423 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19424 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19425 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19426 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19427 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19428 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19429 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19430 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19431
a9708fed
JM
194322013-01-07 Joseph Myers <joseph@codesourcery.com>
19433
375607b9
JM
19434 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19435 (__MALLOC_PMT): Likewise.
19436 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19437 [__GNUC__], only on [_LIBC].
19438 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19439 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19440 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19441 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19442 forward declaration.
19443 (realloc_hook_ini): Likewise.
19444 (memalign_hook_ini): Likewise.
19445 (__libc_memalign): Do not use __MALLOC_PMT in variable
19446 declaration.
19447 (__libc_valloc): Likewise.
19448 (__libc_pvalloc): Likewise.
19449 (__libc_calloc): Likewise.
19450 (__posix_memalign): Likewise.
19451
a9708fed
JM
19452 [BZ #14996]
19453 * math/s_casinh.c: Include <float.h>.
19454 (__casinh): Do not do computation with squaring and square root
19455 for large arguments.
19456 * math/s_casinhf.c: Include <float.h>.
19457 (__casinhf): Do not do computation with squaring and square root
19458 for large arguments.
19459 * math/s_casinhl.c: Include <float.h>.
19460 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19461 (__casinhl): Do not do computation with squaring and square root
19462 for large arguments.
19463 * math/libm-test.inc (casin_test): Add more tests.
19464 (casinh_test): Likewise.
19465 * sysdeps/i386/fpu/libm-test-ulps: Update.
19466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19467
afec409a
L
194682013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19469
19470 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19471 (__x86_64_raw_data_cache_size): Likewise.
19472 (__x86_64_data_cache_size_half): Likewise.
19473 (__x86_64_raw_data_cache_size_half): Likewise.
19474 (__x86_64_shared_cache_size): Likewise.
19475 (__x86_64_raw_shared_cache_size): Likewise.
19476 (__x86_64_shared_cache_size_half): Likewise.
19477 (__x86_64_raw_shared_cache_size_half): Likewise.
19478 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19479 to ...
19480 (__x86_data_cache_size): This.
19481 (__x86_64_raw_data_cache_size): Renamed to ...
19482 (__x86_raw_data_cache_size): This.
19483 (__x86_64_data_cache_size_half): Renamed to ...
19484 (__x86_data_cache_size_half): This.
19485 (__x86_64_raw_data_cache_size_half): Renamed to ...
19486 (__x86_raw_data_cache_size_half): This.
19487 (__x86_64_shared_cache_size): Renamed to ...
19488 (__x86_shared_cache_size): This.
19489 (__x86_64_raw_shared_cache_size): Renamed to ...
19490 (__x86_raw_shared_cache_size): This.
19491 (__x86_64_shared_cache_size_half): Renamed to ...
19492 (__x86_shared_cache_size_half): This.
19493 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19494 (__x86_raw_shared_cache_size_half): This.
19495 * sysdeps/x86_64/memcpy.S: Updated.
19496 * sysdeps/x86_64/memset.S: Likewise.
19497 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19498 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19499 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19500
0b3986d0
DM
195012013-01-04 David S. Miller <davem@davemloft.net>
19502
19503 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19504
e47686e9
AS
195052013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19506
d643bac1
AS
19507 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19508 1 to avoid redefinition warning.
19509 (__USE_GNU): Don't define.
19510 (init_signaling_nan): Protoize.
19511
e47686e9
AS
19512 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19513
b18decba
SP
195142013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19515
fffb407f
SP
19516 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19518 (__cpymn): Likewise.
19519 (norm): Remove commented code.
19520 (denorm): Likewise.
19521 (__mp_dbl): Likewise.
19522 (__inv): Likewise.
19523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19524 (__cpymn): Likewise.
19525 (norm): Remove commented code.
19526 (denorm): Likewise.
19527 (__mp_dbl): Likewise.
19528 (__inv): Likewise.
19529
b18decba
SP
19530 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19531 mp_no value for 1.0 and 2.0.
19532 (norm): Use RADIXI instead of radixi.d.
19533 (denorm): Likewise.
19534 (__mul): Use 0.0 instead of zero.d.
19535 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19536 mp_no value for 1.0 and 2.0.
19537 (norm): Use RADIXI instead of radixi.d.
19538 (denorm): Likewise.
19539 (__mul): Use 0.0 instead of zero.d.
19540
cdc1c96f
JM
195412013-01-04 Joseph Myers <joseph@codesourcery.com>
19542
19543 [BZ #14994]
19544 * math/s_casinh.c (__casinh): Reduce finite argument to first
19545 quadrant then set signs of results at the end.
19546 * math/s_casinhf.c (__casinhf): Likewise.
19547 * math/s_casinhl.c (__casinhl): Likewise.
19548 * math/libm-test.inc (casin_test): Add more tests.
19549 (casinh_test): Likewise.
19550 * sysdeps/i386/fpu/libm-test-ulps: Update.
19551 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19552
302913e1
SP
195532013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19554
6420d207
SP
19555 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19556
a9e48ab4
SP
19557 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19558
b7837264
SP
19559 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19560 declarations.
19561 (denorm): Likewise.
19562 (__mp_dbl): Likewise.
19563 (__inv): Likewise.
19564
f8af25d2
SP
19565 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19566 and adjust the header comment.
19567
302913e1
SP
19568 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19569 variable name from declaration.
19570
5d7dd1ca
L
195712013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19572
19573 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19574 Initialize COMMON_CPUID_INDEX_7 element.
19575 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19576 (CPUID_RTM): Likewise.
19577 (HAS_RTM): Likewise.
19578 (COMMON_CPUID_INDEX_7): New enum.
19579
2f5f40f4
AS
195802013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19581
19582 [BZ #14981]
19583 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19584 size is zero, record memory as freed.
19585
4056f4a0
AJ
195862013-01-03 Andreas Jaeger <aj@suse.de>
19587
19588 * po/ia.po: Add new Interlingua translation.
19589
ab15736f 195902012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19591
19592 * locale/programs/localedef.c: Fix description of '--posix' flag.
19593
568035b7
JM
195942013-01-02 Joseph Myers <joseph@codesourcery.com>
19595
e6898b8d
JM
19596 * NEWS: Update dates in second copyright notice.
19597 * README: Update copyright dates in example.
19598 * manual/libc.texinfo: Update copyright dates.
19599 * scripts/test-installation.pl: Update copyright date in --version
19600 output.
19601
0e2f9562
JM
19602 * hurd/ctty-input.c: Fix copyright notice formatting.
19603 * hurd/ctty-output.c: Likewise.
19604 * hurd/dtable.c: Likewise.
19605 * hurd/hurd-raise.c: Likewise.
19606 * hurd/hurdprio.c: Likewise.
19607 * hurd/msgportdemux.c: Likewise.
19608 * misc/sys/file.h: Likewise.
19609 * misc/sys/ioctl.h: Likewise.
19610 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19611 * sysdeps/mach/hurd/chdir.c: Likewise.
19612 * sysdeps/mach/hurd/fchdir.c: Likewise.
19613 * sysdeps/mach/hurd/rename.c: Likewise.
19614 * sysdeps/mach/hurd/rmdir.c: Likewise.
19615 * sysdeps/mach/hurd/seekdir.c: Likewise.
19616 * sysdeps/mach/hurd/setsid.c: Likewise.
19617 * sysdeps/posix/wait3.c: Likewise.
19618
568035b7
JM
19619 * All files with FSF copyright notices: Update copyright dates
19620 using scripts/update-copyrights.
19621 * intl/plural.c: Regenerated.
19622 * locale/programs/charmap-kw.h: Likewise.
19623 * locale/programs/locfile-kw.h: Likewise.
19624
da08f647
SP
196252013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19626
0f5477af
SP
19627 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19628 four values.
19629
44e0d4c2
SP
19630 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19631 calculation loop and add branch prediction.
19632
4d55b4e5
SP
19633 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19634 check access beyond bounds of m1np.
19635
da08f647
SP
19636 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19637 MPTWO.
19638 (__inv): Remove local variable MPTWO to use the global
19639 constant.
19640 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19641 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19642 variable MPTWO.
19643 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19644 MP3HALFS static const.
19645
8e051029
DM
196462013-01-01 David S. Miller <davem@davemloft.net>
19647
19648 * po/ca.po: Update from translation team.
19649
f4cf5f2d
JM
196502013-01-01 Joseph Myers <joseph@codesourcery.com>
19651
19652 * scripts/update-copyrights: New file.
19653 * Makeconfig: Reformat copyright notice.
19654 * ctype/ctype.h: Likewise.
19655 * debug/swprintf_chk.c: Likewise.
19656 * elf/dl-cache.c: Likewise.
19657 * elf/dl-debug.c: Likewise.
19658 * elf/dl-object.c: Likewise.
19659 * grp/initgroups.c: Likewise.
19660 * hurd/Makefile: Likewise.
19661 * hurd/hurd/signal.h: Likewise.
19662 * hurd/hurdfault.c: Likewise.
19663 * hurd/hurdioctl.c: Likewise.
19664 * hurd/hurdlookup.c: Likewise.
19665 * hurd/intr-msg.c: Likewise.
19666 * iconv/gconv_open.c: Likewise.
19667 * libio/swprintf.c: Likewise.
19668 * locale/lc-ctype.c: Likewise.
19669 * locale/nl_langinfo.c: Likewise.
19670 * mach/Machrules: Likewise.
19671 * mach/Makefile: Likewise.
19672 * malloc/obstack.h: Likewise.
19673 * manual/Makefile: Likewise.
19674 * manual/tsort.awk: Likewise.
19675 * misc/bits/stab.def: Likewise.
19676 * nis/nis_print_group_entry.c: Likewise.
19677 * nis/nis_table.c: Likewise.
19678 * nis/nss_compat/compat-pwd.c: Likewise.
19679 * nis/nss_compat/compat-spwd.c: Likewise.
19680 * po/Makefile: Likewise.
19681 * posix/fnmatch.c: Likewise.
19682 * posix/regex.h: Likewise.
19683 * resolv/Makefile: Likewise.
19684 * resolv/nss_dns/dns-network.c: Likewise.
19685 * resolv/res_hconf.c: Likewise.
19686 * scripts/gen-sorted.awk: Likewise.
19687 * soft-fp/soft-fp.h: Likewise.
19688 * stdio-common/printf.h: Likewise.
19689 * stdlib/monetary.h: Likewise.
19690 * stdlib/random.c: Likewise.
19691 * stdlib/random_r.c: Likewise.
19692 * sysdeps/generic/Makefile: Likewise.
19693 * sysdeps/gnu/Makefile: Likewise.
19694 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19695 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19696 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19697 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19698 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19699 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19700 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19701 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19702 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19703 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19704 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19705 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19706 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19707 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19708 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19709 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19710 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19711 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19712 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19713 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19714 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19715 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19716 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19717 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19718 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19719 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19720 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19721 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19722 * sysdeps/mach/hurd/errnos.awk: Likewise.
19723 * sysdeps/mach/hurd/fork.c: Likewise.
19724 * sysdeps/mach/hurd/getcwd.c: Likewise.
19725 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19726 * sysdeps/mach/hurd/mmap.c: Likewise.
19727 * sysdeps/mach/hurd/utimes.c: Likewise.
19728 * sysdeps/mach/hurd/xmknod.c: Likewise.
19729 * sysdeps/posix/profil.c: Likewise.
19730 * sysdeps/posix/readdir_r.c: Likewise.
19731 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19732 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19733 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19734 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19735 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19736 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19737 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19738 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19739 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19740 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19741 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19742 * sysdeps/pthread/lio_listio.c: Likewise.
19743 * sysdeps/sparc/dl-procinfo.h: Likewise.
19744 * sysdeps/unix/i386/sysdep.S: Likewise.
19745 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19746 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19747 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19748 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19750 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19751 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19752 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19753 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19754 * sysdeps/wordsize-32/divdi3.c: Likewise.
19755 * time/sys/time.h: Likewise.
19756 * wcsmbs/Makefile: Likewise.
19757
0549fbba
DM
197582013-01-01 David S. Miller <davem@davemloft.net>
19759
a141f1a7
DM
19760 * po/fr.po: Update from translation team.
19761
0549fbba
DM
19762 * catgets/gencat.c: Update copyright year.
19763 * csu/version.c: Likewise.
19764 * debug/catchsegv.sh: Likewise.
19765 * debug/pcprofiledump.c: Likewise.
19766 * debug/xtrace.sh: Likewise.
19767 * elf/ldconfig.c: Likewise.
19768 * elf/ldd.bash.in: Likewise.
19769 * elf/pldd.c: Likewise.
19770 * elf/sotruss.ksh: Likewise.
19771 * elf/sprof.c: Likewise.
19772 * iconv/iconv_prog.c: Likewise.
19773 * iconv/iconvconfig.c: Likewise.
19774 * locale/programs/locale.c: Likewise.
19775 * locale/programs/localedef.c: Likewise.
19776 * login/programs/pt_chown.c: Likewise.
19777 * malloc/memusage.sh: Likewise.
19778 * malloc/memusagestat.c: Likewise.
19779 * malloc/mtrace.pl: Likewise.
19780 * nscd/nscd.c: Likewise.
19781 * nss/getent.c: Likewise.
19782 * nss/makedb.c: Likewise.
19783 * posix/getconf.c: Likewise.
19784
18ea052c
SP
197852012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19786
19787 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19788 numbers.
19789
9c89fca6
MF
197902012-12-30 Mike Frysinger <vapier@gentoo.org>
19791
19792 * math/bits/mathcalls.h (modf): Use __nonnull.
19793
085ec079
SP
197942012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19795
19796 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19797 (split): Use macro CN instead of the bare value.
19798 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19799 could be used.
19800 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19801 instead of the bare value.
19802 (power1): Likewise.
19803
6d9f97e1
SP
198042012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19805
d63f73be
SP
19806 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19807 __ATAN_TWOM.
19808 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19809
6d9f97e1
SP
19810 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19811 their values.
19812 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19813 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19814 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19815 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19816
4c4febf5
AJ
198172012-12-28 Andreas Jaeger <aj@suse.de>
19818
af5843ef
AJ
19819 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19820 values are from Linux 3.7.
19821
4c4febf5
AJ
19822 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19823 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19824
99136f82
SP
198252012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19826
2f216c3c 19827 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19828 TRUE case.
19829
99136f82
SP
19830 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19831 (norm): Likewise.
19832 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19833 variables with preprocessor constants.
19834 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19835 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19836 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19837
7fffbdff
BH
198382012-12-27 Bruno Haible <bruno@clisp.org>
19839
19840 [BZ #14317]
19841 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19842 only if needed.
19843
b76eb5f0
SP
198442012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19845
31a7fe5c
SP
19846 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19847 and use variable directly.
19848 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19849
b76eb5f0
SP
19850 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19851 MPONE.
19852 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19853 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19854 variable MPONE.
19855 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19856 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19857 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19858 include directive. Remove local variable MPONE.
19859 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19860 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19861 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19862
2c8bfe7d
DM
198632012-12-25 David S. Miller <davem@davemloft.net>
19864
19865 * version.h (RELEASE): Set to "development".
19866 (VERSION): Set to "2.17.90".
19867 * NEWS: Add 2.18 section.
19868
147d03b0
DM
198692012-12-21 David S. Miller <davem@davemloft.net>
19870
19871 * po/hr.po: Update from translation team.
19872
a8ebb2b9
AK
198732012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19874
19875 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19876
95b4f1b6
SE
198772012-12-19 Steve Ellcey <sellcey@mips.com>
19878
b2d94007 19879 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19880
cedb2a90
MS
198812012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19882
19883 * manual/contrib.texi (Contributors): Spelling correction.
19884
bbf527d6
DM
198852012-12-15 David S. Miller <davem@davemloft.net>
19886
19887 * po/ru.po: Update from translation team.
19888
bc38c906
DM
198892012-12-13 David S. Miller <davem@davemloft.net>
19890
85429b1a
DM
19891 * NEWS: Mention IFUNC testsuite enhancements.
19892
d283e353
DM
19893 * po/pl.po: Update from translation team.
19894 * po/bg.po: Likewise.
19895
bc38c906
DM
19896 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19897 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19898
a181b0d7
DM
198992012-12-11 David S. Miller <davem@davemloft.net>
19900
4641d57e
DM
19901 * po/sv.po: Update from translation team.
19902
f7bc6495
DM
19903 * po/vi.po: Update from translation team.
19904
6fc9048f
DM
19905 * po/cs.po: Update from translation team.
19906
a181b0d7
DM
19907 * po/de.po: Update from translation team.
19908 * po/eo.po: Likewise.
19909 * po/nl.po: Likewise.
19910
f70bfe80
SP
199112012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19912
3c8b4190
SP
19913 [BZ #14246]
19914 * manual/argp.texi (Argp Helper Functions): Move node to follow
19915 Argp Parsing State.
19916
f70bfe80
SP
19917 [BZ #14872]
19918 * manual/conf.texi (Limits on File System Capacity): Mention if
19919 terminating null is included in the max size.
19920
188f0adf
AJ
199212012-12-10 Andreas Jaeger <aj@suse.de>
19922
19923 * po/cs.po: Update from translation team.
19924
56e7d3ad
SP
199252012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19926
19927 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19928 void pointer and cast to uintptr_t.
19929 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19930 path.
19931 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19932 * sysdeps/s390/s390-64/memset.S: Likewise.
19933
76f2d2ea 199342012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19935
19936 [BZ #14833]
19937 * menual/message.texi (Message Translation): Fix typos.
19938 (Helper programs for gettext): Likewise.
19939
67cbf9a2
AS
199402012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19941
19942 [BZ #14898]
19943 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19944 Change to -1.
19945
682d0e9a
DM
199462012-12-07 David S. Miller <davem@davemloft.net>
19947
19948 * po/libc.pot: Update.
19949
573cd484
RH
199502012-12-07 Richard Henderson <rth@redhat.com>
19951
7e9da188 19952 [BZ #10114]
573cd484
RH
19953 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19954 normal/normal case to before the switch.
19955 (_FP_DIV): Likewise.
19956
e933a943
MF
199572012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19958 Mike Frysinger <vapier@gentoo.org>
19959
19960 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19961 check for __NR_fadvise64_64.
19962
82123268
CM
199632012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19964
19965 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19966 0, not just to plain "0" as a statement.
19967 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19968 with cw.
19969
d9814526
JM
199702012-12-06 Joseph Myers <joseph@codesourcery.com>
19971
19972 * NEWS: Use sourceware.org in Bugzilla URL.
19973
7728c574
SP
199742012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19975
f16946dd
SP
19976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19977 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19978
5704bbcb
SP
19979 * stdio-common/tst-put-error.c (do_test): Add newline to the
19980 padded test to ensure flush.
19981
17aa0516
JL
199822012-12-05 Jeff Law <law@redhat.com>
19983
19984 * sunrpc/etc.rpc (fedfs_admin): Add entry.
19985
363313b5
JM
199862012-12-05 Joseph Myers <joseph@codesourcery.com>
19987
effbd42a
JM
19988 * README: Don't refer to ports add-on as distributed separately.
19989 Mention AArch64 in list of systems supported in the ports add-on.
19990
87600365
JM
19991 * LICENSES: Add more non-FSF copyright and license notices.
19992
a0d7066a
JM
19993 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
19994 ((unused)).
19995
66ca5a5b
JM
19996 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
19997
363313b5
JM
19998 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
19999 10000 as width of padded output.
20000
b37984ad
JM
200012012-12-04 Joseph Myers <joseph@codesourcery.com>
20002
9003570a
JM
20003 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20004
b37984ad
JM
20005 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20006 variable LX with __attribute__ ((unused)).
20007 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20008 Likewise.
20009 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20010 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20011 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20012 with __attribute__ ((unused)).
20013
c8df52ec
DM
200142012-12-04 David S. Miller <davem@abraco.davemloft.net>
20015
20016 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20017
b3b099af
JM
200182012-12-04 Joseph Myers <joseph@codesourcery.com>
20019
c33aa6e3
JM
20020 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20021 (CFLAGS-nldbl-acos.c): New variable.
20022 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20023 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20024 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20025 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20026 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20027 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20028 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20029 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20030 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20031 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20032 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20033 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20034 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20035 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20036 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20037 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20038 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20039 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20040 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20041 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20042 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20043 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20044 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20045 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20046 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20047 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20048 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20049 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20050 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20051 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20052 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20053 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20054 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20055 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20056 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20057 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20058 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20059 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20060 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20061 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20062 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20063 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20064 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20065 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20066 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20067 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20068 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20069 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20070 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20071 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20072 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20073 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20074 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20075 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20076 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20077 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20078 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20079 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20080 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20081 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20082 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20083 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20084 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20085 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20086 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20087 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20088 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20089 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20090 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20091 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20092 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20093 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20094 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20095 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20096 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20097 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20098 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20099 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20100 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20101 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20102 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20103 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20104 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20105 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20106 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20107 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20108 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20109 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20110 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20111 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20112 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20113 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20114 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20115 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20116 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20117 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20118 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20119
20f0018d
JM
20120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20121 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20122
b3b099af
JM
20123 [BZ #14914]
20124 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20125 whole low double instead of just low 47 bits when splitting values
20126 into two parts.
20127
029264d1
AM
201282012-12-03 Allan McRae <allan@archlinux.org>
20129
20130 * manual/stdio.texi (Predefined Printf Handlers): Remove
20131 @hsep and @vsep usage.
20132
c9d6789e
MF
201332012-12-03 Mike Frysinger <vapier@gentoo.org>
20134
20135 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20136 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20137
4b7634a5
JL
201382012-12-03 Jeff Law <law@redhat.com>
20139
20140 * time/sys/time.h (settimeofday): Do not mark TV argument
20141 as __nonnull.
20142
eb6cbd24
MF
201432012-12-01 Mike Frysinger <vapier@gentoo.org>
20144
20145 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20146 when currently writing and seek to current position when not.
20147 * libio/Makefile (tests): Remove bug-fclose1.
20148 * libio/bug-fclose1.c: Delete.
20149
f638872a
JM
201502012-12-01 Joseph Myers <joseph@codesourcery.com>
20151
20152 * manual/arith.texi (feenableexcept): Fix typo.
20153 (fedisableexcept): Likewise.
20154
48085d14
RM
201552012-11-30 Roland McGrath <roland@hack.frob.com>
20156
20157 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20158 second, differently-typed declaration, rather than a cast.
20159
1a538b9f
SP
201602012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20161
20162 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20163 * include/rpc/svc.h: ... here.
20164
d07f2ff1 201652012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20166
20167 [BZ #13013]
20168 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20169 depending n and resplen2 to catch cases where answer
20170 equals answerp2.
20171
c93ec1f0
CD
201722012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20173
20174 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20175 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20176
37db69de
MF
201772012-11-29 Mike Frysinger <vapier@gentoo.org>
20178
20179 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20180
e10c4e4f
RM
201812012-11-29 Roland McGrath <roland@hack.frob.com>
20182
20183 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20184
2af1b328
JL
201852012-11-28 Jeff Law <law@redhat.com>
20186
20187 [BZ #13761]
20188 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20189 dataset_temporary. Track alloca usage into alloca_used.
20190 If dataset is large allocate and release it via malloc/free.
20191
111db5b1
FW
201922012-06-04 Florian Weimer <fweimer@redhat.com>
20193
f06cc227 20194 [BZ #14197]
111db5b1
FW
20195 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20196
dd694abd
DM
201972012-11-28 David S. Miller <davem@davemloft.net>
20198
20199 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20200
9984dd01
JM
202012012-11-28 Joseph Myers <joseph@codesourcery.com>
20202
20203 [BZ #14803]
20204 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20205 of pi/2 rounded to nearest to 64 bits.
20206 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20207 nearest to 64 bits.
20208 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20209 bits.
20210
14bc93a9
JL
202112012-11-28 Jeff Law <law@redhat.com>
20212 Martin Osvald <mosvald@redhat.com>
20213
20214 [BZ #14889]
20215 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20216 * sunrpc/svc.c: Include time.h.
20217 (__svc_accept_failed): New function.
20218 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20219 any reason other than EINTR, call __svc_accept_failed.
20220 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20221 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20222
e3c6aa3a
AS
202232012-11-28 Andreas Schwab <schwab@suse.de>
20224
20225 * scripts/abilist.awk: Also handle indirect functions in .opd
20226 section.
20227
1bead169
JM
202282012-11-28 Joseph Myers <joseph@codesourcery.com>
20229
20230 [BZ #13881]
20231 * sysdeps/x86/fpu/powl_helper.c: New file.
20232 * sysdeps/x86/fpu/Makefile: Likewise.
20233 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20234 (p3): New object.
20235 (__ieee754_powl): Use __powl_helper for finite arguments except
20236 integer exponents below 8.
20237 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20238 (p3): New object.
20239 (__ieee754_powl): Use __powl_helper for finite arguments except
20240 integer exponents below 8.
20241 * math/libm-test.inc (pow_test): Add more tests and enable some
20242 previously disabled tests.
20243 * sysdeps/i386/fpu/libm-test-ulps: Update.
20244 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20245
0817d63d
SP
202462012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20247 Carlos O'Donell <carlos_odonell@mentor.com>
20248
20249 * nss/makedb.c (is_prime): Assert that input is odd and greater
20250 than 4. Note that fact in a comment too.
20251 (next_prime): Add 4 to input.
20252
de2fd463
SP
202532012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20254
20255 [BZ #11741]
20256 * libio/Makefile (tests): Add test case tst-fwrite-error.
20257 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20258 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20259 * libio/tst-fwrite-error.c: New test case.
20260
c515fb51
L
202612012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20262
20263 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20264 before casting to void *.
20265 * include/libc-internal.h (__pointer_type): New macro.
20266 (__integer_if_pointer_type_sub): Likewise.
20267 (__integer_if_pointer_type): Likewise.
20268 (cast_to_integer): Likewise.
20269 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20270 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20271 before casting to atomic64_t.
20272 (atomic_exchange_acq): Likewise.
20273 (__arch_exchange_and_add_body): Likewise.
20274 (__arch_add_body): Likewise.
20275 (atomic_add_negative): Likewise.
20276 (atomic_add_zero): Likewise.
20277
4cf77aa9
JM
202782012-11-26 Joseph Myers <joseph@codesourcery.com>
20279
20280 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20281 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20282 (add_fdes): Likewise.
20283 (linear_search_fdes): Likewise.
20284 (binary_search_unencoded_fdes): Likewise.
20285
d260b3b4
AS
202862012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20287
20288 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20289
67060746
AC
202902012-11-24 Adam Conrad <adconrad@0c3.net>
20291
20292 * configure.in: Autodetect C++ header directories.
20293 * configure: Regenerated.
20294
800938a1
MF
202952012-11-23 Mike Frysinger <vapier@gentoo.org>
20296
20297 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20298
4e6e34e6
AS
202992012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20300
20301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20302
7c7feb47
JM
203032012-11-22 Joseph Myers <joseph@codesourcery.com>
20304
7184dcdf
JM
20305 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20306 LDBL_MANT_DIG == 106]: Disable some tests.
20307 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20308 Likewise.
20309 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20310 Likewise.
20311
0a42601f
JM
20312 [BZ #14871]
20313 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20314 input for small inputs. Return +/- pi/2 for large inputs.
20315 * math/libm-test.inc (atan_test): Add more tests.
20316
79c9b9fe
JM
20317 * sysdeps/generic/unwind-dw2-fde-glibc.c
20318 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20319 __attribute__ ((unused)).
20320
c60d3bf2
JM
20321 [BZ #14645]
20322 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20323 x * y if x and y are nonzero and z is zero.
20324
ef1e0867
JM
20325 [BZ #14811]
20326 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20327 nonzero exponents with absolute value below 0x1p-117 to +/-
20328 0x1p-117.
20329
1468ded3
JM
20330 [BZ #14869]
20331 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20332 up arguments below 2**-450, not just those below 2**-500.
20333 * math/libm-test.inc (hypot_test): Add another test.
20334
8e27e3cc
JM
20335 [BZ #14868]
20336 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20337 Return a+b for ratio over 2**120, not 2**60.
20338 * math/libm-test.inc (hypot_test): Add another test.
20339
c9c0279b
JM
20340 * math/libm-test.inc (clog_test): Use
20341 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20342 (clog10_test): Likewise.
20343
7c7feb47
JM
20344 [BZ #6778]
20345 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20346
fff1530e
AS
203472012-11-22 Andreas Schwab <schwab@suse.de>
20348
20349 * sysdeps/i386/fpu/libm-test-ulps: Update.
20350
94558d30
PT
203512012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20352
20353 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20354 printf output with newline.
20355
7e1be741
L
203562012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20357
6bfea974
L
20358 [BZ #14865]
20359 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20360 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20361 -z nodlopen, -z initfirst and -z execstack support.
20362 * configure: Regenerated.
20363
7e1be741
L
20364 * elf/elf.h (DF_1_NODIRECT): New macro.
20365 (DF_1_IGNMULDEF): Likewise.
20366 (DF_1_NOKSYMS): Likewise.
20367 (DF_1_NOHDR): Likewise.
20368 (DF_1_EDITED): Likewise.
20369 (DF_1_NORELOC): Likewise.
20370 (DF_1_SYMINTPOSE): Likewise.
20371 (DF_1_GLOBAUDIT): Likewise.
20372 (DF_1_SINGLETON): Likewise.
20373 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20374 DT_1_SUPPORTED_MASK bits.
20375 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20376
105ce2ce
CD
203772012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20378
20379 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20380
123be9de
TS
203812012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20382
d072f3f7
TS
20383 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20384 macro.
20385
123be9de
TS
20386 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20387 (sendmmsg): Move declarations...
20388 * socket/sys/socket.h: ... here.
20389 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20390 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20391 include it from...
20392 * socket/recvmmsg.c: ... this new file.
20393 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20394 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20395 definition of __sendmmsg hidden.
20396 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20397 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20398 Move ENOSYS stub into and include it from...
20399 * socket/sendmmsg.c: ... this new file.
20400 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20401 (sysdep_routines): Move recvmmsg and sendmmsg...
20402 * socket/Makefile (routines): ... here.
20403 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20404 (GLIBC_PRIVATE): Add __sendmmsg.
20405 * include/sys/socket.h (__sendmmsg): Add declarations.
20406 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20407 sendmmsg.
20408
cf9a5d18
JM
204092012-11-20 Joseph Myers <joseph@codesourcery.com>
20410
20411 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20412 variable I1 with __attribute__ ((unused)).
20413 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20414
ecd4caf9
JM
204152012-11-19 Joseph Myers <joseph@codesourcery.com>
20416
be14d48f
JM
20417 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20418 DUMMY variables with __attribute__ ((unused)).
20419
ecd4caf9
JM
20420 * bits/byteswap.h: Include <bits/types.h>.
20421 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20422
986cab95
PT
204232012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20424
20425 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20426 string_t. Do not manually set errno.
20427 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20428 length with __strnlen. Make sure to both set errno and return it on
20429 failure.
20430
6d33cc9d
DM
204312012-11-19 David S. Miller <davem@davemloft.net>
20432
20433 With help from Joseph Myers.
20434 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20435 very large arguments properly.
20436 * math/libm-test.inc (atan_test): New tests.
20437 (atan2_test): New tests.
20438 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20439 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20440
ee663277
JM
204412012-11-19 Joseph Myers <joseph@codesourcery.com>
20442
877f2d8e
JM
20443 [BZ #14856]
20444 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20445 Define to 3.
20446
116fc08a
JM
20447 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20448 [POSIX] (EADDRNOTAVAIL): Likewise.
20449 [POSIX] (EAFNOSUPPORT): Likewise.
20450 [POSIX] (EALREADY): Likewise.
20451 [POSIX] (ECONNABORTED): Likewise.
20452 [POSIX] (ECONNREFUSED): Likewise.
20453 [POSIX] (ECONNRESET): Likewise.
20454 [POSIX] (EDESTADDRREQ): Likewise.
20455 [POSIX] (EDQUOT): Likewise.
20456 [POSIX] (EHOSTUNREACH): Likewise.
20457 [POSIX] (EIDRM): Likewise.
20458 [POSIX] (EISCONN): Likewise.
20459 [POSIX] (ELOOP): Likewise.
20460 [POSIX] (EMULTIHOP): Likewise.
20461 [POSIX] (ENETDOWN): Likewise.
20462 [POSIX] (ENETUNREACH): Likewise.
20463 [POSIX] (ENOBUFS): Likewise.
20464 [POSIX] (ENODATA): Likewise.
20465 [POSIX] (ENOLINK): Likewise.
20466 [POSIX] (ENOMSG): Likewise.
20467 [POSIX] (ENOPROTOOPT): Likewise.
20468 [POSIX] (ENOSR): Likewise.
20469 [POSIX] (ENOSTR): Likewise.
20470 [POSIX] (ENOTCONN): Likewise.
20471 [POSIX] (ENOTSOCK): Likewise.
20472 [POSIX] (EOPNOTSUPP): Likewise.
20473 [POSIX] (EOVERFLOW): Likewise.
20474 [POSIX] (EPROTO): Likewise.
20475 [POSIX] (EPROTONOSUPPORT): Likewise.
20476 [POSIX] (EPROTOTYPE): Likewise.
20477 [POSIX] (ESTALE): Likewise.
20478 [POSIX] (ETIME): Likewise.
20479 [POSIX] (ETXTBSY): Likewise.
20480 [POSIX] (EWOULDBLOCK): Likewise.
20481 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20482 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20483 [POSIX] (SEEK_CUR): Likewise.
20484 [POSIX] (SEEK_END): Likewise.
20485 [POSIX || UNIX98] (mode_t): Do not require.
20486 [POSIX] (off_t): Likewise.
20487 [POSIX] (pid_t): Likewise.
20488 [POSIX] (sys/stat.h): Do not allow header.
20489 [POSIX] (unistd.h): Likewise.
20490 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20491 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20492 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20493 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20494 require.
20495 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20496 sigevent): Specify elements.
20497 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20498 entry.
20499 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20500 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20501
a483863f
JM
20502 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20503 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20504 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20505 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20506 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20507 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20508 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20509 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20510 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20511 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20512 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20513 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20514 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20515 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20516 Likewise.
20517 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20518 Likewise.
20519 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20520 Likewise.
20521 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20522 Likewise.
20523 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20524 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20525 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20526 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20527 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20528 Specify lower bound on value.
20529 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20530 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20531 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20532 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20533 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20534 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20535 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20536 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20537 value.
20538 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20539 as optional.
20540 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20541 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20542 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20543 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20544 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20545 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20546 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20547 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20548 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20549 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20550 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20551 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20552 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20553 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20555 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20556 entry.
20557 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20558 optional.
20559 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20560 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20561 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20563 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20564 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20565 Likewise.
20566 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20567 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20568 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20569 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20570 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20571 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20572 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20573 as optional.
20574 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20575 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20576 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20577 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20578 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20579 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20580 specify as optional.
20581 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20584 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20585 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20586 [XPG3] (NL_LANGMAX): Likewise.
20587 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20588 [POSIX || XPG3] (NL_NMAX): Likewise.
20589 [POSIX || XPG3] (NL_SETMAX): Likewise.
20590 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20591 [XPG3] (NZERO): Likewise.
20592 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20593 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20594 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20595 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20596 (REG_ERANGE): Expect.
20597 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20598 optional-constant.
20599 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20600 Use (void) in prototype.
20601 [POSIX] (*_t): Allow.
20602 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20603 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20604 (WRDE_BADVAL): Expect.
20605
5ba924e3
JM
20606 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20607 expect.
20608 [XPG3 || XPG4] (O_RSYNC): Likewise.
20609 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20610 Likewise.
20611 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20612 [XPG3 || XPG4] (sigqueue): Likewise.
20613 [XPG3 || XPG4] (sigtimedwait): Likewise.
20614 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20615 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20616 [XPG3 || XPG4] (vsnprintf): Likewise.
20617 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20618 Likewise.
20619 [XPG3 || XPG4] (blksize_t): Likewise.
20620 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20621 Likewise.
20622 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20623 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20624 [XPG3 || XPG4] (struct itimerspec): Likewise.
20625 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20626 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20627 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20628 [XPG3 || XPG4] (clockid_t): Likewise.
20629 [XPG3 || XPG4] (timer_t): Likewise.
20630 [XPG3 || XPG4] (clock_getres): Likewise.
20631 [XPG3 || XPG4] (clock_gettime): Likewise.
20632 [XPG3 || XPG4] (clock_settime): Likewise.
20633 [XPG3 || XPG4] (nanosleep): Likewise.
20634 [XPG3 || XPG4] (timer_create): Likewise.
20635 [XPG3 || XPG4] (timer_delete): Likewise.
20636 [XPG3 || XPG4] (timer_gettime): Likewise.
20637 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20638 [XPG3 || XPG4] (timer_settime): Likewise.
20639 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20640 [XPG3 || XPG4] (getlogin_r): Likewise.
20641 [XPG3 || XPG4] (pread): Likewise.
20642 [XPG3 || XPG4] (pthread_atfork): Likewise.
20643 [XPG3 || XPG4] (pwrite): Likewise.
20644
ee663277
JM
20645 [BZ #14835]
20646 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20647 <bits/siginfo.h>.
20648
942caa16
PT
206492012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20650
e19af380
PT
20651 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20652 finalizing MALLSTREAM.
20653
942caa16
PT
20654 * sysdeps/mach/hurd/syncfs.c: New file.
20655
cfde9b46
SP
206562012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20657
20658 [BZ #14719]
20659 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20660 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20661 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20662 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20663 (_nss_dns_gethostbyname4_r): Likewise.
20664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20665 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20666
f6da27e5
PH
206672012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20668
20669 [BZ #13763]
20670 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20671
6665d4a2
SM
206722012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20673
1f51ee92
SM
20674 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20675 * elf/cache.c (print_entry): Print ",AArch64" for
20676 FLAG_AARCH64_LIB64
20677
6665d4a2
SM
20678 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20679 * elf/cache.c (print_entry): Print ",hard-float" for
20680 FLAG_ARM_LIBHF.
20681
05b227bd
DM
206822012-11-18 David S. Miller <davem@davemloft.net>
20683
20684 With help from Joseph Myers.
20685 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20686 cutoff to 2**-13.
20687 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20688 cutoff to 2**-25.
20689 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20690 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20691 small.
20692 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20693 * math/libm-test.inc (y0_test): New tests.
20694 (y1_test): New tests.
20695 * sysdeps/i386/fpu/libm-test-ulps: Update.
20696 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20697 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20698
786b0b67
AS
206992012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20700
20701 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20702 64-bit targets.
20703 * configure: Regenerated.
20704
8e18b86d
DM
207052012-11-17 David S. Miller <davem@davemloft.net>
20706
20707 [BZ #14811]
20708 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20709 nonzero exponents with absolute value below 0x1p-128 to +/-
20710 0x1p-128.
20711
531f1ae0
JM
207122012-11-17 Joseph Myers <joseph@codesourcery.com>
20713
12df29e2
JM
20714 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20715
150dc1a0
JM
20716 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20717
531f1ae0
JM
20718 * posix/getconf-speclist.c: New file.
20719 * posix/posix-envs.def: Likewise.
20720 * posix/confstr.c (START_ENV_GROUP): New macro.
20721 (END_ENV_GROUP): Likewise.
20722 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20723 (KNOWN_PRESENT_ENV_STRING): Likewise.
20724 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20725 (UNKNOWN_ENVIRONMENT): Likewise.
20726 (confstr): Include posix-envs.def instead of handling
20727 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20728 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20729 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20730 (END_ENV_GROUP): Likewise.
20731 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20732 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20733 (UNKNOWN_ENVIRONMENT): Likewise.
20734 (__sysconf): Include posix-envs.def instead of handling associated
20735 cases directly here.
20736 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20737 preprocessing getconf-speclist.c rather than running getconf or
20738 generating empty file.
20739
a93f9cbc
PT
207402012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20741
20742 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20743
d64d9f87
AL
207442012-11-16 Andrej Lajovic <natrij@gmail.com>
20745
20746 [BZ #14672]
20747 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20748
447885eb
DM
207492012-11-16 David S. Miller <davem@davemloft.net>
20750
20751 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20752 smaller than LDBL_EPSILON/2.0L, just return xm1.
20753
bcbf9830
L
207542012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20755
20756 * elf/tst-array1.c (init): Set constructor priority to 1000.
20757 (fini): Set destructor priority to 1000.
20758 * elf/tst-array2dep.c: Likewise.
20759
2b766585
SP
207602012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20761
20762 [BZ #11741]
20763 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20764 (_IO_new_file_xsputn): Also return EOF if none of the input
20765 data was written when overflow failed.
20766 * libio/iopadn.c (_IO_padn): Likewise.
20767 * libio/iowpadn.c (_IO_wpadn): Likewise.
20768 * stdio-common/tst-put-error.c: Add copyright notice.
20769 (do_test): Add case for printing padded string.
20770 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20771 _IO_padn returned error.
20772 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20773 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20774 return EOF.
20775
b1848fde
SP
207762012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20777
20778 * libio/libioP.h: Add comment note that the references to C++
20779 bits are now obsolete.
20780
2fd89785
MS
207812012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20782
20783 * math/libm-test.inc (check_complex): Use asprintf.
20784
e3ea5409
JM
207852012-11-14 Joseph Myers <joseph@codesourcery.com>
20786
20787 * debug/pcprofiledump.c (print_version): Update copyright year.
20788 * malloc/memusagestat.c (print_version): Likewise.
20789
2e64d265
L
207902012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20791
20792 [BZ #14831]
20793 * elf/Makefile (tests): Add tst-audit8.
20794 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20795 ($(objpfx)tst-audit8.out): New target.
20796 (tst-audit8-ENV): New variable.
20797 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20798 audit if l_reloc_result is NULL.
20799 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20800 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20801 * elf/tst-audit8.c: New file.
20802
c485e4d2
MS
208032012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20804
20805 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20806 * misc/Makefile (CFLAGS-select.c): Define.
20807 * posix/Makefile (CFLAGS-pause.c): Define.
20808
3a0d900a
DM
208092012-11-13 David S. Miller <davem@davemloft.net>
20810
20811 * crypt/Makefile: Move test targets after toplevel Rules
20812 inclusion. Grab any necessary sysdep routines when linking.
20813 * crypt/md5.c (md5_process_block): Remove define, we will always
20814 name it __md5_process_block.
20815 (md5_finish_ctx): Update md5_process_block call.
20816 (md5_stream): Likewise.
20817 (md5_process_bytes): Likewise.
20818 (md5_process_block): Rename to __md5_process_block and move to ...
20819 * crypt/md5-block.c: ... here.
20820 * crypt/sha256.c (sha256_process_block): Move to ...
20821 * crypt/sha256-block.c: ... here.
20822 * crypt/sha512.c (sha512_process_block): Move to ...
20823 * crypt/sha512-block.c: ... here.
20824 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20825 path.
20826 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20827 * sysdeps/sparc/sparc64/multiarch/Makefile
20828 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20829 crypt subdir.
20830 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20831 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20832 multiarch changes.
20833 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20834 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20835 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20836 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20837 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20838 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20839 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20840 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20841 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20842 file.
20843 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20844 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20845 file.
20846 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20847
8ca89318
JM
208482012-11-13 Joseph Myers <joseph@codesourcery.com>
20849
e27d476a
JM
20850 * timezone/tzselect.ksh: Update from tzcode git revision
20851 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20852 * timezone/zdump.c: Likewise.
20853 * timezone/zic.c: Likewise.
20854 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20855 in TZVERSION setting, not $(PKGVERSION).
20856 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20857 REPORT_BUGS_TO settings.
20858
8ca89318
JM
20859 [BZ #14838]
20860 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20861 macro.
20862
47594329
MS
208632012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20864
20865 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20866 detection to immediately after _FP_ROUND().
20867 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20868 bits are 0.
20869
640ac3f1
DM
208702012-11-11 David S. Miller <davem@davemloft.net>
20871
20872 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20873 inttypes.h
20874 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20875 __close rather than their public counterparts.
20876
3d2577bb
JM
208772012-11-10 Joseph Myers <joseph@codesourcery.com>
20878
20879 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20880 file.
20881 [UNIX98] (sem_timedwait): Do not expect.
20882 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20883 [XPG4 || UNIX98] (sockatmark): Do not expect.
20884 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20885 (clock_getcpuclockid): Do not expect.
20886 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20887 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20888 Do not expect.
20889 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20890 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20891 [UNIX98] (vwscanf): Likewise.
20892 [UNIX98] (vswscanf): Likewise.
20893
fb1ae1ee
JM
208942012-11-09 Joseph Myers <joseph@codesourcery.com>
20895
9ec6f8bd
JM
20896 * timezone/version.h: Remove file.
20897 * timezone/README: Do not refer to version.h.
20898 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20899 $(objpfx)version.h.
20900 ($(objpfx)zdump.o): Likewise.
c3f81911 20901 ($(objpfx)version.h): New target.
9ec6f8bd 20902
0aa8f8a1
JM
20903 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20904 2012i.
20905 * timezone/README: Don't mention modification to tzselect.ksh.
20906 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20907 work on unmodified tzselect.ksh. Substitute version numbers in
20908 tzselect.ksh.
20909
4e87147f
JM
20910 * Makefile (format-me): Remove.
20911 (INSTALL): Adjust indentation. Use commands directly instead of
20912 using $(format-me).
20913
8b748aed
JM
20914 * aclocal.m4 (ACX_PKGVERSION): New macro.
20915 (ACX_BUGURL): Likewise.
20916 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20917 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20918 (REPORT_BUGS_TO): Likewise.
20919 * configure: Regenerated.
20920 * config.h.in (PKGVERSION): New macro.
20921 (REPORT_BUGS_TO): Likewise.
20922 * config.make.in (PKGVERSION): New variable.
20923 (PKGVERSION_TEXI): Likewise.
20924 (REPORT_BUGS_TO): Likewise.
20925 (REPORT_BUGS_TEXI): Likewise.
20926 * Makefile (format-me): Use -I$(common-objpfx)manual.
20927 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20928 ($(common-objpfx)manual/%): New target.
20929 (manual/%): Remove target.
20930 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20931 (print_version): Use PKGVERSION.
20932 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20933 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20934 and REPORT_BUGS_TO.
20935 ($(objpfx)xtrace): Likewise.
20936 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20937 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20938 (print_version): Use PKGVERSION.
20939 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20940 (do_version): Use PKGVERSION.
20941 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20942 REPORT_BUGS_TO.
20943 (common-ldd-rewrite): Likewise.
20944 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20945 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20946 (print_version): Use PKGVERSION.
20947 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20948 * elf/pldd.c (argp_program_bug_address): Remove variable.
20949 (more_help): New function.
20950 (argp): Use more_help.
20951 (print_version): Use PKGVERSION.
20952 * elf/sln.c (main): Use PKGVERSION.
20953 (usage): Use REPORT_BUGS_TO.
20954 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20955 (top level): Use PKGVERSION.
20956 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20957 (print_version): Use PKGVERSION.
20958 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20959 (print_version): Use PKGVERSION.
20960 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20961 (print_version): Use PKGVERSION.
20962 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20963 (print_version): Use PKGVERSION.
20964 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20965 (print_version): Use PKGVERSION.
20966 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20967 (print_version): Use PKGVERSION.
20968 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20969 and BUGURL.
20970 ($(objpfx)memusage): Likewise.
20971 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20972 (do_version): Use PKGVERSION.
20973 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20974 (print_version): Use PKGVERSION.
20975 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20976 ($PKGVERSION): New variable.
20977 ($REPORT_BUGS_TO): Likewise.
20978 (usage): Use $REPORT_BUGS_TO.
20979 (top level): Use $PKGVERSION.
20980 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
20981 ($(objpfx)pkgvers.texi): New rule.
20982 ($(objpfx)stamp-pkgvers): Likewise.
20983 * manual/install.texi: Include pkgvers.texi.
20984 (--with-pkgversion): Document new configure option.
20985 (--with-bugurl): Likewise.
20986 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
20987 than necessarily for this particular distribution. Use
20988 REPORT_BUGS_TO for where to report bugs.
20989 * INSTALL: Regenerated.
20990 * manual/libc.texinfo: Include pkgvers.texi.
20991 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
20992 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
20993 (print_version): Use PKGVERSION.
20994 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
20995 (print_version): Use PKGVERSION.
20996 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
20997 (print_version): Use PKGVERSION.
20998 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
20999 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21000 macro.
21001 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21002 (print_version): Use PKGVERSION.
21003 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21004 (print_version): Use PKGVERSION.
21005 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21006 and PKGVERSION.
21007
92e4b6a9
JM
21008 * timezone/checktab.awk: Update from tzcode 2012i.
21009 * timezone/ialloc.c: Likewise.
21010 * timezone/private.h: Likewise.
21011 * timezone/scheck.c: Likewise.
21012 * timezone/tzfile.h: Likewise.
21013 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21014 (TZVERSION): Hardcode tzcode version number.
21015 * timezone/zdump.c: Update from tzcode 2012i.
21016 * timezone/zic.c: Likewise.
21017 * timezone/version.h: New file.
21018 * timezone/README: Describe version.h. Update upstream location.
21019
9bde902c
JM
21020 [BZ #14824]
21021 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21022 (mktemp): Enable declaration.
21023 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21024 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21025 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21026 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21027 Likewise.
21028 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21029 Likewise.
21030 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21031 Likewise.
21032 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21033 Likewise.
21034 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21035 Likewise.
21036 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21037 Likewise.
21038
fb1ae1ee
JM
21039 [BZ #14821]
21040 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21041 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21042 for copies of such integer values.
21043 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21044 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21045
2c1adbcb
AJ
210462012-11-09 Andreas Jaeger <aj@suse.de>
21047
21048 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21049 definitions and declarations that are provided by
21050 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21051
d0f8457e
AK
210522012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21053
3a235abb 21054 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21055 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21056 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21057 definition.
21058
57241e26
MS
210592012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21060
21061 * elf/elf.h: Update comment before AArch64 relocations.
21062
60e8270d
DM
210632012-11-07 David S. Miller <davem@davemloft.net>
21064
21065 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21066 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21067 (__start_context): Declare.
21068 (__makecontext_ret): Delete.
21069 (__makecontext): Hook up __start_context instead of
21070 __makecontext_ret.
21071 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21072 (sysdep_routines): Add __start_context when in stdlib.
21073
0fbb0fbc
JM
210742012-11-07 Joseph Myers <joseph@codesourcery.com>
21075
21076 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21077 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21078 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21079 hardcoded "nm".
21080 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21081 (READELF): New variable. Use it instead of hardcoded "readelf".
21082
eb48db7e
L
210832012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21084
21085 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21086 * sysdeps/x86/Makefile: Here.
21087 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21088 * sysdeps/x86/tst-xmmymm.sh: This.
21089
05bcf62a
JM
210902012-11-07 Joseph Myers <joseph@codesourcery.com>
21091
c4b6cf53
JM
21092 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21093 expectations.
21094 [UNIX98] (pthread_barrier_t): Do not expect.
21095 [UNIX98] (pthread_barrierattr_t): Likewise.
21096 [UNIX98] (pthread_spinlock_t): Likewise.
21097 [UNIX98] (pthread_barrier_destroy): Likewise.
21098 [UNIX98] (pthread_barrier_init): Likewise.
21099 [UNIX98] (pthread_barrier_wait): Likewise.
21100 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21101 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21102 [UNIX98] (pthread_barrierattr_init): Likewise.
21103 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21104 [UNIX98] (pthread_getcpuclockid): Likewise.
21105 [UNIX98] (pthread_mutex_timedlock): Likewise.
21106 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21107 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21108 [UNIX98] (pthread_sigmask): Likewise.
21109 [UNIX98] (pthread_spin_destroy): Likewise.
21110 [UNIX98] (pthread_spin_init): Likewise.
21111 [UNIX98] (pthread_spin_lock): Likewise.
21112 [UNIX98] (pthread_spin_trylock): Likewise.
21113 [UNIX98] (pthread_spin_unlock): Likewise.
21114 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21115 Do not expect.
21116 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21117 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21118 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21119 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21120 [XPG3 || XPG4] (pthread_key_t): Likewise.
21121 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21122 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21123 [XPG3 || XPG4] (pthread_once_t): Likewise.
21124 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21125 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21126 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21127 [XPG3 || XPG4] (pthread_t): Likewise.
21128
cbe6e120
JM
21129 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21130 not expect.
21131 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21132
1b126443
JM
21133 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21134 Change function return type to int.
21135
b961a573
JM
21136 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21137 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21138 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21139 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21140 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21141 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21142 [!POSIX] (posix_madvise): Likewise.
21143 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21144 && !UNIX98].
21145 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21146 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21147 (mode_t): Likewise.
21148 (posix_mem_offset): Likewise.
21149 (posix_typed_mem_get_info): Likewise.
21150 (posix_typed_mem_open): Likewise.
21151
9e188909
JM
21152 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21153 Change condition to [XOPEN2K8].
21154
05bcf62a
JM
21155 * conform/conformtest.pl: Preprocess allow-header data with -x c
21156 instead of from stdin.
21157 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21158 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21159 [C99-based standards] (cerfc): Likewise.
21160 [C99-based standards] (cexp2): Likewise.
21161 [C99-based standards] (cexpm1): Likewise.
21162 [C99-based standards] (clog10): Likewise.
21163 [C99-based standards] (clog1p): Likewise.
21164 [C99-based standards] (clog2): Likewise.
21165 [C99-based standards] (clgamma): Likewise.
21166 [C99-based standards] (ctgamma): Likewise.
21167 [C99-based standards] (cerff): Likewise.
21168 [C99-based standards] (cerfcf): Likewise.
21169 [C99-based standards] (cexp2f): Likewise.
21170 [C99-based standards] (cexpm1f): Likewise.
21171 [C99-based standards] (clog10f): Likewise.
21172 [C99-based standards] (clog1pf): Likewise.
21173 [C99-based standards] (clog2f): Likewise.
21174 [C99-based standards] (clgammaf): Likewise.
21175 [C99-based standards] (ctgammaf): Likewise.
21176 [C99-based standards] (cerfl): Likewise.
21177 [C99-based standards] (cerfcl): Likewise.
21178 [C99-based standards] (cexp2l): Likewise.
21179 [C99-based standards] (cexpm1l): Likewise.
21180 [C99-based standards] (clog10l): Likewise.
21181 [C99-based standards] (clog1pl): Likewise.
21182 [C99-based standards] (clog2l): Likewise.
21183 [C99-based standards] (clgammal): Likewise.
21184 [C99-based standards] (ctgammal): Likewise.
21185 * conform/data/inttypes.h-data [C99-based standards]: Include
21186 stdint.h-data. Remove all expectations for stdint.h contents.
21187 [C99-based standards] (PRI*): Do not allow.
21188 [C99-based standards] (SCN*): Likewise.
21189 [C99-based standards] (*_t): Likewise.
21190 [C99-based-standards] (PRId8): Expect macro.
21191 [C99-based-standards] (PRIi8): Likewise.
21192 [C99-based-standards] (PRIo8): Likewise.
21193 [C99-based-standards] (PRIu8): Likewise.
21194 [C99-based-standards] (PRIx8): Likewise.
21195 [C99-based-standards] (PRIX8): Likewise.
21196 [C99-based-standards] (SCNd8): Likewise.
21197 [C99-based-standards] (SCNi8): Likewise.
21198 [C99-based-standards] (SCNo8): Likewise.
21199 [C99-based-standards] (SCNu8): Likewise.
21200 [C99-based-standards] (SCNx8): Likewise.
21201 [C99-based-standards] (PRIdLEAST8): Likewise.
21202 [C99-based-standards] (PRIiLEAST8): Likewise.
21203 [C99-based-standards] (PRIoLEAST8): Likewise.
21204 [C99-based-standards] (PRIuLEAST8): Likewise.
21205 [C99-based-standards] (PRIxLEAST8): Likewise.
21206 [C99-based-standards] (PRIXLEAST8): Likewise.
21207 [C99-based-standards] (SCNdLEAST8): Likewise.
21208 [C99-based-standards] (SCNiLEAST8): Likewise.
21209 [C99-based-standards] (SCNoLEAST8): Likewise.
21210 [C99-based-standards] (SCNuLEAST8): Likewise.
21211 [C99-based-standards] (SCNxLEAST8): Likewise.
21212 [C99-based-standards] (PRIdFAST8): Likewise.
21213 [C99-based-standards] (PRIiFAST8): Likewise.
21214 [C99-based-standards] (PRIoFAST8): Likewise.
21215 [C99-based-standards] (PRIuFAST8): Likewise.
21216 [C99-based-standards] (PRIxFAST8): Likewise.
21217 [C99-based-standards] (PRIXFAST8): Likewise.
21218 [C99-based-standards] (SCNdFAST8): Likewise.
21219 [C99-based-standards] (SCNiFAST8): Likewise.
21220 [C99-based-standards] (SCNoFAST8): Likewise.
21221 [C99-based-standards] (SCNuFAST8): Likewise.
21222 [C99-based-standards] (SCNxFAST8): Likewise.
21223 [C99-based-standards] (PRId16): Likewise.
21224 [C99-based-standards] (PRIi16): Likewise.
21225 [C99-based-standards] (PRIo16): Likewise.
21226 [C99-based-standards] (PRIu16): Likewise.
21227 [C99-based-standards] (PRIx16): Likewise.
21228 [C99-based-standards] (PRIX16): Likewise.
21229 [C99-based-standards] (SCNd16): Likewise.
21230 [C99-based-standards] (SCNi16): Likewise.
21231 [C99-based-standards] (SCNo16): Likewise.
21232 [C99-based-standards] (SCNu16): Likewise.
21233 [C99-based-standards] (SCNx16): Likewise.
21234 [C99-based-standards] (PRIdLEAST16): Likewise.
21235 [C99-based-standards] (PRIiLEAST16): Likewise.
21236 [C99-based-standards] (PRIoLEAST16): Likewise.
21237 [C99-based-standards] (PRIuLEAST16): Likewise.
21238 [C99-based-standards] (PRIxLEAST16): Likewise.
21239 [C99-based-standards] (PRIXLEAST16): Likewise.
21240 [C99-based-standards] (SCNdLEAST16): Likewise.
21241 [C99-based-standards] (SCNiLEAST16): Likewise.
21242 [C99-based-standards] (SCNoLEAST16): Likewise.
21243 [C99-based-standards] (SCNuLEAST16): Likewise.
21244 [C99-based-standards] (SCNxLEAST16): Likewise.
21245 [C99-based-standards] (PRIdFAST16): Likewise.
21246 [C99-based-standards] (PRIiFAST16): Likewise.
21247 [C99-based-standards] (PRIoFAST16): Likewise.
21248 [C99-based-standards] (PRIuFAST16): Likewise.
21249 [C99-based-standards] (PRIxFAST16): Likewise.
21250 [C99-based-standards] (PRIXFAST16): Likewise.
21251 [C99-based-standards] (SCNdFAST16): Likewise.
21252 [C99-based-standards] (SCNiFAST16): Likewise.
21253 [C99-based-standards] (SCNoFAST16): Likewise.
21254 [C99-based-standards] (SCNuFAST16): Likewise.
21255 [C99-based-standards] (SCNxFAST16): Likewise.
21256 [C99-based-standards] (PRId32): Likewise.
21257 [C99-based-standards] (PRIi32): Likewise.
21258 [C99-based-standards] (PRIo32): Likewise.
21259 [C99-based-standards] (PRIu32): Likewise.
21260 [C99-based-standards] (PRIx32): Likewise.
21261 [C99-based-standards] (PRIX32): Likewise.
21262 [C99-based-standards] (SCNd32): Likewise.
21263 [C99-based-standards] (SCNi32): Likewise.
21264 [C99-based-standards] (SCNo32): Likewise.
21265 [C99-based-standards] (SCNu32): Likewise.
21266 [C99-based-standards] (SCNx32): Likewise.
21267 [C99-based-standards] (PRIdLEAST32): Likewise.
21268 [C99-based-standards] (PRIiLEAST32): Likewise.
21269 [C99-based-standards] (PRIoLEAST32): Likewise.
21270 [C99-based-standards] (PRIuLEAST32): Likewise.
21271 [C99-based-standards] (PRIxLEAST32): Likewise.
21272 [C99-based-standards] (PRIXLEAST32): Likewise.
21273 [C99-based-standards] (SCNdLEAST32): Likewise.
21274 [C99-based-standards] (SCNiLEAST32): Likewise.
21275 [C99-based-standards] (SCNoLEAST32): Likewise.
21276 [C99-based-standards] (SCNuLEAST32): Likewise.
21277 [C99-based-standards] (SCNxLEAST32): Likewise.
21278 [C99-based-standards] (PRIdFAST32): Likewise.
21279 [C99-based-standards] (PRIiFAST32): Likewise.
21280 [C99-based-standards] (PRIoFAST32): Likewise.
21281 [C99-based-standards] (PRIuFAST32): Likewise.
21282 [C99-based-standards] (PRIxFAST32): Likewise.
21283 [C99-based-standards] (PRIXFAST32): Likewise.
21284 [C99-based-standards] (SCNdFAST32): Likewise.
21285 [C99-based-standards] (SCNiFAST32): Likewise.
21286 [C99-based-standards] (SCNoFAST32): Likewise.
21287 [C99-based-standards] (SCNuFAST32): Likewise.
21288 [C99-based-standards] (SCNxFAST32): Likewise.
21289 [C99-based-standards] (PRId64): Likewise.
21290 [C99-based-standards] (PRIi64): Likewise.
21291 [C99-based-standards] (PRIo64): Likewise.
21292 [C99-based-standards] (PRIu64): Likewise.
21293 [C99-based-standards] (PRIx64): Likewise.
21294 [C99-based-standards] (PRIX64): Likewise.
21295 [C99-based-standards] (SCNd64): Likewise.
21296 [C99-based-standards] (SCNi64): Likewise.
21297 [C99-based-standards] (SCNo64): Likewise.
21298 [C99-based-standards] (SCNu64): Likewise.
21299 [C99-based-standards] (SCNx64): Likewise.
21300 [C99-based-standards] (PRIdLEAST64): Likewise.
21301 [C99-based-standards] (PRIiLEAST64): Likewise.
21302 [C99-based-standards] (PRIoLEAST64): Likewise.
21303 [C99-based-standards] (PRIuLEAST64): Likewise.
21304 [C99-based-standards] (PRIxLEAST64): Likewise.
21305 [C99-based-standards] (PRIXLEAST64): Likewise.
21306 [C99-based-standards] (SCNdLEAST64): Likewise.
21307 [C99-based-standards] (SCNiLEAST64): Likewise.
21308 [C99-based-standards] (SCNoLEAST64): Likewise.
21309 [C99-based-standards] (SCNuLEAST64): Likewise.
21310 [C99-based-standards] (SCNxLEAST64): Likewise.
21311 [C99-based-standards] (PRIdFAST64): Likewise.
21312 [C99-based-standards] (PRIiFAST64): Likewise.
21313 [C99-based-standards] (PRIoFAST64): Likewise.
21314 [C99-based-standards] (PRIuFAST64): Likewise.
21315 [C99-based-standards] (PRIxFAST64): Likewise.
21316 [C99-based-standards] (PRIXFAST64): Likewise.
21317 [C99-based-standards] (SCNdFAST64): Likewise.
21318 [C99-based-standards] (SCNiFAST64): Likewise.
21319 [C99-based-standards] (SCNoFAST64): Likewise.
21320 [C99-based-standards] (SCNuFAST64): Likewise.
21321 [C99-based-standards] (SCNxFAST64): Likewise.
21322 [C99-based-standards] (PRIdMAX): Likewise.
21323 [C99-based-standards] (PRIiMAX): Likewise.
21324 [C99-based-standards] (PRIoMAX): Likewise.
21325 [C99-based-standards] (PRIuMAX): Likewise.
21326 [C99-based-standards] (PRIxMAX): Likewise.
21327 [C99-based-standards] (PRIXMAX): Likewise.
21328 [C99-based-standards] (SCNdMAX): Likewise.
21329 [C99-based-standards] (SCNiMAX): Likewise.
21330 [C99-based-standards] (SCNoMAX): Likewise.
21331 [C99-based-standards] (SCNuMAX): Likewise.
21332 [C99-based-standards] (SCNxMAX): Likewise.
21333 [C99-based-standards] (PRIdPTR): Likewise.
21334 [C99-based-standards] (PRIiPTR): Likewise.
21335 [C99-based-standards] (PRIoPTR): Likewise.
21336 [C99-based-standards] (PRIuPTR): Likewise.
21337 [C99-based-standards] (PRIxPTR): Likewise.
21338 [C99-based-standards] (PRIXPTR): Likewise.
21339 [C99-based-standards] (SCNdPTR): Likewise.
21340 [C99-based-standards] (SCNiPTR): Likewise.
21341 [C99-based-standards] (SCNoPTR): Likewise.
21342 [C99-based-standards] (SCNuPTR): Likewise.
21343 [C99-based-standards] (SCNxPTR): Likewise.
21344 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21345 allow.
21346 * conform/data/stdint.h-data: Update comments to clarify
21347 requirements.
21348 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21349 type.
21350 [C99-based standards] (INT8_MAX): Likewise.
21351 [C99-based standards] (INT16_MIN): Likewise.
21352 [C99-based standards] (INT16_MAX): Likewise.
21353 [C99-based standards] (INT32_MIN): Likewise.
21354 [C99-based standards] (INT32_MAX): Likewise.
21355 [C99-based standards] (INT64_MIN): Likewise.
21356 [C99-based standards] (INT64_MAX): Likewise.
21357 [C99-based standards] (UINT8_MAX): Likewise.
21358 [C99-based standards] (UINT16_MAX): Likewise.
21359 [C99-based standards] (UINT32_MAX): Likewise.
21360 [C99-based standards] (UINT64_MAX): Likewise.
21361 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21362 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21363 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21364 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21365 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21366 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21367 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21368 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21369 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21370 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21371 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21372 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21373 [C99-based standards] (INT_FAST8_MIN): Likewise.
21374 [C99-based standards] (INT_FAST8_MAX): Likewise.
21375 [C99-based standards] (INT_FAST16_MIN): Likewise.
21376 [C99-based standards] (INT_FAST16_MAX): Likewise.
21377 [C99-based standards] (INT_FAST32_MIN): Likewise.
21378 [C99-based standards] (INT_FAST32_MAX): Likewise.
21379 [C99-based standards] (INT_FAST64_MIN): Likewise.
21380 [C99-based standards] (INT_FAST64_MAX): Likewise.
21381 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21382 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21383 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21384 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21385 [C99-based standards] (INTPTR_MIN): Likewise.
21386 [C99-based standards] (INTPTR_MAX): Likewise.
21387 [C99-based standards] (UINTPTR_MAX): Likewise.
21388 [C99-based standards] (INTMAX_MIN): Likewise.
21389 [C99-based standards] (INTMAX_MAX): Likewise.
21390 [C99-based standards] (UINTMAX_MAX): Likewise.
21391 [C99-based standards] (PTRDIFF_MIN): Likewise.
21392 [C99-based standards] (PTRDIFF_MAX): Likewise.
21393 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21394 [C99-based standards] (SIZE_MAX): Likewise.
21395 [C99-based standards] (WCHAR_MAX): Likewise.
21396 [C99-based standards] (WINT_MAX): Likewise.
21397 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21398 constraint on value.
21399 [C99-based standards] (WCHAR_MIN): Likewise.
21400 [C99-based standards] (WINT_MIN): Likewise.
21401 [C99-based standards] (*_t): Allow.
21402 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21403 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21404 Include math.h-data and complex.h-data. Remove all expectations
21405 of math.h and complex.h contents.
21406 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21407 at end of line.
21408 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21409 (struct tm): Expect tag.
21410 [C99-based-standards] (wcstof): Expect function.
21411 [C99-based-standards] (wcstold): Likewise.
21412 [C99-based-standards] (wcstoll): Likewise.
21413 [C99-based-standards] (wcstoull): Likewise.
21414 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21415 macro-int-constant. Specify type.
21416 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21417 constraint on value.
21418 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21419 Specify type.
21420 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21421 Specify value.
21422 [ISO C standards]: Do not allow headers.
21423 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21424 wcs[abcdefghijklmnopqrstuvwxyz]*.
21425 [ISO C standards] (*_t): Do not allow.
21426 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21427 Expect function.
21428 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21429 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21430 Specify type.
21431 [ISO C standards]: Do not allow headers.
21432 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21433 is[abcdefghijklmnopqrstuvwxyz]*.
21434 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21435 to[abcdefghijklmnopqrstuvwxyz]*.
21436 [ISO C standards] (*_t): Do not allow.
21437 * conform/data/stdalign.h-data: New file.
21438 * conform/data/stdbool.h-data: Likewise.
21439 * conform/data/stdnoreturn.h-data: Likewise.
21440
7514feb8
RM
214412012-11-07 Roland McGrath <roland@hack.frob.com>
21442
21443 [BZ #14815]
21444 * manual/filesys.texi (Directory Entries): Typo fix.
21445 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21446
19b2ecfc
MS
214472012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21448
21449 * elf/elf.h (EM_AARCH64): New macro.
21450 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21451 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21452 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21453 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21454 (R_AARCH64_TLSDESC): Likewise.
21455 (NT_ARM_TLS): Likewise.
21456 (NT_ARM_HW_BREAK): Likewise.
21457 (NT_ARM_HW_WATCH): Likewise.
21458
60e235ee
JM
214592012-11-07 Joseph Myers <joseph@codesourcery.com>
21460
21461 [BZ #14811]
21462 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21463 (__ieee754_powl): Saturate nonzero exponents with absolute value
21464 below 0x1p-79 to +/- 0x1p-79.
21465 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21466 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21467 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21468 nonzero exponents with absolute value below 0x1p-32 to +/-
21469 0x1p-32.
21470 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21471 (__ieee754_powl): Saturate nonzero exponents with absolute value
21472 below 0x1p-79 to +/- 0x1p-79.
21473 * math/libm-test.inc (pow_test): Add more tests.
21474
0ab234b7
AK
214752012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21476
21477 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21478 _dl_s390_cap_flags with kernel. Increase string length.
21479 (_dl_s390_platforms): Add z196 and zEC12.
21480
45832f74
JM
214812012-11-07 Joseph Myers <joseph@codesourcery.com>
21482
21483 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21484 Change XOPEN21K to XOPEN2K.
21485
19218757
MK
214862012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21487
21488 * string/memmove.c: Use memcpy when possible.
21489
c5f45721
AJ
214902012-11-06 Andreas Jaeger <aj@suse.de>
21491
21492 * po/eo.po: Update from translation team.
21493
82477c28
JM
214942012-11-06 Joseph Myers <joseph@codesourcery.com>
21495
21496 [BZ #14793]
21497 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21498 exponent and small x and y exponents, scale x or y up. Increase
21499 by 2 the exponent used in scaling up.
21500 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21501 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21502 * math/libm-test.inc (fma_test): Add more tests.
21503 (fma_test_towardzero): Likewise.
21504 (fma_test_downward): Likewise.
21505 (fma_test_upward): Likewise.
21506
99252c8c
JM
215072012-11-05 Joseph Myers <joseph@codesourcery.com>
21508
acfa885f
JM
21509 [BZ #14805]
21510 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21511 fenv_t *.
21512
99252c8c
JM
21513 [BZ #14801]
21514 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21515 namespace for names of struct fields.
21516 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21517 fenv_t fields.
21518 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21519 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21520
d6d98dea
ST
215212012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21522
21523 [BZ #3665]
21524 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21525
e10bb107
TS
215262012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21527
21528 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21529 PTR_DEMANGLE.
21530
21531 [BZ #5246]
21532 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21533 PTR_DEMANGLE.
21534
a0c2940d
JM
215352012-11-04 Joseph Myers <joseph@codesourcery.com>
21536
21537 [BZ #14797]
21538 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21539 definitely overflow as x * y not x * y + z.
21540 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21541 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21542 * math/libm-test.inc (fma_test): Add more tests.
21543 (fma_test_towardzero): Likewise.
21544 (fma_test_downward): Likewise.
21545 (fma_test_upward): Likewise.
21546
b830319d
TS
215472012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21548
21549 [BZ #157]
21550
21551 * include/stub-tag.h: Remove file.
21552 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21553 '#include' of it.
21554 * manual/maint.texi (Porting): Don't reference it.
21555 * Makerules ($(objpfx)stubs): Likewise.
21556 * dirent/closedir.c: Don't include <stub-tag.h>.
21557 * dirent/dirfd.c: Likewise.
21558 * dirent/fdopendir.c: Likewise.
21559 * dirent/getdents.c: Likewise.
21560 * dirent/getdents64.c: Likewise.
21561 * dirent/opendir.c: Likewise.
21562 * dirent/readdir.c: Likewise.
21563 * dirent/readdir64.c: Likewise.
21564 * dirent/readdir64_r.c: Likewise.
21565 * dirent/readdir_r.c: Likewise.
21566 * dirent/rewinddir.c: Likewise.
21567 * dirent/seekdir.c: Likewise.
21568 * dirent/telldir.c: Likewise.
21569 * gmon/profil.c: Likewise.
21570 * grp/setgroups.c: Likewise.
21571 * inet/if_index.c: Likewise.
21572 * io/access.c: Likewise.
21573 * io/chdir.c: Likewise.
21574 * io/chmod.c: Likewise.
21575 * io/chown.c: Likewise.
21576 * io/close.c: Likewise.
21577 * io/dup.c: Likewise.
21578 * io/dup2.c: Likewise.
21579 * io/dup3.c: Likewise.
21580 * io/euidaccess.c: Likewise.
21581 * io/faccessat.c: Likewise.
21582 * io/fchdir.c: Likewise.
21583 * io/fchmod.c: Likewise.
21584 * io/fchmodat.c: Likewise.
21585 * io/fchown.c: Likewise.
21586 * io/fchownat.c: Likewise.
21587 * io/fcntl.c: Likewise.
21588 * io/flock.c: Likewise.
21589 * io/fstatfs.c: Likewise.
21590 * io/fstatfs64.c: Likewise.
21591 * io/fstatvfs.c: Likewise.
21592 * io/fstatvfs64.c: Likewise.
21593 * io/futimens.c: Likewise.
21594 * io/fxstat.c: Likewise.
21595 * io/fxstat64.c: Likewise.
21596 * io/fxstatat.c: Likewise.
21597 * io/fxstatat64.c: Likewise.
21598 * io/getcwd.c: Likewise.
21599 * io/isatty.c: Likewise.
21600 * io/lchmod.c: Likewise.
21601 * io/lchown.c: Likewise.
21602 * io/link.c: Likewise.
21603 * io/linkat.c: Likewise.
21604 * io/lseek.c: Likewise.
21605 * io/lseek64.c: Likewise.
21606 * io/lxstat64.c: Likewise.
21607 * io/mkdir.c: Likewise.
21608 * io/mkdirat.c: Likewise.
21609 * io/mkfifo.c: Likewise.
21610 * io/mkfifoat.c: Likewise.
21611 * io/open.c: Likewise.
21612 * io/open64.c: Likewise.
21613 * io/openat.c: Likewise.
21614 * io/openat64.c: Likewise.
21615 * io/pipe.c: Likewise.
21616 * io/pipe2.c: Likewise.
21617 * io/poll.c: Likewise.
21618 * io/posix_fadvise.c: Likewise.
21619 * io/posix_fadvise64.c: Likewise.
21620 * io/posix_fallocate.c: Likewise.
21621 * io/posix_fallocate64.c: Likewise.
21622 * io/read.c: Likewise.
21623 * io/readlink.c: Likewise.
21624 * io/readlinkat.c: Likewise.
21625 * io/rmdir.c: Likewise.
21626 * io/sendfile.c: Likewise.
21627 * io/sendfile64.c: Likewise.
21628 * io/statfs.c: Likewise.
21629 * io/statfs64.c: Likewise.
21630 * io/statvfs.c: Likewise.
21631 * io/statvfs64.c: Likewise.
21632 * io/symlink.c: Likewise.
21633 * io/symlinkat.c: Likewise.
21634 * io/ttyname.c: Likewise.
21635 * io/ttyname_r.c: Likewise.
21636 * io/umask.c: Likewise.
21637 * io/unlink.c: Likewise.
21638 * io/unlinkat.c: Likewise.
21639 * io/utime.c: Likewise.
21640 * io/utimensat.c: Likewise.
21641 * io/write.c: Likewise.
21642 * io/xmknod.c: Likewise.
21643 * io/xmknodat.c: Likewise.
21644 * io/xstat.c: Likewise.
21645 * io/xstat64.c: Likewise.
21646 * login/getpt.c: Likewise.
21647 * login/grantpt.c: Likewise.
21648 * login/unlockpt.c: Likewise.
21649 * math/e_acoshl.c: Likewise.
21650 * math/e_acosl.c: Likewise.
21651 * math/e_asinl.c: Likewise.
21652 * math/e_atan2l.c: Likewise.
21653 * math/e_atanhl.c: Likewise.
21654 * math/e_coshl.c: Likewise.
21655 * math/e_expl.c: Likewise.
21656 * math/e_fmodl.c: Likewise.
21657 * math/e_gammal_r.c: Likewise.
21658 * math/e_hypotl.c: Likewise.
21659 * math/e_j0l.c: Likewise.
21660 * math/e_j1l.c: Likewise.
21661 * math/e_jnl.c: Likewise.
21662 * math/e_lgammal_r.c: Likewise.
21663 * math/e_log10l.c: Likewise.
21664 * math/e_log2l.c: Likewise.
21665 * math/e_logl.c: Likewise.
21666 * math/e_powl.c: Likewise.
21667 * math/e_rem_pio2l.c: Likewise.
21668 * math/e_sinhl.c: Likewise.
21669 * math/e_sqrtl.c: Likewise.
21670 * math/fclrexcpt.c: Likewise.
21671 * math/fedisblxcpt.c: Likewise.
21672 * math/feenablxcpt.c: Likewise.
21673 * math/fegetenv.c: Likewise.
21674 * math/fegetexcept.c: Likewise.
21675 * math/fegetround.c: Likewise.
21676 * math/feholdexcpt.c: Likewise.
21677 * math/fesetenv.c: Likewise.
21678 * math/fesetround.c: Likewise.
21679 * math/feupdateenv.c: Likewise.
21680 * math/fgetexcptflg.c: Likewise.
21681 * math/fraiseexcpt.c: Likewise.
21682 * math/fsetexcptflg.c: Likewise.
21683 * math/ftestexcept.c: Likewise.
21684 * math/k_cosl.c: Likewise.
21685 * math/k_rem_pio2l.c: Likewise.
21686 * math/k_sinl.c: Likewise.
21687 * math/k_tanl.c: Likewise.
21688 * math/s_asinhl.c: Likewise.
21689 * math/s_atanl.c: Likewise.
21690 * math/s_cbrtl.c: Likewise.
21691 * math/s_erfl.c: Likewise.
21692 * math/s_expm1l.c: Likewise.
21693 * math/s_log1pl.c: Likewise.
21694 * math/s_tanhl.c: Likewise.
21695 * misc/acct.c: Likewise.
21696 * misc/brk.c: Likewise.
21697 * misc/chflags.c: Likewise.
21698 * misc/chroot.c: Likewise.
21699 * misc/fchflags.c: Likewise.
21700 * misc/fgetxattr.c: Likewise.
21701 * misc/flistxattr.c: Likewise.
21702 * misc/fremovexattr.c: Likewise.
21703 * misc/fsetxattr.c: Likewise.
21704 * misc/fsync.c: Likewise.
21705 * misc/ftruncate.c: Likewise.
21706 * misc/futimes.c: Likewise.
21707 * misc/futimesat.c: Likewise.
21708 * misc/getdomain.c: Likewise.
21709 * misc/getdtsz.c: Likewise.
21710 * misc/gethostid.c: Likewise.
21711 * misc/gethostname.c: Likewise.
21712 * misc/getloadavg.c: Likewise.
21713 * misc/getpagesize.c: Likewise.
21714 * misc/getsysstats.c: Likewise.
21715 * misc/getxattr.c: Likewise.
21716 * misc/gtty.c: Likewise.
21717 * misc/ioctl.c: Likewise.
21718 * misc/lgetxattr.c: Likewise.
21719 * misc/listxattr.c: Likewise.
21720 * misc/llistxattr.c: Likewise.
21721 * misc/lremovexattr.c: Likewise.
21722 * misc/lsetxattr.c: Likewise.
21723 * misc/lutimes.c: Likewise.
21724 * misc/madvise.c: Likewise.
21725 * misc/mincore.c: Likewise.
21726 * misc/mlock.c: Likewise.
21727 * misc/mlockall.c: Likewise.
21728 * misc/mmap.c: Likewise.
21729 * misc/mprotect.c: Likewise.
21730 * misc/msync.c: Likewise.
21731 * misc/munlock.c: Likewise.
21732 * misc/munlockall.c: Likewise.
21733 * misc/munmap.c: Likewise.
21734 * misc/preadv.c: Likewise.
21735 * misc/preadv64.c: Likewise.
21736 * misc/ptrace.c: Likewise.
21737 * misc/pwritev.c: Likewise.
21738 * misc/pwritev64.c: Likewise.
21739 * misc/readv.c: Likewise.
21740 * misc/reboot.c: Likewise.
21741 * misc/remap_file_pages.c: Likewise.
21742 * misc/removexattr.c: Likewise.
21743 * misc/revoke.c: Likewise.
21744 * misc/select.c: Likewise.
21745 * misc/setdomain.c: Likewise.
21746 * misc/setegid.c: Likewise.
21747 * misc/seteuid.c: Likewise.
21748 * misc/sethostid.c: Likewise.
21749 * misc/sethostname.c: Likewise.
21750 * misc/setregid.c: Likewise.
21751 * misc/setreuid.c: Likewise.
21752 * misc/setxattr.c: Likewise.
21753 * misc/sstk.c: Likewise.
21754 * misc/stty.c: Likewise.
21755 * misc/swapoff.c: Likewise.
21756 * misc/swapon.c: Likewise.
21757 * misc/sync.c: Likewise.
21758 * misc/syncfs.c: Likewise.
21759 * misc/syscall.c: Likewise.
21760 * misc/truncate.c: Likewise.
21761 * misc/ualarm.c: Likewise.
21762 * misc/usleep.c: Likewise.
21763 * misc/ustat.c: Likewise.
21764 * misc/utimes.c: Likewise.
21765 * misc/vhangup.c: Likewise.
21766 * misc/writev.c: Likewise.
21767 * posix/_exit.c: Likewise.
21768 * posix/alarm.c: Likewise.
21769 * posix/execve.c: Likewise.
21770 * posix/fexecve.c: Likewise.
21771 * posix/fork.c: Likewise.
21772 * posix/fpathconf.c: Likewise.
21773 * posix/getaddrinfo.c: Likewise.
21774 * posix/getegid.c: Likewise.
21775 * posix/geteuid.c: Likewise.
21776 * posix/getgid.c: Likewise.
21777 * posix/getgroups.c: Likewise.
21778 * posix/getlogin.c: Likewise.
21779 * posix/getlogin_r.c: Likewise.
21780 * posix/getpgid.c: Likewise.
21781 * posix/getpid.c: Likewise.
21782 * posix/getppid.c: Likewise.
21783 * posix/getresgid.c: Likewise.
21784 * posix/getresuid.c: Likewise.
21785 * posix/getsid.c: Likewise.
21786 * posix/getuid.c: Likewise.
21787 * posix/glob64.c: Likewise.
21788 * posix/nanosleep.c: Likewise.
21789 * posix/pathconf.c: Likewise.
21790 * posix/pause.c: Likewise.
21791 * posix/posix_madvise.c: Likewise.
21792 * posix/pread.c: Likewise.
21793 * posix/pread64.c: Likewise.
21794 * posix/pwrite.c: Likewise.
21795 * posix/pwrite64.c: Likewise.
21796 * posix/sched_getaffinity.c: Likewise.
21797 * posix/sched_getp.c: Likewise.
21798 * posix/sched_gets.c: Likewise.
21799 * posix/sched_primax.c: Likewise.
21800 * posix/sched_primin.c: Likewise.
21801 * posix/sched_rr_gi.c: Likewise.
21802 * posix/sched_setaffinity.c: Likewise.
21803 * posix/sched_setp.c: Likewise.
21804 * posix/sched_sets.c: Likewise.
21805 * posix/sched_yield.c: Likewise.
21806 * posix/setgid.c: Likewise.
21807 * posix/setlogin.c: Likewise.
21808 * posix/setpgid.c: Likewise.
21809 * posix/setresgid.c: Likewise.
21810 * posix/setresuid.c: Likewise.
21811 * posix/setsid.c: Likewise.
21812 * posix/setuid.c: Likewise.
21813 * posix/sleep.c: Likewise.
21814 * posix/spawni.c: Likewise.
21815 * posix/sysconf.c: Likewise.
21816 * posix/times.c: Likewise.
21817 * posix/wait.c: Likewise.
21818 * posix/wait3.c: Likewise.
21819 * posix/wait4.c: Likewise.
21820 * posix/waitpid.c: Likewise.
21821 * resolv/gai_sigqueue.c: Likewise.
21822 * resource/getpriority.c: Likewise.
21823 * resource/getrlimit.c: Likewise.
21824 * resource/getrusage.c: Likewise.
21825 * resource/nice.c: Likewise.
21826 * resource/setpriority.c: Likewise.
21827 * resource/setrlimit.c: Likewise.
21828 * resource/ulimit.c: Likewise.
21829 * rt/aio_cancel.c: Likewise.
21830 * rt/aio_fsync.c: Likewise.
21831 * rt/aio_read.c: Likewise.
21832 * rt/aio_sigqueue.c: Likewise.
21833 * rt/aio_suspend.c: Likewise.
21834 * rt/aio_write.c: Likewise.
21835 * rt/clock_getres.c: Likewise.
21836 * rt/clock_gettime.c: Likewise.
21837 * rt/clock_nanosleep.c: Likewise.
21838 * rt/clock_settime.c: Likewise.
21839 * rt/lio_listio.c: Likewise.
21840 * rt/mq_close.c: Likewise.
21841 * rt/mq_getattr.c: Likewise.
21842 * rt/mq_notify.c: Likewise.
21843 * rt/mq_open.c: Likewise.
21844 * rt/mq_receive.c: Likewise.
21845 * rt/mq_send.c: Likewise.
21846 * rt/mq_setattr.c: Likewise.
21847 * rt/mq_timedreceive.c: Likewise.
21848 * rt/mq_timedsend.c: Likewise.
21849 * rt/mq_unlink.c: Likewise.
21850 * rt/shm_open.c: Likewise.
21851 * rt/shm_unlink.c: Likewise.
21852 * rt/timer_create.c: Likewise.
21853 * rt/timer_delete.c: Likewise.
21854 * rt/timer_getoverr.c: Likewise.
21855 * rt/timer_gettime.c: Likewise.
21856 * rt/timer_settime.c: Likewise.
21857 * setjmp/__longjmp.c: Likewise.
21858 * setjmp/setjmp.c: Likewise.
21859 * signal/kill.c: Likewise.
21860 * signal/killpg.c: Likewise.
21861 * signal/raise.c: Likewise.
21862 * signal/sigaction.c: Likewise.
21863 * signal/sigaltstack.c: Likewise.
21864 * signal/sigblock.c: Likewise.
21865 * signal/sigignore.c: Likewise.
21866 * signal/sigintr.c: Likewise.
21867 * signal/signal.c: Likewise.
21868 * signal/sigpause.c: Likewise.
21869 * signal/sigpending.c: Likewise.
21870 * signal/sigqueue.c: Likewise.
21871 * signal/sigreturn.c: Likewise.
21872 * signal/sigset.c: Likewise.
21873 * signal/sigsetmask.c: Likewise.
21874 * signal/sigstack.c: Likewise.
21875 * signal/sigsuspend.c: Likewise.
21876 * signal/sigtimedwait.c: Likewise.
21877 * signal/sigvec.c: Likewise.
21878 * signal/sigwait.c: Likewise.
21879 * signal/sigwaitinfo.c: Likewise.
21880 * signal/sysv_signal.c: Likewise.
21881 * socket/accept.c: Likewise.
21882 * socket/accept4.c: Likewise.
21883 * socket/bind.c: Likewise.
21884 * socket/connect.c: Likewise.
21885 * socket/getpeername.c: Likewise.
21886 * socket/getsockname.c: Likewise.
21887 * socket/getsockopt.c: Likewise.
21888 * socket/isfdtype.c: Likewise.
21889 * socket/listen.c: Likewise.
21890 * socket/recv.c: Likewise.
21891 * socket/recvfrom.c: Likewise.
21892 * socket/recvmsg.c: Likewise.
21893 * socket/send.c: Likewise.
21894 * socket/sendmsg.c: Likewise.
21895 * socket/sendto.c: Likewise.
21896 * socket/setsockopt.c: Likewise.
21897 * socket/shutdown.c: Likewise.
21898 * socket/sockatmark.c: Likewise.
21899 * socket/socket.c: Likewise.
21900 * socket/socketpair.c: Likewise.
21901 * stdio-common/ctermid.c: Likewise.
21902 * stdio-common/cuserid.c: Likewise.
21903 * stdio-common/remove.c: Likewise.
21904 * stdio-common/rename.c: Likewise.
21905 * stdio-common/renameat.c: Likewise.
21906 * stdio-common/tempname.c: Likewise.
21907 * stdlib/getcontext.c: Likewise.
21908 * stdlib/makecontext.c: Likewise.
21909 * stdlib/setcontext.c: Likewise.
21910 * stdlib/swapcontext.c: Likewise.
21911 * stdlib/system.c: Likewise.
21912 * streams/fattach.c: Likewise.
21913 * streams/fdetach.c: Likewise.
21914 * streams/getmsg.c: Likewise.
21915 * streams/getpmsg.c: Likewise.
21916 * streams/putmsg.c: Likewise.
21917 * streams/putpmsg.c: Likewise.
21918 * sysdeps/unix/bsd/getpt.c: Likewise.
21919 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21920 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21921 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21923 Likewise.
21924 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21925 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21926 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21927 * sysvipc/msgctl.c: Likewise.
21928 * sysvipc/msgget.c: Likewise.
21929 * sysvipc/msgrcv.c: Likewise.
21930 * sysvipc/msgsnd.c: Likewise.
21931 * sysvipc/semctl.c: Likewise.
21932 * sysvipc/semget.c: Likewise.
21933 * sysvipc/semop.c: Likewise.
21934 * sysvipc/semtimedop.c: Likewise.
21935 * sysvipc/shmat.c: Likewise.
21936 * sysvipc/shmctl.c: Likewise.
21937 * sysvipc/shmdt.c: Likewise.
21938 * sysvipc/shmget.c: Likewise.
21939 * termios/tcdrain.c: Likewise.
21940 * termios/tcflow.c: Likewise.
21941 * termios/tcflush.c: Likewise.
21942 * termios/tcgetattr.c: Likewise.
21943 * termios/tcgetpgrp.c: Likewise.
21944 * termios/tcsendbrk.c: Likewise.
21945 * termios/tcsetattr.c: Likewise.
21946 * termios/tcsetpgrp.c: Likewise.
21947 * time/adjtime.c: Likewise.
21948 * time/clock.c: Likewise.
21949 * time/getitimer.c: Likewise.
21950 * time/gettimeofday.c: Likewise.
21951 * time/setitimer.c: Likewise.
21952 * time/settimeofday.c: Likewise.
21953 * time/stime.c: Likewise.
21954 * time/time.c: Likewise.
21955
219562012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21957
a20492cf
PT
21958 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21959 /usr/old/bin.
21960
72e182e3
PT
21961 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21962 instead of spaces.
21963 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21964
fbeafede
JM
219652012-11-03 Joseph Myers <joseph@codesourcery.com>
21966
5b5b04d6
JM
21967 [BZ #14796]
21968 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21969 FE_TONEAREST before applying Dekker multiplication and Knuth
21970 addition. Clear inexact exceptions and check for exact zero
21971 results afterwards.
21972 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21973 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21974 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21975 * math/libm-test.inc (fma_test): Add more tests.
21976 (fma_test_towardzero): Likewise.
21977 (fma_test_downward): Likewise.
21978 (fma_test_upward): Likewise.
21979 * sysdeps/generic/math_private.h (default_libc_fesetround): New
21980 function.
21981 (libc_fesetround): New macro.
21982 (libc_fesetroundf): Likewise.
21983 (libc_fesetroundl): Likewise.
21984 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
21985 function.
21986 (libc_fesetround_387): Likewise.
21987 (libc_fesetroundf): New macro.
21988 (libc_fesetround): Likewise.
21989 (libc_fesetroundl): Likewise.
21990 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
21991 function.
21992 (libc_fesetroundf): New macro.
21993 (libc_fesetround): Likewise.
21994 (libc_fesetroundl): Likewise.
21995 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
21996 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
21997 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
21998 libm_hidden_ver.
21999 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22000 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22001 libm_hidden_def.
22002 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22003 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22004 libm_hidden_ver.
22005 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22006 libm_hidden_def.
22007
fbeafede
JM
22008 [BZ #3439]
22009 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22010 integer constant usable in #if and use that to give value to enum
22011 constant.
22012 (FE_DIVBYZERO): Likewise.
22013 (FE_UNDERFLOW): Likewise.
22014 (FE_OVERFLOW): Likewise.
22015 (FE_INVALID): Likewise.
22016 (FE_INVALID_SNAN): Likewise.
22017 (FE_INVALID_ISI): Likewise.
22018 (FE_INVALID_IDI): Likewise.
22019 (FE_INVALID_ZDZ): Likewise.
22020 (FE_INVALID_IMZ): Likewise.
22021 (FE_INVALID_COMPARE): Likewise.
22022 (FE_INVALID_SOFTWARE): Likewise.
22023 (FE_INVALID_SQRT): Likewise.
22024 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22025 (FE_TONEAREST): Likewise.
22026 (FE_TOWARDZERO): Likewise.
22027 (FE_UPWARD): Likewise.
22028 (FE_DOWNWARD): Likewise.
22029 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22030 (FE_DIVBYZERO): Likewise.
22031 (FE_OVERFLOW): Likewise.
22032 (FE_UNDERFLOW): Likewise.
22033 (FE_INEXACT): Likewise.
22034 (FE_TONEAREST): Likewise.
22035 (FE_DOWNWARD): Likewise.
22036 (FE_UPWARD): Likewise.
22037 (FE_TOWARDZERO): Likewise.
22038 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22039 (FE_UNDERFLOW): Likewise.
22040 (FE_OVERFLOW): Likewise.
22041 (FE_DIVBYZERO): Likewise.
22042 (FE_INVALID): Likewise.
22043 (FE_TONEAREST): Likewise.
22044 (FE_TOWARDZERO): Likewise.
22045 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22046 (FE_OVERFLOW): Likewise.
22047 (FE_UNDERFLOW): Likewise.
22048 (FE_DIVBYZERO): Likewise.
22049 (FE_INEXACT): Likewise.
22050 (FE_TONEAREST): Likewise.
22051 (FE_TOWARDZERO): Likewise.
22052 (FE_UPWARD): Likewise.
22053 (FE_DOWNWARD): Likewise.
22054 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22055 (FE_DIVBYZERO): Likewise.
22056 (FE_OVERFLOW): Likewise.
22057 (FE_UNDERFLOW): Likewise.
22058 (FE_INEXACT): Likewise.
22059 (FE_TONEAREST): Likewise.
22060 (FE_DOWNWARD): Likewise.
22061 (FE_UPWARD): Likewise.
22062 (FE_TOWARDZERO): Likewise.
22063
105ca950
CM
220642012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22065
22066 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22067
a542b389
AS
220682012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22069
22070 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22071 commands. Quote $PWD.
22072 (blacklist_exports): Don't use remove_newlines. Replace "declare
22073 -x" by "export".
22074 (remove_newlines): Remove.
22075
f62c8abc
L
220762012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22077
22078 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22079 * stdlib/stdlib.h (atof): Moved to ...
22080 * include/bits/stdlib-float.h: Here. New file.
22081 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22082 * stdlib/bits/stdlib-float.h: New file.
22083 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22084 -mno-sse -mno-mmx.
22085 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22086 <xmmintrin.h>.
22087
0155d5b2
JM
220882012-11-02 Joseph Myers <joseph@codesourcery.com>
22089
a68d0680
JM
22090 * conform/conformtest.pl (@headers): Add fenv.h.
22091 * conform/data/fenv.h-data: New file.
22092 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22093 include of <math/fenv.h>.
22094
caf7f573
JM
22095 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22096 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22097 && !UNIX98]. Enables tests for XOPEN2K8.
22098 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22099 POSIX2008]: Likewise.
22100
6c073ad6
JM
22101 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22102 (struct rusage): Do not expect type or its members.
22103
0155d5b2
JM
22104 [BZ #3439]
22105 * math/math.h (FP_NAN): Define macro to integer constant usable in
22106 #if and use that to give value to enum constant.
22107 (FP_INFINITE): Likewise.
22108 (FP_ZERO): Likewise.
22109 (FP_SUBNORMAL): Likewise.
22110 (FP_NORMAL): Likewise.
22111
b5dcacb4
AS
221122012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22113
22114 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22115 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22116 arguments.
22117
f7934be8
RM
221182012-11-02 Roland McGrath <roland@hack.frob.com>
22119
22120 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22121 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22122 autoconf-time if not.
22123 * configure.in: Remove AC_PREREQ.
22124
d7d08bde
TMQMF
221252012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22126
22127 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22128 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22129 of the internal implementation.
22130
dcdae19a
JM
221312012-11-02 Joseph Myers <joseph@codesourcery.com>
22132
22133 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22134 except include of <misc/sys/syslog.h>.
22135
d6cffd3e
AS
221362012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22137
22138 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22139 function returns with a NULL context exit with zero.
22140
b3563932
TMQMF
221412012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22142
22143 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22144
b288a93d
L
221452012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22146
22147 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22148 (run_program_cmd): This.
22149 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22150 (tst_langinfo): New variable. Use it.
22151
a2421a68
SAS
221522012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22153
22154 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22155 floating point opcodes.
22156
6f796e1b
TS
221572012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22158
7402596b
TS
22159 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22160 variable.
22161
d0d4f868
TS
22162 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22163
6f796e1b
TS
22164 * sysdeps/mach/hurd/powerpc: Remove directory.
22165 * sysdeps/mach/powerpc: Likewise.
22166
4da224a2
AS
221672012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22168
22169 * scripts/check-local-headers.sh: Ignore c++ headers.
22170
341dd673
TS
221712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22172
22173 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22174 __libc_cleanup_region_start argument.
22175
473611b2
JM
221762012-11-01 Joseph Myers <joseph@codesourcery.com>
22177
22178 [BZ #14784]
22179 [BZ #14785]
22180 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22181 x * y using scaling, not as x * y + z.
22182 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22183 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22184 * math/libm-test.inc (fma_test): Add more tests.
22185 (fma_test_towardzero): Likewise.
22186 (fma_test_downward): Likewise.
22187 (fma_test_upward): Likewise.
22188
4078da3d
TS
221892012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22190
22191 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22192
903252aa
JM
221932012-10-31 Joseph Myers <joseph@codesourcery.com>
22194
22195 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22196 New variable.
22197
cbc818d0
TS
221982012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22199
22200 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22201
5a03cb1e
AS
222022012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22203
22204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22205 Fix sort order.
22206 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22207 Likewise.
22208
90aff2ff
TMQMF
222092012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22210
22211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22212 Fix the order of the list for glibc 2.17.
22213 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22214 Likewise.
22215
1818fcb7
AS
222162012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22217
22218 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22219
ef82f4da
JM
222202012-10-31 Joseph Myers <joseph@codesourcery.com>
22221
16a0e2ec
JM
22222 [BZ #14610]
22223 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22224 for low part of x being zero before using __atanl (y).
22225 * math/libm-test.inc (atan2_test): Add another test.
22226
0eb69512
JM
22227 * manual/install.texi (Configuring and compiling): Document
22228 general use of test-wrapper and test-wrapper-env.
22229 * INSTALL: Regenerated.
22230
ef82f4da
JM
22231 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22232 (__fma): Do not extract and scale down low bits on after-rounding
22233 systems when result rounded to normal precision would have normal
22234 exponent.
22235 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22236 (__fmal): Do not extract and scale down low bits on after-rounding
22237 systems when result rounded to normal precision would have normal
22238 exponent.
22239 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22240 (__fmal): Do not extract and scale down low bits on after-rounding
22241 systems when result rounded to normal precision would have normal
22242 exponent.
22243 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22244 macro.
22245 (fma_test): Add more tests.
22246 (fma_test_towardzero): Likewise.
22247 (fma_test_downward): Likewise.
22248 (fma_test_upward): Likewise.
22249
954ef0d9
L
222502012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22251
22252 * sysdeps/i386/tininess.h: Renamed to ...
22253 * sysdeps/x86/tininess.h: This.
22254 * sysdeps/x86_64/tininess.h: Removed.
22255
df61ffb2
JM
222562012-10-30 Joseph Myers <joseph@codesourcery.com>
22257
22258 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22259 input. Use $(build-program-cmd).
22260 ($(objpfx)tst-array1-static.out): Likewise.
22261 ($(objpfx)tst-array2.out): Likewise.
22262 ($(objpfx)tst-array3.out): Likewise.
22263 ($(objpfx)tst-array4.out): Likewise.
22264 ($(objpfx)tst-array5.out): Likewise.
22265 ($(objpfx)tst-array5-static.out): Likewise.
22266
01767843
CM
222672012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22268
47cc1490
CM
22269 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22270 if defined.
22271
01767843
CM
22272 * nss/nsswitch.h (nss_interface_function): Provide new
22273 macro for use with NSS functions.
22274 * grp/initgroups.c: Use new macro.
22275 * nss/getXXbyYY.c: Likewise.
22276 * nss/getXXbyYY_r.c: Likewise.
22277 * nss/getXXent.c: Likewise.
22278 * nss/getXXent_r.c: Likewise.
22279 * sysdeps/posix/getaddrinfo.c: Likewise.
22280
8321aa97
AJ
222812012-10-30 Andreas Jaeger <aj@suse.de>
22282
22283 * po/ru.po: Update Russion translation from translation project.
22284
2a27fd6d
JM
222852012-10-30 Joseph Myers <joseph@codesourcery.com>
22286
8627a232
JM
22287 [BZ #14152]
22288 [BZ #14783]
22289 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22290 result and shift together with sticky bit instead of replicating
22291 round-to-nearest rounding.
22292 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22293 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22294 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22295 missing underflow exceptions.
22296 (fma_test_towardzero): Add more tests.
22297 (fma_test_downward): Likewise.
22298 (fma_test_upward): Likewise.
22299
2a27fd6d
JM
22300 [BZ #14047]
22301 * sysdeps/generic/tininess.h: New file.
22302 * sysdeps/i386/tininess.h: Likewise.
22303 * sysdeps/sh/tininess.h: Likewise.
22304 * sysdeps/x86_64/tininess.h: Likewise.
22305 * stdlib/tst-strtod-underflow.c: Likewise.
22306 * stdlib/tst-tininess.c: Likewise.
22307 * stdlib/strtod_l.c: Include <tininess.h>.
22308 (round_and_return): Do not set errno for exact underflow cases.
22309 Force an underflow exception when setting errno for underflow.
22310 Determine underflow based on rounding to normal precision if
22311 TININESS_AFTER_ROUNDING.
22312 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22313 ERANGE for exact underflow cases.
22314 * stdlib/Makefile (tests): Add tst-tininess and
22315 tst-strtod-underflow.
22316 ($(objpfx)tst-tininess): Use $(link-libm).
22317 ($(objpfx)tst-strtod-underflow): Likewise.
22318
e7170363
AJ
223192012-10-30 Andreas Jaeger <aj@suse.de>
22320
e5088dc6
AJ
22321 [BZ#14767]
22322 * elf/Makefile (tests): Remove conditional for have-initfini-array
22323 since this is now always required and the variable does not exist
22324 anymore.
22325 (tests-static): Likewise.
22326 (modules-names): Likewise.
22327
e7170363 22328 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22329
22330 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22331 merged with constructor/destructor.
22332 (init_array): Likewise.
22333 * elf/tst-array2dep.c (fini_array): Likewise.
22334 (init_array): Likewise.
22335
60457d8a
MF
223362012-10-29 Mike Frysinger <vapier@gentoo.org>
22337
22338 * manual/message.texi: Delete @cartouche tags.
22339
8bece752
PT
223402012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22341
94ce799f
PT
22342 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22343 EOPNOTSUPP.
22344 * sysdeps/mach/hurd/fsync.c: Likewise.
22345
8bece752
PT
22346 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22347 [_POSIX_REALTIME_SIGNALS]: Change condition to
22348 [_POSIX_REALTIME_SIGNALS > 0].
22349
86ebe6b1
AJ
223502012-10-27 Andreas Jaeger <aj@suse.de>
22351
22352 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22353 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22354 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22355 [__WORDSIZE != 64]: Likewise.
22356
54399c08
L
223572012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22358
22359 * iconvdata/tst-table.sh: Remove ${SHELL}.
22360 * iconvdata/tst-tables.sh: Likewise.
22361
e2211bed
DM
223622012-10-25 David S. Miller <davem@davemloft.net>
22363
22364 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22365 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22366 of strtoull.
22367
f303f97c
DM
22368 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22369 ifunc-impl-list.c
22370 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22371 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22372 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22373 file.
22374
1e9d84cd
RM
223752012-10-25 Roland McGrath <roland@hack.frob.com>
22376
22377 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22378 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22379 __getdirentries.
22380
df381762
JM
223812012-10-25 Joseph Myers <joseph@codesourcery.com>
22382 Jim Blandy <jimb@codesourcery.com>
22383
22384 * scripts/cross-test-ssh.sh: New file.
22385 * manual/install.texi (Configuring and compiling): Document use of
22386 cross-test-ssh.sh.
22387 * INSTALL: Regenerated.
22388
bff64913
PT
223892012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22390
22391 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22392 EOPNOTSUPP.
22393
25fe8932
JM
223942012-10-25 Joseph Myers <joseph@codesourcery.com>
22395
22396 * Makeconfig (run-program-prefix): Fix comment.
22397
cc1290d0
JM
223982012-10-24 Joseph Myers <joseph@codesourcery.com>
22399 Jim Blandy <jimb@codesourcery.com>
22400
22401 * Makeconfig (test-wrapper): New variable,
22402 (test-wrapper-env): Likewise.
22403 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22404 (run-built-tests): Define to yes.
22405 (run-program-prefix): Use $(test-wrapper).
22406 (built-program-cmd): Likewise.
22407 * Rules (make-test-out): Use $(test-wrapper-env) and
22408 $(host-built-program-cmd).
22409 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22410 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22411 tst-pathopt.sh.
22412 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22413 $(test-wrapper-env) to tst-rtld-load-self.sh.
22414 ($(objpfx)order2.out): Use $(test-wrapper).
22415 ($(objpfx)tst-initorder.out): Likewise.
22416 ($(objpfx)tst-initorder2.out): Likewise.
22417 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22418 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22419 (test_wrapper_env): New variable. Use it to run ld.so.
22420 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22421 Use it to run ld.so.
22422 (test_wrapper_env): Likewise.
22423 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22424 $(test-wrapper) to run-iconv-test.sh.
22425 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22426 (ICONV): Use $test_wrapper.
22427 * posix/Makefile ($(objpfx)globtest.out): Pass
22428 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22429 globtest.sh, not $(run-program-prefix).
22430 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22431 (test_wrapper): Likewise.
22432 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22433 set together with run_via_rtld_prefix.
22434 (run_program_prefix): Define in terms of test_wrapper and
22435 run_via_rtld_prefix.
22436
6e6249d0
RM
224372012-10-24 Roland McGrath <roland@hack.frob.com>
22438
22439 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22440 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22441 Targets removed.
22442
22443 [BZ #14743]
22444 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22445 Declare __clock_getres, __clock_gettime, __clock_settime,
22446 __clock_nanosleep, and __clock_getcpuclockid.
22447 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22448 Remove librt_hidden_def (clock_gettime).
22449 * sysdeps/unix/clock_gettime.c: Likewise.
22450 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22451 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22452 * rt/clock_getres.c: Define __clock_getres as an alias.
22453 * sysdeps/posix/clock_getres.c: Likewise.
22454 * rt/clock_settime.c: Define __clock_settime as an alias.
22455 * sysdeps/unix/clock_settime.c: Likewise.
22456 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22457 * sysdeps/unix/clock_nanosleep.c: Likewise.
22458 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22459 * rt/clock-compat.c: New file.
22460 * rt/Makefile (librt-routines): Add clock-compat and move
22461 $(clock-routines) to ...
22462 (routines): ... here, new variable.
22463 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22464 Don't add get_clockfreq here.
22465 * rt/Versions (libc: GLIBC_2.17): New version set.
22466 Add clock_* symbols here.
22467 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22468 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22469 (GLIBC_2.17): Add clock_* symbols.
22470 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22471 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22472 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22474 Likewise.
22475 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22476 Likewise.
22477 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22478 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22479 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22480 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22481 * NEWS: Mention the move.
22482
22483 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22484 Use __open, __read, __close rather than their public counterparts.
22485 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22486 (__get_clockfreq_via_cpuinfo): Likewise.
22487 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22488 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22489
22490 * config.h.in (HAVE_IFUNC): New #undef.
22491 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22492 was successful.
22493 * configure: Regenerated.
22494
0cae3f4b
MF
224952012-10-24 Mike Frysinger <vapier@gentoo.org>
22496
22497 * configure.in: Move READELF check to start of file.
22498 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22499 libc_cv_asm_gnu_indirect_function in the process.
22500 * configure: Regenerated.
22501
8175a253
MF
225022012-10-24 Mike Frysinger <vapier@gentoo.org>
22503
22504 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22505 send the output to /dev/null.
22506 (libc_cv_cc_with_libunwind): Likewise.
22507 (libc_cv_as_noexecstack): Likewise.
22508 * configure: Regenerate.
22509
0708a7d1
JM
225102012-10-24 Joseph Myers <joseph@codesourcery.com>
22511
10b40d85
JM
22512 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22513
0708a7d1
JM
22514 * posix/globtest.sh (TMPDIR): Do not set.
22515 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22516 (testout): Likewise.
22517
9fddec1a
AJ
225182012-10-24 Andreas Jaeger <aj@suse.de>
22519
3a8db22f
AJ
22520 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22521 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22522 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22523 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22524 posix_fadvise64, posix_fallocate64.
22525
9fddec1a
AJ
22526 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22527 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22528 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22529 Likewise.
22530 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22531 Likewise.
22532 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22533
22534 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22535 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22536 <bits/fcntl-linux.h>.
22537 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22538
22539 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22540 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22541 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22542 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22543 [__WORDSIZE != 64]: Likewise.
22544
ebfd1bbd
JM
225452012-10-23 Joseph Myers <joseph@codesourcery.com>
22546
03ac099f
JM
22547 * Makeconfig (run-built-tests): New variable.
22548 * Rules [$(cross-compiling) = yes]: Change condition to
22549 [$(run-built-tests) = no].
22550 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22551 to [$(run-built-tests) = yes].
22552 * elf/Makefile [$(cross-compiling) = no]: Likewise
22553 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22554 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22555 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22556 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22557 * io/Makefile [$(cross-compiling) = no]: Likewise.
22558 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22559 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22560 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22561 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22562 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22563 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22564 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22565 * string/Makefile [$(cross-compiling) = no]: Likewise.
22566
ebfd1bbd
JM
22567 * posix/Makefile ($(objpfx)globtest.out): Pass
22568 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22569 $(rtld-installed-name).
22570 * posix/globtest.sh (elf_objpfx): Remove variable.
22571 (rtld_installed_name): Likewise.
22572 (library_path): Likewise.
22573 (run_program_prefix): New variable. Use for running globtest
22574 binary.
22575
166bca24
JB
225762012-10-23 Jim Blandy <jimb@codesourcery.com>
22577 Joseph Myers <joseph@codesourcery.com>
22578
22579 * Makeconfig (host-built-program-cmd): New variable.
22580 * elf/Makefile (tst-stackguard1-ARGS): Use
22581 $(host-built-program-cmd).
22582 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22583 (tst-spawn-ARGS): Likewise.
22584 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22585
88866099
JM
225862012-10-23 Joseph Myers <joseph@codesourcery.com>
22587 Jim Blandy <jimb@codesourcery.com>
22588
22589 * Makeconfig (run-via-rtld-prefix): New variable.
22590 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22591 (built-program-cmd): Likewise.
22592
b4b4c296
AJ
225932012-10-22 Andreas Jaeger <aj@suse.de>
22594
22595 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22596 __O_RSYNC if it exists, otherwise to O_SYNC.
22597
6fb54a22
JB
225982012-10-22 Jim Blandy <jimb@codesourcery.com>
22599 Joseph Myers <joseph@codesourcery.com>
22600
22601 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22602 /dev/null.
22603 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22604 from /dev/null
22605 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22606 /dev/null.
22607
481b90b9
AJ
226082012-10-22 Andreas Jaeger <aj@suse.de>
22609
2a0e2669
AJ
22610 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22611 Define always.
22612 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22613
76e38f9a
AJ
22614 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22615 bits/fcntl-linux.h.
22616
7cd37b43
AJ
22617 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22618 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22619
481b90b9
AJ
22620 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22621 to __O_LARGEFILE.
22622 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22623 to __O_LARGEFILE.
22624
aba75984
JB
226252012-10-21 Jim Blandy <jimb@codesourcery.com>
22626 Joseph Myers <joseph@codesourcery.com>
22627
22628 * config.make.in (NM): New variable.
22629
88d4247f
AJ
226302012-10-21 Andreas Jaeger <aj@suse.de>
22631
22632 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22633 definitions and declarations that are provided by
22634 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22635
f2eed205
L
226362012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22637
22638 [BZ #14683]
22639 * elf/Makefile (tests-static): Add tst-leaks1-static.
22640 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22641 ($(objpfx)tst-leaks1-static): New rule.
22642 ($(objpfx)tst-leaks1-static-mem): Likewise.
22643 (tst-leaks1-static-ENV): New macro.
22644 * elf/dl-open.c (dl_open_worker): Check the main application
22645 only if SHARED is defined.
22646 * elf/tst-leaks1-static.c: New file.
22647
335e6931
AJ
226482012-10-20 Andreas Jaeger <aj@suse.de>
22649
22650 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22651 generic values for Linux.
22652 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22653 and declarations that are provided by <bits/fcntl-linux.h> and
22654 include <bits/fcntl-linux.h>.
22655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22656 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22657
ac5c94d3
RM
226582012-10-20 Roland McGrath <roland@hack.frob.com>
22659
22660 * io/fcntl.h: Move include of <bits/types.h> to the top and
22661 include it unconditionally.
22662
de54b33a
L
226632012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22664
228cfb01
L
22665 * wcsmbs/Makefile (tests-ifunc): New variable.
22666 (tests): Add $(tests-ifunc).
22667 * wcsmbs/test-wcschr-ifunc.c: New file.
22668 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22669 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22670 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22671 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22672 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22673
69f07e5f
L
22674 * string/Makefile (tests-ifunc): New variable.
22675 (tests): Add $(tests-ifunc).
22676 * string/test-memccpy.c (TEST_NAME): New macro.
22677 * string/test-memchr.c (TEST_NAME): Likewise.
22678 * string/test-memcmp.c (TEST_NAME): Likewise.
22679 * string/test-memcpy.c (TEST_NAME): Likewise.
22680 * string/test-memmem.c (TEST_NAME): Likewise.
22681 * string/test-memmove.c (TEST_NAME): Likewise.
22682 * string/test-memset.c (TEST_NAME): Likewise.
22683 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22684 * string/test-stpcpy.c (TEST_NAME): Likewise.
22685 * string/test-stpncpy.c (TEST_NAME): Likewise.
22686 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22687 * string/test-strcasestr.c (TEST_NAME): Likewise.
22688 * string/test-strcat.c (TEST_NAME): Likewise.
22689 * string/test-strchr.c (TEST_NAME): Likewise.
22690 * string/test-strcmp.c(TEST_NAME): Likewise.
22691 * string/test-strcpy.c (TEST_NAME): Likewise.
22692 * string/test-strcspn.c (TEST_NAME): Likewise.
22693 * string/test-strlen.c (TEST_NAME): Likewise.
22694 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22695 * string/test-strncmp.c (TEST_NAME): Likewise.
22696 * string/test-strncpy.c (TEST_NAME): Likewise.
22697 * string/test-strnlen.c (TEST_NAME): Likewise.
22698 * string/test-strpbrk.c (TEST_NAME): Likewise.
22699 * string/test-strrchr.c (TEST_NAME): Likewise.
22700 * string/test-strspn.c (TEST_NAME): Likewise.
22701 * string/test-strstr.c (TEST_NAME): Likewise.
22702 * string/test-bcopy-ifunc.c: New file.
22703 * string/test-bzero-ifunc.c: Likewise.
22704 * string/test-memccpy-ifunc.c: Likewise.
22705 * string/test-memchr-ifunc.c: Likewise.
22706 * string/test-memcmp-ifunc.c: Likewise.
22707 * string/test-memcpy-ifunc.c: Likewise.
22708 * string/test-memmem-ifunc.c: Likewise.
22709 * string/test-memmove-ifunc.c: Likewise.
22710 * string/test-mempcpy-ifunc.c: Likewise.
22711 * string/test-memset-ifunc.c: Likewise.
22712 * string/test-rawmemchr-ifunc.c: Likewise.
22713 * string/test-stpcpy-ifunc.c: Likewise.
22714 * string/test-stpncpy-ifunc.c: Likewise.
22715 * string/test-strcasecmp-ifunc.c: Likewise.
22716 * string/test-strcasestr-ifunc.c: Likewise.
22717 * string/test-strcat-ifunc.c: Likewise.
22718 * string/test-strchr-ifunc.c: Likewise.
22719 * string/test-strchrnul-ifunc.c: Likewise.
22720 * string/test-strcmp-ifunc.c: Likewise.
22721 * string/test-strcpy-ifunc.c: Likewise.
22722 * string/test-strcspn-ifunc.c: Likewise.
22723 * string/test-strlen-ifunc.c: Likewise.
22724 * string/test-strncasecmp-ifunc.c: Likewise.
22725 * string/test-strncat-ifunc.c: Likewise.
22726 * string/test-strncmp-ifunc.c: Likewise.
22727 * string/test-strncpy-ifunc.c: Likewise.
22728 * string/test-strnlen-ifunc.c: Likewise.
22729 * string/test-strpbrk-ifunc.c: Likewise.
22730 * string/test-strrchr-ifunc.c: Likewise.
22731 * string/test-strspn-ifunc.c: Likewise.
22732 * string/test-strstr-ifunc.c: Likewise.
22733
de54b33a
L
22734 * debug/Makefile (tests-ifunc): New variable.
22735 (tests): Add $(tests-ifunc).
22736 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22737 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22738 * debug/test-stpcpy_chk-ifunc.c: New file.
22739 * debug/test-strcpy_chk-ifunc.c: Likewise.
22740
88481c16
SP
227412012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22742
22743 [BZ #13601]
22744 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22745 header is not read in.
22746
135948bd
JM
227472012-10-19 Joseph Myers <joseph@codesourcery.com>
22748
89f1c388
JM
22749 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22750 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22751 directly. Pass built executable to script as
22752 $(built-program-cmd).
22753 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22754 $testprogram without using LD_LIBRARY_PATH and $ldso.
22755
e40a0d21
JM
22756 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22757 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22758 $(rtld-installed-name).
22759 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22760 (rtld_installed_name): Likewise.
22761 (library_path): Likewise.
22762 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22763 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22764 $(run-program-prefix) to tst-tables.sh.
22765 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22766 it to run tst-table-from and tst-table-to.
22767 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22768 Pass it to tst-table.sh.
22769 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22770 $(run-program-prefix) to tst-gettext.sh.
22771 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22772 tst-translit.sh.
22773 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22774 tst-gettext2.sh.
22775 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22776 to run tst-gettext.
22777 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22778 to run tst-gettext2.
22779 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22780 to run tst-translit.
22781 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22782 $(run-program-prefix) to tst-mtrace.sh.
22783 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22784 to run tst-mtrace.
22785 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22786 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22787 $(rtld-installed-name).
22788 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22789 (rtld_installed_name): Likewise.
22790 (run_program_prefix): New variable. Use it to run wordexp-test.
22791
728e272a
JM
22792 * Makeconfig (ARCH): Remove all definitions.
22793 (machine): Likewise.
22794 [ARCH]: Remove conditional code.
22795 [!objdir]: Give error.
22796 [!objdir] (objpfx): Remove.
22797 [!objdir] (common-objpfx): Likewise.
22798 [!objdir] (common-objdir): Likewise.
22799 * configure.in (config_makefile): Remove. Hardcode Makefile in
22800 AC_CONFIG_FILES call.
22801 * configure: Regenerated.
22802
d528cdcf
JM
22803 [BZ #13888]
22804 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22805 or TMPDIR.
22806 (testout): Likewise.
22807
135948bd
JM
22808 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22809 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22810 $(rtld-installed-name).
22811 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22812 (rtld_installed_name): Likwise.
22813 (runit): Remove function.
22814 (run_getconf): New variable, Use it for running getconf binary.
22815
38c78296
L
228162012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22817
22818 [BZ #14716]
22819 * string/test-memmem.c (check_result): New function.
22820 (do_one_test): Use it.
22821 (check1): New function.
22822 (test_main): Use it.
22823
d077f65f
MT
228242012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22825
22826 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22827
ced52c71
JM
228282012-10-18 Joseph Myers <joseph@codesourcery.com>
22829
22830 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22831 (_G_LSEEK64): Likewise.
22832 (_G_MMAP64): Likewise.
22833 (_G_FSTAT64): Likewise.
22834 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22835 (_G_LSEEK64): Likewise.
22836 (_G_MMAP64): Likewise.
22837 (_G_FSTAT64): Likewise.
22838 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22839 unconditional. Call __mmap64 directly.
22840 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22841 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22842 __lseek64 directly.
22843 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22844 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22845 __mmap64 directly.
22846 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22847 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22848 __lseek64 directly.
22849 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22850 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22851 __lseek64 directly.
22852 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22853 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22854 __lseek64 directly.
22855 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22856 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22857 __fxstat64 directly.
22858 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22859 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22860 unconditional.
22861 (freopen64) [!_G_OPEN64]: Remove conditional code.
22862 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22863 unconditional.
22864 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22865 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22866 unconditional.
22867 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22868 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22869 unconditional.
22870 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22871 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22872 unconditional.
22873 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22874 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22875 unconditional.
22876 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22877 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22878 unconditional.
22879 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22880 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22881 unconditional.
22882 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22883
b741de23
SP
228842012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22885
22886 [BZ #12140]
22887 * manual/memory.texi (Malloc Tunable Parameters): Add note
22888 about free list pointers overwriting some perturb bytes.
22889 Wording suggested by Roland McGrath.
22890
f9b9d9c9
JM
228912012-10-17 Joseph Myers <joseph@codesourcery.com>
22892
22893 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22894 (lgamma_test): Likewise.
22895 (tgamma_test): Likewise.
22896
172a631a
FW
228972012-10-16 Florian Weimer <fweimer@redhat.com>
22898
22899 [BZ #14700]
22900 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22901 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22902
e9f37252
MK
229032012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22904
22905 * NEWS: Mention BZ #14716.
22906 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22907 when removing AVAILABLE1_USES_J macro.
22908
d394eb74
L
229092012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22910
22911 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22912 (__bswap_64): __uint64_t for unsigned 64-bit int.
22913
ca38dc17
AS
229142012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22915
22916 * include/string.h (memmem): Declare libc hidden alias.
22917 * string/memmem.c (memmem): Define libc hidden alias.
22918 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22919 __read, __close instead of open, read, close.
22920
9a387d1f
L
229212012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22922
ac49ecaf
L
22923 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22924 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22925 global and hidden.
22926 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22927 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22928 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22929 Likewise.
22930 (__rawmemchr_sse2): Likewise.
22931 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22932 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22933 (__strchr_sse2): Likewise.
22934 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22935 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22936 (__strcasecmp_sse2): Likewise.
22937 (__strncasecmp_sse2): Likewise.
22938 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22939 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22940 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22941 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22942 (__strrchr_sse2): Likewise.
22943 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22944 ifunc-impl-list.c.
22945 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22946 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22947 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22948 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22949 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22950 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22951 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22952 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22953 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22954 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22955 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22956 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22957 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22958 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22959 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22960 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22961 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22962 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22963 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22964 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22965 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22966 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22967 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22968 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22969 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22970 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22971 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22972 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22973 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22974 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22975
b090e8ea
L
22976 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22977 global and hidden.
22978 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
22979 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
22980 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
22981 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
22982 Likewise.
22983 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
22984 Likewise.
22985 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
22986 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
22987 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
22988 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
22989 ifunc-impl-list.c.
22990 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22991 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22992 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22993 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22994 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22995 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22996 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22997 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22998 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22999 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23000 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23001 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23002 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23003 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23004 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23005 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23006 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23007 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23008 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23009 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23010 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23011 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23012 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23013 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23014 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23015 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23016 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23017 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23018 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23019 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23020 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23021 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23022 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23023 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23024 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23025 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23026 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23027 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23028 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23029 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23030 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23031
11dd4af6
L
23032 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23033 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23034 * include/ifunc-impl-list.h: New file.
23035 * misc/ifunc-impl-list.c: Likewise.
23036 * misc/Makefile (routines): Add ifunc-impl-list.
23037 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23038 * string/test-string.h: Include <ifunc-impl-list.h>.
23039 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23040 impl_array): New variables.
23041 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23042 are defined.
23043 (test_init): Call __libc_ifunc_impl_list to initialize
23044 func_list if TEST_IFUNC and TEST_NAME are defined.
23045
9a387d1f
L
23046 * string/Makefile (strop-tests): Add bcopy and bzero.
23047 * string/test-bcopy.c: New file.
23048 * string/test-bzero.c: Likewise.
23049 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23050 defined.
23051 * string/test-memset.c: Support bzero test if TEST_BZERO is
23052 defined.
23053 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23054 __libc_memmove.
23055 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23056 __libc_memset.
23057 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23058 of memset.
23059
472371b9
JM
230602012-10-10 Joseph Myers <joseph@codesourcery.com>
23061
1e4a9536
JM
23062 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23063 * configure: Regenerated.
23064
d173d12e
JM
23065 * Makeconfig (+link-static-before-libc): Don't include
23066 $(link-static-libc).
23067
472371b9
JM
23068 * libio/libio.h (_IO_pos_t): Remove.
23069
89a3ad0b
AO
230702012-10-10 Alexandre Oliva <aoliva@redhat.com>
23071
23072 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23073 McGrath.
23074
e7451425
AO
230752012-10-10 Alexandre Oliva <aoliva@redhat.com>
23076
23077 * crypt/crypt-entry.c: Include fips-private.h.
23078 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23079 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23080 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23081 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23082
4ba74a35
AO
230832012-10-10 Alexandre Oliva <aoliva@redhat.com>
23084
23085 * crypt/crypt-private.h: Include stdbool.h.
23086 (_ufc_setup_salt_r): Return bool.
23087 * crypt/crypt-entry.c: Include errno.h.
23088 (__crypt_r): Return NULL with EINVAL for bad salt.
23089 * crypt/crypt_util.c (bad_for_salt): New.
23090 (_ufc_setup_salt_r): Check that salt is long enough and within
23091 the specified alphabet.
23092 * crypt/badsalttest.c: New file.
23093 * crypt/Makefile (tests): Add it.
23094 ($(objpfx)badsalttest): New.
23095
f96f1242
MK
230962012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23097
23098 * NEWS: Add entry for BZ #14602.
23099
0e8e0c1c
JM
231002012-10-09 Joseph Myers <joseph@codesourcery.com>
23101
23102 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23103 type-generic.
23104 * math/libm-test.inc: Update comment listing what functions and
23105 macros are tested.
23106 (isgreater_test): New function.
23107 (isgreaterequal_test): Likewise.
23108 (isless_test): Likewise.
23109 (islessequal_test): Likewise.
23110 (islessgreater_test): Likewise.
23111 (isunordered_test): Likewise.
23112 (main): Call the new functions.
23113
273edc5e
RM
231142012-10-09 Roland McGrath <roland@hack.frob.com>
23115
b8493de0
RM
23116 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23117 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23118 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23119 * sysdeps/i386/configure: Regenerated.
23120 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23121 * sysdeps/mach/configure: Regenerated.
23122 * sysdeps/mach/hurd/configure: Regenerated.
23123 * sysdeps/powerpc/configure: Regenerated.
23124 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23125 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23126 * sysdeps/s390/s390-32/configure: Regenerated.
23127 * sysdeps/s390/s390-64/configure: Regenerated.
23128 * sysdeps/sh/configure: Regenerated.
23129 * sysdeps/sparc/configure: Regenerated.
23130 * sysdeps/unix/sysv/linux/configure: Regenerated.
23131 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23132 * sysdeps/x86_64/configure: Regenerated.
23133
273edc5e
RM
23134 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23135 defined. Don't check if MAP is NULL.
23136
c8450f70
JM
231372012-10-09 Joseph Myers <joseph@codesourcery.com>
23138
23139 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23140 (_G_stat64): Likewise.
23141 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23142 (_G_stat64): Likewise.
23143 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23144 instead of struct _G_stat64.
23145 * libio/fileops.c (mmap_remap_check): Likewise.
23146 (decide_maybe_mmap): Likewise.
23147 (_IO_new_file_seekoff): Likewise.
23148 (_IO_file_stat): Likewise.
23149 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23150 _G_off64_t.
23151 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23152 instead of struct _G_stat64.
23153 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23154
57e605ba
MK
231552012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23156
23157 [BZ #14602]
23158 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23159 Replace with ...
23160 (CHECK_EOL): New macro.
23161 (two_way_short_needle): Check beginning of haystack for EOL. Use
23162 CHECK_EOL.
23163 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23164 Replace with CHECK_EOL.
23165 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23166 Replace with CHECK_EOL.
23167
ef1bb361
JM
231682012-10-08 Joseph Myers <joseph@codesourcery.com>
23169
23170 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23171 type-generic.
23172 * math/libm-test.inc: Update comment listing what functions and
23173 macros are tested.
23174 (finite_test): New function.
23175 (isinf_test): Likewise.
23176 (isnan_test): Likewise.
23177 (fpclassify_test): Test subnormal input.
23178 (isfinite_test): Likewise.
23179 (isnormal_test): Likewise.
23180 (main): Call the new functions.
23181
55f11534
JN
231822012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23183
23184 [BZ #14660]
23185 * Makerules (%.dynsym): Force C locale when running
23186 $(OBJDUMP) --dynamic-syms.
23187
1ab29350
AS
231882012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23189
23190 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23191 <stdint.h>.
23192
f1ecb7ef
DM
231932012-10-06 David S. Miller <davem@davemloft.net>
23194
23195 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23196 upper 32-bits of the length value in %o2 since we use branch-on-register
23197 tests which consider the entire 64-bit register.
23198
5d41d91a
L
231992012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23200
23201 * string/test-strstr.c (check2): Add a test for page boundary.
23202
3baddb72
DM
232032012-10-05 David S. Miller <davem@davemloft.net>
23204
23205 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23206 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23207 file.
23208 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23209 sysdep_routines.
23210 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23211 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23212 and bzero when HWCAP_SPARC_CRYPTO is present.
23213
9cee5585
L
232142012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23215
d7e0dab9
L
23216 [BZ #14602]
23217 * string/test-strstr.c (check2): New function.
23218 (test_main): Call check2.
23219
03759f47
L
23220 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23221 and bug-strchr1.
23222 * string/bug-strcasestr1.c (do_test): Moved to ...
23223 * string/test-strcasestr.c (check1): Here. New function.
23224 (do_one_test): Break out result checking code into ...
23225 (check_result): This. New function.
23226 (do_one_test): Call check_result.
23227 (test_main): Call check1.
23228 * string/bug-strchr1.c (do_test): Moved to ...
23229 * string/test-strchr.c (check1): Here. New function.
23230 (do_one_test): Break out result checking code into ...
23231 (check_result): This. New function.
23232 (do_one_test): Call check_result.
23233 (test_main): Call check1.
23234 * string/bug-strstr1.c (main): Moved to ...
046f153e 23235 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23236 (do_one_test): Break out result checking code into ...
23237 (check_result): This. New function.
23238 (do_one_test): Call check_result.
23239 (test_main): Call check1.
23240 * string/bug-strcasestr1.c: Removed.
23241 * string/bug-strchr1.c: Likewise.
23242 * string/bug-strstr1.c: Likewise.
23243
53cea63e
L
23244 * elf/Makefile (dl-routines): Add hwcaps.
23245 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23246 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23247 (_dl_important_hwcaps): Moved to ...
23248 * elf/dl-hwcaps.c: Here. New file.
23249 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23250
9cee5585 23251 [BZ #14557]
bb859b06
L
23252 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23253 if IS_IN_rtld isn't defined.
23254
9cee5585
L
23255 * elf/dl-support.c (_dl_sysinfo_map): New.
23256 Include "get-dynamic-info.h" and "setup-vdso.h".
23257 (_dl_non_dynamic_init): Call setup_vdso.
23258 * elf/dynamic-link.h: Don't include <assert.h>.
23259 (elf_get_dynamic_info): Moved to ...
23260 * elf/get-dynamic-info.h: Here. New file.
23261 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23262 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23263 * elf/setup-vdso.h: Here. New file.
23264 * elf/rtld.c: Include "setup-vdso.h".
23265 (dl_main): Call setup_vdso.
23266
23c31b76
JM
232672012-10-05 Joseph Myers <joseph@codesourcery.com>
23268
28234b07
JM
23269 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23270 creal in comment listing functions tested. List finite, isinf,
23271 isnan, isless, islessequal, isgreater, isgreaterequal,
23272 islessgreater, isunordered, lgamma_r and pow10 as functions and
23273 macros not tested. Mention which functions not tested are aliases
23274 for other functions. Fix typo. Note that signs of NaNs are not
23275 tested.
23276
23c31b76
JM
23277 * scripts/config.guess: Update from config.git.
23278 * scripts/config.sub: Likewise.
23279
9043e228
RM
232802012-10-04 Roland McGrath <roland@hack.frob.com>
23281
23282 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23283 * misc/madvise.c (madvise): Renamed to __madvise.
23284 Make madvise a weak alias.
23285 * include/sys/mman.h: Declare __madvise.
23286 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23287 * sysdeps/unix/syscalls.list
23288 (madvise): Make __madvise the strong name, and madvise a weak alias.
23289 * sysdeps/unix/sysv/linux/syscalls.list
23290 (madvise, mmap): Remove redundant entries.
23291 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23292 * malloc/malloc.c (mtrim): Likewise.
23293 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23294
f57f8055
RM
232952012-10-03 Roland McGrath <roland@hack.frob.com>
23296
23297 * sysdeps/mach/hurd/dl-cache.c: File removed.
23298 * config.h.in (USE_LDCONFIG): New #undef.
23299 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23300 * configure: Regenerated.
23301 * elf/Makefile (dl-routines): Add dl-cache only under
23302 [$(use-ldconfig) = yes].
23303 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23304 cache on [USE_LDCONFIG].
23305 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23306 [USE_LDCONFIG].
23307 * elf/rtld.c (dl_main): Likewise.
23308
5bb0c10a
PT
233092012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23310
23311 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23312 _SC_LEVEL4_CACHE_LINESIZE.
23313
010188c6
RM
233142012-10-03 Roland McGrath <roland@hack.frob.com>
23315
23316 * sysdeps/unix/bsd/confstr.h: File removed.
23317
b6c5ec07
AO
233182012-10-02 Alexandre Oliva <aoliva@redhat.com>
23319
23320 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23321 sys/sdt-config.h.
23322
408223d4
RM
233232012-10-02 Roland McGrath <roland@hack.frob.com>
23324
23325 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23326 Make 'mapoff' field ElfW(Off) rather than off_t.
23327
bb9510dc
DL
233282012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23329
fc997c6e
DL
23330 * nscd/Makefile: Remove nscd-cflags and all its users.
23331 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23332 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23333
bb9510dc
DL
23334 [BZ #10631]
23335 * malloc.c (malloc_printerr): Clarify error message.
23336
05699367
L
233372012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23338
23339 [BZ #14648]
23340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23341 Set bit_FMA_Usable if FMA is supported.
23342 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23343 macro.
23344 (bit_FMA4_Usable): Updated.
23345 (index_FMA_Usable): New macro.
23346 (CPUID_FMA): Likewise
23347 (HAS_FMA): Defined with bit_FMA_Usable.
23348
51367701
RM
233492012-10-01 Roland McGrath <roland@hack.frob.com>
23350
23351 * bits/types.h (__swblk_t): Type removed.
23352 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23353 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23354 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23355 (__SWBLK_T_TYPE): Likewise.
23356 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23357 (__SWBLK_T_TYPE): Likewise.
23358 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23359 (__SWBLK_T_TYPE): Likewise.
23360 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23361 (__SWBLK_T_TYPE): Likewise.
23362
4d57bf63 233632012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23364 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23365
23366 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23367 (xdr_mapname): Use YPMAXMAP as maxsize.
23368 (xdr_peername): Use YPMAXPEER as maxsize.
23369 (xdr_keydat): Use YPAXRECORD as maxsize.
23370 (xdr_valdat): Use YPMAXRECORD as maxsize.
23371
93c65d43
RM
233722012-10-01 Roland McGrath <roland@hack.frob.com>
23373
497a03d6
RM
23374 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23375
93c65d43
RM
23376 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23377 * csu/init-first.c: ... here.
23378 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23379 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23380 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23381 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23382 * sysdeps/i386/init-first.c: File removed.
23383 * sysdeps/sh/init-first.c: File removed.
23384
bec749fd
JM
233852012-10-01 Joseph Myers <joseph@codesourcery.com>
23386
23387 [BZ #14645]
23388 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23389 if x * y might underflow to zero and z is zero.
23390 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23391 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23392 * math/libm-test.inc (min_subnorm_value): New variable.
23393 (fma_test): Add more tests.
23394 (fma_test_towardzero): Likewise.
23395 (fma_test_downward): Likewise
23396 (fma_test_upward): Likewise.
23397 (initialize): Set min_subnorm_value.
23398
8ec5b013
JM
233992012-09-29 Joseph Myers <joseph@codesourcery.com>
23400
23401 [BZ #14638]
23402 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23403 0 + 0.
23404 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23405 mode for addition resulting in exact zero.
23406 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23407 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23408 exact 0 + 0.
23409 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23410 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23411 * math/libm-test.inc (fma_test): Add more tests.
23412 (fma_test_towardzero): New function.
23413 (fma_test_downward): Likewise.
23414 (fma_test_upward): Likewise.
23415 (main): Call the new functions.
23416
b1fa802e
DM
234172012-09-28 David S. Miller <davem@davemloft.net>
23418
23419 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23420
d3b9fd9e
RM
234212012-09-28 Roland McGrath <roland@hack.frob.com>
23422
ea4d37b3
RM
23423 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23424 instead of SIGALRM.
23425
ac51c949
RM
23426 * sysdeps/gnu/_G_config.h: Moved to ...
23427 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23428 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23429 * sysdeps/generic/_G_config.h: ... here.
23430
28c195f7
RM
23431 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23432
848917f9
RM
23433 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23434
6bacf05b
RM
23435 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23436 Conditionalize target on [libnss_test1.so-version].
23437
91363dbb
RM
23438 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23439
cc87f7d8
RM
23440 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23441 (elfobjdir): Move out of conditionals.
23442
b1c608fe
RM
23443 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23444 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23445 (__nss_lookup_function): Conditionalize label remove_from_tree on
23446 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23447
1d9a6d96
DM
234482012-09-28 David S. Miller <davem@davemloft.net>
23449
23450 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23451 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23452 file.
23453 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23454 sysdep_routines.
23455 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23456 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23457 when HWCAP_SPARC_CRYPTO is present.
23458
72581615
PT
234592012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23460
23461 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23462
715a900c
JL
234632012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23464
23465 [BZ #6530]
23466 * stdio-common/vfprintf.c (process_string_arg): Revert
23467 2000-07-22 change.
23468
234692011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23470
23471 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23472 for testcase.
23473 * stdio-common/tst-sprintf.c: Include <locale.h>
23474 (main): Test sprintf's handling of incomplete multibyte
23475 characters.
23476
9bac1d86
L
234772012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23478
23479 * elf/dl-runtime.c (VERSYMIDX): Removed.
23480 * elf/dl-version.c (VERSYMIDX): Likewise.
23481 * elf/do-rel.h (VERSYMIDX): Likewise.
23482 (VALIDX): Likewise.
23483 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23484 * elf/rtld.c (VALIDX): Likewise.
23485 (ADDRIDX): Likewise.
9bac1d86
L
23486 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23487 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23488 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23489 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23490 (VALIDX): Likewise.
23491 (ADDRIDX): Likewise.
9bac1d86 23492
b31606c0
PT
234932012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23494
23495 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23496
11541177
JL
234972012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23498
23499 [BZ #11438]
23500 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23501 to global scope.
23502 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23503 addresses are in the same scope as 192.0.2/24.
23504 * posix/gai.conf: Document new scope table defaults.
23505
adb26fae
SP
235062012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23507
23508 [BZ #5298]
23509 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23510 for ftell. Compute offsets from write pointers instead.
23511 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23512
4573c6b0
SP
235132012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23514
23515 [BZ #14543]
23516 * libio/Makefile (tests): New test case tst-fseek.
23517 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23518 combination works in wide mode.
23519 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23520 state when the external buffer state changes.
23521
aa9bbfe6
DM
235222012-09-27 David S. Miller <davem@davemloft.net>
23523
23524 [BZ #14376]
23525 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23526 pass reloc->r_addend in as the 'high' argument to
23527 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23528
784421e7
DM
23529 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23530
c39bc8b8
PT
235312012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23532
23533 * rt/tst-aio2.c: Include <pthread.h>.
23534 * rt/tst-aio3.c: Likewise.
23535
1ccc2399
SE
235362012-09-27 Steve Ellcey <sellcey@mips.com>
23537
23538 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23539
31ed4153
L
235402012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23541
25f5f885
L
23542 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23543 contents on [SHARED].
31ed4153 23544
b7bfe116
MP
235452012-09-26 Marek Polacek <polacek@redhat.com>
23546
23547 [BZ #14530]
23548 [BZ #13741]
23549 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23550 for C++ and GCC <4.3 as well as for non GCC compilers.
23551
43c4edba
MT
235522012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23553
23554 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23555
6a1bf82f
RM
235562012-09-25 Roland McGrath <roland@hack.frob.com>
23557
23558 * Makefile.in (all, install): Declare with .PHONY.
23559 Reported by Michael Hope <michael.hope@linaro.org>.
23560
8ad11b9a
TMQMF
235612012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23562
23563 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23564 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23565 system header.
23566 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23567 Likewise.
23568 (sydep_routines): Add the new and the internal functions.
23569 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23570 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23572 (GLIBC_2.17): Add the new function.
23573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23574 (GLIBC_2.17): Likewise.
23575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23576 (GLIBC_2.17): Likewise.
23577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23578 (GLIBC_2.17): Likewise.
23579 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23580
7e2fca8d
AM
235812012-09-25 Alan Modra <amodra@gmail.com>
23582
23583 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23584 Add release barrier before setting once_control to say
23585 initialisation is done. Add hints on lwarx. Use macro in
23586 place of isync.
23587 (clear_once_control): Add release barrier.
23588
b87c4b24
JM
235892012-09-25 Joseph Myers <joseph@codesourcery.com>
23590
d032e0d2
JM
23591 [BZ #13629]
23592 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23593 specially.
23594 * math/s_clog10.c (__clog10): Likewise.
23595 * math/s_clog10f.c (__clog10f): Likewise.
23596 * math/s_clog10l.c (__clog10l): Likewise.
23597 * math/s_clogf.c (__clogf): Likewise.
23598 * math/s_clogl.c (__clogl): Likewise.
23599 * math/Makefile (libm-calls): Add x2y2m1.
23600 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23601 (__x2y2m1): Likewise.
23602 (__x2y2m1l): Likewise.
23603 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23604 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23605 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23606 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23607 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23608 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23609 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23610 * sysdeps/i386/fpu/libm-test-ulps: Update.
23611 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23612
b87c4b24
JM
23613 [BZ #14621]
23614 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23615 int as type of variable DEPTH.
23616 (glob): Use size_t instead of int as type of variables NEWCOUNT
23617 and OLD_PATHC.
23618
6d3bf199
LD
236192012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23620
22bf5c17
LD
23621 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23622 Add s_sincosf-sse2.
23623 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23624 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23625 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23626 macros for using routine as __sincosf_ia32.
23627 Use macro for function declaration and weak_alias.
23628 * sysdeps/i386/fpu/libm-test-ulps: Update.
23629
23630 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23631 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23632
23633 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23634 subnormal argument.
23635 * math/s_cexpf.c (__cexpf): Likewise.
23636 * math/s_csinf.c (__csinf): Likewise.
23637 * math/s_csinhf.c (__csinhf): Likewise.
23638 * math/s_ctanf.c (__ctanf): Likewise.
23639 * math/s_ctanhf.c (__ctanhf): Likewise.
23640 * math/s_ccosh.c (__ccoshf): Likewise.
23641 * math/s_cexp.c (__cexpl): Likewise.
23642 * math/s_csin.c (__csin): Likewise.
23643 * math/s_csinh.c (__csinh): Likewise.
23644 * math/s_ctan.c (__ctan): Likewise.
23645 * math/s_ctanh.c (ctanh): Likewise.
23646 * math/s_ccoshl.c (__ccoshl): Likewise.
23647 * math/s_cexpl.c (__cexpl): Likewise.
23648 * math/s_csinl.c (__csinl): Likewise.
23649 * math/s_csinhl.c (__csinhl): Likewise.
23650 * math/s_ctanl.c (__ctanl): Likewise.
23651 * math/s_ctanhl.c (__ctanhl): Likewise.
23652
203e5603
JM
236532012-09-25 Joseph Myers <joseph@codesourcery.com>
23654
23655 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23656 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23657 (_IO_off_t): Define to __off_t, not _G_off_t.
23658 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23659 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23660 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23661 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23662 type of __dummy and __dummy2 fields.
23663 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23664 (_G_ssize_t): Likewise.
23665 (_G_off_t): Likewise.
23666 (_G_pid_t): Likewise.
23667 (_G_uid_t): Likewise.
23668 (_G_wchar_t): Likewise.
23669 (_G_wint_t): Likewise.
23670 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23671 (_G_ssize_t): Likewise.
23672 (_G_off_t): Likewise.
23673 (_G_pid_t): Likewise.
23674 (_G_uid_t): Likewise.
23675 (_G_wchar_t): Likewise.
23676 (_G_wint_t): Likewise.
23677 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23678 (_G_ssize_t): Likewise.
23679 (_G_off_t): Likewise.
23680 (_G_pid_t): Likewise.
23681 (_G_uid_t): Likewise.
23682 (_G_wchar_t): Likewise.
23683 (_G_wint_t): Likewise.
23684
9fab36eb
SP
236852012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23686
23687 * malloc/arena.c: Include malloc-sysdep.h.
23688 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23689 is sufficient to shrink the heap or an unmap is needed.
23690 * sysdeps/generic/malloc-sysdep.h: New file. Define
23691 new function check_may_shrink_heap.
23692 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23693 new function check_may_shrink_heap.
23694
2b4f00d1
SP
236952012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23696
23697 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23698 comments.
23699
9a9028b1
DL
237002012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23701
57c69bef
DL
23702 * catgets/test-gencat.sh: Add "set -e".
23703 * elf/tst-pathopt.sh: Likewise.
23704 * grp/tst_fgetgrent.sh: Likewise.
23705 * iconvdata/run-iconv-test.sh: Likewise.
23706 * intl/tst-gettext.sh: Likewise.
23707 * intl/tst-gettext2.sh: Likewise.
23708 * intl/tst-gettext4.sh: Likewise.
23709 * intl/tst-gettext6.sh: Likewise.
23710 * intl/tst-translit.sh: Likewise.
23711 * io/ftwtest-sh: Likewise.
23712 * libio/test-freopen.sh: Likewise.
23713 * malloc/tst-mtrace.sh: Likewise.
23714 * posix/globtest.sh: Likewise.
23715 * posix/tst-getconf.sh: Likewise.
23716 * posix/wordexp-tst.sh: Likewise.
23717 * stdio-common/tst-printf.sh: Likewise.
23718 * stdio-common/tst-unbputc.sh: Likewise.
23719 * stdlib/tst-fmtmsg.sh: Likewise.
23720 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23721 * catgets/Makefile: Do not specify -e option when running
23722 testsuite shell scripts.
23723 * elf/Makefile: Likewise.
23724 * grp/Makefile: Likewise.
23725 * iconvdata/Makefile: Likewise.
23726 * intl/Makefile: Likewise.
23727 * io/Makefile: Likewise.
23728 * libio/Makefile: Likewise.
23729 * malloc/Makefile: Likewise.
23730 * posix/Makefile: Likewise.
23731 * stdio-common/Makefile: Likewise.
23732 * stdlib/Makefile: Likewise.
23733 * sysdeps/x86_64/Makefile: Likewise.
23734
9a9028b1
DL
23735 * io/ftwtest-sh: Add copyright header.
23736 * posix/globtest.sh: Likewise.
23737 * posix/tst-getconf.sh: Likewise.
23738 * posix/wordexp-tst.sh: Likewise.
23739 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23740
ced6f16e
L
237412012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23742
94b32c39
L
23743 [BZ #13679]
23744 * Makeconfig (+link): Defined as $(+link-static) if
23745 $(build-shared) isn't yes.
23746 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23747 isn't yes.
23748 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23749
189e935b
L
23750 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23751
ced6f16e
L
23752 [BZ #14562]
23753 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23754 new chunk size with MALLOC_ALIGN_MASK.
23755
a9f8e53a
JM
237562012-09-24 Joseph Myers <joseph@codesourcery.com>
23757
23758 [BZ #5044]
23759 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23760 <rounding-mode.h>.
23761 (__printf_fphex): Determine rounding using get_rounding_mode and
23762 round_away.
23763 * stdio-common/tst-printf-round.c (struct hex_test): New
23764 structure.
23765 (hex_tests): New variable.
23766 (test_hex_in_one_mode): New function.
23767 (do_test): Also run tests for hex float output.
23768
43153109
JM
237692012-09-21 Joseph Myers <joseph@codesourcery.com>
23770
23771 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23772 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23773 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23774 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23775 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23776 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23777 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23778 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23779
8a26625d
JM
237802012-09-20 Joseph Myers <joseph@codesourcery.com>
23781
23782 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23783 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23784 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23785 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23786
f3fd569c
DL
237872012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23788
23789 [BZ #14579]
23790 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23791 mode only.
23792 * elf/tst-rtld-load-self.sh: New test.
23793 * elf/Makefile: Run it.
23794
63bbedd4
JM
237952012-09-18 Joseph Myers <joseph@codesourcery.com>
23796
23797 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23798 (tst-writev-ENV): Remove.
23799 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23800
626f8b6a
CM
238012012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23802
23803 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23804
b7aaa4d6
JM
238052012-09-17 Joseph Myers <joseph@codesourcery.com>
23806
23807 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23808 unconditional.
23809 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23810 Likewise.
23811 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23812 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23813 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23814 Likewise.
23815
65513990
L
238162012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23817
23818 [BZ #14587]
23819 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23820 * config.make.in (have-cpp-asm-debuginfo): Removed.
23821 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23822 * configure: Regenerated.
23823
784761be
JM
238242012-09-14 Joseph Myers <joseph@codesourcery.com>
23825
23826 [BZ #5044]
23827 * stdio-common/printf_fp.c: Include <stdbool.h> and
23828 <rounding-mode.h>.
23829 (___printf_fp): Determine rounding using get_rounding_mode and
23830 round_away.
23831 * stdio-common/tst-printf-round.c: New file.
23832 * stdio-common/Makefile (tests): Add tst-printf-round.
23833 (link-libm): New variable.
23834 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23835
9503345f
L
238362012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23837
23838 [BZ #14576]
23839 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23840 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23841 Likewise.
23842 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23843 Likewise.
23844
ad35fc00
JM
238452012-09-13 Joseph Myers <joseph@codesourcery.com>
23846
23847 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23848 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23849 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23850 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23851
6c9b0f68
JM
238522012-09-12 Joseph Myers <joseph@codesourcery.com>
23853
23854 [BZ #14518]
23855 * include/rounding-mode.h: New file.
23856 * sysdeps/generic/get-rounding-mode.h: Likewise.
23857 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23858 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23859 (MAX_VALUE): New macro.
23860 (MIN_VALUE): Likewise.
23861 (overflow_value): New function.
23862 (underflow_value): Likewise.
23863 (round_and_return): Use overflow_value and underflow_value to
23864 determine return values in overflow and underflow cases. Use
23865 round_away to determine rounding depending on rounding mode.
23866 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23867 determine return values in overflow and underflow cases.
23868 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23869 (struct test_results): New structure.
23870 (struct test): Use struct test_results to store expected results
23871 for all rounding modes.
23872 (TEST): Include expected results for all rounding modes.
23873 (test_in_one_mode): New function.
23874 (do_test): Use test_in_one_mode to compute and check results.
23875 Check results for all rounding modes.
23876 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23877 $(link-libm).
23878
19fcedd5
AM
238792012-12-09 Allan McRae <allan@archlinux.org>
23880
1e9d84cd 23881 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23882
8bbfd2f1
JM
238832012-09-11 Joseph Myers <joseph@codesourcery.com>
23884
23885 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23886 (_G_int32_t): Likewise.
23887 (_G_uint16_t): Likewise.
23888 (_G_uint32_t): Likewise.
23889 (_G_HAVE_BOOL): Likewise.
23890 (_G_HAVE_ATEXIT): Likewise.
23891 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23892 (_G_HAVE_IO_FILE_OPEN): Likewise.
23893 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23894 (_G_int32_t): Likewise.
23895 (_G_uint16_t): Likewise.
23896 (_G_uint32_t): Likewise.
23897 (_G_HAVE_BOOL): Likewise.
23898 (_G_HAVE_ATEXIT): Likewise.
23899 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23900 (_G_HAVE_IO_FILE_OPEN): Likewise.
23901 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23902 (_G_int32_t): Likewise.
23903 (_G_uint16_t): Likewise.
23904 (_G_uint32_t): Likewise.
23905 (_G_HAVE_BOOL): Likewise.
23906 (_G_HAVE_ATEXIT): Likewise.
23907 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23908 (_G_HAVE_IO_FILE_OPEN): Likewise.
23909
b1dc5912
L
239102012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23911
23912 * csu/libc-tls.c: Update copyright years.
23913
0e886ef9
JM
239142012-09-10 Joseph Myers <joseph@codesourcery.com>
23915
28361c5e
JM
23916 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23917 [!_G_USING_THUNKS]: Remove conditional code.
23918 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23919 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23920
0e886ef9
JM
23921 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23922 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23923 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23924 (_G_VTABLE_LABEL_PREFIX): Likewise.
23925 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23926 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23927 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23928 (_G_VTABLE_LABEL_PREFIX): Likewise.
23929 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23930 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23931 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23932 (_G_VTABLE_LABEL_PREFIX): Likewise.
23933 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23934
bcba7aa2
L
239352012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23936
23937 * libio/Makefile: Include ../Makeconfig before tests.
23938 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23939 only if $(build-shared) is yes.
23940
06585ee8
L
23941 * iconv/gconv_db.c: Update copyright years.
23942
80ccd52c
LD
239432012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23944
23945 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23946 unwind info if defined PIC. Fix special cases description.
23947 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23948
23949 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23950 DP_HI_MASK entry.
23951 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23952
691bc9c1
L
239532012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23954
3d9b46b3
L
23955 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23956
de2139a9
L
23957 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23958 is NULL.
23959
5ca78dd0
L
23960 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23961 (LDLIBS-tst-chk4): This.
23962 (LDFLAGS-tst-chk5): Renamed to ...
23963 (LDLIBS-tst-chk5): This.
23964 (LDFLAGS-tst-chk6): Renamed to ...
23965 (LDLIBS-tst-chk6): This.
23966 (LDFLAGS-tst-lfschk4): Renamed to ...
23967 (LDLIBS-tst-lfschk4): This.
23968 (LDFLAGS-tst-lfschk5): Renamed to ...
23969 (LDLIBS-tst-lfschk5): This.
23970 (LDFLAGS-tst-lfschk6): Renamed to ...
23971 (LDLIBS-tst-lfschk6): This.
23972
691bc9c1
L
23973 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23974 on $(common-objpfx)soversions.mk.
23975
65cafb1c
JM
239762012-09-07 Joseph Myers <joseph@codesourcery.com>
23977
23978 [BZ #10014]
23979 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
23980 example host name.
23981
c78ab094
SP
239822012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
23983
23984 * malloc/arena.c (arena_get_retry): New function that gets
23985 another arena for the caller to try its request on.
23986 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
23987 current arena cannot fulfill the request.
23988 (__libc_memalign): Likewise.
23989 (__libc_memalign): Likewise.
23990 (__libc_pvalloc): Likewise.
23991 (__libc_calloc): Likewise.
23992
01f49f59
JT
239932012-09-05 John Tobey <john.tobey@gmail.com>
23994
23995 [BZ #13542]
23996 * manual/arith.texi (Operations on Complex): Fix description
23997 of carg branch cut.
23998
4c23fed5
JM
239992012-09-06 Joseph Myers <joseph@codesourcery.com>
24000
1d3c8572
JM
24001 [BZ #10014]
24002 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24003 host name.
24004
4c23fed5
JM
24005 [BZ #10038]
24006 * manual/memory.texi (Memory): Make order of menu items match
24007 order of sections.
24008
04570aaa
L
240092012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24010
24011 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24012 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24013 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24014
b80af2f4
L
240152012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24016
24017 * csu/libc-tls.c (static_dtv): Renamed to ...
24018 (_dl_static_dtv): This. Make it global.
24019 (_dl_initial_dtv): Removed.
24020 (__libc_setup_tls): Updated.
24021 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24022 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24023 DL_INITIAL_DTV.
24024
2abe9f15
PM
240252012-09-06 Petr Machata <pmachata@redhat.com>
24026
24027 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24028 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24029 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24030 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24031
0948c3af
L
240322012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24033
24034 [BZ #14545]
24035 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24036 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24037 freeing dtv[-1].
24038
a5055ad1
L
240392012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24040
24041 [BZ #14544]
24042 * Makeconfig (link-static-before-libc): Replace $(+prector)
24043 with $(+prectorT).
24044 (link-static-after-libc): Replace $(+postctor) with
24045 $(+postctorT).
24046 (link-bounded): Replace $(+prector)/$(+postctor) with
24047 $(+prectorT)/$(+postctorT).
24048 (+prectorT): New macro.
24049 (+postctorT): Likewise.
24050
ed8c2ecd
JM
240512012-09-06 Joseph Myers <joseph@codesourcery.com>
24052
24053 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24054 (round_str): Handle values above the maximum for IBM long double
24055 as inexact.
24056 * stdlib/tst-strtod-round.c (tests): Regenerated.
24057
14c996c8
AK
240582012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24059
24060 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24061 assembler flag.
24062 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24063 zarch_nohighgprs around the zarch optimized routines.
24064 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24065 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24066 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24067 for zarch.
24068
430d6ce6
DM
240692012-09-05 David S. Miller <davem@davemloft.net>
24070
24071 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24072
ff04dda4
DM
24073 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24074 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24075 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24076 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24077 entries.
24078
24d4e01b
AO
240792012-09-05 Alexandre Oliva <aoliva@redhat.com>
24080
24081 * malloc/arena.c: Fold copyright years.
24082 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24083
61d58174
AO
240842012-09-05 Alexandre Oliva <aoliva@redhat.com>
24085
24086 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24087
20196a5e
AO
240882012-09-05 Alexandre Oliva <aoliva@redhat.com>
24089
24090 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24091
5c447383
AO
240922012-09-05 Alexandre Oliva <aoliva@redhat.com>
24093
24094 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24095 change internal state upon failure.
24096
fad64255
AO
240972012-09-05 Alexandre Oliva <aoliva@redhat.com>
24098
24099 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24100 * malloc/memusage.c (mmap): Likewise.
24101 (mmap64, mremap): Likewise. Adjust name in comment.
24102
1ffb8c90
SP
241032012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24104
24105 * libio/fileops.c: Fix typos in comments.
24106 * libio/oldfileops.c: Likewise.
24107 * libio/wfileops.c: Likewise.
24108
6ef9cc37
SP
241092012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24110
24111 [BZ #1349]
24112 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24113 (tst-malloc-usable-ENV): Set environment for test case.
24114 * malloc/hooks.c (malloc_check_get_size): New function to get
24115 requested size.
24116 * malloc/malloc.c (musable): Use malloc_check_get_size.
24117 * malloc/tst-malloc-usable.c: New test case.
24118
4d038ae3
AS
241192012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24120
24121 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24122
c4e85184
AM
241232012-09-05 Allan McRae <allan@archlinux.org>
24124
b9dafc56 24125 [BZ #13966]
c4e85184
AM
24126 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24127 determine header location.
24128 * configure: Regenerated.
24129
e1343020
AS
241302012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24131
24132 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24133 float format.
24134 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24135 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24136 format.
e1343020
AS
24137 (test): Regenerate.
24138
0a9f1987
DM
241392012-09-04 David S. Miller <davem@davemloft.net>
24140
24141 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24142 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24143 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24144
29237804
FW
241452012-09-04 Florian Weimer <fweimer@redhat.com>
24146
24147 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24148 failures.
24149
edb3cb88
FW
24150 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24151
60160d83
JM
241522012-09-04 Joseph Myers <joseph@codesourcery.com>
24153
24154 [BZ #9914]
24155 * libio/iogetdelim.c: Include <limits.h>.
24156 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24157 + len + 1 would overflow.
24158
bcd6c8dc
AJ
241592012-09-03 Andreas Jaeger <aj@suse.de>
24160
24161 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24162 * sysdeps/i386/fpu/libm-test-ulps: Update.
24163
4ffffbd2
LD
241642012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24165
24166 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24167 Add s_sinf-sse2, s_conf-sse2.
24168
24169 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24170 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24171 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24172 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24173
24174 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24175 for using routine as __sinf_ia32.
24176 Use macro for function declaration and weak_alias.
24177 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24178 for using routine as __cosf_ia32.
24179 Use macro for function declaration and weak_alias.
24180
24181 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24182 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24183
24184 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24185 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24186 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24187
24188 * math/libm-test.inc (cos_test): Add more test cases.
24189 (sin_test): Likewise.
24190 (sincos_test): Likewise.
24191
511fa286
AK
241922012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24193
24194 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24195 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24196 hidden.
24197 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24198
5f30cfec
L
241992012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24200
24201 [BZ #14538]
24202 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24203 first element of the GOT.
24204 (elf_machine_load_address): Return the difference between
24205 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24206
0786794f
AM
242072012-09-01 Allan McRae <allan@archlinux.org>
24208
5f30cfec
L
24209 [BZ #13412]
24210 * configure.in (AWK): Require gawk version 3.0 or later.
24211 * configure: Regenerated.
0786794f 24212
26889eac
JM
242132012-09-01 Joseph Myers <joseph@codesourcery.com>
24214
24215 * sysdeps/unix/sysv/linux/kernel-features.h
24216 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24217 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24218 [__NR_clock_getres]: Make code unconditional.
24219 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24220 (clock_getcpuclockid): Remove code left unreachable by removal of
24221 conditionals.
24222 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24223 code unconditional.
24224 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24225 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24226 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24227 Make code unconditional.
24228 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24229 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24230 * sysdeps/unix/sysv/linux/clock_settime.c
24231 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24232 conditional code.
24233 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24234 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24235
d22e28b0
L
242362012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24237
24238 [BZ #14476]
24239 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24240 scripts/test-installation.pl.
24241
24242 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24243 and $ld_so_version if it is set.
24244
050af9c4
SP
242452012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24246
24247 [BZ #14516]
24248 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24249 failure if reading from procfs failed.
24250 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24251
ad845c0b
JM
242522012-08-27 Joseph Myers <joseph@codesourcery.com>
24253
24254 * sysdeps/unix/sysv/linux/kernel-features.h
24255 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24256 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24257 Remove conditional code.
24258 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24259 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24260 Remove conditional code.
24261 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24262 * sysdeps/unix/sysv/linux/i386/fxstat.c
24263 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24264 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24265 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24266 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24267 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24268 * sysdeps/unix/sysv/linux/i386/lxstat.c
24269 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24270 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24271 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24272 Remove conditional code.
24273 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24274 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24275 Remove conditional code.
24276 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24277 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24278 <kernel-features.h>.
24279 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24280 Remove.
24281 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24282 Remove conditional code.
24283 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24284 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24285 Remove conditional.
24286
5dbf56af
MF
242872012-08-27 Mike Frysinger <vapier@gentoo.org>
24288
24289 [BZ #5400]
24290 * NEWS: Add fixed bug number.
24291
d6e70f43
JM
242922012-08-27 Joseph Myers <joseph@codesourcery.com>
24293
7efb4737
JM
24294 [BZ #14519]
24295 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24296 underflowing exponent in case of negative sign.
24297 * stdlib/tst-strtod-round-data: Add more tests.
24298 * stdlib/tst-strtod-round.c (tests): Regenerated.
24299
af92131a
JM
24300 [BZ #3479]
24301 * stdlib/strtod_l.c (NDIG): Remove.
24302 (HEXNDIG): Likewise.
24303 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24304 smallest representable value.
24305 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24306 lie within an exact representation of 1/2 ulp of the result.
24307 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24308 unconditionally.
24309 (TENS_P9_IDX): Define unconditionally.
24310 (TENS_P9_SIZE): Likewise.
24311 (TENS_P10_IDX): Likewise.
24312 (TENS_P10_SIZE): Likewise.
24313 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24314 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24315 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24316 entries for 10^2^13 and 10^2^14.
24317 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24318 (TENS_P13_IDX): Define.
24319 (TENS_P13_SIZE): Likewise.
24320 (TENS_P14_IDX): Likewise.
24321 (TENS_P14_SIZE): Likewise.
24322 (_fpioconst_pow10): Change array size to
24323 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24324 unconditional.
24325 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24326 1024]: Add entries for 10^2^13 and 10^2^14.
24327 [LAST_POW10 > _LAST_POW10]: Remove #error.
24328 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24329 (_fpioconst_pow10): Change array size to
24330 FPIOCONST_POW10_ARRAY_SIZE.
24331 * stdlib/gen-fpioconst.c: New file.
24332 * stdlib/gen-tst-strtod-round.c: Likewise.
24333 * stdlib/tst-strtod-round-data: Likewise.
24334 * stdlib/tst-strtod-round.c: Likewise.
24335 * stdlib/Makefile (tests): Add tst-strtod-round.
24336
d6e70f43
JM
24337 [BZ #14459]
24338 * stdlib/strtod_l.c: Include <stdint.h>.
24339 (NDEBUG): Do not define.
24340 (round_and_return): Change EXPONENT parameter to type intmax_t.
24341 Rearrange calculations to avoid internal overflow possibilities.
24342 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24343 Rearrange calculations to avoid internal overflow possibilities.
24344 Assert that number fits inside MPNSIZE limbs.
24345 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24346 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24347 calculations and add assertions to avoid internal overflow
24348 possibilities. Add casts to avoid signed/unsigned operations.
24349 * stdlib/tst-strtod-overflow.c: New file.
24350 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24351
1f529f7d
MP
243522012-08-25 Marek Polacek <polacek@redhat.com>
24353
24354 * time/time.h: Fix some typos in comments.
24355
59a629f1
RM
243562012-08-23 Roland McGrath <roland@hack.frob.com>
24357
24358 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24359 * posix/tst-rfc3484-2.c: Likewise.
24360 * posix/tst-rfc3484-3.c: Likewise.
24361
d3bafbc9
SM
243622012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24363
24364 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24365 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24366
4efcc022
JM
243672012-08-23 Joseph Myers <joseph@codesourcery.com>
24368
24369 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24370 #include of fxstatat64.c.
24371
3cc3ef96
RM
243722012-08-22 Roland McGrath <roland@hack.frob.com>
24373
f04e2132
RM
24374 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24375 * shadow/getspent_r.c: Likewise.
24376 * shadow/getspnam.c: Likewise.
24377 * shadow/getspnam_r.c: Likewise.
24378 * gshadow/getsgent.c: Likewise.
24379 * gshadow/getsgent_r.c: Likewise.
24380 * gshadow/getsgnam.c: Likewise.
24381 * gshadow/getsgnam_r.c: Likewise.
24382 * inet/getnetbyad.c: Likewise.
24383 * inet/getnetbyad_r.c: Likewise.
24384 * inet/getnetbynm.c: Likewise.
24385 * inet/getnetbynm_r.c: Likewise.
24386 * inet/getnetent.c: Likewise.
24387 * inet/getnetent_r.c: Likewise.
24388 * inet/getproto.c: Likewise.
24389 * inet/getproto_r.c: Likewise.
24390 * inet/getprtent.c: Likewise.
24391 * inet/getprtent_r.c: Likewise.
24392 * inet/getprtname.c: Likewise.
24393 * inet/getprtname_r.c: Likewise.
24394 * inet/getrpcbyname.c: Likewise.
24395 * inet/getrpcbyname_r.c: Likewise.
24396 * inet/getrpcbynumber.c: Likewise.
24397 * inet/getrpcbynumber_r.c: Likewise.
24398 * inet/getrpcent.c: Likewise.
24399 * inet/getrpcent_r.c: Likewise.
24400 * inet/getaliasent.c: Likewise.
24401 * inet/getaliasent_r.c: Likewise.
24402 * inet/getaliasname.c: Likewise.
24403 * inet/getaliasname_r.c: Likewise.
24404 * nscd/getgrgid_r.c: Likewise.
24405 * nscd/getgrnam_r.c: Likewise.
24406 * nscd/gethstbyad_r.c: Likewise.
24407 * nscd/gethstbynm3_r.c: Likewise.
24408 * nscd/getpwnam_r.c: Likewise.
24409 * nscd/getpwuid_r.c: Likewise.
24410 * nscd/getsrvbynm_r.c: Likewise.
24411 * nscd/getsrvbypt_r.c: Likewise.
24412 * nscd/gai.c: Likewise.
24413
c53d909c
RM
24414 * configure.in (build_nscd): New substituted variable, set
24415 by --disable-build-nscd and defaults to $use_nscd.
24416 * configure: Regenerated.
24417 * config.make.in (build-nscd): New substituted variable.
24418 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24419 Change conditional to require [$(build-nscd) = yes] as well.
24420 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24421
3cc3ef96
RM
24422 [BZ# 13696]
24423 * configure.in (use_nscd): New substituted variable, set by
24424 --disable-nscd. If enabled, define USE_NSCD.
24425 * configure: Regenerated.
24426 * config.h.in: Add USE_NSCD.
24427 * config.make.in (use-nscd): New substituted variable.
24428 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24429 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24430 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24431 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24432 (CFLAGS-getgrnam_r.c): Likewise.
24433 (CFLAGS-initgroups.c): Likewise.
24434 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24435 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24436 Variables removed.
24437 * inet/getnetgrent_r.c
24438 (nscd_setnetgrent): New function, broken out of ...
24439 (setnetgrent): ... here. Call it.
24440 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24441 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24442 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24443 * nscd/Makefile (routines, aux): Move definitions after include of
24444 Makeconfig. Conditionalize on [$(use-nscd) != no].
24445 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24446 Conditionalize on [USE_NSCD].
24447 (is_nscd, nscd_init_cb): Likewise.
24448 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24449 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24450 * nss/nss_db/db-init.c: Likewise.
24451 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24452 [USE_NSCD].
24453 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24454 (make_request): Use it.
24455 (cache_valid_p): New function.
24456 (__check_pf): Use it.
24457 * NEWS: Add item for --disable-nscd.
24458
07e51550
DL
244592012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24460
24461 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24462 to support sed >= 4.2.1-20-ga9bf076.
24463 * configure: Regenerated.
24464
35a5b08b
RM
244652012-08-22 Roland McGrath <roland@hack.frob.com>
24466
24467 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24468 Conditionalize whole body on [IREL].
24469
8479f23a
JL
244702012-08-22 Jeff Law <law@redhat.com>
24471
24472 [BZ #14505]
24473 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24474 if the family is PF_UNSPEC.
24475
48da0b21
MF
244762012-08-22 Mike Frysinger <vapier@gentoo.org>
24477
24478 * Makerules (lib-version): Rename from V.
24479 (install-lib-nosubdir): Change V to lib-version.
24480
15d0da8c
WS
244812012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24482
24483 [BZ #14252]
24484 * powerpc32/power6/wcschr.c: New file.
24485 * powerpc32/power6/wcscpy.c: New file.
24486 * powerpc32/power6/wcsrchr.c: New file.
24487 * powerpc64/power6/wcschr.c: New file.
24488 * powerpc64/power6/wcscpy.c: New file.
24489 * powerpc64/power6/wcsrchr.c: New file.
24490
bcca0895
MK
244912012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24492
24493 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24494 (two_way_short_needle): Use it.
5a4aaa33
RM
24495 * string/strstr.c (AVAILABLE1_USES_J): Define.
24496 * string/strcasestr.c: Likewise.
99677e57
MK
24497
24498 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24499 array references.
24500 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24501
400726de
MK
24502 [BZ #11607]
24503 * NEWS: Add an entry.
24504 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24505 define their defaults.
24506 (two_way_short_needle): Detect end-of-string on-the-fly.
24507 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24508 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24509 * string/bug-strcasestr1.c: New test.
24510 * string/Makefile: Run it.
24511
20a71f2c
MK
245122012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24513
24514 [BZ #11607]
24515 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24516 the first character.
24517
21ad0558
RM
245182012-08-21 Roland McGrath <roland@hack.frob.com>
24519
24520 * csu/elf-init.c (__libc_csu_irel): Function removed.
24521 * csu/libc-start.c (apply_irel): New function.
24522 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24523
0e1d9911
JM
245242012-08-21 Joseph Myers <joseph@codesourcery.com>
24525
24526 * sysdeps/unix/sysv/linux/kernel-features.h
24527 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24528 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24529 <kernel-features.h>.
24530 [__NR_fadvise64_64]: Make code unconditional.
24531 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24532 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24533 !__NR_fadvise64_64)]: Likewise.
24534 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24535 !__NR_fadvise64_64))]: Likewise.
24536 [__NR_fadvise64]: Make code unconditional.
24537 [!__NR_fadvise64]: Remove conditional code.
24538 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24539 <kernel-features.h>.
24540 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24541 unconditional.
24542 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24543 conditional code.
24544 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24545 not include <kernel-features.h>.
24546 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24547 unconditional.
24548 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24549 conditional code.
24550 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24551 include <kernel-features.h>.
24552 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24553 unconditional.
24554 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24555 conditional code.
24556
14a50c9d
WS
245572012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24558
24559 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24560 slight instruction rearrangements per scrollpipe analysis.
24561 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24562
c0f4faf0
RM
245632012-08-20 Roland McGrath <roland@hack.frob.com>
24564
696da859
RM
24565 * manual/syslog.texi (syslog; vsyslog, closelog):
24566 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24567 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24568
c0f4faf0
RM
24569 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24570 DSOCAPS to match condition on defining it.
24571
348363b2
JM
245722012-08-20 Joseph Myers <joseph@codesourcery.com>
24573
a35cbf28
JM
24574 * sysdeps/unix/sysv/linux/kernel-features.h
24575 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24576 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24577 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24578 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24579 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24580 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24581 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24582 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24583 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24584 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24585
445f7ecd
JM
24586 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24587 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24588
348363b2
JM
24589 * sysdeps/unix/sysv/linux/kernel-features.h
24590 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24591 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24592 unconditional.
24593 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24594 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24595 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24596 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24597 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24598 Make code unconditional.
24599 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24600 (__mmap64) [!__NR_mmap2]: Likewise.
24601 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24602 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24603 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24604 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24605 [__NR_mmap2]: Make code unconditional.
24606 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24607 (__mmap64) [!__NR_mmap2]: Likewise.
24608
bc5bc0e5
AK
246092012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24610
24611 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24612
88d506de
AJ
246132012-08-18 Andreas Jaeger <aj@suse.de>
24614
24615 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24616
493387d2
MF
246172012-08-18 Mike Frysinger <vapier@gentoo.org>
24618
24619 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24620 * include/unistd.h (__have_sock_cloexec): Likewise.
24621 (__have_pipe2): Likewise.
24622 (__have_dup3): Likewise.
24623
a277af22
MF
246242012-08-18 Mike Frysinger <vapier@gentoo.org>
24625
24626 [BZ #9685]
24627 * include/unistd.h (__have_pipe2): Change define into an extern int.
24628 (__have_dup3): Likewise.
24629 * socket/have_sock_cloexec.c: Include fcntl.h.
24630 (__have_pipe2): New variable.
24631 (__have_dup3): Likewise.
24632
fdab8fd3
MF
246332012-08-17 Mike Frysinger <vapier@gentoo.org>
24634
24635 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24636
31035e80
MP
246372012-08-17 Marek Polacek <polacek@redhat.com>
24638
24639 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24640 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24641
3bd9e993
RM
246422012-08-17 Roland McGrath <roland@hack.frob.com>
24643
c91c505f
RM
24644 * configure.in: Add AC_SUBST for sysheaders.
24645 * configure: Regenerated.
24646 * config.make.in (sysheaders): New substituted variable.
24647
7c6f9d53
RM
24648 * sysdeps/unix/mkfifo.c: Moved ...
24649 * sysdeps/posix/mkfifo.c: ... here.
24650 * sysdeps/unix/mkfifoat.c: Moved ...
24651 * sysdeps/posix/mkfifoat.c: ... here.
24652
24653 * sysdeps/unix/utime.c: Moved ...
24654 * sysdeps/posix/utime.c: ... here.
24655
24656 * sysdeps/unix/time.c: Moved ...
24657 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24658 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24659 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24660
24661 * sysdeps/unix/nice.c: Moved ...
24662 * sysdeps/posix/nice.c: ... here.
24663
24664 * sysdeps/unix/alarm.c: Moved ...
24665 * sysdeps/posix/alarm.c: ... here.
24666
3bd9e993
RM
24667 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24668
d1f09384
JL
246692012-08-17 Jeff Law <law@redhat.com>
24670
24671 * intl/Makefile (codeset_mo): New variable.
24672 ($(codeset_mo)): New target.
24673 (tst-codeset.out): Depend on that. Remove explicit rule.
24674 (tst-gettext3.out, tst-gettext5.out): Likewise.
24675 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24676 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24677 * intl/tst-codeset.sh: Remove.
24678 * intl/tst-gettext3.sh: Likewise.
24679 * intl/tst-gettext5.sh: Likewise.
24680
2ae1ae5c
RM
246812012-08-17 Roland McGrath <roland@hack.frob.com>
24682
c31fdb83
RM
24683 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24684 * sysdeps/unix/syscalls.list: ... here.
24685
a0844057
RM
24686 * sysdeps/posix/getaddrinfo.c
24687 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24688 (gaiconf_init, gaiconf_reload): Use them.
24689 [!_STATBUF_ST_NSEC]
24690 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24691 Define using time_t rather than struct timespec.
24692
750c1f2a
RM
24693 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24694 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24695 Macros removed.
24696 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24697 [!NO_THREADS].
24698 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24699 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24700 Likewise.
24701
2ae1ae5c
RM
24702 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24703 __libc_cleanup_push argument.
24704
e66a42f5
RM
24705 * bits/param.h: New file.
24706 * misc/sys/param.h: New file.
24707 * include/sys/param.h: New file.
24708 * misc/Makefile (headers): Add bits/param.h.
24709 * sysdeps/generic/sys/param.h: File removed.
24710 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24711 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24712 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24713 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24714
b7c08a66
RM
24715 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24716 last change.
24717
b2e1c562
RM
24718 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24719 [_IO_MTSAFE_IO].
24720 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24721 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24722 New macros.
24723
c75ccd4c
RM
24724 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24725 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24726 rather than -D_IO_MTSAFE_IO conditionally.
24727 * stdio-common/Makefile (CPPFLAGS): Likewise.
24728 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24729 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24730 Use $(libio-mtsafe).
24731 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24732 of -D_IO_MTSAFE_IO.
24733 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24734 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24735 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24736 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24737 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24738 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24739 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24740 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24741 (CFLAGS-fread_u_chk.c): Likewise.
24742 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24743 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24744 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24745 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24746 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24747 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24748 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24749 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24750 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24751
24752 * libio/Makefile: Test [$(libc-reentrant) = yes]
24753 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24754
24755 * Makeconfig
24756 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24757 * sysdeps/pthread/configure: File removed.
24758 * sysdeps/pthread/Makeconfig: New file.
24759 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24760 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24761
d9195db8
GB
247622012-08-16 Gary Benson <gbenson@redhat.com>
24763
24764 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24765 unmapping the first object in a namespace.
24766
86466cd9
RM
247672012-08-16 Roland McGrath <roland@hack.frob.com>
24768
24769 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24770 (__internal_setnetgrent): ... this. Add internal_function to
24771 definition. Add libc_hidden_def.
24772 (setnetgrent): Update caller.
24773 (internal_endnetgrent): Renamed to ...
24774 (__internal_endnetgrent): ... this. Add internal_function to
24775 definition. Add libc_hidden_def.
24776 (endnetgrent): Update caller.
24777 (internal_getnetgrent_r): Renamed to ...
24778 (__internal_getnetgrent_r): ... this. Add internal_function to
24779 definition. Add libc_hidden_def.
24780 (__getnetgrent_r): Update caller.
24781 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24782
c3c8283c
JM
247832012-08-16 Joseph Myers <joseph@codesourcery.com>
24784
24785 * stdlib/longlong.h: Update from GCC.
24786
db1ee0a8
RM
247872012-08-16 Roland McGrath <roland@hack.frob.com>
24788
24789 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24790 on _QL, which is set by umul_ppmm but never used.
24791 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24792 variables, which are set by GMP macros but never used.
24793 * stdio-common/_itowa.c (_itowa): Likewise.
24794 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24795 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24796
30f69637
CD
247972012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24798
24799 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24800 struct La_sh_regs is not constant.
24801 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24802 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24803 and struct La_sparc64_regs are not constant.
24804
93a78ac4
JM
248052012-08-16 Joseph Myers <joseph@codesourcery.com>
24806
24807 * sysdeps/unix/sysv/linux/kernel-features.h
24808 (__ASSUME_POSIX_TIMERS): Remove.
24809 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24810 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24811 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24812 Make code unconditional.
24813 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24814 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24815 Make code unconditional.
24816 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24817 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24818 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24819 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24820 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24821 Make code unconditional.
24822 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24823 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24824 (__libc_missing_posix_timers): Remove.
24825
dd924cd7
RM
248262012-08-15 Roland McGrath <roland@hack.frob.com>
24827
4b4f2771
RM
24828 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24829 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24830
601c888b
RM
24831 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24832
176790a7
RM
24833 * elf/dl-sym.c: Include <stdlib.h>.
24834
329bc018
RM
24835 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24836 constants, which avoids warnings in 32-bit builds.
24837
e04e272d
RM
24838 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24839 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24840
952bf94a
RM
24841 * misc/lseek.c: File moved to ...
24842 * io/lseek.c: ... here.
24843
7c99b50a
RM
24844 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24845
dd924cd7
RM
24846 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24847 shifting LEN more than 31 bits at once.
24848
b3f479a8
LD
248492012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24850
24851 [BZ #14195]
8c4ae0d4
RM
24852 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24853 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24854 * string/test-strncasecmp.c (check1): Renamed to...
24855 (bz12205): ...this.
24856 (bz14195): Add new testcase for two empty input strings and N > 0.
24857 (test_main): Call new testcase, adapt for renamed function.
24858
9c55864e
AJ
248592012-08-15 Andreas Jaeger <aj@suse.de>
24860
24861 [BZ #14090]
24862 * crypt/md5test2.c: New test, based on test supplied by Serge
24863 Belyshev <belyshev@depni.sinp.msu.ru>.
24864 * crypt/Makefile (xtests): Add md5test-giant..
24865 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24866
02dcb6c5
PE
248672012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24868
24869 [BZ #14090]
24870 * crypt/md5.c (md5_process_block): Don't assume the buffer
24871 length is less than 2**32.
24872 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24873 length is less than 2**64.
24874
a3f95dcc
RM
248752012-08-15 Roland McGrath <roland@hack.frob.com>
24876
be75d758
RM
24877 * string/str-two-way.h: Include <sys/param.h>.
24878 (MAX): Macro removed.
24879
7312ca90
RM
24880 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24881 Move #define and #undef of memmove to just before and after
24882 including <string.h>.
24883
9a0a5486
RM
24884 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24885 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24886 and after including <string.h>. Move declarations of
24887 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24888 to before #include "string/memmove.c".
24889
67cc348d
RM
24890 * include/dirent.h: Declare __getdirentries.
24891
a3f95dcc
RM
24892 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24893 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24894
ca98e171
MF
248952012-08-14 Mike Frysinger <vapier@gentoo.org>
24896
24897 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24898 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24899 * sysdeps/i386/configure: Regenerated.
24900 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24901 STABS_CURRENT_FILE, and STABS_FUN.
24902 (END): Remove call to STABS_FUN_END.
24903 (STABS_CURRENT_FILE1): Delete.
24904 (STABS_CURRENT_FILE): Likewise.
24905 (STABS_FUN): Likewise.
24906 (STABS_FUN_END): Likewise.
24907 (STABS_FUN2): Likewise.
24908 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24909 * sysdeps/x86_64/configure: Regenerated.
24910
5908bf46
RM
249112012-08-14 Roland McGrath <roland@hack.frob.com>
24912
24913 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24914 * elf/dl-lookup.c: Likewise.
5908bf46 24915
f2c05b9e
JM
249162012-08-14 Joseph Myers <joseph@codesourcery.com>
24917
24918 * sysdeps/unix/sysv/linux/kernel-features.h
24919 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24920 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24921 unconditionally.
24922 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24923 unconditionally.
24924 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24925 condition on __ASSUME_CLONE_THREAD_FLAGS.
24926
e11f5155
AJ
249272012-08-14 Andreas Jaeger <aj@suse.de>
24928
24929 * sysdeps/i386/fpu/libm-test-ulps: Update.
24930
51a9ba86
MK
249312012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24932
2fdd4f78
AJ
24933 * include/atomic.h (atomic_exchange_and_add): Split into ...
24934 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24935 New atomic macros.
51a9ba86 24936
ba6cba9e
MT
249372012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24938
24939 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24940
42443a47
JL
249412012-08-13 Jeff Law <law@redhat.com>
24942
24943 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24944 null byte in the output string.
24945
121dce05
JM
249462012-08-10 Joseph Myers <joseph@codesourcery.com>
24947
24948 * sysdeps/unix/sysv/linux/kernel-features.h
24949 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24950 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24951 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24952 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24953 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24954 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24955 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24956
bf51f568
JL
249572012-08-09 Jeff Law <law@redhat.com>
24958
24959 [BZ #13939]
24960 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24961 When avoid_arena is set, don't retry in the that arena. Pick the
24962 next one, whatever it might be.
24963 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24964 (arena_lock): Pass in new parameter to arena_get2.
24965 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24966 arena_get2.
24967 (__libc_malloc): Unify retrying after main arena failure with
24968 __libc_memalign version.
24969 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24970
f85fa270
L
249712012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24972
24973 [BZ #14166]
24974 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24975 to __redirect_strstr.
24976 (__strstr_sse42): Use typeof __redirect_strstr.
24977 (__strstr_ia32): Likewise.
24978 (__libc_strstr): New prototype.
24979 (strstr): Renamed to ...
24980 (__libc_strstr): This.
24981 (strstr): New strong alias of __libc_strstr.
24982 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24983 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
24984 __redirect_time.
24985 Include <time.h>.
24986 (__libc_time): New prototype.
24987 (time_ifunc): Replace time with __libc_time.
24988 (time): New strong alias and hidden definition of __libc_time.
24989 (__GI_time): Remove strong alias.
24990 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
24991 Include <stddef.h>.
24992 (memmove): Redefined to __redirect_memmove.
24993 (__memmove_sse2): Use typeof __redirect_memmove.
24994 (__memmove_ssse3): Likewise.
24995 (__memmove_ssse3_back): Likewise.
24996 (__libc_memmove): New prototype.
24997 (memmove): Renamed to ...
24998 (__libc_memmove): This.
24999 (memmove): New strong alias of __libc_memmove.
25000
33b4a91e
MS
250012012-08-08 Mark Salter <msalter@redhat.com>
25002
25003 * elf/elf.h
25004 (R_MN10300_TLS_GD): Define.
25005 (R_MN10300_TLS_LD): Likewise.
25006 (R_MN10300_TLS_LDO): Likewise.
25007 (R_MN10300_TLS_GOTIE): Likewise.
25008 (R_MN10300_TLS_IE): Likewise.
25009 (R_MN10300_TLS_LE): Likewise.
25010 (R_MN10300_TLS_DTPMOD): Likewise.
25011 (R_MN10300_TLS_DTPOFF): Likewise.
25012 (R_MN10300_TLS_TPOFF): Likewise.
25013 (R_MN10300_SYM_DIFF): Likewise.
25014 (R_MN10300_ALIGN): Likewise.
25015 (R_MN10300_NUM): Update.
25016
b36137f1
JM
250172012-08-08 Joseph Myers <joseph@codesourcery.com>
25018
25019 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25020 Remove.
25021
cdd915fd
RM
250222012-08-08 Roland McGrath <roland@hack.frob.com>
25023
a2433aac
RM
25024 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25025
cdd915fd
RM
25026 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25027 sysdeps/unix -> sysdeps/posix move.
25028 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25029
bf9b740a
AM
250302012-08-07 Allan McRae <allan@archlinux.org>
25031
25032 [BZ #14303]
25033 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25034 (SUNOS_CPP): Likewise.
25035 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25036 not found.
25037 (open_input): Call CPP using execvp.
25038
93df14ee
JM
250392012-08-07 Joseph Myers <joseph@codesourcery.com>
25040
25041 * sysdeps/unix/sysv/linux/kernel-features.h
25042 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25043 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25044 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25045 (__ASSUME_WAITID_SYSCALL): Likewise.
25046 * sysdeps/unix/sysv/linux/dl-execstack.c
25047 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25048 code unconditional.
25049 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25050 conditional code.
25051 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25052 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25053 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25054 code.
25055 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25056 unconditional.
25057 [__ASSUME_WAITID_SYSCALL]: Likewise.
25058 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25059
d34689de
RM
250602012-08-07 Roland McGrath <roland@hack.frob.com>
25061
a281decc
RM
25062 * sysdeps/unix/closedir.c: Renamed to ...
25063 * sysdeps/posix/closedir.c: ... here.
25064 * sysdeps/unix/dirfd.c: Renamed to ...
25065 * sysdeps/posix/dirfd.c: ... here.
25066 * sysdeps/unix/dirstream.h: Renamed to ...
25067 * sysdeps/posix/dirstream.h: ... here.
25068 * sysdeps/unix/fdopendir.c: Renamed to ...
25069 * sysdeps/posix/fdopendir.c: ... here.
25070 * sysdeps/unix/opendir.c: Renamed to ...
25071 * sysdeps/posix/opendir.c: ... here.
25072 * sysdeps/unix/readdir.c: Renamed to ...
25073 * sysdeps/posix/readdir.c: ... here.
25074 * sysdeps/unix/readdir_r.c: Renamed to ...
25075 * sysdeps/posix/readdir_r.c: ... here.
25076 * sysdeps/unix/rewinddir.c: Renamed to ...
25077 * sysdeps/posix/rewinddir.c: ... here.
25078 * sysdeps/unix/seekdir.c: Renamed to ...
25079 * sysdeps/posix/seekdir.c: ... here.
25080 * sysdeps/unix/telldir.c: Renamed to ...
25081 * sysdeps/posix/telldir.c: ... here.
25082 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25083 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25084 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25085 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25086
22895b47
RM
25087 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25088 * bits/fcntl.h: ... here.
25089
707a53b6
RM
25090 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25091 not 0.
25092 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25093 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25094 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25095 (struct flock): Move l_start, l_len to the beginning.
25096 Use __pid_t for l_pid.
25097 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25098 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25099 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25100 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25101 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25102 [__USE_LARGEFILE64] (struct flock64): New type.
25103 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25104
f0bd3e25
RM
25105 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25106 * bits/dirent.h: ... here.
25107
d34689de
RM
25108 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25109 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25110
6dad2c06
JM
251112012-08-07 Joseph Myers <joseph@codesourcery.com>
25112
25113 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25114 Change from 2.6.0 to 2.6.16.
25115 * sysdeps/unix/sysv/linux/configure: Regenerated.
25116 * sysdeps/unix/sysv/linux/kernel-features.h
25117 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25118 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25119 version.
25120 (__ASSUME_UTIMES): Likewise.
25121 (__ASSUME_CLONE_STOPPED): Remove.
25122 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25123 architectures, not kernel version.
25124 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25125 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25126 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25127 (__ASSUME_WAITID_SYSCALL): Likewise.
25128 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25129 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25130 * README: State 2.6.16 as minimum Linux kernel version. Do not
25131 refer to older versions.
25132
03af9520
RM
251332012-08-06 Roland McGrath <roland@hack.frob.com>
25134
8e49df1d
RM
25135 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25136 Define alphasort64 as an alias.
25137 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25138 Define versionsort64 as an alias.
25139 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25140 Define scandir64 as an alias.
25141 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25142 Define scandirat64 as an alias.
25143 * dirent/alphasort64.c (alphasort64):
25144 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25145 * dirent/versionsort64.c: Likewise.
25146 * dirent/scandir64.c: Likewise.
25147 * dirent/scandirat64.c: Likewise.
25148 * sysdeps/wordsize-64/alphasort.c: File removed.
25149 * sysdeps/wordsize-64/alphasort64.c: File removed.
25150 * sysdeps/wordsize-64/scandir.c: File removed.
25151 * sysdeps/wordsize-64/scandir64.c: File removed.
25152 * sysdeps/wordsize-64/scandirat.c: File removed.
25153 * sysdeps/wordsize-64/scandirat64.c: File removed.
25154 * sysdeps/wordsize-64/versionsort.c: File removed.
25155 * sysdeps/wordsize-64/versionsort64.c: File removed.
25156 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25157 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25158 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25159 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25160 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25161 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25162 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25163 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25164
25165 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25166 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25167 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25168 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25169 [defined __arch64__ || defined __sparcv9]
25170 (__INO_T_MATCHES_INO64_T): New macro.
25171 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25172 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25173 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25174 * sysdeps/unix/sysv/linux/bits/dirent.h
25175 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25176 (_DIRENT_MATCHES_DIRENT64): New macro.
25177
03af9520
RM
25178 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25179 Define lockf64 as an alias.
25180 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25181 Define fseeko64 as an alias.
25182 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25183 Define ftello64 as an alias.
25184 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25185 Define _IO_fgetpos64 and fgetpos64 as aliases.
25186 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25187 Define _IO_fsetpos64 and fsetpos64 as aliases.
25188 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25189 Conditionalize body on this.
25190 * libio/fseeko64.c: Likewise.
25191 * libio/ftello64.c: Likewise.
25192 * libio/iofgetpos64.c: Likewise.
25193 * libio/iofsetpos64.c: Likewise.
25194 * sysdeps/wordsize-64/lockf.c: File removed.
25195 * sysdeps/wordsize-64/lockf64.c: File removed.
25196 * sysdeps/wordsize-64/fseeko.c: File removed.
25197 * sysdeps/wordsize-64/fseeko64.c: File removed.
25198 * sysdeps/wordsize-64/ftello.c: File removed.
25199 * sysdeps/wordsize-64/ftello64.c: File removed.
25200 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25201 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25202 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25203 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25204 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25205 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25206 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25207 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25208 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25209 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25210 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25211 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25212 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25213 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25214
25215 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25216 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25217 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25218 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25219 [defined __arch64__ || defined __sparcv9]
25220 (__OFF_T_MATCHES_OFF64_T): New macro.
25221 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25222 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25223 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25224 (__OFF_T_MATCHES_OFF64_T): New macro.
25225
c5757acd
L
252262012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25227
25228 * stdlib/secure-getenv.c (__secure_getenv): Replace
25229 GLIBC_2_16 with GLIBC_2_17.
25230
3a31811e
L
252312012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25232
25233 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25234 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25235
faa2bccb
DM
252362012-08-03 David S. Miller <davem@davemloft.net>
25237
25238 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25239
85fe1997
JM
252402012-08-03 Joseph Myers <joseph@codesourcery.com>
25241
25242 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25243 Remove.
25244 (__ASSUME_CORRECT_SI_PID): Likewise.
25245 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25246 (__ASSUME_TMPFS_NAME): Likewise.
25247 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25248 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25249 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25250 (HAVE_AUX_SECURE): Make definition unconditional.
25251 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25252 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25253
4f75b7a0
RM
252542012-08-03 Roland McGrath <roland@hack.frob.com>
25255
25256 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25257 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25258 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25259 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25260 __eloop_threshold instead of SYMLOOP_MAX.
25261
25262 * sysdeps/generic/eloop-threshold.h: New file.
25263 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25264 of MAXSYMLINKS.
25265 * elf/chroot_canon.c (chroot_canon): Likewise.
25266
7aab07e4
JM
252672012-08-03 Joseph Myers <joseph@codesourcery.com>
25268
25269 [BZ #13717]
25270 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25271 Change to 2.6.0 everywhere.
25272 * sysdeps/unix/sysv/linux/configure: Regenerated.
25273 * sysdeps/unix/sysv/linux/kernel-features.h
25274 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25275 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25276 kernel versions.
25277 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25278 (__ASSUME_FUTEX_REQUEUE): Remove.
25279 (__ASSUME_STATFS64): Define unconditionally.
25280 (__ASSUME_AT_SECURE): Likewise.
25281 (__ASSUME_CORRECT_SI_PID): Likewise.
25282 (__ASSUME_TGKILL): Define without depending on kernel version for
25283 i386.
25284 (__ASSUME_UTIMES): Likewise.
25285 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25286 kernel version.
25287 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25288 (__ASSUME_TMPFS_NAME): Likewise.
25289 * README: Update reference to Linux kernel versions.
25290
b67e9372
MP
252912012-08-02 Marek Polacek <polacek@redhat.com>
25292
1f529f7d 25293 [BZ# 14150]
b67e9372
MP
25294 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25295 libc_cv_asm_type_prefix with %.
25296 * configure: Regenerated.
d2441631
RM
25297 * include/libc-symbols.h: Remove comment about
25298 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25299 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25300 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25301 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25302 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25303 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25304 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25305 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25306 * elf/tst-unique2mod1.c: Likewise.
25307 * elf/tst-unique1mod2.c: Likewise.
25308 * elf/tst-unique1mod1.c: Likewise.
25309 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25310 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25311 Replace ASM_TYPE_DIRECTIVE with .type.
25312 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25313 * sysdeps/i386/sysdep.h: Likewise.
25314 * sysdeps/x86_64/sysdep.h: Likewise.
25315 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25317 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25318 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25319 * sysdeps/powerpc/powerpc32/sysdep.h:
25320 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25321 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25322 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25323 * sysdeps/i386/fpu/e_powf.S: Likewise.
25324 * sysdeps/i386/fpu/e_expl.S: Likewise.
25325 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25326 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25327 * sysdeps/i386/fpu/e_pow.S: Likewise.
25328 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25329 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25330 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25331 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25332 * sysdeps/i386/fpu/e_log2.S: Likewise.
25333 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25334 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25335 * sysdeps/i386/fpu/e_powl.S: Likewise.
25336 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25337 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25338 * sysdeps/i386/fpu/e_logl.S: Likewise.
25339 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25340 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25341 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25342 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25343 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25344 * sysdeps/i386/fpu/e_log.S: Likewise.
25345 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25346 * sysdeps/i386/fpu/e_logf.S: Likewise.
25347 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25348 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25349 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25350 * sysdeps/i386/fpu/e_log10.S: Likewise.
25351 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25352 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25353 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25354 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25355 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25356 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25357 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25358 * sysdeps/i386/i686/strtok.S: Likewise.
25359 * sysdeps/i386/i386-mcount.S: Likewise.
25360 * sysdeps/i386/strtok.S: Likewise.
25361 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25362 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25363 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25364 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25365 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25366 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25367 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25368 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25369 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25370 * sysdeps/x86_64/_mcount.S: Likewise.
25371 * sysdeps/x86_64/strtok.S: Likewise.
25372 * sysdeps/sh/_mcount.S: Likewise.
25373
2747bf9a
RM
253742012-08-01 Roland McGrath <roland@hack.frob.com>
25375
25376 * libio/iofopen.c: Include <fcntl.h>.
25377 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25378 (_IO_fopen64, fopen64): Define as aliases.
25379 * libio/iofopen64.c: Include <fcntl.h>.
25380 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25381 Conditionalize body on this.
25382 * sysdeps/wordsize-64/iofopen.c: File removed.
25383 * sysdeps/wordsize-64/iofopen64.c: File removed.
25384
3fb791b8
MP
253852012-08-01 Marek Polacek <polacek@redhat.com>
25386
25387 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25388 Use dlfcn directly instead of a variable.
25389 (binfmt-subdir): Do not define.
25390 (dlfcn): Likewise.
25391
a9f1039f
JM
253922012-08-01 Joseph Myers <joseph@codesourcery.com>
25393
23bddc06
JM
25394 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25395 Remove all definitions.
25396 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25397 <kernel-features.h>.
25398 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25399 (miss_F_GETOWN_EX): Remove all definitions.
25400 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25401 macro definition.
25402 [!__ASSUME_FCNTL64]: Remove conditional code.
25403 [__ASSUME_FCNTL64]: Make code unconditional.
25404 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25405 <kernel-features.h>.
25406 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25407 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25408 (lockf64) [__NR_fcntl64]: Make code unconditional.
25409 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25410
a9f1039f
JM
25411 * sysdeps/unix/sysv/linux/kernel-features.h
25412 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25413 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25414 Make code unconditional.
25415 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25416 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25418 [__NR_vfork]: Make code unconditional.
25419 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25420 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25422 [__NR_vfork]: Make code unconditional.
25423 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25424 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25425
09c0ee5f
RM
254262012-08-01 Roland McGrath <roland@hack.frob.com>
25427
48aec5b9
RM
25428 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25429 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25430
cd97c966
RM
25431 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25432 Define mkstemp64 as an alias.
3f55550c
RM
25433 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25434 Define mkstemps64 as an alias.
cd97c966
RM
25435 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25436 Define mkostemp64 as an alias.
b8625cfc
RM
25437 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25438 Define mkostemps64 as an alias.
cd97c966
RM
25439 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25440 Conditionalize body on this.
25441 * misc/mkostemp64.c: Likewise.
b8625cfc 25442 * misc/mkostemps64.c: Likewise.
3f55550c 25443 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25444 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25445 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25446 * sysdeps/wordsize-64/mkostemp.c: File removed.
25447 * sysdeps/wordsize-64/mkstemp.c: File removed.
25448 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25449 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25450 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25451 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25452
09c0ee5f
RM
25453 [BZ #14138]
25454 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25455 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25456 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25457 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25458
25459 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25460 compat_symbol macros from <shlib-compat.h> rather than the underlying
25461 default_symbol_version and symbol_version macros, so that DEFAULT
25462 lines in shlib-versions are respected.
25463 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25464
7e66ee51
FW
254652012-08-01 Florian Weimer <fweimer@redhat.com>
25466
25467 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25468 Declare with warn_unused_result.
25469 (setgid, setregid, setegid, setresgid): Likewise.
25470 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25471 Likewise.
25472 * WUR-REPORT: Remove set*id functions.
25473
d2a54255
PT
254742012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25475
25476 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25477
7ecdb005
RM
254782012-07-31 Roland McGrath <roland@hack.frob.com>
25479
b4180a5e 25480 [BZ #10191]
789bd351
RM
25481 * include/sys/socket.h (__libc_accept, __libc_accept4):
25482 Add attribute_hidden.
25483 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25484
40ce302d
RM
25485 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25486 use of PTR_MANGLE.
25487 * inet/getnetgrent_r.c (setup): Likewise.
25488
7ecdb005
RM
25489 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25490
e2eabb2c
DM
254912012-07-31 David S. Miller <davem@davemloft.net>
25492
25493 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25494
d0419dbf
JM
254952012-07-31 Joseph Myers <joseph@codesourcery.com>
25496
25497 [BZ #13629]
25498 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25499 value between 1.0 and 2.0 and smaller part has absolute value less
25500 than 1.0.
25501 * math/s_clog10.c (__clog10): Likewise.
25502 * math/s_clog10f.c (__clog10f): Likewise.
25503 * math/s_clog10l.c (__clog10l): Likewise.
25504 * math/s_clogf.c (__clogf): Likewise.
25505 * math/s_clogl.c (__clogl): Likewise.
25506 * math/libm-test.inc (clog_test): Add more tests.
25507 (clog10_test): Likewise.
25508 * sysdeps/i386/fpu/libm-test-ulps: Update.
25509 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25510
2bc13872
FW
255112012-07-31 Florian Weimer <fweimer@redhat.com>
25512
25513 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25514 Exit with zero in case no suitable GID is found, and write a
25515 message to standard error.
25516
bea9b193
RM
255172012-07-30 Roland McGrath <roland@hack.frob.com>
25518
25519 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25520 rather than to 1.
25521 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25522 (MAXPATHLEN): Removed.
25523 (NOGROUP, NODEV): New macros.
25524 (setbit, clrbit, isset, isclr): New macros.
25525 (howmany, roundup, powerof2): New macros.
25526 (DEV_BSIZE): New macro.
25527
25528 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25529 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25530
25531 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25532 definition on [!__NO_LONG_DOUBLE_MATH].
25533
25534 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25535 PTR_MANGLE and PTR_DEMANGLE.
25536
25537 * socket/accept4.c (accept4): Rename to __libc_accept4.
25538 Define accept4 as a weak alias.
25539
25540 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25541 on [_DIRENT_HAVE_D_TYPE].
25542 * io/ftw.c (ftw_dir): Likewise.
25543
25544 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25545
25546 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25547
25548 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25549 Use the BSD numbers rather than the arbitrary ones we had.
25550 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25551 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25552 (SIGXCPU, SIGXFSZ): New macros.
25553 (_NSIG): Now 32.
25554
25555 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25556 initializer on [_LIBC_REENTRANT].
25557
25558 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25559 definitions inside [_POSIX_MAPPED_FILES].
25560
25561 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25562
25563 * dirent/opendir.c: Include <fcntl.h>.
25564
25565 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25566 (__libc_getspecific): Likewise.
25567 (__libc_key_create): Likewise.
25568
25569 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25570 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25571 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25572 (tmpfile64): Define as alias.
25573 * sysdeps/wordsize-64/tmpfile.c: File removed.
25574 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25575 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25576 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25577
25578 * stdio-common/vfscanf.c: Include <stdbool.h>.
25579 * nss/makedb.c: Likewise.
25580 * stdio-common/_i18n_number.h: Likewise.
25581 * argp/argp-help.c: Likewise.
25582 * posix/wordexp.c: Likewise.
25583 * sysdeps/posix/spawni.c: Likewise.
25584 * nss/nss_files/files-initgroups.c: Likewise.
25585 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25586 * nss/nss_files/files-initgroups.c: Likewise.
25587 * nss/nss_db/db-netgrp.c: Likewise.
25588 * nss/nss_db/db-initgroups.c: Likewise.
25589 * io/fchmodat.c: Include <sys/stat.h>.
25590
25591 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25592 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25593
25594 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25595 [HAVE_MMAP].
25596
25597 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25598 Add multiple inclusion protection.
25599
e5abc686
DM
256002012-07-27 David S. Miller <davem@davemloft.net>
25601
25602 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25603
815e6fa3
GB
256042012-07-27 Gary Benson <gbenson@redhat.com>
25605
25606 [BZ #14298]
25607 * elf/rtld.c: Include <stap-probe.h>.
25608 (dl_main): Added static probes "init_start" and "init_complete".
25609 * elf/dl-load.c: Include <stap-probe.h>.
25610 (lose): Take new parameter "nsid".
25611 Added static probe "map_failed".
25612 (_dl_map_object_from_fd): Pass namespace id to lose.
25613 Added static probe "map_start".
25614 (open_verify): Pass namespace id to lose.
25615 * elf/dl-open.c: Include <stap-probe.h>.
25616 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25617 and "reloc_complete".
25618 * elf/dl-close.c: Include <stap-probe.h>.
25619 (_dl_close_worker): Added static probes "unmap_start" and
25620 "unmap_complete".
25621 * elf/rtld-debugger-interface.txt: New file documenting the above.
25622
9f98c16c
RM
256232012-07-26 Roland McGrath <roland@hack.frob.com>
25624
25625 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25626 rather than a string variable.
25627 * sunrpc/rpc_main.c (h_output): Likewise.
25628 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25629
f3c22df3
PT
256302012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25631
25632 * inet/check_native.c: New file.
25633
3129cfc6
JM
256342012-07-26 Joseph Myers <joseph@codesourcery.com>
25635
da865e95
JM
25636 [BZ #13629]
25637 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25638 if larger part has absolute value 1.0.
25639 * math/s_clog10.c (__clog10): Likewise.
25640 * math/s_clog10f.c (__clog10f): Likewise.
25641 * math/s_clog10l.c (__clog10l): Likewise.
25642 * math/s_clogf.c (__clogf): Likewise.
25643 * math/s_clogl.c (__clogl): Likewise.
25644 * math/libm-test.inc (clog_test): Add more tests.
25645 (clog10_test): Likewise.
25646 * sysdeps/i386/fpu/libm-test-ulps: Update.
25647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25648
3129cfc6
JM
25649 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25650 (pltexit): Likewise.
25651 (La_regs): Likewise.
25652 (La_retval): Likewise.
25653 (int_retval): Likewise.
25654 Update #error for removed macros to refer only to definitions in
25655 tst-audit.h.
25656 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25657 macro.
25658 (pltexit): Likewise.
25659 (La_regs): Likewise.
25660 (La_retval): Likewise.
25661 (int_retval): Likewise.
25662 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25663 macro.
25664 (pltexit): Likewise.
25665 (La_regs): Likewise.
25666 (La_retval): Likewise.
25667 (int_retval): Likewise.
25668 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25669 macro.
25670 (pltexit): Likewise.
25671 (La_regs): Likewise.
25672 (La_retval): Likewise.
25673 (int_retval): Likewise.
25674 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25675 macro.
25676 (pltexit): Likewise.
25677 (La_regs): Likewise.
25678 (La_retval): Likewise.
25679 (int_retval): Likewise.
25680 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25681 macro.
25682 (pltexit): Likewise.
25683 (La_regs): Likewise.
25684 (La_retval): Likewise.
25685 (int_retval): Likewise.
25686 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25687 macro.
25688 (pltexit): Likewise.
25689 (La_regs): Likewise.
25690 (La_retval): Likewise.
25691 (int_retval): Likewise.
25692 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25693 macro definitions in tst-audit.h.
25694 * sysdeps/i386/tst-audit.h: New file.
25695 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25696 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25697 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25698 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25699 * sysdeps/sh/tst-audit.h: Likewise.
25700 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25701 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25702 * sysdeps/x86_64/tst-audit.h: Likewise.
25703
bfc07087
AJ
257042012-07-26 Andreas Jaeger <aj@suse.de>
25705
b1b2aaf8
AJ
25706 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25707 ptrace.
25708
25709 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25710 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25711 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25712 PTRACE_O_MASK.
25713 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25714 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25715 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25716
bfc07087
AJ
25717 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25718 value.
25719
25720 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25721 _sigsys.
25722 (si_call_addr, si_syscall, si_arch): Define new macro.
25723 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25724 _sigsys.
25725 (si_call_addr, si_syscall, si_arch): Define new marcro.
25726 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25727 _sigsys.
25728 (si_call_addr, si_syscall, si_arch): Define new macro.
25729 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25730 _sigsys.
25731 (si_call_addr, si_syscall, si_arch): Define new macro.
25732
89b4b02f
JM
257332012-07-25 Joseph Myers <joseph@codesourcery.com>
25734
25735 [BZ #13717]
25736 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25737 Change to 2.4.21 where previously 2.4.1.
25738 * sysdeps/unix/sysv/linux/configure: Regenerated.
25739 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25740 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25741 Linux kernel version.
25742 (__ASSUME_STD_AUXV): Remove.
25743 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25744 kernel version.
25745 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25746 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25747 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25748 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25749 (__ASSUME_NETLINK_SUPPORT): Likewise.
25750 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25751 (__no_netlink_support): Remove conditional definition.
25752 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25753 Remove.
25754 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25755 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25756 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25757 (if_nameindex_ioctl): Remove.
25758 (if_nameindex_netlink): Do not handle __no_netlink_support.
25759 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25760 code.
25761 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25762 Remove conditional code.
25763 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25764 code.
25765 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25766 unconditional.
25767 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25768 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25769 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25770 Remove.
25771 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25772 [!__ASSUME_STD_AUXV]: Remove conditional code.
25773 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25774 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25775 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25777 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25778 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25779 code.
25780 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25782 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25783 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25784 conditional code.
25785 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25786 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25787 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25788 code.
25789 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25790 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25791 conditional code.
25792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25793 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25794 code unconditional.
25795 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25796 conditional code.
25797 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25798 unconditional.
25799 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25800 conditional code.
25801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25802 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25803 unconditional.
25804 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25805 conditional code.
25806 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25807 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25808 code unconditional.
25809 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25810 conditional code.
25811 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25812 unconditional.
25813 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25814 conditional code.
25815 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25816 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25817 code unconditional.
25818 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25819 conditional code.
25820 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25821 unconditional.
25822 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25823 conditional code.
25824
842a39cd
AS
258252012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25826
25827 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25828 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25829 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25830 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25831 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25832 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25833 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25834 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25835 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25836 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25837 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25838 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25839 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25840 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25841 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25842 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25843 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25844 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25845 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25846 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25847 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25848 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25849 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25850
84b3fd84
FW
258512012-07-25 Florian Weimer <fweimer@redhat.com>
25852
25853 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25854 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25855 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25856 Introduce __libc_secure_getenv.
0c7936d5
FW
25857 * stdlib/Versions (2.17): Add secure_getenv
25858 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25859 * stdlib/secure-getenv.c: Rename __secure_getenv to
25860 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25861 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25862 * stdlib/tst-secure-getenv.c: New.
25863 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25864 * manual/startup.texi (Environment Access): Document
25865 secure_getenv.
84b3fd84
FW
25866 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25867 __libc_secure_getenv.
25868 * inet/ruserpass.c (ruserpass): Likewise.
25869 * malloc/mtrace.c (mtrace): Likewise.
25870 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25871 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25872 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25873 * sysdeps/posix/tempname.c: Likewise. Evaluate
25874 HAVE_SECURE_GETENV.
25875 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25876 __secure_getenv to __libc_secure_getenv.
84b3fd84 25877 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25879 Likewise.
25880 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25881 Likewise.
25882 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25883 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25884 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25885 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25886 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25887 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25889
56e49b71
JM
258902012-07-25 Joseph Myers <joseph@codesourcery.com>
25891
25892 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25893 (struct La_i86_retval): Likewise.
25894 (struct La_x86_64_regs): Likewise.
25895 (struct La_x86_64_retval): Likewise.
25896 (struct La_x32_regs): Likewise.
25897 (struct La_x32_retval): Likewise.
25898 (struct La_ppc32_regs): Likewise.
25899 (struct La_ppc32_retval): Likewise.
25900 (struct La_ppc64_regs): Likewise.
25901 (struct La_ppc64_retval): Likewise.
25902 (struct La_sh_regs): Likewise.
25903 (struct La_sh_retval): Likewise.
25904 (struct La_s390_32_regs): Likewise.
25905 (struct La_s390_32_retval): Likewise.
25906 (struct La_s390_64_regs): Likewise.
25907 (struct La_s390_64_retval): Likewise.
25908 (struct La_sparc32_regs): Likewise.
25909 (struct La_sparc32_retval): Likewise.
25910 (struct La_sparc64_regs): Likewise.
25911 (struct La_sparc64_retval): Likewise.
25912 (struct audit_ifaces): Remove architecture-specific pltenter and
25913 pltexit members.
25914 * sysdeps/i386/ldsodefs.h: New file.
25915 * sysdeps/powerpc/ldsodefs.h: Likewise.
25916 * sysdeps/s390/ldsodefs.h: Likewise.
25917 * sysdeps/sh/ldsodefs.h: Likewise.
25918 * sysdeps/sparc/ldsodefs.h: Likewise.
25919 * sysdeps/x86_64/ldsodefs.h: Likewise.
25920
354691b7
MP
259212012-07-25 Marek Polacek <polacek@redhat.com>
25922
25923 [BZ #6808]
25924 * math/libm-test.inc (yn_test): Add another test.
25925 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25926 to ERANGE when the result is +-Inf.
25927 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25928 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25929 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25930 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25931
bf9e2071
JM
259322012-07-24 Joseph Myers <joseph@codesourcery.com>
25933
25934 * conform/data/time.h-data (NULL): Use macro-constant. Require
25935 equal to 0.
25936 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25937 clock_t.
25938 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25939
57633811
TS
259402012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25941
25942 * configure.in <sysdeps resolving>: Correct printing
25943 Implies_before.
25944 * configure: Regenerate.
25945
c23c33b0
TS
259462012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25947
25948 * math/w_ilogb.c: Include <limits.h>.
25949 * math/w_ilogbl.c: Likewise.
25950
b5982523
JM
259512012-07-20 Joseph Myers <joseph@codesourcery.com>
25952
25953 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25954 va_copy. Document allowing for unavailable va_copy only as
25955 pre-C99 compatibility.
25956 * manual/string.texi (Copying and Concatenation): Use va_copy
25957 instead of __va_copy in concat example.
25958
ac4ea442
PT
259592012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25960
25961 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25962 (__sendto): Use create_address_port. Initialize APORT and deallocate
25963 it if not null.
25964
f98eafbd
PT
25965 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25966 with O_NOLINK passed to __file_name_lookup.
25967
898c7aab
PT
25968 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25969 with O_NOLINK passed to __file_name_lookup.
25970
0ced335a
PT
25971 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25972 negative N or less than NGIDS.
25973
b3404dbd
PT
25974 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25975 type to string_t. Set ERANGE as errno and return it if NAME is not big
25976 enough. Use memcpy instead of strncpy.
25977
0f48659e
JM
259782012-07-20 Joseph Myers <joseph@codesourcery.com>
25979
25980 * elf/Makefile (check-data): Remove.
25981 (localplt.data): New vpath directive.
25982 ($(objpfx)check-localplt.out): Use localplt.data from vpath
25983 instead of $(check-data).
25984 * scripts/data/localplt-generic.data: Move to ...
25985 * sysdeps/generic/localplt.data: ... here.
25986 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
25987 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
25988 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
25989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
25990 ... here.
25991 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
25992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
25993 ... here.
25994 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
25995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
25996 ... here.
25997 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
25998 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
25999 ... here.
26000 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26001 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26002 ... here.
26003 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26004 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26005 ... here.
26006
d37cbdaa
AZ
260072012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26008
26009 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26010 PPC32 and PPC64 files.
26011 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26012 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26013
46f85fc2
AK
260142012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26015
26016 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26017 __makecontext_ret to ...
26018 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26019 ... here and call exit if uc_link is NULL. New file.
26020 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26021 __makecontext_ret.S.
26022 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26023 __makecontext_ret to ...
26024 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26025 ... here and call exit if uc_link is NULL. New file.
26026 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26027 __makecontext_ret.S.
26028
08f43f9b
AK
260292012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26030
26031 * elf/elf.h (R_390_IRELATIVE): New definition.
26032 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26033 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26034 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26035 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26036 (elf_machine_lazy_rel): Likewise.
26037 * sysdeps/s390/dl-irel.h: New file.
26038 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26039 * sysdeps/s390/s390-64/memset.S: New asm code.
26040 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26041 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26042 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26043 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26044 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26045 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26046 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26047 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26048 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26049 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26050 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26051 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26052 * sysdeps/s390/s390-32/memset.S: New asm code.
26053 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26054
3b05db33
MP
260552012-07-17 Marek Polacek <polacek@redhat.com>
26056
26057 [BZ #14349]
26058 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26059 * sysdeps/s390/s390-64/configure.in: Likewise.
26060 * sysdeps/sparc/configure.in: Likewise.
26061 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26062 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26063 * sysdeps/i386/configure.in: Likewise.
26064 * sysdeps/x86_64/configure.in: Likewise.
26065 * sysdeps/sh/configure.in: Likewise.
26066 * sysdeps/s390/s390-32/configure: Regenerated.
26067 * sysdeps/s390/s390-64/configure: Likewise.
26068 * sysdeps/x86_64/configure: Likewise.
26069 * sysdeps/sh/configure: Likewise.
26070 * sysdeps/powerpc/powerpc64/configure: Likewise.
26071 * sysdeps/powerpc/powerpc32/configure: Likewise.
26072 * sysdeps/sparc/configure: Likwise.
26073 * sysdeps/i386/configure: Likewise.
26074
a66877c6
MP
26075 * elf/dl-open.c: Comment fixes.
26076
cfc82fd8
JM
260772012-07-17 Joseph Myers <joseph@codesourcery.com>
26078
bd29910a
JM
26079 * Makefile [CXX] (check-data): Remove.
26080 [CXX] (c++-types.data): New vpath directive.
26081 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26082 vpath. Do not allow for C++ type data being missing.
26083 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26084 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26085 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26086 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26087 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26088 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26089 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26090 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26091 ... here.
26092 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26094 ... here.
26095 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26096 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26097 ... here.
26098 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26099 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26100 ... here.
26101 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26103 ... here.
26104 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26105 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26106 ... here.
26107 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26108 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26109 ... here.
26110 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26111 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26112
cfc82fd8
JM
26113 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26114 definitions to architecture-specific files.
26115 (TLS_IE): Likewise.
26116 (TLS_LD): Likewise.
26117 (TLS_GD): Likewise.
26118 * sysdeps/i386/tls-macros.h: New file.
26119 * sysdeps/powerpc/tls-macros.h: Likewise.
26120 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26121 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26122 * sysdeps/sh/tls-macros.h: Likewise.
26123 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26124 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26125 * sysdeps/x86_64/tls-macros.h: Likewise.
26126
f7db3170
TS
261272012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26128
07cbfc23
TS
26129 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26130 zero value for regular exit case.
26131
f7db3170
TS
26132 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26133 (__start_context): Preserve zero value for regular exit case.
26134
dc97c227
TS
261352012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26136 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26137
26138 * manual/setjmp.texi (setcontext): Clarify normal process
26139 termination when uc_link is the null pointer.
26140 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26141 exit call.
26142
d0cd7d02
AS
261432012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26144
26145 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26146 preprocessor. Test for each exception mask separately.
26147
dd318934
AJ
261482012-07-16 Andreas Jaeger <aj@suse.de>
26149
26150 * po/ru.po: Update from translation team.
26151
8048311a
JM
261522012-07-15 Joseph Myers <joseph@codesourcery.com>
26153
26154 * conform/data/string.h-data (NULL): Use macro-constant. Require
26155 equal to 0.
26156 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26157 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26158 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26159 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26160 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26161
b637d46e
AJ
261622012-07-13 Andreas Jaeger <aj@suse.de>
26163
26164 * po/fr.po: Update from translation team.
26165
541428fe
MP
261662012-07-12 Marek Polacek <polacek@redhat.com>
26167
26168 [BZ #14173]
26169 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26170 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26171 loop condition.
26172
ec332e94
JM
261732012-07-12 Joseph Myers <joseph@codesourcery.com>
26174
26175 [BZ #13717]
26176 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26177 Change to 2.4.1 where previously 2.4.0.
26178 * sysdeps/unix/sysv/linux/configure: Regenerated.
26179 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26180 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26181 version.
26182 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26183 (__ASSUME_AT_CLKTCK): Remove.
26184 (__ASSUME_AT_PAGESIZE): Likewise.
26185 (__ASSUME_AT_XID): Likewise.
26186 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26187 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26188 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26189 unconditionally.
26190 (HAVE_AUX_PAGESIZE): Likewise.
26191 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26192 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26193 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26194
7b6e99be
JB
261952012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26196
26197 [BZ #14307]
26198 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26199 the temporary buffer used to invoke __gethostbyname2_r,
26200 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26201 host_data / struct gaih_addrtuple.
26202 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26203 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26204 header file nss/nsswitch.h.
26205 * nss/nsswitch.h (global scope): Add definition of implementation
26206 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26207 resolv/nss_dns/dns-host.c).
26208
608404eb
AJ
262092012-07-11 Andreas Jaeger <aj@suse.de>
26210
26211 * po/fr.po: Update from translation team.
26212
71220aca
AJ
26213 * po/sv.po: Update from translation team
26214 * po/fr.po: Another update from translation team.
26215
28cfe843
AZ
262162012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26217
26218 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26219 for subnormals or multiply small sinh result by itself.
26220 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26221 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26222
6b90f981
DM
262232012-07-11 David S. Miller <davem@davemloft.net>
26224
26225 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26226
c6825772
AS
262272012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26228
26229 [BZ #14347]
26230 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26231 (INTERNAL_MARK): Shift it here.
26232
7b8e0d49
MP
262332012-07-10 Marek Polacek <polacek@redhat.com>
26234
26235 [BZ #14151]
26236 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26237 libc_cv_asm_global_directive with .globl.
26238 * configure: Regenerated.
26239 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26240 with .globl.
26241 * sysdeps/i386/configure: Regenerated.
26242 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26243 with .globl.
26244 * sysdeps/x86_64/configure: Regenerated.
26245 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26246 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26247 * elf/tst-unique2mod2.c: Likewise.
26248 * elf/tst-unique2mod1.c: Likewise.
26249 * elf/tst-unique1mod2.c: Likewise.
26250 * elf/tst-unique1mod1.c: Likewise.
26251 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26252 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26253 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26254 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26255 * sysdeps/mach/sysdep.h: Likewise.
26256 * sysdeps/i386/sysdep.h: Likewise.
26257 * sysdeps/i386/i386-mcount.S: Likewise.
26258 * sysdeps/x86_64/_mcount.S: Likewise.
26259 * sysdeps/x86_64/sysdep.h: Likewise.
26260 * sysdeps/sh/_mcount.S: Likewise.
26261 * sysdeps/sh/sysdep.h: Likewise.
26262 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26263 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26264 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26265 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26266 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26267 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26268 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26269 * locale/localeinfo.h: Likewise.
26270 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26271 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26272
6c55cda3
RM
262732012-07-09 Roland McGrath <roland@hack.frob.com>
26274
26275 [BZ #14336]
26276 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26277 system".
26278 * manual/message.texi (The Uniforum approach): Likewise.
26279 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26280 (glibc iconv Implementation): Likewise.
26281
638a572e
JM
262822012-07-09 Joseph Myers <joseph@codesourcery.com>
26283
26284 [BZ #14337]
26285 * math/s_clog.c (__clog): Avoid scaling a value down where that
26286 could result in underflow.
26287 * math/s_clog10.c (__clog10): Likewise.
26288 * math/s_clog10f.c (__clog10f): Likewise.
26289 * math/s_clog10l.c (__clog10l): Likewise.
26290 * math/s_clogf.c (__clogf): Likewise.
26291 * math/s_clogl.c (__clogl): Likewise.
26292 * math/libm-test.inc (clog_test): Add more tests.
26293 (clog10_test): Likewise.
26294 * sysdeps/i386/fpu/libm-test-ulps: Update.
26295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26296
261f4859
AS
262972012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26298
0abaf3e4
AS
26299 [BZ #14283]
26300 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26301 by 7 not 8 to examine high bit of fractional part.
26302
261f4859
AS
26303 [BZ #14042]
26304 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26305 for call to __mcount_internal.
26306 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26307 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26308 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26309
f17ac40d
JM
263102012-07-06 Joseph Myers <joseph@codesourcery.com>
26311
9ad63c23
JM
26312 [BZ #14154]
26313 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26314 approximation for values within 0x1p-13f of an odd multiple of
26315 pi/4.
26316 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26317 exception. Add more tests.
26318 * sysdeps/i386/fpu/libm-test-ulps: Update.
26319
f17ac40d
JM
26320 [BZ #6778]
26321 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26322 inputs and return -1 for them. Do not check for +Inf in case not
26323 reachable for +Inf.
26324 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26325 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26326 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26327 and return -1 for them. Do not check for +Inf in case not
26328 reachable for +Inf.
26329 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26330 define.
26331 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26332 and return -1 for them. Do not check for +Inf in case not
26333 reachable for +Inf.
26334 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26335 spurious underflow.
26336 * sysdeps/i386/fpu/libm-test-ulps: Update.
26337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26338
fb21f89b
MF
263392012-07-06 Mike Frysinger <vapier@gentoo.org>
26340
26341 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26342
cdfe2c5e
JM
263432012-07-05 Joseph Myers <joseph@codesourcery.com>
26344
26345 [BZ #14157]
26346 [BZ #14331]
26347 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26348 could result in spurious underflow. Scale down values above
26349 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26350 * math/s_csqrtf.c (__csqrtf): Likewise.
26351 * math/s_csqrtl.c (__csqrtl): Likewise.
26352 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26353 spurious underflow.
26354 * sysdeps/i386/fpu/libm-test-ulps: Update.
26355 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26356
70d35b67
AS
263572012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26358
704bc459
AS
26359 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26360 xopen-msg.sed.
26361 * catgets/xopen-msg.awk: New file.
26362 * catgets/xopen-msg.sed: Removed.
26363
70d35b67
AS
26364 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26365 po2text.sed.
26366 * intl/po2test.awk: New file.
26367 * intl/po2test.sed: Removed.
26368
ca61cf32
JM
263692012-07-04 Joseph Myers <joseph@codesourcery.com>
26370
26371 [BZ #14328]
26372 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26373 or multiply small sinh result by itself.
26374 * math/s_ctanf.c (__ctanf): Likewise.
26375 * math/s_ctanh.c (__ctanh): Likewise.
26376 * math/s_ctanhf.c (__ctanhf): Likewise.
26377 * math/s_ctanhl.c (__ctanhl): Likewise.
26378 * math/s_ctanl.c (__ctanl): Likewise.
26379 * math/libm-test.inc (ctan_test_tonearest): New function.
26380 (ctan_test_towardzero): Likewise.
26381 (ctan_test_downward): Likewise.
26382 (ctan_test_upward): Likewise.
26383 (ctanh_test_tonearest): Likewise.
26384 (ctanh_test_towardzero): Likewise.
26385 (ctanh_test_downward): Likewise.
26386 (ctanh_test_upward): Likewise.
26387 (main): Call these new functions.
26388 * sysdeps/i386/fpu/libm-test-ulps: Update.
26389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26390
ca48a46a
MF
263912012-07-03 Mike Frysinger <vapier@gentoo.org>
26392
26393 * .gitignore: Delete /ports entry.
26394
9d63d37d
AJ
263952012-07-03 Andreas Jaeger <aj@suse.de>
26396
26397 * po/bg.po: Update from translation team.
26398 * po/cs.po: Likewise.
26399 * po/de.po: Likewise.
26400 * po/hr.po: Likewise.
26401 * po/nl.pl: Likewise.
26402 * po/pl.po: Likewise.
26403 * po/vi.po: Likewise.
26404
370ca3d2
JM
264052012-07-03 Joseph Myers <joseph@codesourcery.com>
26406
95f5a9a8
JM
26407 * Makeconfig [!+link] (+link-before-libc): New variable.
26408 [!+link] (+link-after-libc): Likewise.
26409 [!+link] (+link-tests): Likewise.
26410 [!+link] (+link): Define in terms of $(+link-before-libc) and
26411 $(+link-after-libc).
26412 [!+link-static] (+link-static-before-libc): New variable.
26413 [!+link-static] (+link-static-after-libc): Likewise.
26414 [!+link-static] (+link-static-tests): Likewise.
26415 [!+link-static] (+link-static): Define in terms of
26416 $(+link-static-before-libc) and $(+link-static-after-libc).
26417 [build-shared] (link-libc-before-gnulib): New variable.
26418 [build-shared] (link-libc-tests): Likewise.
26419 [build-shared] (link-libc): Define in terms of
26420 $(link-libc-before-gnulib).
26421 [!build-shared] (link-libc-tests): New variable.
26422 (link-libc-static-tests): New variable.
26423 [!gnulib] (gnulib-arch): New variable.
26424 [!gnulib] (gnulib-tests): Likewise.
26425 [!gnulib] (static-gnulib-arch): Likewise.
26426 [!gnulib] (static-gnulib-tests): Likewise.
26427 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26428 Define with "=" instead of ":=".
26429 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26430 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26431 * Rules (binaries-all-notests): New variable.
26432 (binaries-all-tests): Likewise.
26433 (binaries-static-notests): Likewise.
26434 (binaries-static-tests): Likewise.
26435 (binaries-all): Define using $(binaries-all-notests) and
26436 $(binaries-all-tests).
26437 (binaries-static): Define using $(binaries-static-notests) and
26438 $(binaries-static-tests).
26439 (binaries-shared-tests): New variable.
26440 (binaries-shared-notests): Likewise.
26441 (binaries-shared): Remove variable.
26442 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26443 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26444 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26445 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26446 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26447 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26448 * elf/Makefile (sln-modules): New variable.
26449 (extra-objs): Add $(sln-modules:=.o).
26450 (ldconfig-modules): Add static-stubs.
26451 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26452 * elf/static-stubs.c: New file.
26453
7a845b2c
JM
26454 [BZ #14283]
26455 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26456 by 7 not 8 to examine high bit of fractional part. Use volatile
26457 variables when splitting into final array of floats if
26458 __FLT_EVAL_METHOD__ != 0.
26459 * math/libm-test.inc (cos_test): Add another test.
26460 (sin_test): Likewise.
26461 * sysdeps/i386/fpu/libm-test-ulps: Update.
26462
e2283f38
JM
26463 [BZ #14273]
26464 * math/libm-test.inc (cosh_test): Add more tests.
26465
370ca3d2
JM
26466 * version.h (RELEASE): Set to "development".
26467 (VERSION): Set to "2.16.90".
26468
ee9247c3
CD
264692012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26470
26471 * NEWS: Update copyright. Remove last-updated date.
26472 Mention math library bug fixes and timezone data changes.
26473 * README: Mention GNU/Hurd, x32, and HPPA support status.
26474
4648c381
TS
264752012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26476
26477 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26478
aac78a43
AJ
264792012-06-27 Andreas Jaeger <aj@suse.de>
26480
26481 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26482
ed3dbfad
AJ
264832012-06-25 Andreas Jaeger <aj@suse.de>
26484
26485 * sysdeps/s390/fpu/libm-test-ulps: Update.
26486
4d0ee855
AS
264872012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26488 Thomas Schwinge <thomas@codesourcery.com>
26489
26490 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26491 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26492 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26493 fanotify_mark.
26494
af1bce34
TS
264952012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26496
a9fa33ba
TS
26497 * sysdeps/mach/start.c: Remove file.
26498 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26499 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26500 * sysdeps/sh/init-first.c: Likewise.
26501
58f902b8
TS
26502 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26503 registers for frame unwinding purposes, add CFI directives.
26504 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26505 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26506 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26507 Likewise.
26508
1518f58b
TS
26509 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26510 __fortify_fail returning.
26511 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26512
db9b5059
TS
26513 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26514 sysdeps/sh/____longjmp_chk.S.
26515 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26516 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26517 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26518 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26519
967705fe
TS
26520 * sysdeps/sh/abort-instr.h: New file.
26521 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26522 process in case exit returns.
26523
a9def8c4
TS
26524 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26525 initialize the GOT register before use.
26526
2a649725
TS
26527 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26528 calculation of ARGC > 4.
26529
af1bce34
TS
26530 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26531 meaningful names to some local labels.
26532
d230f50a
KK
265332012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26534 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26535
26536 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26537 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26538 (__arch_compare_and_exchange_val_16_acq): Likewise.
26539 (__arch_compare_and_exchange_val_32_acq): Likewise.
26540 (atomic_exchange_and_add): Fix gUSA sequence.
26541 (atomic_add): Likewise.
26542 (atomic_add_negative): Likewise.
26543 (atomic_add_zero): Likewise.
26544 (atomic_bit_test_set): Likewise.
26545
0479b305
AS
265462012-06-22 Andreas Schwab <schwab@redhat.com>
26547
26548 [BZ #13579]
26549 * include/link.h (struct link_map): Add l_free_initfini.
26550 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26551 l_initfini.
26552 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26553 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26554 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26555 set.
26556
0e3933b9
CD
265572012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26558
26559 * configure.in: Use AC_LANG_SOURCE.
26560 * configure: Regenerate.
26561
4248b1b1
RM
265622012-06-22 Roland McGrath <roland@hack.frob.com>
26563
26564 * configure.in (libc_cv_localstatedir): New substituted variable.
26565 * configure: Regenerated.
26566 * config.make.in (localstatedir): New variable, substituted from
26567 libc_cv_localstatedir.
26568 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26569 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26570 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26571 * sysdeps/gnu/configure: Regenerated.
26572
006dd861
JL
265732012-06-21 Jeff Law <law@redhat.com>
26574
26575 [BZ #14277]
26576 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26577 free. Simplify list management for _LIBC case.
26578
79662d42
JM
265792012-06-21 Joseph Myers <joseph@codesourcery.com>
26580
b7abb4bf
JM
26581 [BZ #14273]
26582 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26583 Clear sign bit of 64-bit integer value before comparing against
26584 overflow value.
26585
79662d42
JM
26586 * sysdeps/mach/configure: Regenerated.
26587
1f150908
L
265882012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26589
26590 [BZ #14278]
26591 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26592
28363bbf
JL
265932012-06-21 Jeff Law <law@redhat.com>
26594
26595 [BZ #13882]
26596 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26597 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26598 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26599 * elf/dl-open.c (dl_open_worker): Likewise.
26600
09615db4
CD
266012012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26602
26603 * scripts/list-sources.sh: Scan PORTS for translations.
26604 * po/libc.pot: Regenerated.
26605
2174c6dd
AJ
266062012-06-21 Andreas Jaeger <aj@suse.de>
26607
26608 [BZ #12194]
26609 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26610 warning.
26611 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26612 * bits/byteswap-16.h (__bswap_16): Likewise.
26613 * bits/byteswap.h (__bswap_constant_16): Likewise.
26614
3ee947b1
L
266152012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26616
26617 [BZ #14117]
a2f34833
L
26618 * sysdeps/i386/fpu_control.h: Removed.
26619 * sysdeps/x86_64/fpu_control.h: Moved to ...
26620 * sysdeps/x86/fpu_control.h: Here.
26621
3ee947b1
L
26622 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26623 (_FPU_SETCW): Likewise.
26624
ed1825f8
L
266252012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26626
25f1282a
L
26627 [BZ #14117]
26628 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26629 * sysdeps/x86/fpu/bits/mathinline.h: This.
26630 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26631
ed1825f8
L
26632 [BZ #14050]
26633 [BZ #14117]
26634 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26635 functions if __x86_64__ is defined.
26636
36d54b74
CLT
266372012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26638
26639 * string/endian.h: Add !__ASSEMBLER__ condition for including
26640 conversion interfaces.
26641
10285c21
JM
266422012-06-15 Joseph Myers <joseph@codesourcery.com>
26643
26644 [BZ #14241]
26645 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26646 of ABS(x) in calculating zero to negative powers other than odd
26647 integers.
26648 * math/libm-test.inc (pow_test): Add more tests.
26649
06c5abbd
AJ
266502012-06-15 Andreas Jaeger <aj@suse.de>
26651
26652 * manual/contrib.texi (Contributors): Update entry of Liubov
26653 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26654 Machado Filho.
26655
a3aeac40
CH
266562012-06-15 Cyril Hrubis <metan@ucw.cz>
26657
26658 * string/string.h: Add __wur to GNU version of strerror_r.
26659
49bdf4c1
L
266602012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26661
26662 [BZ #14229]
26663 * string/Makefile (tests): Add tst-strtok_r.
26664 * string/tst-strtok_r.c: New file.
26665 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26666 RAX_LP/RDX_LP on SAVE_PTR.
26667
834f9b8d
RM
266682012-06-14 Roland McGrath <roland@hack.frob.com>
26669
26670 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26671
75fa1921
JM
266722012-06-14 Joseph Myers <joseph@codesourcery.com>
26673
26674 * libm_test.inc (csqrt_test): Allow more spurious underflow
26675 exceptions.
26676 (j0_test): Likewise.
26677 (j1_test): Likewise.
26678 (y0_test): Likewise.
26679 (y1_test): Likewise.
26680
771766df
CD
266812012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26682
26683 * po/Makefile (libc.pot): Use UTF-8 charset.
26684
ceb9e56b
PP
266852012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26686
26687 [BZ #14210]
26688 Suppress sign-conversion warning from FD_SET.
26689 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26690 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26691 not unsigned long int.
26692 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26693
ddb28975
L
266942012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26695
26696 [BZ #14050]
26697 [BZ #14117]
26698 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26699 __extern_always_inline instead of __extern_inline.
26700 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26701 (__signbit): Likewise.
26702 (__signbitl): Support C++ namespace.
26703 (lrintf): New inline function.
26704 (lrint): Likewise.
26705 (llrintf): Likewise.
26706 (llrint): Likewise.
26707 (fmaxf): Likewise.
26708 (fmax): Likewise.
26709 (fminf): Likewise.
26710 (fmin): Likewise.
26711 (rint): Likewise.
26712 (rintf): Likewise.
26713 (ceil): Likewise.
26714 (ceilf): Likewise.
26715 (floor): Likewise.
26716 (floorf): Likewise.
26717 (nearbyint): Likewise.
26718 (nearbyintf): Likewise.
26719
d7b4fb26
TS
267202012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26721
26722 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26723 non-default versions.
26724
eb55f5c2
RM
267252012-06-11 Roland McGrath <roland@hack.frob.com>
26726
26727 [BZ #14218]
26728 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26729
366af02c
TS
267302012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26731
99ff6e5c
TS
26732 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26733 (FE_UPWARD, FE_DOWNWARD): Don't define.
26734 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26735 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26736
366af02c
TS
26737 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26738 reading it.
26739 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26740 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26741
793ea851
KK
267422012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26743
26744 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26745 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26746 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26747 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26748
a728a38f
L
267492012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26750
26751 [BZ #14117]
c08010c7
L
26752 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26753 * sysdeps/i386/fpu/Implies: New file.
26754 * sysdeps/x86_64/fpu/Implies: Likewise.
26755 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26756 * sysdeps/x86/fpu/bits/fenv.h: This.
26757
a728a38f
L
26758 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26759 __SSE_MATH__.
26760
6e230d11
SP
267612012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26762
26763 [BZ #14134]
26764 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26765 character 0xffff that matches the last element of the
26766 conversion table.
26767
1b671feb
AZ
267682012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26769
26770 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26771 fmodl commit.
26772
6043738b
AZ
267732012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26774
26775 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26776 values higher than 25.6283.
26777
34ae0b32
AZ
267782012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26779
26780 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26781 subnormal exponent extraction and add some __builtin_expect.
26782 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26783 Fix for subnormal mantissa calculation.
26784
1214ec8f
MF
267852012-06-04 Mike Frysinger <vapier@gentoo.org>
26786
26787 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26788 cpu2 is -1 and errno is not ENOSYS.
26789
f3d1f93c
L
267902012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26791
26792 [BZ #14117]
0e4a3cd7
L
26793 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26794 * sysdeps/x86/bits/string.h: This.
26795 * sysdeps/x86_64/bits/string.h: Removed.
26796
6704c645
L
26797 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26798 if not compiling for x86-64, but compiling for >= i486.
26799
48495318
L
26800 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26801 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26802
14adcbfc
L
26803 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26804 New macro from Linux kernel 3.4.0.
26805 (FP_XSTATE_MAGIC2): Likewise.
26806 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26807 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26808 (struct _fpx_sw_bytes): New struct.
26809 (struct _xsave_hdr): Likewise.
26810 (struct _ymmh_state): Likewise.
26811 (struct _xstate): Likewise.
26812
68e408ab
L
26813 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26814 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26815 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26816 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26817 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26818 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26819
f3d1f93c
L
26820 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26821 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26822 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26823 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26824 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26825 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26826
d9dc34cd
TMQMF
268272012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26828
26829 [BZ #13743]
26830 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26831 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26832 (sysdep_headers): Include sys/platform/ppc.h.
26833 * sysdeps/powerpc/test-gettimebase.c: Test for
26834 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26835 * manual/Makefile (appendices): Include platform.texi.
26836 * manual/contrib.texi (Contributors): Update @node pointers.
26837 * manual/maint.texi (Maintenance): Likewise.
26838 (Platform): New node.
26839 * manual/platform.texi: New file. Document the new features.
26840
4af3879c
SP
268412012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26842 Jakub Jelinek <jakub@redhat.com>
26843
26844 [BZ #14188]
26845 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26846 where __builtin_expect is unavailable.
26847
2fd6ff13
DM
268482012-06-03 David S. Miller <davem@davemloft.net>
26849
26850 * stdlib/longlong.h: Updated from GCC.
26851
173f7220
AS
268522012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26853
26854 [BZ #14042]
26855 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26856 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26857 __mcount_internal.
26858 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26859 (GLIBC_2.16): Likewise.
26860
f34a1c6f
L
268612012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26862
26863 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26864
88a4576f
JM
268652012-06-01 Joseph Myers <joseph@codesourcery.com>
26866
ea32bcdd
JM
26867 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26868 (default-abi): New variable.
26869 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26870 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26871 variable.
26872 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26873 Likewise.
26874 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26875 Likewise.
26876 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26877 Likewise.
26878
88a4576f
JM
26879 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26880 definition. Document in comment.
26881
402fe938
DM
268822012-06-01 David S. Miller <davem@davemloft.net>
26883
26884 * stdlib/longlong.h: Updated from GCC.
26885
3553723f
L
268862012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26887
26888 [BZ #14117]
3bd872c4
L
26889 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26890 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26891 sys/debugreg.h sys/io.h here.
26892 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26893 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26894 sys/io.h.
26895 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26896 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26897 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26898 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26899 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26900 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26901
3553723f
L
26902 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26903 Define only if __x86_64__ is defined.
26904
4842e4fe
JM
269052012-06-01 Joseph Myers <joseph@codesourcery.com>
26906
c5bfe3d5
JM
26907 [BZ #14048]
26908 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26909 Use int64_t for variable i.
26910 * math/libm-test.inc (fmod_test): Add more tests.
26911
4842e4fe
JM
26912 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26913 z computation is not scheduled after fetestexcept.
26914 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26915 Use math_force_eval instead of asm to ensure calculation scheduled
26916 before exception test.
26917 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26918 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26919
efb73488
AJ
269202012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26921
26922 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26923 computation is not scheduled after fetestexcept.
26924
29bcce7c
L
269252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26926
26927 [BZ #14117]
26928 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26929 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26930
73a68f94
AZ
269312012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26932
26933 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26934 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26935
67b6df78
L
269362012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26937
edf2933a 26938 [BZ #14117]
ebc64a18
L
26939 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26940 <bits/wordsize.h>.
26941 (__WCHAR_MIN): Support __WORDSIZE == 64.
26942 (__WCHAR_MAX): Likewise.
26943
edf2933a
L
26944 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26945 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26946
57c6cf40
L
26947 [BZ #14183]
26948 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26949 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26950
67b6df78 26951 [BZ #14117]
8eb6281e
L
26952 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26953 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26954
aac639f4
L
26955 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26956 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26957
67b6df78
L
26958 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26959 Defined to 1 if __x86_64__ isn't defined.
26960 (_STAT_VER_LINUX_OLD): New.
26961 (st_atime): Remove duplicate.
26962 (st_mtime): Likewise.
26963 (st_ctime): Likewise.
26964
1c2cfe81
DM
269652012-05-31 David S. Miller <davem@davemloft.net>
26966
26967 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26968 entries.
26969
5be8418c
AS
269702012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26971
e7725326
AS
26972 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26973 gen-libm-test.pl.
26974
5be8418c
AS
26975 [BZ #14132]
26976 * elf/dl-reloc.c: Include <_itoa.h>.
26977 (_dl_reloc_bad_type): Remove use of INTUSE.
26978 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
26979 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
26980 * stdio-common/psiginfo.c (psiginfo): Likewise.
26981 * stdio-common/psignal.c (psignal): Likewise.
26982 * string/strsignal.c (strsignal): Likewise.
26983 * include/signal.h (_sys_siglist): Declare hidden proto.
26984 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
26985 INTVARDEF with libc_hidden_data_def.
26986 * stdio-common/itoa-udigits.c: Likewise.
26987 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
26988 (_itoa_lower_digits_internal): Remove declaration.
26989 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
26990 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
26991 (_sys_sigabbrev_internal): Remove aliases.
26992 (_sys_siglist): Define hidden alias.
26993
507352f1
MT
269942012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
26995
26996 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
26997 bits/sysctl.h.
26998
42bbb1c3
L
269992012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27000
27001 [BZ #14117]
6bd784b6
L
27002 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27003 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27004
8bca20f0
L
27005 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27006 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27007 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27008 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27009 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27010 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27011
f9e890a9
L
27012 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27013 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27014 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27015
471101a1
L
27016 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27017 with __addr.
27018 (insw): Likewise.
27019 (insl): Likewise.
27020 (outsb): Likewise.
27021 (outsw): Likewise.
27022 (outsl): Likewise.
27023
6451c862
L
27024 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27025 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27026 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27027
a254b8c9
L
27028 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27029 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27030 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27031 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27032 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27033 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27034
b8dfdd92
L
27035 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27036 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27037
578cd270
L
27038 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27039 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27040
de662f5f
L
27041 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27042 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27043 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27044
25653439
L
27045 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27046 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27047 to ...
27048 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27049
6bad24a0
L
27050 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27051 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27052 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27053
42bbb1c3
L
27054 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27055 for x86-64.
27056 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27057
2d10d547
JM
270582012-05-31 Joseph Myers <joseph@codesourcery.com>
27059
27060 * math/math.h (M_El): Use two more decimal places.
27061 (M_LOG2El): Likewise.
27062 (M_LOG10El): Likewise.
27063 (M_LN2l): Likewise.
27064 (M_LN10l): Likewise.
27065 (M_PIl): Likewise.
27066 (M_PI_2l): Likewise.
27067 (M_PI_4l): Likewise.
27068 (M_1_PIl): Likewise.
27069 (M_2_PIl): Likewise.
27070 (M_2_SQRTPIl): Likewise.
27071 (M_SQRT2l): Likewise.
27072 (M_SQRT1_2l): Likewise.
27073
f230c29b
DM
270742012-05-31 David S. Miller <davem@davemloft.net>
27075
27076 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27077 values between float registers.
27078 * sysdeps/sparc/sparc64/memset.S: Likewise.
27079 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27080
fed806c3
MF
270812012-05-31 Mike Frysinger <vapier@gentoo.org>
27082
27083 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27084 -D_FORTIFY_SOURCE=1.
27085 (CPPFLAGS-tst-longjmp_chk.c): Define.
27086 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27087 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27088 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27089 CFLAGS-tst-wchar-h.c.
27090
30917259
MP
270912012-05-31 Marek Polacek <polacek@redhat.com>
27092
27093 [BZ #14132]
27094 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27095 __endmntent_internal): Remove declaration.
27096 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27097 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27098 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27099
1c58d5dc
DM
271002012-05-30 David S. Miller <davem@davemloft.net>
27101
27102 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27103 (___Q_simulate_exceptions): Use real FP ops rather than writing
27104 into the %fsr.
27105 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27106 Likewise.
27107
7dc00e0d
L
271082012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27109
27110 [BZ #14117]
0bd53985
L
27111 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27112 * sysdeps/x86/bits/xtitypes.h: This.
27113
3a257e66
L
27114 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27115 * sysdeps/x86/bits/wordsize.h: This.
27116
62f62904
L
27117 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27118 * sysdeps/x86/bits/huge_vall.h: This.
27119
404fe9d9
L
27120 * sysdeps/i386/bits/select.h: Removed.
27121 * sysdeps/x86_64/bits/select.h: Renamed to ...
27122 * sysdeps/x86/bits/select.h: This.
27123
d48d0446
L
27124 * sysdeps/i386/bits/setjmp.h: Removed.
27125 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27126 * sysdeps/x86/bits/setjmp.h: This.
27127
7dc00e0d
L
27128 * sysdeps/i386/bits/mathdef.h: Removed.
27129 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27130 * sysdeps/x86/bits/mathdef.h: This.
27131
03277f8f
AS
271322012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27133
27134 [BZ #14132]
27135 * include/sys/socket.h (__connect_internal)
27136 (__libc_sa_len_internal): Remove declaration.
27137 (__connect, __libc_sa_len): Declare hidden_proto.
27138 (SA_LEN): Remove use of INTUSE.
27139 * socket/connect.c: Add libc_hidden_def.
27140 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27141 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27142 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27143 alias.
27144 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27145 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27146 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27147 of adding _internal alias.
27148
13764867
L
271492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27150
27151 [BZ #14117]
6bd97696
L
27152 * sysdeps/i386/bits/link.h: Removed.
27153 * sysdeps/i386/bits/linkmap.h: Likewise.
27154 * sysdeps/x86_64/bits/link.h: Renamed to ...
27155 * sysdeps/x86/bits/link.h: This.
27156 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27157 * sysdeps/x86/bits/linkmap.h: This.
27158
f726f0bb
L
27159 * sysdeps/i386/bits/endian.h: Removed.
27160 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27161 * sysdeps/x86/bits/endian.h: This.
27162
13764867
L
27163 * sysdeps/i386/bits/byteswap.h: Removed.
27164 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27165 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27166 * sysdeps/x86/bits/byteswap.h: This.
27167 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27168 * sysdeps/x86/bits/byteswap-16.h: This.
27169 * sysdeps/i386/Implies: Add x86.
27170 * sysdeps/x86_64/Implies: Likewise.
27171
ae251b0b
DM
271722012-05-30 David S. Miller <davem@davemloft.net>
27173
27174 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27175 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27176 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27177 (FP_TRAPPING_EXCEPTIONS): Define.
27178 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27179 (FP_TRAPPING_EXCEPTIONS): Define.
27180 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27181 subnormals only when inexact has been signalled or underflow
27182 exceptions are enabled.
27183 (_FP_PACK_CANONICAL): Likewise.
27184
d5c90867
L
271852012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27186
27187 [BZ #14183]
27188 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27189 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27190
63f1549e
RH
271912012-05-30 Richard Henderson <rth@twiddle.net>
27192
8d8f2279
RH
27193 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27194 with #ifndef NOT_IN_libc.
27195
63f1549e
RH
27196 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27197 marked to avoid plt entry.
27198
0ab0291b
L
271992012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27200
27201 [BZ #14112]
27202 * Makeconfig (default-abi): New macro.
27203 (abi-includes): Likewise.
27204 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27205 $(abi-$(default-abi)-lib-soname) for soname if defined.
27206 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27207 abi-variants.
27208 * Makefile (installed-stubs): Likewise.
27209 * include/stubs-biarch.h: Removed.
27210 * scripts/lib-names.awk: Only handle one library at a time.
27211 * scripts/soversions.awk: Remove WORDSIZE support.
27212 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27213 entries.
27214 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27215 Removed.
27216 (syscall-list-default-condition): Likewise.
27217 (syscall-list-default-condition): Likewise.
27218 (syscall-list-includes): Likewise.
27219 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27220 syscall-list-* with abi-*. Handle undefined abi-variants.
27221 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27222 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27223 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27224 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27225 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27226 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27227 Removed.
27228 (syscall-list-32-options): Likewise.
27229 (syscall-list-32-condition): Likewise.
27230 (syscall-list-64-options): Likewise.
27231 (syscall-list-64-condition): Likewise.
27232 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27233 macro.
27234 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27235 Renamed to ...
27236 (abi-*): This.
27237 (abi-64-ld-soname): New macro.
27238 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27239 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27240 Renamed to ...
27241 (abi-*): This.
27242 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27243 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27244
4da0431d
JM
272452012-05-30 Joseph Myers <joseph@codesourcery.com>
27246
3a85279c
JM
27247 * sysdeps/unix/sysv/linux/kernel-features.h
27248 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27249 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27250 include <kernel-features.h>.
27251 [!__NR_ftruncate64]: Remove conditional code.
27252 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27253 [__NR_ftruncate64]: Make code unconditional.
27254 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27255 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27256 include <kernel-features.h>.
27257 [!__NR_ftruncate64]: Remove conditional code.
27258 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27259 [__NR_ftruncate64]: Make code unconditional.
27260 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27261 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27262 include <kernel-features.h>.
27263 [!__NR_ftruncate64]: Remove conditional code.
27264 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27265 [__NR_ftruncate64]: Make code unconditional.
27266 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27267 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27268 include <kernel-features.h>.
27269 [!__NR_ftruncate64]: Remove conditional code.
27270 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27271 [__NR_ftruncate64]: Make code unconditional.
27272 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27273
4da0431d
JM
27274 * configure.in (libc_cv_fpie): Weaken to a compile test using
27275 LIBC_TRY_CC_OPTION.
27276 * configure: Regenerated.
27277
11ef492c
AK
272782012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27279
27280 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27281 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27282 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27283 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27284 Refreshed.
27285 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27286 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27287 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27288 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27289 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27291 Refreshed.
27292
d66ef399
DM
272932012-05-27 David S. Miller <davem@davemloft.net>
27294
27295 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27296 (___Q_zero): New.
27297 (__Q_simulate_exceptions): Return void. Change to simulate
27298 exceptions by writing into the %fsr.
27299 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27300 (__Qp_handle_exceptions): Likewise.
27301 (numbers): Delete.
27302 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27303 __Qp_handle_exceptions.
27304 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27305 __Qp_handle_exceptions.
27306 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27307 as unused and give dummy FP_RND_NEAREST initializer.
27308 (FP_INHIBIT_RESULTS): Define.
27309 (___Q_simulate_exceptions): Update declaration.
27310 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27311 formatting.
27312 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27313 as unused and give dummy FP_RND_NEAREST initializer.
27314 (__Qp_handle_exceptions): Update declaration.
27315 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27316 formatting.
27317
04fb54b5
TS
273182012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27319
27320 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27321 the temporary FPU control word.
27322 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27323 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27324 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27325 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27326 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27327 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27328 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27329 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27330 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27331 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27332 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27333
3f99608f
KK
273342012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27335
27336 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27337 fields.
27338
65a4de4e
CLT
273392012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27340
27341 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27342 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27343 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27344 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27345 Likewise.
27346 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27347 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27348 Likewise.
27349
15749d40
UD
273502012-05-27 Ulrich Drepper <drepper@gmail.com>
27351
27352 * po/h.po: Update from translation team.
27353
25dbcb27
AS
273542012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27355
3d3f8e55
AS
27356 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27357
25dbcb27
AS
27358 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27359 handling of denormals.
27360 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27361 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27362 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27363 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27364 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27365 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27366 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27367 Likewise.
27368
7ad47a80 273692012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27370
27371 [BZ #14152]
27372 * math/libm-test.inc (fma_test): Don't always expect underflow
27373 exception.
27374
9c6ea9fa
SP
273752012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27376
27377 [BZ #12416]
27378 * elf/tst-execstack.c: Include stackinfo.h.
27379 (do_test): Adjust test case to ensure that pthread_getattr_np
27380 behaviour remains the same after marking stack executable.
27381
a8239222
JM
273822012-05-25 Joseph Myers <joseph@codesourcery.com>
27383
27384 * sysdeps/unix/sysv/linux/kernel-features.h
27385 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27386 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27387 kernel-features.h.
27388 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27389 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27390 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27391 kernel-features.h.
27392 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27393 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27394
918b5606
L
273952012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27396
27397 * configure.in: Define the default includes to being none.
27398 * configure: Regenerated.
27399
3a097cc7
RM
274002012-05-25 Roland McGrath <roland@hack.frob.com>
27401
8422c9a5
RM
27402 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27403 * sysdeps/x86_64/setjmp.S: Likewise.
27404 * sysdeps/i386/bsd-setjmp.S: Likewise.
27405 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27406 * sysdeps/i386/setjmp.S: Likewise.
27407 * sysdeps/i386/__longjmp.S: Likewise.
27408 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27409 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27410
3a097cc7
RM
27411 * include/stap-probe.h: New file.
27412 * configure.in: Handle --enable-systemtap.
27413 * configure: Regenerated.
27414 * config.h.in (USE_STAP_PROBE): New #undef.
27415 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27416 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27417 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27418
21708942
JM
274192012-05-25 Joseph Myers <joseph@codesourcery.com>
27420
27421 [BZ #13717]
27422 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27423 to 2.4.0 where earlier.
27424 * sysdeps/unix/sysv/linux/configure: Regenerated.
27425 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27426 <kernel-features.h>.
27427 [__ASSUME_32BITUIDS]: Make code unconditional.
27428 [!__ASSUME_32BITUIDS]: Remove conditional code.
27429 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27430 <kernel-features.h>.
27431 [__ASSUME_32BITUIDS]: Make code unconditional.
27432 [!__ASSUME_32BITUIDS]: Remove conditional code.
27433 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27434 [__ASSUME_32BITUIDS]: Make code unconditional.
27435 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27436 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27437 <kernel-features.h>.
27438 [__ASSUME_32BITUIDS]: Make code unconditional.
27439 [!__ASSUME_32BITUIDS]: Remove conditional code.
27440 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27441 <kernel-features.h>.
27442 [__ASSUME_32BITUIDS]: Make code unconditional.
27443 [!__ASSUME_32BITUIDS]: Remove conditional code.
27444 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27445 <kernel-features.h>.
27446 [__ASSUME_32BITUIDS]: Make code unconditional.
27447 [!__ASSUME_32BITUIDS]: Remove conditional code.
27448 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27449 <kernel-features.h>.
27450 [__ASSUME_32BITUIDS]: Make code unconditional.
27451 [!__ASSUME_32BITUIDS]: Remove conditional code.
27452 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27453 <kernel-features.h>.
27454 [__ASSUME_32BITUIDS]: Make code unconditional.
27455 [!__ASSUME_32BITUIDS]: Remove conditional code.
27456 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27457 <kernel-features.h>.
27458 [__ASSUME_32BITUIDS]: Make code unconditional.
27459 [!__ASSUME_32BITUIDS]: Remove conditional code.
27460 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27461 <kernel-features.h>.
27462 [__ASSUME_32BITUIDS]: Make code unconditional.
27463 [!__ASSUME_32BITUIDS]: Remove conditional code.
27464 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27465 <kernel-features.h>.
27466 [__ASSUME_32BITUIDS]: Make code unconditional.
27467 [!__ASSUME_32BITUIDS]: Remove conditional code.
27468 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27469 <kernel-features.h>.
27470 [__ASSUME_32BITUIDS]: Make code unconditional.
27471 [!__ASSUME_32BITUIDS]: Remove conditional code.
27472 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27473 <kernel-features.h>.
27474 [__ASSUME_32BITUIDS]: Make code unconditional.
27475 [!__ASSUME_32BITUIDS]: Remove conditional code.
27476 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27477 <kernel-features.h>.
27478 [__NR_setresgid] (__setresgid): Do not declare.
27479 [__ASSUME_32BITUIDS]: Make code unconditional.
27480 [!__ASSUME_32BITUIDS]: Remove conditional code.
27481 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27482 <kernel-features.h>.
27483 [__NR_setresuid] (__setresuid): Do not declare.
27484 [__ASSUME_32BITUIDS]: Make code unconditional.
27485 [!__ASSUME_32BITUIDS]: Remove conditional code.
27486 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27487 <kernel-features.h>.
27488 [__ASSUME_32BITUIDS]: Make code unconditional.
27489 [!__ASSUME_32BITUIDS]: Remove conditional code.
27490 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27491 <kernel-features.h>.
27492 [__ASSUME_32BITUIDS]: Make code unconditional.
27493 [!__ASSUME_32BITUIDS]: Remove conditional code.
27494 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27495 <kernel-features.h>.
27496 [__ASSUME_32BITUIDS]: Make code unconditional.
27497 [!__ASSUME_32BITUIDS]: Remove conditional code.
27498 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27499 <kernel-features.h>.
27500 [__ASSUME_32BITUIDS]: Make code unconditional.
27501 [!__ASSUME_32BITUIDS]: Remove conditional code.
27502 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27503 <kernel-features.h>.
27504 [__ASSUME_32BITUIDS]: Make code unconditional.
27505 [!__ASSUME_32BITUIDS]: Remove conditional code.
27506 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27507 <kernel-features.h>.
27508 [__ASSUME_32BITUIDS]: Make code unconditional.
27509 [!__ASSUME_32BITUIDS]: Remove conditional code.
27510 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27511 <kernel-features.h>.
27512 [__ASSUME_32BITUIDS]: Make code unconditional.
27513 [!__ASSUME_32BITUIDS]: Remove conditional code.
27514 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27515 <kernel-features.h>.
27516 [__ASSUME_32BITUIDS]: Make code unconditional.
27517 [!__ASSUME_32BITUIDS]: Remove conditional code.
27518 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27519 <kernel-features.h>.
27520 [__ASSUME_32BITUIDS]: Make code unconditional.
27521 [!__ASSUME_32BITUIDS]: Remove conditional code.
27522 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27523 <kernel-features.h>.
27524 [__ASSUME_32BITUIDS]: Make code unconditional.
27525 [!__ASSUME_32BITUIDS]: Remove conditional code.
27526 * sysdeps/unix/sysv/linux/kernel-features.h
27527 (__ASSUME_SETRESUID_SYSCALL): Remove.
27528 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27529 (__ASSUME_32BITUIDS): Likewise.
27530 (__ASSUME_LDT_WORKS): Likewise.
27531 (__ASSUME_O_DIRECTORY): Likewise.
27532 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27533 architecture but not kernel version.
27534 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27535 (__ASSUME_MMAP2_SYSCALL): Likewise.
27536 (__ASSUME_STAT64_SYSCALL): Likewise.
27537 (__ASSUME_IPC64): Likewise.
27538 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27539 <kernel-features.h>.
27540 [__ASSUME_32BITUIDS]: Make code unconditional.
27541 [!__ASSUME_32BITUIDS]: Remove conditional code.
27542 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27543 <kernel-features.h>.
27544 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27545 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27546 132096]: Remove conditional code.
27547 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27548 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27549 <kernel-features.h>.
27550 [__ASSUME_32BITUIDS]: Make code unconditional.
27551 [!__ASSUME_32BITUIDS]: Remove conditional code.
27552 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27553 <kernel-features.h>.
27554 [__ASSUME_32BITUIDS]: Make code unconditional.
27555 [!__ASSUME_32BITUIDS]: Remove conditional code.
27556 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27557 <kernel-features.h>.
27558 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27559 unconditional.
27560 (__setresgid): Do not declare.
27561 [__ASSUME_32BITUIDS]: Make code unconditional.
27562 [!__ASSUME_32BITUIDS]: Remove conditional code.
27563 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27564 <kernel-features.h>.
27565 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27566 unconditional.
27567 (__setresuid): Do not declare.
27568 [__ASSUME_32BITUIDS]: Make code unconditional.
27569 [!__ASSUME_32BITUIDS]: Remove conditional code.
27570 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27571 <kernel-features.h>.
27572 [__ASSUME_32BITUIDS]: Make code unconditional.
27573 [!__ASSUME_32BITUIDS]: Remove conditional code.
27574 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27575 <kernel-features.h>.
27576 [__ASSUME_32BITUIDS]: Make code unconditional.
27577 [!__ASSUME_32BITUIDS]: Remove conditional code.
27578
a386f1cc
RH
275792012-05-25 Richard Henderson <rth@twiddle.net>
27580
27581 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27582 dl_hwcap to ifunc resolver.
27583 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27584 elf_ifunc_invoke.
27585 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27586 dl_hwcap to ifunc resolver.
27587 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27588
b6550497
JM
275892012-05-24 Joseph Myers <joseph@codesourcery.com>
27590
27591 [BZ #14153]
27592 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27593 for |x| <= 2**-26, not 2**-57.
27594 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27595 exception.
27596
b0bc23a1
JL
275972012-05-24 Jeff Law <law@redhat.com>
27598
27599 * stdio-common/Makefile (tests): Add bug25.
27600 * stdio-common/bug25.c: New test.
27601
347c92e9
L
276022012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27603
27604 [BZ #13576]
27605 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27606 multiple of MALLOC_ALIGNMENT in size.
27607 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27608
6bcc8b3f
JM
276092012-05-24 Joseph Myers <joseph@codesourcery.com>
27610
27611 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27612 Require >= 256.
27613 (FILENAME_MAX): Use macro-int-constant.
27614 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27615 (_IOFBF): Use macro-int-constant.
27616 (_IOLBF): Likewise.
27617 (_IONBF): Likewise.
27618 (SEEK_CUR): Likewise.
27619 (SEEK_END): Likewise.
27620 (SEEK_SET): Likewise.
27621 (TMP_MAX): Likewise.
27622 (EOF): Use macro-int-constant. Require < 0.
27623 (NULL): Use macro-constant. Require == 0.
27624 (stdin): Require type to be FILE *.
27625 (stdout): Likewise.
27626 (stderr): Likewise.
27627 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27628 macro-int-constant.
27629 (EXIT_SUCCESS): Likewise.
27630 (NULL): Use macro-constant. Require == 0.
27631 (RAND_MAX): Use macro-int-constant.
27632 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27633 [C99-based standards] (strtof): Require function.
27634 [C99-based standards] (strtold): Likewise.
27635 [C99-based standards] (strtoll): Likewise.
27636 [C99-based standards] (strtoull): Likewise.
27637 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27638 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27639 [ISO || ISO99 || ISO11] (math.h): Likewise.
27640 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27641 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27642 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27643
d18ea0c5
AS
276442012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27645
27646 [BZ #14132]
56d25bb8
AS
27647 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27648 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27649 * intl/dgettext.c (DCGETTEXT): Likewise.
27650 * intl/gettext.c (DCGETTEXT): Likewise.
27651 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27652 * posix/regex_internal.h (gettext): Likewise.
27653 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27654 Remove declaration.
27655 * include/argz.h (__argz_count_internal)
27656 (__argz_stringify_internal): Remove declaration.
27657 (__argz_count, __argz_stringify): Declare hidden proto.
27658 * intl/dcgettext.c: Remove use of INTDEF.
27659 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27660 * string/argz-stringify.c: Likewise.
27661 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27662 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27663 Declare hidden proto.
d18ea0c5
AS
27664 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27665 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27666 Declare hidden proto.
27667 * include/stdio.h (__asprintf_internal): Don't declare.
27668 (__asprintf): Don't define as macro. Declare hidden proto.
27669 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27670 (__fsetlocking): Declare hidden proto.
27671 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27672 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27673 hidden proto.
27674 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27675 (_IO_setlinebuf): Remove use of INTUSE.
27676 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27677 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27678 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27679 Remove declaration.
27680 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27681 (_IO_do_flush): Remove use of INTUSE.
27682 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27683 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27684 (_IO_adjust_column, _IO_least_wmarker)
27685 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27686 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27687 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27688 (_IO_default_doallocate, _IO_wdefault_doallocate)
27689 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27690 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27691 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27692 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27693 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27694 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27695 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27696 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27697 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27698 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27699 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27700 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27701 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27702 proto.
27703 (_IO_flush_all_internal, _IO_adjust_column_internal)
27704 (_IO_default_uflow_internal, _IO_default_finish_internal)
27705 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27706 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27707 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27708 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27709 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27710 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27711 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27712 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27713 (_IO_file_close_internal, _IO_file_close_it_internal)
27714 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27715 (_IO_file_init_internal, _IO_file_attach_internal)
27716 (_IO_file_fopen_internal, _IO_file_read_internal)
27717 (_IO_file_sync_internal, _IO_file_seek_internal)
27718 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27719 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27720 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27721 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27722 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27723 (_IO_list_all_internal, _IO_link_in_internal)
27724 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27725 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27726 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27727 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27728 (_IO_do_write_internal, _IO_padn_internal)
27729 (_IO_getline_info_internal, _IO_getline_internal)
27730 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27731 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27732 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27733 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27734 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27735 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27736 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27737 with libc_hidden_ver, remove use of INTUSE.
27738 * libio/genops.c: Likewise.
27739 * libio/freopen.c: Likewise.
27740 * libio/freopen64.c: Likewise.
27741 * libio/iofclose.c: Likewise.
27742 * libio/iofdopen.c: Likewise.
27743 * libio/iofflush.c: Likewise.
27744 * libio/iofflush_u.c: Likewise.
27745 * libio/iofgets.c: Likewise.
27746 * libio/iofgets_u.c: Likewise.
27747 * libio/iofopen.c: Likewise.
27748 * libio/iofopncook.c: Likewise.
27749 * libio/iofread.c: Likewise.
27750 * libio/iofread_u.c: Likewise.
27751 * libio/ioftell.c: Likewise.
27752 * libio/iofwrite.c: Likewise.
27753 * libio/iogetline.c: Likewise.
27754 * libio/iogets.c: Likewise.
27755 * libio/iogetwline.c: Likewise.
27756 * libio/iopadn.c: Likewise.
27757 * libio/iopopen.c: Likewise.
27758 * libio/ioseekoff.c: Likewise.
27759 * libio/ioseekpos.c: Likewise.
27760 * libio/iosetbuffer.c: Likewise.
27761 * libio/iosetvbuf.c: Likewise.
27762 * libio/ioungetc.c: Likewise.
27763 * libio/ioungetwc.c: Likewise.
27764 * libio/iovdprintf.c: Likewise.
27765 * libio/iovsprintf.c: Likewise.
27766 * libio/iovsscanf.c: Likewise.
27767 * libio/memstream.c: Likewise.
27768 * libio/obprintf.c: Likewise.
27769 * libio/oldfileops.c: Likewise.
27770 * libio/oldiofclose.c: Likewise.
27771 * libio/oldiofdopen.c: Likewise.
27772 * libio/oldiofopen.c: Likewise.
27773 * libio/oldiopopen.c: Likewise.
27774 * libio/oldstdfiles.c: Likewise.
27775 * libio/putc.c: Likewise.
27776 * libio/setbuf.c: Likewise.
27777 * libio/setlinebuf.c: Likewise.
27778 * libio/stdfiles.c: Likewise.
27779 * libio/strops.c: Likewise.
27780 * libio/vasprintf.c: Likewise.
27781 * libio/vscanf.c: Likewise.
27782 * libio/vsnprintf.c: Likewise.
27783 * libio/vswprintf.c: Likewise.
27784 * libio/wfiledoalloc.c: Likewise.
27785 * libio/wfileops.c: Likewise.
27786 * libio/wgenops.c: Likewise.
27787 * libio/wmemstream.c: Likewise.
27788 * libio/wstrops.c: Likewise.
27789 * libio/__fpurge.c: Likewise.
27790 * libio/__fsetlocking.c: Likewise.
27791 * assert/assert.c: Likewise.
27792 * debug/fgets_chk.c: Likewise.
27793 * debug/fgets_u_chk.c: Likewise.
27794 * debug/fread_chk.c: Likewise.
27795 * debug/fread_u_chk.c: Likewise.
27796 * debug/gets_chk.c: Likewise.
27797 * debug/obprintf_chk.c: Likewise.
27798 * debug/vasprintf_chk.c: Likewise.
27799 * debug/vdprintf_chk.c: Likewise.
27800 * debug/vsnprintf_chk.c: Likewise.
27801 * debug/vsprintf_chk.c: Likewise.
27802 * malloc/mtrace.c: Likewise.
27803 * misc/error.c: Likewise.
27804 * misc/syslog.c: Likewise.
27805 * stdio-common/asprintf.c: Likewise.
27806 * stdio-common/fxprintf.c: Likewise.
27807 * stdio-common/getw.c: Likewise.
27808 * stdio-common/isoc99_fscanf.c: Likewise.
27809 * stdio-common/isoc99_scanf.c: Likewise.
27810 * stdio-common/isoc99_vfscanf.c: Likewise.
27811 * stdio-common/isoc99_vscanf.c: Likewise.
27812 * stdio-common/isoc99_vsscanf.c: Likewise.
27813 * stdio-common/printf-prs.c: Likewise.
27814 * stdio-common/printf_fp.c: Likewise.
27815 * stdio-common/printf_fphex.c: Likewise.
27816 * stdio-common/printf_size.c: Likewise.
27817 * stdio-common/putw.c: Likewise.
27818 * stdio-common/scanf.c: Likewise.
27819 * stdio-common/sprintf.c: Likewise.
27820 * stdio-common/tmpfile.c: Likewise.
27821 * stdio-common/vfprintf.c: Likewise.
27822 * stdio-common/vfscanf.c: Likewise.
27823 * stdlib/strfmon_l.c: Likewise.
27824 * sunrpc/openchild.c: Likewise.
27825 * sunrpc/xdr_stdio.c: Likewise.
27826 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27827 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27828
d6c33fda
RM
278292012-05-24 Roland McGrath <roland@hack.frob.com>
27830
c1487492
RM
27831 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27832
27833 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27834 in the third column, to generate for the shared library an IFUNC
27835 that uses _dl_vdso_vsym.
27836 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27837 * Makeconfig (object-suffixes-noshared): New variable.
27838
27839 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27840 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27841 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27842 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27843
d6c33fda
RM
27844 [BZ #14132]
27845 * include/sys/time.h (__gettimeofday): Remove macro.
27846 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27847 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27848 Remove INTDEF.
27849 (__gettimeofday): Add libc_hidden_def.
27850 (gettimeofday): Add libc_hidden_weak.
27851 * sysdeps/mach/gettimeofday.c: Likewise.
27852 * sysdeps/posix/gettimeofday.c: Likewise.
27853 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27854 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27855 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27856 (__gettimeofday_internal): Remove strong_alias.
27857 (__gettimeofday): Add libc_hidden_def.
27858 (gettimeofday): Add libc_hidden_weak.
27859 * sysdeps/unix/syscalls.list (gettimeofday):
27860 Remove __gettimeofday_internal alias.
27861
b5a2bbe6
L
278622012-05-24 Daniel Jacobowitz <drow@false.org>
27863 H.J. Lu <hongjiu.lu@intel.com>
27864
27865 [BZ #12495]
27866 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27867 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27868 (largebin_index_32_big): New.
27869 (largebin_index): Use it for 16-byte alignment.
27870 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27871 correction with front_misalign.
27872
cfba4fda
L
278732012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27874
7f907421
L
27875 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27877 Likewise.
27878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27879 Likewise.
27880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27881 Likewise.
27882 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27883 Likewise.
27884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27885 Likewise.
27886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27887 Likewise.
27888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27889 Likewise.
27890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27891 Likewise.
27892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27893 Likewise.
27894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27895 Likewise.
27896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27897 Likewise.
27898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27899 Likewise.
27900
cfba4fda
L
27901 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27902 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27903
80bad0cc
JM
279042012-05-24 Joseph Myers <joseph@codesourcery.com>
27905
7a25eb06
JM
27906 [BZ #10846]
27907 [BZ #14036]
27908 * math/libm-test.inc (exp_test): Add test from bug 14036.
27909 (pow_test): Add test from bug 10846.
27910
795405f9
JM
27911 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27912 and other flags.
27913 (special_function): Do not include flags in test name.
27914 (parse_args): Likewise.
27915 * sysdeps/i386/fpu/libm-test-ulps: Update.
27916 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27917 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27918 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27919 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27920
80bad0cc
JM
27921 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27922 exceptions.
27923 * math/libm-test.inc ("Philosophy"): Update comment about
27924 exception testing.
27925 (UNDERFLOW_EXCEPTION): New macro.
27926 (UNDERFLOW_EXCEPTION_OK): Likewise.
27927 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27928 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27929 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27930 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27931 (INVALID_EXCEPTION_OK): Update value.
27932 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27933 (OVERFLOW_EXCEPTION_OK): Likewise.
27934 (IGNORE_ZERO_INF_SIGN): Likewise.
27935 (test_exceptions): Handle underflow exceptions.
27936 (acos_test): Update for underflow exception expectations.
27937 (cexp_test): Likewise.
27938 (clog_test): Likewise.
27939 (clog10_test): Likewise.
27940 (csqrt_test): Likewise.
27941 (ctan_test): Likewise.
27942 (ctanh_test): Likewise.
27943 (exp_test): Likewise.
27944 (exp10_test): Likewise.
27945 (exp2_test): Likewise.
27946 (expm1_test): Likewise.
27947 (fma_test): Likewise.
27948 (j0_test): Likewise.
27949 (jn_test): Likewise.
27950 (nexttoward_test): Likewise.
27951 (pow_test): Likewise.
27952 (scalbn_test): Likewise.
27953 (scalbln_test): Likewise.
27954 (tan_test): Likewise.
27955 (y1_test): Likewise.
27956 * sysdeps/i386/fpu/libm-test-ulps: Update.
27957 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27958
9e0e3d0b
DM
279592012-05-23 David S. Miller <davem@davemloft.net>
27960
27961 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27962 (__libc_sigaction): Remove unused local variables.
27963
ccd0a08f
L
279642012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27965
27966 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27967
62bdf9a6
PE
279682012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27969
f8591f80
PE
27970 mktime: avoid signed integer overflow
27971 * time/mktime.c (__mktime_internal): Do not mishandle the case
27972 where diff == INT_MIN.
27973
94c7d826
PE
27974 mktime: simplify computation of average
27975 * time/mktime.c (ranged_convert): Use new time_t_avg function
27976 instead of rolling our own (probably-slower) code.
27977
ce73d683
PE
27978 mktime: do not assume signed right shift propagates sign bit
27979 * time/mktime.c (isdst_differ): New static function.
27980 (__mktime_internal): No need to normalize tm_isdst now.
27981 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
27982 tm_isdst values.
27983
72a22e59
PE
27984 mktime: merge another wrapv change from gnulib
27985 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
27986 from some compilers.
27987
68605433
PE
27988 mktime: remove incorrect attempt at unusual arithmetics
27989 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
27990 The code didn't really work on such machines anyway.
27991 (TYPE_MINIMUM): Assume two's complement.
27992 (twos_complement_arithmetic): Verify that long_int and time_t
27993 are two's complement (or unsigned, in the latter case).
27994
03cf7fe3
PE
27995 mktime: check signed shifts on long_int and time_t, too
27996 * time/mktime.c (SHR): Check that shifts work as desired
27997 on the types long_int and time_t too, as SHR is used on
27998 such types.
27999
f04dfbc2
PE
28000 mktime: do not assume 'long' is wide enough
28001 * time/mktime.c (verify): Move decl up.
28002 (long_int): New type.
28003 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28004 to remove assumption in the code that 'long' is wide enough to
28005 store year values. This assumption is not true on x32 and on
28006 some non-glibc platforms.
28007
62bdf9a6
PE
28008 mktime: merge wrapv change from gnulib
28009 * time/mktime.c (WRAPV): New macro.
28010 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28011 (guess_time_tm, __mktime_internal): Do not assume that signed
28012 integer overflow wraps around; modern compilers generate code
28013 where this assumption is no longer valid.
28014
5e292e4f
L
280152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28016
28017 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28018 Replace "jmp L(pseudo_end)" with "ret".
28019 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28020 Likewise.
28021
8caf8c87
AJ
280222012-05-23 Andreas Jaeger <aj@suse.de>
28023
28024 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28025 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28026
1a09dc56
AJ
280272012-05-23 Andreas Jaeger <aj@suse.de>
28028 Maximilian Attems <max@stro.at>
28029
28030 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28031 New macros.
28032
1c87aba0
L
280332012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28034
28035 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28036 code so that pseudo_end is just ret and the stack pointer is
28037 correct also for static library in error case.
28038
40e45bd5
JM
280392012-05-23 Joseph Myers <joseph@codesourcery.com>
28040
c2670533
JM
28041 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28042 move to syscalls.list.
28043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28044 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28045 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28047
40e45bd5
JM
28048 * manual/install.texi (Running make install): Do not mention Linux
28049 kernel version for which pt_chown is not needed.
28050 (Linux): Do not mention problems with nscd with 2.0 kernels.
28051 * INSTALL: Regenerated.
28052
be08eda5
AJ
280532012-05-23 Andreas Jaeger <aj@suse.de>
28054
28055 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28056 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28057 macro.
28058 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28059 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28060 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28061 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28062 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28063 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28064 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28065 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28066 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28067 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28068 * sysdeps/unix/sysv/linux/bits/in.h
28069 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28070
a6a056bb
RM
280712012-05-22 Roland McGrath <roland@hack.frob.com>
28072
28073 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28074 (PREPARE_VERSION): Just use assert instead, it will be elided
28075 under [NDEBUG] anyway.
28076
c9009328
L
280772012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28078
28079 * sysdeps/unix/sysv/linux/Makefile: Include
28080 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28081 (sysdep_routines): Remove sysctl.
c9009328
L
28082 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28083 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28084 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28085 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28086 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28087
73338355
AJ
280882012-05-22 Andreas Jaeger <aj@suse.de>
28089
28090 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28091 that pseudo_end is just ret and the stack pointer is correct also
28092 for static library in error case.
28093
d44638b0
PP
280942012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28095
28096 [BZ #14122]
28097 * nss/nsswitch.c (defconfig_entries): New variable.
28098 (__nss_database_lookup): Don't leak defconfig entries.
28099 (nss_parse_service_list): Don't leak on error paths.
28100 (free_database_entries): New function.
28101 (free_defconfig): New function.
28102 (free_mem): Move common code to free_database_entries.
28103
31a39bd8
L
281042012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28105
da0331a8
L
28106 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28107 Add arch_prctl.
28108 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28109
31a39bd8
L
28110 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28111 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28112 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28113 New macro.
28114 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28115 (INTERNAL_SYSCALL_TYPES): Likewise.
28116 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28117 (LOAD_REGS_TYPES_[1-6]): Likewise.
28118 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28119 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28120
45470df3
AZ
281212012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28122
28123 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28124 copysignl for GLIBC_2_0.
28125 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28126 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28127 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28128 logbl for GLIBC_2_0.
28129 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28130 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28131
98a61bcb
L
281322012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28133
a4f6e481
L
28134 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28135 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28136
f63d5db6
L
28137 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28138 Use "neg %eax".
28139
98a61bcb
L
28140 * time/mktime.c: Update copyright years.
28141
95770f14
PE
281422012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28143
6226efbd
PE
28144 mktime: merge comment-quoting-style change from gnulib
28145 * time/mktime.c: Quote 'like this' in comments.
28146 The GNU coding standards suggest that we no longer quote `like this',
28147 as "`" and "'" are typically rendered asymmetrically nowadays.
28148 The typical gnulib style is to quote 'like this' when quoting
28149 code, and "like this" when quoting English.
28150
b99e4f78
PE
28151 * time/mktime.c (compile-command): Add "-I.".
28152
643e01e6
PE
28153 mktime: merge mktime-internal.h change from gnulib
28154 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28155
2554247d
PE
28156 mktime: merge time_r change from gnulib
28157 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28158
826dd0ab
PE
28159 mktime: merge DEBUG change from gnulib
28160 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28161 case system <time.h> has a #define.
28162
bd83aabe
PE
28163 mktime: merge <sys/types.h> change from gnulib
28164 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28165 since <time.t> is now guaranteed to define time_t.
28166
95770f14
PE
28167 mktime: merge HAVE_CONFIG_H change from gnulib
28168 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28169
5e1a27a9
L
281702012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28171
0e44a77e
L
28172 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28173 Use "neg %eax".
28174
5e1a27a9
L
28175 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28176 __rlim_t cast.
28177 (struct rusage): Use anonymous union to pad each field to
28178 __syscall_slong_t.
28179
46259bec
DM
281802012-05-21 David S. Miller <davem@davemloft.net>
28181
28182 * Makefules (o-iterator): Remove .s cases.
28183 (compile-command.s): Delete.
28184 (COMPILE.s): Delete.
28185 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28186
59f0c22e
JM
281872012-05-21 Joseph Myers <joseph@codesourcery.com>
28188
28189 * configure.in (libc_cv_predef_stack_protector): Only consider
28190 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28191 * configure: Regenerated.
28192
20c07380
L
281932012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28194
bbb3154b
L
28195 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28196 New macro. Use R*LP on int and pointer.
28197 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28198 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28199 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28200 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28201
20c07380
L
28202 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28203 [__WORDSIZE_TIME64_COMPAT32] instead of
28204 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28205 (struct utmp): Likewise.
28206 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28207 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28208 Renamed to ...
28209 (__WORDSIZE_TIME64_COMPAT32): This.
28210 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28211 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28212 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28213 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28214 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28215 (__WORDSIZE_TIME64_COMPAT32): New macro.
28216
d8d1017e
AJ
282172012-05-21 Andreas Jaeger <aj@suse.de>
28218
28219 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28220 only if [SHARED]. Add prototype for __wcschr_ia32.
28221
6c7fb145
RM
282222012-05-21 Roland McGrath <roland@hack.frob.com>
28223
28224 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28225 of %rbp unmolested in the jmp_buf while mangling the low bits.
28226 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28227 unmolested high bits of %rbp while demangling the low bits.
28228 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28229
66274218
AJ
282302012-05-21 Andreas Jaeger <aj@suse.de>
28231
07c58f8f
AJ
28232 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28233 * sunrpc/svc_simple.c: Use it for registerrpc.
28234 * sunrpc/xcrypt.c: Use it for passwd2des.
28235
66274218
AJ
28236 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28237
61f65140
L
282382012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28239
28240 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28241 Don't define if [__SYSCALL_WORDSIZE != 32].
28242 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28243 New macro.
28244
5fefb436
AJ
282452012-05-21 Bruno Haible <bruno@clisp.org>
28246 Andreas Jaeger <aj@suse.de>
28247
28248 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28249 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28250 inptr and inend for must_buffer_ch.
28251 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28252 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28253 * stdio-common/Makefile (tests): Remove bug15.
28254 (bug15-ENV): Remove macro.
28255 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28256 anymore.
28257
d8e272ab
AJ
282582012-05-19 Andreas Jaeger <aj@suse.de>
28259 Roland McGrath <roland@hack.frob.com>
28260
28261 * manual/contrib.texi: Completely rewritten. It contains now an
28262 alphabetical list of contributors and their contributions.
28263
4a56a162
RH
282642012-05-21 Richard Henderson <rth@twiddle.net>
28265
28266 * misc/getauxval.c (__getauxval): Use unsigned long int.
28267 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28268 (getauxval): Use unsigned long int.
28269
d024d23c
L
282702012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28271
28272 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28273
cbc00a03
RM
282742012-05-21 Roland McGrath <roland@hack.frob.com>
28275
28276 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28277 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28278 __alignof__ (long double).
28279
478143fa
AZ
282802012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28281
28282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28283
c7683a6d
RH
282842012-05-20 Richard Henderson <rth@twiddle.net>
28285
28286 * misc/getauxval.c: New file.
28287 * misc/sys/auxv.h: New file.
28288 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28289 (routines): Add getauxval.
28290 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28291 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28292 * elf/dl-sysdep.c (_dl_auxv): Remove.
28293 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28294 * elf/dl-support.c (_dl_auxv): New variable.
28295 (_dl_aux_init): Initialize it.
28296 * manual/startup.texi (Auxiliary Vector): New node.
28297 * sysdeps/generic/bits/hwcap.h: New file.
28298 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28299 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28300 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28301 * sysdeps/sparc/sysdep.h: ... here. Include it.
28302 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28303 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28305 Update.
c7683a6d
RH
28306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28309 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28310 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28311 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28312 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28313 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28314
a6f1845d
AZ
283152012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28316
28317 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28318
cbcbe830
DM
283192012-05-19 David S. Miller <davem@davemloft.net>
28320
28321 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28322
e0b16cc2
JM
283232012-05-19 Joseph Myers <joseph@codesourcery.com>
28324
28325 [BZ #14123]
28326 * math/s_ccosh.c: Include <float.h>
28327 (__ccosh): Avoid internal overflow calculating sinh and cosh
28328 values before multiplying by sin and cos values.
28329 * math/s_ccoshf.c: Likewise.
28330 * math/s_ccoshl.c: Likewise.
28331 * math/s_csin.c: Likewise.
28332 * math/s_csinf.c: Likewise.
28333 * math/s_csinl.c: Likewise.
28334 * math/s_csinh.c: Likewise.
28335 * math/s_csinhf.c: Likewise.
28336 * math/s_csinhl.c: Likewise.
28337 * math/libm-test.inc (ccos_test): Add more tests.
28338 (ccosh_test): Likewise.
28339 (csin_test): Likewise.
28340 (csinh_test): Likewise.
28341 * sysdeps/i386/fpu/libm-test-ulps: Update.
28342 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28343
6ad13e08
L
283442012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28345
f66f0ce8
L
28346 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28347 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28348
6ad13e08
L
28349 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28350
b1d072a7
JM
283512012-05-19 Joseph Myers <joseph@codesourcery.com>
28352
28353 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28354 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28355 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28356 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28357 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28358 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28359 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28360 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28361 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28362 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28363 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28364 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28365 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28366 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28367 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28368 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28369 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28370 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28371 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28372 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28373 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28374 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28375 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28376 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28377 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28378 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28379 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28380 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28381 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28382 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28383 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28384
9eae47cb
AJ
283852012-05-18 Andreas Jaeger <aj@suse.de>
28386
28387 * csu/.gitignore: Delete.
28388
bb07f69f
L
283892012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28390
28391 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28392 (timex): Use __syscall_slong_t.
28393
e6bdb741
AJ
283942012-05-18 Andreas Jaeger <aj@suse.de>
28395 Carlos O'Donell <carlos_odonell@mentor.com>
28396
28397 * manual/install.texi (Configuring and compiling): Update
28398 description about files modified in the source directory.
d6c33fda 28399 * INSTALL: Regenerated.
e6bdb741 28400
1b74487e
L
284012012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28402
28403 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28404 value. Use "or" to set return value to -1.
28405 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28406 negate return value.
28407
a88b64b9
TMQMF
284082012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28409
28410 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28411 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28412 failure if the compiler has Graphite support disabled.
28413 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28414 Likewise.
28415 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28416 CFLAGS-memmove.c): Likewise.
28417 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28418 Likewise.
28419
3707636e
L
284202012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28421
610b8622
L
28422 * sysdeps/x86_64/x32/_itoa.h: New file.
28423
7cd195df
L
28424 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28425 getdents system call only if kernel and user dirents have the
28426 same d_ino and d_off.
28427
94b07d20
L
28428 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28429 LLONG_MAX != LONG_MAX.
28430 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28431 (_fitoa_word): Likewise.
28432
18298070
L
28433 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28434 years.
28435 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28436 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28437 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28438
553c7ea4
L
28439 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28440 include <bits/wordsize.h>. Check __x86_64__ instead of
28441 __WORDSIZE.
28442 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28443 if __x86_64__ is defined. Use anonymous union on fpstate.
28444
3707636e
L
28445 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28446 anonymous union.
28447
b53ef01a
AS
284482012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28449
37fb1dc0
AS
28450 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28451 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28452 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28453 Refer to _rtld_local_ro instead of _rtld_global_ro.
28454 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28455 Likewise.
28456 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28457 Likewise.
28458 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28459 Likewise.
28460 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28461 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28462 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28463
b53ef01a
AS
28464 * sysdeps/powerpc/powerpc32/dl-machine.c
28465 (__elf_machine_runtime_setup) [PROF]: Don't reference
28466 _dl_prof_resolve.
28467
7a185db2
AJ
284682012-05-18 Andreas Jaeger <aj@suse.de>
28469
28470 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28471 function only available for GCCs before 3.4 since GCC 3.4
28472 introduced a builtin.
28473 (lrint): Likewise.
28474 (llrintf): Likewise.
28475 (llrint): Likewise.
28476 (fmaxf): Likewise.
28477 (fmax): Likewise.
28478 (fminf): Likewise.
28479 (fmin): Likewise.
28480 (rint): Likewise.
28481 (rintf): Likewise.
28482 (nearbyint): Likewise.
28483 (nearbyintf): Likewise.
28484 (ceil): Likewise.
28485 (ceilf): Likewise.
28486 (floor): Likewise.
28487 (floorf): Likewise.
28488
3e5aef87
L
284892012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28490
428bd707
L
28491 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28492 on both fields and cast pointer to __syscall_ulong_t.
28493
3e5aef87
L
28494 * bits/types.h (__fsword_t): New type.
28495 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28496 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28497 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28498 (__FSWORD_T_TYPE): Likewise.
28499 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28500 (__FSWORD_T_TYPE): Likewise.
28501 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28502 (__FSWORD_T_TYPE): Likewise.
28503 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28504 (__FSWORD_T_TYPE): Likewise.
28505 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28506 __SWORD_TYPE with __fsword_t.
28507 (statfs64): Likewise.
28508
1ba7c3dc
DM
285092012-05-17 David S. Miller <davem@davemloft.net>
28510
28511 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28512
59910343
AJ
285132012-05-17 Andreas Jaeger <aj@suse.de>
28514
28515 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28516 warning.
28517
2e4c1e9e
L
285182012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28519
28520 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28521
de7f5ce7
AJ
285222012-05-17 Andreas Jaeger <aj@suse.de>
28523
28524 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28525 when it is used.
28526
286abc3d
CM
285272012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28528
28529 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28530
477cc68e
L
285312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28532
28533 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28534 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28535
1a0994f5
CD
285362012-05-17 Andreas Jaeger <aj@suse.de>
28537 Carlos O'Donell <carlos_odonell@mentor.com>
28538
28539 [BZ #14059]
28540 * sysdeps/x86_64/multiarch/init-arch.h
28541 (bit_YMM_Usable): Rename to...
28542 (bit_AVX_Usable): ... this.
28543 (bit_FMA4_Usable): New macro.
28544 (bit_XMM_state): New macro.
28545 (bit_YMM_state): New macro.
28546 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28547 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28548 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28549 (CPUID_OSXSAVE): New macro.
28550 (CPUID_AVX): New macro.
28551 (CPUID_FMA4): New macro.
28552 (index_YMM_Usable): Rename to...
28553 (index_AVX_Usable): ... this.
28554 (HAS_AVX): Use HAS_ARCH_FEATURE.
28555 (HAS_FMA4): Likewise.
28556 (HAS_YMM_USABLE): Remove.
28557 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28558 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28559 are present.
28560 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28561 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28562 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28563 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28564 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28565
0af797de
CM
285662012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28567
28568 * math/libm-test.c: Support platforms without multiple rounding modes.
28569 * math/bug-nextafter.c: Support platforms without FP exceptions.
28570 * math/bug-nexttoward.c: Likewise.
28571 * math/test-fenv.c: Likewise.
28572 * math/test-misc.c: Likewise.
28573 * stdlib/bug-getcontext.c: Likewise.
28574
e39745ff
AJ
285752012-05-17 Andreas Jaeger <aj@suse.de>
28576
28577 * manual/examples/search.c (critter_cmp): Change signature to
28578 avoid warnings.
28579 * manual/string.texi (Collation Functions): Likewise.
28580
48970aba
L
285812012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28582
28583 * bits/types.h: Fold copyright years.
28584 * bits/typesizes.h: Likewise.
28585 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28586 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28587 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28588 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28589 * time/time.h: Likewise.
28590
bedee953
PP
285912012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28592
28593 [BZ #208]
28594 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28595 in instead of returning them. Return void.
28596 (__libc_mallinfo): Accumulate over all arenas.
28597 (__malloc_stats): Adjust for change in int_mallinfo interface.
28598
61653dfb
RM
285992012-05-16 Roland McGrath <roland@hack.frob.com>
28600
30b99d79
RM
28601 [BZ #10375]
28602 * configure.in (NM): Add AC_CHECK_TOOL for it.
28603 (libc_extra_cflags): New substituted variable.
28604 Check for -fstack-protector being used implicitly.
28605 * configure: Regenerated.
28606 * config.make.in (config-extra-cflags): New variable,
28607 gets @libc_extra_cflags@.
28608 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28609
61653dfb
RM
28610 [BZ #10375]
28611 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28612 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28613 * configure: Regenerated.
28614 * config.make.in (CPPUNDEFS): New substituted variable.
28615 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28616 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28617 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28618
661768bb
L
286192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28620
28621 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28622 (mq_attr): Use __syscall_slong_t.
28623
d4261567
L
286242012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28625
28626 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28627 Check __x86_64__ instead of __WORDSIZE.
28628 (_STAT_VER_LINUX): Likewise.
28629 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28630 __syscall_ulong_t and __syscall_slong_t.
28631 (stat64): Likewise.
28632
cf3ff365
L
286332012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28634
28635 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28636
76cf3e4d
L
286372012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28638
28639 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28640
a637753a
L
286412012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28642
28643 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28644 __syscall_ulong_t.
28645
d5e05119
L
28646 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28647 include <bits/wordsize.h>. Check __x86_64__ instead of
28648 __WORDSIZE.
28649 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28650 defined.
28651 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28652
f62ee380
L
28653 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28654 include <bits/wordsize.h>. Check __x86_64__ instead of
28655 __WORDSIZE.
28656 (user_regs_struct): Use "__extension__ unsigned long long"
28657 instead of "unsigned long" if __x86_64__ is defined.
28658 (user): Likewise. Pad after pointer field if __ILP32__ is
28659 defined.
28660
4e124ced
JM
286612012-05-16 Joseph Myers <joseph@codesourcery.com>
28662
6a3951a0
JM
28663 * configure.in (makeinfo): Require version 4.5 or later. Allow
28664 versions 5 to 9.
28665 * configure: Regenerated.
28666 * manual/install.texi (texinfo): Increase version requirement to
28667 4.5 or later.
28668 * INSTALL: Regenerated.
28669
4e124ced
JM
28670 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28671
953ca31a
L
286722012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28673
28674 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28675
617aca05
L
28676 * sysdeps/x86_64/x32/ffs.c: New file.
28677
5762f7ae
L
28678 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28679 __syscall_ulong_t.
28680 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28681 defined. Use __syscall_ulong_t.
28682 (shminfo): Use __syscall_ulong_t.
28683 (shm_info): Likewise.
28684
a26b6856
L
28685 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28686 __syscall_ulong_t.
28687
cb2b9ef7
L
28688 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28689 <bits/wordsize.h>.
28690 (msgqnum_t): Use __syscall_ulong_t.
28691 (msglen_t): Likewise.
28692 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28693 __syscall_ulong_t.
28694
34683bb0
L
28695 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28696 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28697
84a68786
L
28698 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28699
48baa5f1
L
28700 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28701 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28702
180be88b
L
28703 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28704 __syscall_slong_t.
28705
5e90c8ad
L
28706 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28707 include <bits/wordsize.h>. Check __x86_64__ instead of
28708 __WORDSIZE.
28709
23dfb58b
L
28710 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28711 "unsigned long long int" if __x86_64__ is defined.
28712 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28713
ce5d54b0
L
28714 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28715 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28716 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28717
13dc9eac
L
28718 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28719 <stdint.h>.
28720 (GET_PC): Cast to uintptr_t first.
28721 (GET_FRAME): Likewise.
28722 (GET_STACK): Likewise.
28723
a7895d15
L
28724 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28725 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28726 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28727 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28728 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28729 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28730 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28731 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28732 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28733 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28734 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28735 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28736 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28737 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28738 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28739 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28740 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28741 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28742 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28743 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28744 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28745 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28746 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28747 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28748 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28749 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28750 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28751 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28752 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28753
656416c9
AS
287542012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28755
5bd66283
AS
28756 * Makerules (+depfiles): Also collect depfiles from .oS in
28757 $(extra-objs).
28758 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28759 .oS, $(libnldbl-routines)).
28760
656416c9
AS
28761 * Makerules (native-compile-mkdep-flags): Define.
28762 * sunrpc/Makefile (extra-objs): Add $(addprefix
28763 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28764 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28765 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28766 calling $(make-target-directory).
28767
a46f2169
L
287682012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28769
28770 * bits/types.h (__snseconds_t): Removed.
28771 * time/time.h (struct timespec): Replace __snseconds_t with
28772 __syscall_slong_t.
28773 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28774 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28775 Likewise.
28776 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28777 (__SNSECONDS_T_TYPE): Likewise.
28778 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28779 (__SNSECONDS_T_TYPE): Likewise.
28780 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28781 (__SNSECONDS_T_TYPE): Likewise.
28782
6af6528b
L
287832012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28784
28785 * sysdeps/mach/hurd/bits/typesizes.h
28786 (__SYSCALL_SLONG_TYPE): New macro.
28787 (__SYSCALL_ULONG_TYPE): Likewise.
28788
de986b56
L
287892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28790
28791 * bits/types.h (__syscall_slong_t): New type.
28792 (__syscall_ulong_t): Likewise.
28793
28794 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28795 (__SYSCALL_ULONG_TYPE): Likewise.
28796 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28797 (__SYSCALL_SLONG_TYPE): Likewise.
28798 (__SYSCALL_ULONG_TYPE): Likewise.
28799 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28800 (__SYSCALL_SLONG_TYPE): Likewise.
28801 (__SYSCALL_ULONG_TYPE): Likewise.
28802 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28803 (__SYSCALL_SLONG_TYPE): Likewise.
28804 (__SYSCALL_ULONG_TYPE): Likewise.
28805
85736dc7
L
288062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28807
28808 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28809 Add sigaltstack-offsets.sym.
28810 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28811 <sigaltstack-offsets.h>.
28812 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28813 longjmp_msg pointer.
28814 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28815 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28816 signal stack.
28817 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28818
cc03b296
JM
288192012-05-15 Joseph Myers <joseph@codesourcery.com>
28820
a9538892
JM
28821 * elf/stackguard-macros.h: Remove file.
28822 * sysdeps/generic/stackguard-macros.h: New file.
28823 * sysdeps/i386/stackguard-macros.h: Likewise.
28824 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28825 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28826 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28827 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28828 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28829 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28830 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28831 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28832 <elf/stackguard-macros.h>.
28833
cc03b296
JM
28834 [BZ #14109]
28835 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28836 __aligned__ in attribute.
28837 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28838 (gregset_t): Likewise.
28839
93171016
L
288402012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28841
28842 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28843 * sysdeps/x86_64/64/Implies-after: Here. New file.
28844 * sysdeps/x86_64/x32/Implies-after: New file.
28845
d86813a0
L
288462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28847
28848 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28849 and access return value for _dl_profile_fixup. Use R10_LP to
28850 load frame size.
28851
2953ec75
L
288522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28853
28854 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28855
3b550e9e
L
288562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28857
28858 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28859 * sysdeps/x86_64/x32/sysdep.h: New file.
28860
eda41706
L
288612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28862
28863 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28864 * sysdeps/x86_64/setjmp.S: Likewise.
28865
9ea01d93
AZ
288662012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28867
28868 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28869 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28870 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28871 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28872 remove unused global constant.
28873
02a91938
CM
288742012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28875
28876 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28877 include of <not-cancel.h>.
28878
6540185f
RM
288792012-05-15 Roland McGrath <roland@hack.frob.com>
28880
28881 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28882
509072a0
AJ
288832012-05-15 Jeff Law <law@redhat.com>
28884 Andreas Jaeger <aj@suse.de>
28885
28886 [BZ #13594]
28887 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28888 out from...
28889 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28890 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28891 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28892 code changing __hst_map_handle.map.
28893
ba75122d
RM
288942012-05-15 Roland McGrath <roland@hack.frob.com>
28895
28896 * configure.in (sysnames): Look for Implies-before and Implies-after
28897 files.
28898 * configure: Regenerated.
28899
890d8bd8
L
289002012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28901
28902 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28903 8-byte data alignment with LP_SIZE alignment.
28904
f6ee6623
L
289052012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28906
28907 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28908 into R10_LP.
28909
ea2626f6
L
289102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28911
28912 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28913
085f715e
L
289142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28915
28916 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28917 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28918 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28919 Likewise.
28920 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28921
be8498fc
L
289222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28923
28924 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28925 (stackinfo_sub_sp): Likewise.
28926
70bc83b9
L
289272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28928
28929 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28930 RAX_LP.
28931
9bc0b730
L
289322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28933
28934 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28935 into R*_LP.
28936
6d2850e7
L
289372012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28938
28939 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28940 sizes into R*_LP.
28941
3cb84561
L
289422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28943
28944 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28945
54e2ed81
L
289462012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28947
28948 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28949 into R11_LP and load __x86_64_shared_cache_size_half into
28950 R8_LP.
28951
8a17f349
L
289522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28953
28954 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28955 R8_LP.
28956
777b1eea
AZ
289572012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28958
28959 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28960 logb for POWER7.
28961 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28962 logbf for POWER7.
28963 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28964 logbl for POWER7.
28965 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28966 powerpc32/power7/fpu/s_logb.c via #include.
28967 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28968 powerpc32/power7/fpu/s_logbf.c via #include.
28969 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28970 powerpc32/power7/fpu/s_logbl.c via #include.
28971
d20d4ac2
JM
289722012-05-15 Joseph Myers <joseph@codesourcery.com>
28973
28974 * README.libm: Remove file.
28975
6cdef1ab
L
289762012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28977
28978 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
28979 count for x32. Use R*_LP and omit operand-size suffix.
28980
0b254d8f
L
289812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28982
28983 * shlib-versions: Move x86_64-.*-linux.* entries to ...
28984 * sysdeps/x86_64/64/shlib-versions: Here. New file.
28985 * sysdeps/x86_64/x32/shlib-versions: New file.
28986
ceb809dc
RM
289872012-05-14 Roland McGrath <roland@hack.frob.com>
28988
28989 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
28990 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
28991 Use _dl_fatal_printf instead.
28992
37f1abd4
JM
289932012-05-14 Joseph Myers <joseph@codesourcery.com>
28994
28995 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
28996 set if not set by the user. Do not allow for being unset.
28997 * sysdeps/unix/sysv/linux/configure: Regenerated.
28998
11de3a33
L
289992012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29000
29001 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29002 the `q' suffix from lea and replace .quad with ASM_ADDR.
29003
e02f153a
L
290042012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29005
29006 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29007 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29008 instead of $17.
29009 (PTR_DEMANGLE): Likewise.
29010
520ae0fd
L
290112012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29012
29013 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29014 (LP_OP): Likewise.
29015 (ASM_ADDR): Likewise.
29016 (RAX_LP): Likewise.
29017 (RBP_LP): Likewise.
29018 (RBX_LP): Likewise.
29019 (RCX_LP): Likewise.
29020 (RDI_LP): Likewise.
29021 (RSI_LP): Likewise.
29022 (RSP_LP): Likewise.
29023 (R8_LP): Likewise.
29024 (R9_LP): Likewise.
29025 (R10_LP): Likewise.
29026 (R10_LP): Likewise.
29027 (R11_LP): Likewise.
29028 (R12_LP): Likewise.
29029 (R13_LP): Likewise.
29030 (R14_LP): Likewise.
29031 (R15_LP): Likewise.
29032
b985be81
L
290332012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29034
29035 * sysdeps/x86_64/x32/dl-machine.h: New file.
29036
6a4888ff
AJ
290372012-05-14 Andreas Jaeger <aj@suse.de>
29038
29039 * manual/Makefile (subdir): Remove export of subdir.
29040 (all): Remove target.
29041 (.PHONY): Remove all from list.
29042 (mkinstalldirs): Remove.
29043 (.PHONY): Remove installdirs from list.
29044 ($(inst_infodir)/libc.info): Use make-target-directory.
29045 (installdirs): Remove.
29046 (subdir_%): Remove.
29047 (glibc-targets): Remove.
29048 (lib): Remove.
29049 (stubs): Remove.
29050 ($(objpfx)stubs ../po/manual.pot): Remove.
29051 ($(objpfx)stamp%): Remove.
29052 (make-target-directory): Remove.
29053 (subdir_install): Remove.
29054 (routines): Remove.
29055 (aux): Remove.
29056 (sources): Remove.
29057 (objects): Remove.
29058 (headers): Remove.
29059
29060 [BZ #13750]
29061 * manual/.gitignore: Remove, it's not needed anymore.
29062 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29063 all files in it.
29064 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29065 directory.
29066 (texis): Renamed to $(objpfx)texis.
29067 (texis-path): New, contains path to generated files.
29068 (chapters.%): Use texis-path for complete path, add extra argument
29069 libc-texinfo.sh.
29070 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29071 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29072 (summary,texi, stamp-summary): Use complete path of
29073 files. Generate files in build dir.
29074 (dir-add.texi): Build in build dir.
29075 (libm-err.texi,stamp-libm-err): Likewise.
29076 (version.texi, stamp-version): Likewise.
29077 (.%c.texi): Likewise.
29078 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29079 (mostlyclean): Remove target.
29080 (realclean): Remove target.
29081 (generated): Add new variable with contents from mostlyclean and
29082 realclean, remove entries duplicated in common-mostlyclean, add
29083 stamp-libm-err and stamp-version.
29084 (generated-dirs): Add libc directory.
29085 ($(inst_infodir)/libc.info): Install files from build dir.
29086
29087 * manual/install.texi (Configuring and compiling): Adjust since
29088 the info files are not part of the tar ball anymore.
29089
7ac77294
AJ
290902012-05-14 Andreas Jaeger <aj@suse.de>
29091
29092 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29093 variable.
29094
ffb7875d
JM
290952012-05-14 Joseph Myers <joseph@codesourcery.com>
29096
29097 [BZ #13717]
29098 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29099 to 2.2.0 where earlier.
29100 * sysdeps/unix/sysv/linux/configure: Regenerated.
29101 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29102 Remove conditional code.
29103 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29104 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29105 Remove conditional code.
29106 [!__NR_lchown]: Likewise.
29107 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29108 [__NR_lchown]: Likewise.
29109 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29110 comment referencing __ASSUME_LCHOWN_SYSCALL.
29111 * sysdeps/unix/sysv/linux/i386/sigaction.c
29112 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29113 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29114 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29115 Remove conditional code.
29116 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29117 (__protocol_available): Remove #if 0 code.
29118 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29119 conditional code.
29120 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29121 * sysdeps/unix/sysv/linux/kernel-features.h
29122 (__ASSUME_GETCWD_SYSCALL): Don't define.
29123 (__ASSUME_REALTIME_SIGNALS): Likewise.
29124 (__ASSUME_PREAD_SYSCALL): Likewise.
29125 (__ASSUME_PWRITE_SYSCALL): Likewise.
29126 (__ASSUME_POLL_SYSCALL): Likewise.
29127 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29128 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29129 non-SPARC.
29130 (__ASSUME_SIOCGIFNAME): Don't define.
29131 (__ASSUME_MSG_NOSIGNAL): Likewise.
29132 (__ASSUME_SENDFILE): Define unconditionally.
29133 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29134 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29135 conditional code.
29136 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29137 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29138 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29139 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29140 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29141 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29142 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29143 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29144 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29145 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29147 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29148 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29150 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29151 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29153 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29154 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29156 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29157 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29159 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29160 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29162 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29163 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29165 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29166 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29167 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29168 Remove conditional code.
29169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29170 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29171 Remove conditional code.
29172 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29173 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29174 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29175 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29176 Remove conditional code.
29177 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29178 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29179 Remove conditional code.
29180 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29181 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29182 Remove conditional code.
29183 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29184 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29185 Remove conditional code.
29186 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29187 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29188 Remove conditional code.
29189 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29190 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29191 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29192 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29193 * sysdeps/unix/sysv/linux/sigaction.c
29194 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29195 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29196 * sysdeps/unix/sysv/linux/sigpending.c
29197 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29198 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29199 * sysdeps/unix/sysv/linux/sigprocmask.c
29200 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29201 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29202 * sysdeps/unix/sysv/linux/sigsuspend.c
29203 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29204 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29205 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29206 (__libc_missing_rt_sigs): Remove.
29207 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29208 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29209 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29210 Remove conditional code.
29211 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29212 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29213 return 1.
29214 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29215 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29216 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29217 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29218
1bfb7291
AJ
292192012-05-14 Andreas Jaeger <aj@suse.de>
29220
caae5a81
AJ
29221 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29222 it's not used in glibc.
29223 (__coshm1): Likewise.
29224 (__acosh1p): Likewise.
29225 (__sgn): Likewise.
29226
1bfb7291
AJ
29227 * manual/string.texi (Copying and Concatenation): Add missing
29228 variable in concat example.
29229 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29230
c044d724
L
292312012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29232
144c5467 29233 [BZ #14103]
c044d724
L
29234 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29235 __builtin_clzl with __builtin_clzll.
29236
2523c62b
L
292372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29238
29239 [BZ #14104]
29240 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29241 libc_freeres_ptr.
29242
d7bb4c42
LD
292432012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29244
29245 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29246 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29247 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29248 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29249
9dc4e1fb
MF
292502012-05-14 Mike Frysinger <vapier@gentoo.org>
29251
29252 * NEWS: Update ia64 info.
29253
c7df0112
AS
292542012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29255
29256 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29257 used as bcopy.
29258
dc70356c
TS
292592012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29260
29261 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29262 * sysdeps/unix/syscalls.list (dup3): Likewise.
29263 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29264 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29265
9fb1a21f
L
292662012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29267
29268 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29269 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29270
4822a2a5
L
292712012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29272
29273 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29274 thread pointer.
29275 (TLS_IE): Use mov/add instead of movq/addq to load thread
29276 pointer.
29277 (TLS_GD_PREFIX): New.
29278 (TLS_GD): Use it.
29279
842b81d6
DM
292802012-05-11 David S. Miller <davem@davemloft.net>
29281
29282 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29283 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29284 (_FPU_SETCW): Likewise.
29285
1cf463cd
L
292862012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29287
29288 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29289 is 32-byte aligned.
29290
60cc4a18
AS
292912012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29292
29293 [BZ #11837]
29294 * iconvdata/gb18030.c: Update tables.
29295 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29296 characters specially.
29297 (BODY for TO_LOOP): Add encoding of missing ranges.
29298
febb44a4
TS
292992012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29300
29301 [BZ #13673]
29302 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29303 * sysdeps/mach/hurd/dup3.c: Likewise.
29304 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29305 * sysdeps/powerpc/memmove.c:: Likewise.
29306
0a10fb9e
L
293072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29308
29309 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29310 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29311
df8a552f
L
293122012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29313
29314 * elf/elf.h (R_X86_64_RELATIVE64): New.
29315 (R_X86_64_NUM): Updated.
29316 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29317 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29318 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29319 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29320 tst-quad1pie tst-quad2pie
29321 (modules-names): Add tst-quadmod1 tst-quadmod2.
29322 ($(objpfx)tst-quad1): New dependency.
29323 ($(objpfx)tst-quad2): Likewise.
29324 ($(objpfx)tst-quad1pie): Likewise.
29325 ($(objpfx)tst-quad2pie): Likewise.
29326 * sysdeps/x86_64/tst-quad1.c: New file.
29327 * sysdeps/x86_64/tst-quad1pie.c: New file.
29328 * sysdeps/x86_64/tst-quad2.c: Likewise.
29329 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29330 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29331 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29332 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29333 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29334
f34d6f84
ST
293352012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29336
f42d41d1
ST
29337 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29338 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29339 * streams/stropts.h (t_scalar_t): Define type.
29340
3c3571fc
ST
29341 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29342 (_PATH_PRESERVE): Set to "/var/lib".
29343 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29344
61f06bd3
ST
29345 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29346 instead of int.
29347
918d4d71
ST
29348 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29349 if __dir_mkfile succeeded.
29350
f34d6f84
ST
29351 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29352 checking for _hurd_dtablesize. Unlock it right after having
29353 finished _hurd_dtable allocation.
29354
10589b4a
TS
293552012-05-10 Thomas Schwinge <thomas@schwinge.name>
29356
674cdbc7
TS
29357 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29358 * sysdeps/mach/hurd/configure: Regenerated.
29359 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29360 special-casing to...
29361 * sysdeps/gnu/configure.in: ... this new file.
29362 * sysdeps/unix/sysv/linux/configure: Regenerated.
29363 * sysdeps/gnu/configure: New generated file.
29364
8e41b99f
TS
29365 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29366 for Linux: use nsec instead of usec, as well as:
29367 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29368 members of type struct timespec.
29369 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29370 New macros.
29371 (struct stat64): Likewise.
29372 (_STATBUF_ST_NSEC): New macro.
29373 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29374
10589b4a
TS
29375 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29376 __strtoul_internal rather than strtoul.
29377
63643c85
PT
293782012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29379
29380 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29381 and reject them.
29382
3faebe6a
ST
293832012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29384
29385 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29386 which preserves existing values.
29387 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29388
c6474b07
PT
293892012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29390
29391 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29392 TIMEOUT values. Return EINVAL for NFDS values either negative or
29393 greater than FD_SETSIZE.
29394
1043890b
ST
293952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29396
29397 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29398 allocated, call __vm_protect to finish enabling the existing space, and
29399 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29400 allocate the remainder.
29401
37ed8b9b
PT
294022012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29403
29404 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29405 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29406
db653660
ST
294072012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29408
37ed8b9b
PT
29409 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29410 sysdeps/mach/hurd/readlink.c.
b29d4053 29411
db653660
ST
29412 * posix/tst-sysconf.c (posix_options): Only use
29413 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29414 _POSIX_SYNCHRONIZED_IO when they are defined
29415 * sysdeps/mach/hurd/bits/posix_opt.h:
29416 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29417 (_XOPEN_REALTIME): Undefine macro.
29418 (_XOPEN_REALTIME_THREADS): Undefine macro.
29419 (_XOPEN_SHM): Undefine macro.
29420 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29421 macro to -1.
29422 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29423 macro to -1.
29424 (_POSIX_ASYNC_IO): Undefine macro.
29425 (_POSIX_PRIORITIZED_IO): Undefine macro.
29426 (_POSIX_SPIN_LOCKS): Define macro to -1.
29427
ee16e894
ST
29428 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29429 SA_NODEFER, SA_RESETHAND.
29430 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29431 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29432 F_DUPFD_CLOEXEC.
29433
6103ae3b
TS
294342012-05-10 Thomas Schwinge <thomas@schwinge.name>
29435
29436 * elf/Makefile (pldd-modules): Define unconditionally.
29437
80b4e5f3
TS
294382012-05-10 Thomas Schwinge <thomas@schwinge.name>
29439
29440 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29441
edadcbd6
ST
294422012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29443
29444 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29445 Return ENOENT when name is empty.
29446 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29447
80694780
TS
294482012-05-10 Thomas Schwinge <thomas@schwinge.name>
29449
1792c087
TS
29450 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29451
80694780
TS
29452 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29453
6b645f0d
ST
294542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29455
80694780
TS
29456 Fix mlock in all cases except non-readable pages.
29457 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29458 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29459
6b645f0d
ST
29460 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29461 (__mkdir): When path is `/', just fail with EEXIST.
29462 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29463
e468f8a3
TS
294642012-05-10 Thomas Schwinge <thomas@schwinge.name>
29465
29466 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29467 <sys/uio.h> (for writev).
29468 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29469 and <sys/param.h> (for MIN).
29470
a4186cff
PT
294712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29472
29473 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29474 REQUESTED_TIME. Properly set the remaining time and return EINTR
29475 if interrupted.
29476
510bbf14
TS
294772012-05-10 Thomas Schwinge <thomas@schwinge.name>
29478
29479 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29480 Depend on against $(link-rpcuserlibs).
29481
5d5722e8
ST
294822012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29483
a4186cff
PT
29484 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29485 (__libc_stack_end): Do not use attribute_relro.
29486 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29487 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29488 to libthread-provided value.
a4186cff
PT
29489 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29490 attribute_relro.
5d5722e8 29491
37233df9
TS
294922012-05-10 Thomas Schwinge <thomas@schwinge.name>
29493
be971a2b
TS
29494 [BZ #3748]
29495 * bits/libc-lock.h (__libc_once_get): New macro.
29496 * sysdeps/mach/bits/libc-lock.h: Likewise.
29497 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29498 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29499 instead of using implementation details.
29500
37233df9
TS
29501 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29502 * libio/freopen.c: Likewise.
29503 * libio/freopen64.c: Likewise.
29504 * misc/syslog.c: Likewise.
29505 * nscd/connections.c: Likewise.
29506 * nscd/netgroupcache.c: Likewise.
29507 * sysdeps/posix/getcwd.c: Likewise.
29508
38de94a5
RM
295092012-05-10 Roland McGrath <roland@hack.frob.com>
29510
29511 * math/w_ilogbf.c: Add #include <limits.h>.
29512
67530489
ST
295132012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29514
a4186cff 29515 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29516 path instead of returning without unlocking.
29517
67530489
ST
29518 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29519 immediate-write ioctls.
29520 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29521
5aa3a74a
TS
295222012-05-10 Thomas Schwinge <thomas@schwinge.name>
29523
18bad2ae
TS
29524 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29525 __builtin_frame_address instead of making assumptions about the
29526 location of the return address relative to DATA. Force early load of
29527 the return address.
29528 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29529 __builtin_frame_address.
29530
5aa3a74a
TS
29531 dup3 for GNU Hurd.
29532 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29533 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29534 implement dup3 and do some further code clean-ups.
29535 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29536 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29537
ecd0de9a
ST
295382012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29539
cd9fa985
ST
29540 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29541
a4186cff
PT
29542 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29543 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29544 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29545 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29546 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29547 d->port.lock.
802ca5a5 29548
a4186cff
PT
29549 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29550 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29551 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29552
bcf55240
TS
295532012-05-10 Thomas Schwinge <thomas@schwinge.name>
29554
6960eb42
TS
29555 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29556 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29557 definitions.
29558
eb43375f
TS
29559 accept4 for GNU Hurd.
29560 * include/sys/socket.h (__libc_accept4): New prototype.
29561 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29562 to implement __libc_accept4.
29563 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29564 __libc_accept4.
29565 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29566
bcf55240
TS
29567 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29568 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29569 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29570 signal-defines.sym.
29571
6178c55b
ST
295722012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29573
a4186cff 29574 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29575
6f080c2f
TS
295762012-05-10 Thomas Schwinge <thomas@schwinge.name>
29577
29578 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29579 assertion on O_CLOEXEC flag.
29580 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29581 * hurd/intern-fd.c: Likewise.
29582 * hurd/port2fd.c: Likewise.
29583
bcfe3a54
ST
295842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29585
29586 [BZ #3906]
29587 * bits/in.h (IPV6_PKTINFO): Define new macro.
29588 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29589
89c9aa49
AZ
295902012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29591
29592 [BZ #13954]
29593 [BZ #13955]
29594 [BZ #13956]
29595 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29596 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29597 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29598 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29599 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29600 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29601 * math/libm-test.inc (logb_test) : Additional logb tests.
29602
021db4be
AJ
296032012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29604 Andreas Jaeger <aj@suse.de>
29605
29606 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29607 * configure: Regenerated.
29608 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29609 * config.make.in (link-obsolete-rpc): New substituted variable.
29610 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29611 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29612 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29613 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29614 so that libc.a contains the symbols.
29615 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29616 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29617 * sunrpc/auth_none.c: Likewise.
29618 * sunrpc/auth_unix.c: Likewise.
29619 * sunrpc/authdes_prot.c: Likewise.
29620 * sunrpc/authuxprot.c: Likewise.
29621 * sunrpc/clnt_gen.c: Likewise.
29622 * sunrpc/clnt_perr.c: Likewise.
29623 * sunrpc/clnt_raw.c: Likewise.
29624 * sunrpc/clnt_simp.c: Likewise.
29625 * sunrpc/clnt_tcp.c: Likewise.
29626 * sunrpc/clnt_udp.c: Likewise.
29627 * sunrpc/clnt_unix.c: Likewise.
29628 * sunrpc/des_crypt.c: Likewise.
29629 * sunrpc/des_soft.c: Likewise.
29630 * sunrpc/get_myaddr.c: Likewise.
29631 * sunrpc/key_call.c: Likewise.
29632 * sunrpc/key_prot.c: Likewise.
29633 * sunrpc/netname.c: Likewise.
29634 * sunrpc/pm_getmaps.c: Likewise.
29635 * sunrpc/pm_getport.c: Likewise.
29636 * sunrpc/pmap_clnt.c: Likewise.
29637 * sunrpc/pmap_prot.c: Likewise.
29638 * sunrpc/pmap_prot2.c: Likewise.
29639 * sunrpc/pmap_rmt.c: Likewise.
29640 * sunrpc/publickey.c: Likewise.
29641 * sunrpc/rpc_cmsg.c: Likewise.
29642 * sunrpc/rpc_common.c: Likewise.
29643 * sunrpc/rpc_dtable.c: Likewise.
29644 * sunrpc/rpc_prot.c: Likewise.
29645 * sunrpc/rpc_thread.c: Likewise.
29646 * sunrpc/rtime.c: Likewise.
29647 * sunrpc/svc.c: Likewise.
29648 * sunrpc/svc_auth.c: Likewise.
29649 * sunrpc/svc_raw.c: Likewise.
29650 * sunrpc/svc_run.c: Likewise.
29651 * sunrpc/svc_tcp.c: Likewise.
29652 * sunrpc/svc_udp.c: Likewise.
29653 * sunrpc/svc_unix.c: Likewise.
29654 * sunrpc/svcauth_des.c: Likewise.
29655 * sunrpc/xcrypt.c: Likewise.
29656 * sunrpc/xdr.c: Likewise.
29657 * sunrpc/xdr_array.c: Likewise.
29658 * sunrpc/xdr_float.c: Likewise.
29659 * sunrpc/xdr_intXX_t.c: Likewise.
29660 * sunrpc/xdr_mem.c: Likewise.
29661 * sunrpc/xdr_rec.c: Likewise.
29662 * sunrpc/xdr_ref.c: Likewise.
29663 * sunrpc/xdr_sizeof.c: Likewise.
29664 * sunrpc/xdr_stdio.c: Likewise.
29665
b5c086a2
RM
296662012-05-10 Roland McGrath <roland@hack.frob.com>
29667
29668 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29669 change. Update copyright years.
29670
6d74dd09
JM
296712012-05-10 Joseph Myers <joseph@codesourcery.com>
29672
29673 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29674
28e72501
MK
296752012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29676 Joseph Myers <joseph@codesourcery.com>
29677 Paul Pluzhnikov <ppluzhnikov@google.com>
29678
29679 [BZ #14012]
29680 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29681 requiring rpcgen.
29682 [cross-compiling] (extra-libs): Likewise.
29683 [cross-compiling] (extra-libs-others): Likewise.
29684 [cross-compiling] (librpcsvc-routines): Likewise.
29685 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29686 [cross-compiling] (omit-deps): Likewise.
29687 (sunrpc-CPPFLAGS): New variable.
29688 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29689 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29690 (cross-rpcgen-objs): New variable.
29691 (extra-objs): Append $(cross-rpcgen-objs).
29692 ($(cross-rpcgen-objs)): New rule.
29693 ($(objpfx)cross-rpcgen): Likewise.
29694 (rpcgen-cmd): Define to use $(built-program-file). Expand
29695 comment.
29696 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29697 ($(objpfx)x%.stmp): Likewise.
29698 * sunrpc/proto.h [IS_IN_build] (_): Define.
29699 [IS_IN_build] (_libc_intl_domainname): Likewise.
29700
c8c59454
L
297012012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29702
29703 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29704 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29705 and R_X86_64_TPOFF64.
29706
6f27cd16
JM
297072012-05-10 Joseph Myers <joseph@codesourcery.com>
29708
29709 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29710 sysdeps/unix/sysv/syscalls.list.
29711 (stime): Likewise.
29712 (utime): Likewise.
29713 * sysdeps/unix/sysv/syscalls.list: Remove file.
29714
02467e1c
PE
297152012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29716
29717 [BZ #3440]
29718 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29719 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29720 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29721 (__LC_IDENTIFICATION): Make these macros useful in #if
29722 expressions, as required by C99.
29723
da392631
AS
297242012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29725
29726 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29727 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29728 after this.
29729
8115f29b
L
297302012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29731
29732 * stdlib/longlong.h: Updated from GCC.
29733
bdd74070
AJ
297342012-05-09 Andreas Jaeger <aj@suse.de>
29735
edfe0dbe
AJ
29736 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29737 default is first entry.
29738 (run_mode): Set type.
29739 (main): Remove informal message about syslog.
29740 (options): Fix typo.
29741
bcfe3a54
ST
29742 [BZ #14053]
29743 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29744 to asm.
bcfe3a54
ST
29745 (lrint): Likewise.
29746 (llrintf): Likewise.
29747 (llrint): Likewise.
29748 (rint): Likewise.
29749 (rintf): Likewise.
29750 (nearbyint): Likewise.
29751 (nearbyintf): Likewise.
bdd74070 29752
91d8d69e
AJ
297532012-05-09 Andreas Jaeger <aj@suse.de>
29754 Pedro Alves <palves@redhat.com>
29755
29756 * nscd/nscd.c (run_mode): Use enum.
29757 (main): Cleanup coding style issue.
29758
bb90b80b
AJ
297592012-05-09 Alexandre Oliva <aoliva@redhat.com>
29760 Andreas Jaeger <aj@suse.de>
29761
bcfe3a54
ST
29762 * nscd/nscd.c (go_background): Replaced with...
29763 (run_mode): ... this.
bb90b80b 29764 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29765 (options): Add -F --foreground.
29766 (main): Implement it.
29767 (parse_opt): Parse it.
bb90b80b 29768
1a4b75a1
AJ
297692012-05-09 Andreas Jaeger <aj@suse.de>
29770
29771 [BZ #14083]
29772 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29773 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29774 -Wconversion warning.
29775 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29776 Likewise.
29777
b1cc2472
JM
297782012-05-09 Joseph Myers <joseph@codesourcery.com>
29779
29780 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29781 == 0.
29782 (LC_ALL): Use macro-int-constant.
29783 (LC_COLLATE): Likewise.
29784 (LC_CTYPE): Likewise.
29785 (LC_MESSAGES): Likewise.
29786 (LC_MONETARY): Likewise.
29787 (LC_NUMERIC): Likewise.
29788 (LC_TIME): Likewise.
29789 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29790 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29791 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29792 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29793 Specify type.
29794 [C99-based standards] (float_t): Expect type.
29795 [C99-based standards] (double_t): Expect type.
29796 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29797 type.
29798 [C99-based standards] (HUGE_VALL): Likewise.
29799 [C99-based standards] (INFINITY): Likewise.
29800 [C99-based standards] (NAN): Likewise.
29801 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29802 [C99-based standards] (FP_NAN): Likewise.
29803 [C99-based standards] (FP_NORMAL): Likewise.
29804 [C99-based standards] (FP_SUBNORMAL): Likewise.
29805 [C99-based standards] (FP_ZERO): Likewise.
29806 [C99-based standards] (FP_FAST_FMA): Use
29807 optional-macro-int-constant. Specify type. Require == 1.
29808 [C99-based standards] (FP_FAST_FMAF): Likewise.
29809 [C99-based standards] (FP_FAST_FMAL): Likewise.
29810 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29811 [C99-based standards] (FP_ILOGBNAN): Likewise.
29812 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29813 Specify type.
29814 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29815 [C99-based standards] (math_errhandling): Specify type.
29816 [ISO99 || ISO11] (signgam): Do not allow.
29817 [non-C99-based standards] (copysignf): Do not allow.
29818 [non-C99-based standards] (exp2f): Likewise.
29819 [non-C99-based standards] (log2f): Likewise.
29820 [non-C99-based standards] (modff): Allow.
29821 [non-C99-based standards] (erff): Do not allow.
29822 [non-C99-based standards] (erfcf): Likewise.
29823 [non-C99-based standards] (gammaf): Likewise.
29824 [non-C99-based standards] (hypotf): Likewise.
29825 [non-C99-based standards] (j0f): Likewise.
29826 [non-C99-based standards] (j1f): Likewise.
29827 [non-C99-based standards] (jnf): Likewise.
29828 [non-C99-based standards] (lgammaf): Likewise.
29829 [non-C99-based standards] (tgammaf): Likewise.
29830 [non-C99-based standards] (y0f): Likewise.
29831 [non-C99-based standards] (y1f): Likewise.
29832 [non-C99-based standards] (ynf): Likewise.
29833 [non-C99-based standards] (isnanf): Likewise.
29834 [non-C99-based standards] (acoshf): Likewise.
29835 [non-C99-based standards] (asinhf): Likewise.
29836 [non-C99-based standards] (atanhf): Likewise.
29837 [non-C99-based standards] (cbrtf): Likewise.
29838 [non-C99-based standards] (expm1f): Likewise.
29839 [non-C99-based standards] (ilogbf): Likewise.
29840 [non-C99-based standards] (log1pf): Likewise.
29841 [non-C99-based standards] (logbf): Likewise.
29842 [non-C99-based standards] (nextafterf): Likewise.
29843 [non-C99-based standards] (remainderf): Likewise.
29844 [non-C99-based standards] (rintf): Likewise.
29845 [non-C99-based standards] (scalbf): Likewise.
29846 [non-C99-based standards] (copysignl): Likewise.
29847 [non-C99-based standards] (exp2l): Likewise.
29848 [non-C99-based standards] (log2l): Likewise.
29849 [non-C99-based standards] (modfl): Allow.
29850 [non-C99-based standards] (erfl): Do not allow.
29851 [non-C99-based standards] (erfcl): Likewise.
29852 [non-C99-based standards] (gammal): Likewise.
29853 [non-C99-based standards] (hypotl): Likewise.
29854 [non-C99-based standards] (j0l): Likewise.
29855 [non-C99-based standards] (j1l): Likewise.
29856 [non-C99-based standards] (jnl): Likewise.
29857 [non-C99-based standards] (lgammal): Likewise.
29858 [non-C99-based standards] (tgammal): Likewise.
29859 [non-C99-based standards] (y0l): Likewise.
29860 [non-C99-based standards] (y1l): Likewise.
29861 [non-C99-based standards] (ynl): Likewise.
29862 [non-C99-based standards] (isnanl): Likewise.
29863 [non-C99-based standards] (acoshl): Likewise.
29864 [non-C99-based standards] (asinhl): Likewise.
29865 [non-C99-based standards] (atanhl): Likewise.
29866 [non-C99-based standards] (cbrtl): Likewise.
29867 [non-C99-based standards] (expm1l): Likewise.
29868 [non-C99-based standards] (ilogbl): Likewise.
29869 [non-C99-based standards] (log1pl): Likewise.
29870 [non-C99-based standards] (logbl): Likewise.
29871 [non-C99-based standards] (nextafterl): Likewise.
29872 [non-C99-based standards] (remainderl): Likewise.
29873 [non-C99-based standards] (rintl): Likewise.
29874 [non-C99-based standards] (scalbl): Likewise.
29875 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29876 [non-C99-based standards] (FP_*): Do not allow.
29877 [C99-based standards] (FP_*): Change to
29878 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29879 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29880 allow.
29881 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29882 (SIG_ERR): Likewise.
29883 [X/Open-based standards] (SIG_HOLD): Likewise.
29884 (SIG_IGN): Likewise.
29885 (SIGABRT): Use macro-int-constant. Specify type. Require
29886 positive value.
29887 (SIGFPE): Likewise.
29888 (SIGILL): Likewise.
29889 (SIGINT): Likewise.
29890 (SIGSEGV): Likewise.
29891 (SIGTER): Likewise.
29892 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29893 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29894 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29895 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29896 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29897 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29898 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29899 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29900 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29901 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29902 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29903 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29904 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29905 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29906 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29907 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29908 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29909 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29910 [X/Open-based standards] (SIGTRAP): Likewise.
29911 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29912 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29914 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29915 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29916 allow.
29917
b9f1922d
IW
299182012-05-08 Ian Wienand <ianw@vmware.com>
29919
29920 [BZ #14080]
29921 * time/tzset.c (__tzset_parse_tz): Update default rules for
29922 daylight time changes in the Energy Policy Act of 2005.
29923
1db86e88
AJ
299242012-05-09 Andreas Jaeger <aj@suse.de>
29925
29926 [BZ #13983]
29927 * elf/ldconfig.c (parse_conf): Change string to make clear that
29928 ldconfig only issued a warning if ld.so.conf does not exist.
29929
dee4a4e3
DM
299302012-05-08 David S. Miller <davem@davemloft.net>
29931
ee0db190
DM
29932 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29933 movxtod instead of popping the value on the stack.
29934
dee4a4e3
DM
29935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29936
6a43ec98
CD
299372012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29938
29939 * config.h.in: Add HAVE_ARM_PCS_VFP.
29940
05c2c961
RMG
299412012-05-08 Roland Mc Grath <roland@hack.frob.com>
29942
bcfe3a54
ST
29943 [BZ #13979]
29944 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29945 checking but the checks are disabled for any reason.
05c2c961 29946
4b30f61a
L
299472012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29948
29949 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29950 and ELF64_R_TYPE with ELFW(R_TYPE).
29951
eee2bc67
JM
299522012-05-08 Joseph Myers <joseph@codesourcery.com>
29953
7ea5391a
JM
29954 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29955 (ulimit): Likewise.
29956
eee2bc67
JM
29957 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29958 (settimeofday): Likewise.
29959
abb66a67
MF
299602012-05-08 Mike Frysinger <vapier@gentoo.org>
29961
29962 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29963 a struct th_u2 inside the union, and move tu_block/tu_code into
29964 a new th_u3 union of tu_block/tu_code inside of that. Move
29965 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29966 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29967 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29968 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29969 (th_stuff): Change to th_u1.tu_stuff.
29970 (th_data): Define.
29971 (th_msg): Change to th_u1.th_u2.tu_data.
29972
7f18b530
DM
299732012-05-07 David S. Miller <davem@davemloft.net>
29974
05760585
DM
29975 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29976
7f18b530
DM
29977 [BZ #14074]
29978 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
29979 (SETUP_PIC_REG): Use it.
29980 (SETUP_PIC_REG_LEAF): Use it.
29981
495fd99f
JM
299822012-05-07 Joseph Myers <joseph@codesourcery.com>
29983
29984 [BZ #13885]
29985 [BZ #13923]
29986 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29987 USE_AS_EXPM1L.
29988 (EXPL_FINITE): Likewise.
29989 (FLDLOG): Likewise.
29990 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29991 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29992 e_expl.S.
29993 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
29994 USE_AS_EXPM1L.
29995 (EXPL_FINITE): Likewise.
29996 (FLDLOG): Likewise.
29997 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
29998 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
29999 e_expl.S.
30000 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30001 test of -max_value argument for long double.
30002 * sysdeps/i386/fpu/libm-test-ulps: Update.
30003 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30004
6693d694
DM
300052012-05-06 David S. Miller <davem@davemloft.net>
30006
30007 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30008 quad soft-float symbols whose references which are compiler
30009 generated.
30010 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30011
6c23e11c
JM
300122012-05-06 Joseph Myers <joseph@codesourcery.com>
30013
d8b82cad
JM
30014 [BZ #13884]
30015 [BZ #13914]
30016 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30017 USE_AS_EXP10L.
30018 (EXPL_FINITE): Likewise.
30019 (FLDLOG): Likewise.
30020 (c0): Likewise.
30021 (c1): Likewise.
30022 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30023 Adjust comments for base varying.
30024 (__expl_finite): Change alias to EXPL_FINITE.
30025 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30026 e_expl.S.
30027 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30028 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30029 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30030 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30031 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30032 USE_AS_EXP10L.
30033 (EXPL_FINITE): Likewise.
30034 (FLDLOG): Likewise.
30035 (c0): Likewise.
30036 (c1): Likewise.
30037 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30038 Adjust comments for base varying.
30039 (__expl_finite): Change alias to EXPL_FINITE.
30040 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30041 tests for bugs.
30042 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30043
6c23e11c
JM
30044 [BZ #14064]
30045 * math/libm-test.inc (check_float_internal): Correct ulp
30046 calculation for subnormal expected results.
30047
29ba805c
AJ
300482012-05-06 Andreas Jaeger <aj@suse.de>
30049
30050 * Makeconfig (+math-flags): New, set to -frounding-math.
30051 (+cflags): Add +math-flags so that all of glibc gets compiled with
30052 it.
30053
30054 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30055
7b17aeda
JM
300562012-05-05 Joseph Myers <joseph@codesourcery.com>
30057
5779f134
JM
30058 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30059 Disable one test.
30060
41498f4d
JM
30061 [BZ #13787]
30062 [BZ #13922]
30063 [BZ #14036]
30064 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30065 (__ieee754_expl): Allow for and saturate large arguments.
30066 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30067 (u_threshold): Likewise.
30068 (__exp): Call __ieee754_exp before checking for overflow and
30069 underflow.
30070 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30071 (u_threshold): Likewise.
30072 (__expf): Call __ieee754_expf before checking for overflow and
30073 underflow.
30074 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30075 (u_threshold): Likewise.
30076 (__expl): Call __ieee754_expl before checking for overflow and
30077 underflow.
30078 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30079 (__ieee754_expl): Allow for and saturate large arguments.
30080 * math/libm-test.inc (exp_test): Add another test. Do not allow
30081 missing overflow exception on overflow.
30082 (expm1_test): Do not allow missing overflow exception on overflow.
30083
6698b8bf
JM
30084 * sysdeps/i386/fpu/e_expl.c: Move to ...
30085 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30086 rather than using inline asm.
30087 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30088 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30089 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30090
7b17aeda
JM
30091 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30092 (nice): Likewise.
30093 (poll): Likewise.
30094 (signal): Likewise.
30095 (time): Likewise.
30096 (times): Likewise.
30097
f7c85819
JM
300982012-05-04 Joseph Myers <joseph@codesourcery.com>
30099
30100 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30101 sysdeps/unix/common/syscalls.list.
30102 (fchmod): Likewise.
30103 (fchown): Likewise.
30104 (ftruncate): Likewise.
30105 (getrusage): Likewise.
30106 (gettimeofday): Likewise.
30107 (setpgid): Likewise.
30108 (setregid): Likewise.
30109 (setreuid): Likewise.
30110 (sigaction): Likewise.
30111 (truncate): Likewise.
30112 (vhangup): Likewise.
30113 * sysdeps/unix/common/syscalls.list: Remove file.
30114 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30115 * sysdeps/unix/sysv/linux/Implies: Likewise.
30116
336270d0
L
301172012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30118
30119 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30120 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30121 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30122 Moved to ...
30123 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30124 Here.
30125 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30126 to ...
30127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30128 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30129 to ...
30130 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30131 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30132 to ...
30133 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30134 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30135 to ...
30136 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30137 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30138 to ...
30139 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30140 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30141 to ...
30142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30143 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30144 to ...
30145 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30146 Here.
30147 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30148 to ...
30149 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30150 Here.
30151 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30152 to ...
30153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30154 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30155 Moved to ...
30156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30157 Here.
30158 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30159 to ...
30160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30161
d128e450
JM
301622012-05-04 Joseph Myers <joseph@codesourcery.com>
30163
fa8ee516
JM
30164 * sysdeps/unix/common/bits/dirent.h: Remove file.
30165 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30166
d128e450
JM
30167 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30168 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30169 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30170 * sysdeps/unix/bsd/isatty.c: Likewise.
30171 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30172 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30173 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30174
ff8faaf0 301752012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30176
62881be4 30177 [BZ #13563]
31dc8730
AZ
30178 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30179 long double comparison inaccuracies.
30180 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30181 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30182
6fef930c
AS
301832012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30184
30185 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30186 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30187
8f203e6c
JM
301882012-05-04 Joseph Myers <joseph@codesourcery.com>
30189
30190 [BZ #14049]
30191 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30192 nonzero digits before rounding a hex value.
30193 * stdlib/tst-strtod.c (tests): Add another test.
30194
5197d9c2
AK
301952012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30196
30197 * sysdeps/s390/fpu/libm-test-ulps: Update.
30198
f0c1dedf
AJ
301992012-05-03 Andreas Jaeger <aj@suse.de>
30200
30201 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30202 does not get optimized out.
30203 (malloc_opt_barrier): New.
30204
a65ef2ae 302052012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30206 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30207
2b942cb7 30208 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30209 intermediate file deletion.
2b942cb7 30210 (generated): Add .symlist files.
a65ef2ae 30211
54b71e02
JM
302122012-05-03 Joseph Myers <joseph@codesourcery.com>
30213
30214 [BZ #13775]
30215 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30216 Redirect under this condition.
30217 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30218 [__USE_GNU] (__dprintf_chk): Not under this condition.
30219 [__USE_GNU] (__vdprintf_chk): Likewise.
30220 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30221 under this condition.
30222 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30223 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30224 [__USE_XOPEN2K8] (vdprintf): Likewise.
30225 [__USE_GNU] (__dprintf_chk): Not under this condition.
30226 [__USE_GNU] (__vdprintf_chk): Likewise.
30227 [__USE_GNU] (dprintf): Likewise.
30228 [__USE_GNU] (vdprintf): Likewise.
30229
d3dfcc41
RM
302302012-05-03 Roland McGrath <roland@hack.frob.com>
30231
30232 * elf/Makefile (common-generated): Set this instead of generated for
30233 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30234 $(all-built-dso)-derived lists.
30235
7ac30cc5
AJ
302362012-05-03 Andreas Jaeger <aj@suse.de>
30237
0c51e550
AJ
30238 * sysdeps/i386/fpu/libm-test-ulps: Update.
30239
7ac30cc5
AJ
30240 * FAQ: Removed.
30241 * FAQ.in: Likewise.
30242 * scripts/gen-FAQ.pl: Likewise.
30243 * manual/install.texi (Installation): Point to online location of
30244 FAQ.
30245 * Makefile (files-for-dist): Remove FAQ.
30246 (FAQ): Remove.
30247
d4c2917f
AM
302482012-05-02 Allan McRae <allan@archlinux.org>
30249
30250 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30251 (LDFLAGS-reldepmod5.so): Likewise.
30252 (LDFLAGS-reldep6mod1.so): Likewise.
30253 (LDFLAGS-reldep6mod4.so): Likewise.
30254 (LDFLAGS-reldep8mod3.so): Likewise.
30255 (LDFLAGS-unload4mod1.so): Likewise.
30256 (LDFLAGS-unload4mod2.so): Likewise.
30257 (LDFLAGS-tst-initorder): Likewise.
30258 (LDFLAGS-tst-initordera2.so): Likewise.
30259 (LDFLAGS-tst-initordera3.so): Likewise.
30260 (LDFLAGS-tst-initordera4.so): Likewise.
30261 (LDFLAGS-tst-initorderb2.so): Likewise.
30262 (LDFLAGS-noload): Likewise.
30263 (LDFLAGS-next): Likewise.
30264 (LDFLAGS-order2mod1.so): Likewise.
30265 (LDFLAGS-order2mod2.so): Likewise.
30266 (LDFLAGS-tst-initorder2): Likewise.
30267 (LDFLAGS-tst-initorder2a.so): Likewise.
30268 (LDFLAGS-tst-initorder2b.so): Likewise.
30269 (LDFLAGS-tst-initorder2c.so): Likewise.
30270 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30271
d77f993f
DM
302722012-05-02 David S. Miller <davem@davemloft.net>
30273
30274 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30275
171a70b4
PP
302762012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30277
30278 [BZ #14055]
30279 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30280
0be196ad
AJ
302812012-05-02 Andreas Jaeger <aj@suse.de>
30282
30283 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30284 since we manipulate rounding mode.
30285 (CPPFLAGS-test-idouble.c): Likewise.
30286 (CPPFLAGS-test-ifloat.c): Likewise.
30287 (CFLAGS-test-ldouble.c): Likewise.
30288 (CFLAGS-test-double.c): Likewise.
30289 (CFLAGS-test-float.c): Likewise.
30290 (CFLAGS-test-misc.c): Likewise.
30291 (CFLAGS-test-test-fenv.c): Likewise.
30292
4f9d04aa
AZ
302932012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30294
2b942cb7
RM
30295 [BZ #2550]
30296 [BZ #2570]
30297 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30298 comparisons to determine direction to adjust input.
4f9d04aa 30299
82a79e7d
RM
303002012-05-01 Roland McGrath <roland@hack.frob.com>
30301
f5a01ca9
RM
30302 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30303 output to the target.
30304
90fe4186
RM
30305 * scripts/localplt.awk: New file.
30306 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30307 (check-localplt-CFLAGS): Variable removed.
30308 ($(all-built-dso:=.jmprel)): New static pattern rule.
30309 (generated): Add those targets.
30310 (localplt-built-dso): New variable.
30311 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30312
30313 * elf/check-localplt.c: File removed.
30314
82397ed6
RM
30315 * scripts/check-execstack.awk: New file.
30316 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30317 (check-execstack-CFLAGS): Variable removed.
30318 ($(objpfx)check-execstack.h): Target removed.
30319 ($(objpfx)execstack-default): New target.
30320 (generated): Add that instead of check-execstack.h.
30321 ($(all-built-dso:=.phdr)): New static pattern rule.
30322 (generated): Add those targets.
30323 * elf/check-execstack.c: File removed.
30324
82a79e7d
RM
30325 * scripts/check-textrel.awk: New file.
30326 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30327 (check-textrel-CFLAGS): Variable removed.
30328 (all-built-dso): Use := to define.o
30329 ($(all-built-dso:=.dyn)): New static pattern rule.
30330 (generated): Add those targets.
30331 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30332 * config.make.in (READELF): New substituted variable.
30333 * elf/check-textrel.c: File removed.
30334
62fde54f 303352012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30336
615605c9
JM
30337 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30338 allow.
30339 * conform/data/ctype.h-data [C99-based standards] (isblank):
30340 Expect function.
30341 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30342 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30343 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30344 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30345 Specify type. Require positive value.
30346 (EILSEQ): Likewise.
30347 (ERANGE): Likewise.
30348 [ISO || POSIX] (EILSEQ): Do not expect.
30349 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30350 Specify type. Require positive value.
30351 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30352 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30353 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30354 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30355 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30356 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30357 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30358 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30359 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30360 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30361 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30362 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30363 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30364 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30365 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30366 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30367 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30368 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30369 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30370 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30371 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30372 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30373 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30374 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30375 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30376 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30377 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30378 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30379 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30380 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30381 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30382 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30383 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30384 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30385 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30386 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30387 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30388 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30389 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30390 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30391 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30392 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30393 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30394 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30395 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30396 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30397 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30398 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30399 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30400 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30401 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30402 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30403 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30404 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30405 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30406 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30407 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30408 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30409 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30410 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30411 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30412 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30413 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30414 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30415 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30416 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30417 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30418 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30419 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30420 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30421 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30422 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30423 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30424 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30425 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30426 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30427 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30428 Require >= 2.
30429 (FLT_ROUNDS): Expect as macro, not constant.
30430 (FLT_MANT_DIG): Use macro-int-constant.
30431 (DBL_MANT_DIG): Likewise.
30432 (LDBL_MANT_DIG): Likewise.
30433 (FLT_DIG): Likewise.
30434 (DBL_DIG): Likewise.
30435 (LDBL_DIG): Likewise.
30436 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30437 (DBL_MIN_EXP): Likewise.
30438 (LDBL_MIN_EXP): Likewise.
30439 (FLT_MAX_EXP): Use macro-int-constant.
30440 (DBL_MAX_EXP): Likewise.
30441 (LDBL_MAX_EXP): Likewise.
30442 (FLT_MAX_10_EXP): Likewise.
30443 (DBL_MAX_10_EXP): Likewise.
30444 (LDBL_MAX_10_EXP): Likewise.
30445 (FLT_MAX): Use macro-constant.
30446 (DBL_MAX): Likewise.
30447 (LDBL_MAX): Likewise.
30448 (FLT_EPSILON): Use macro-constant. Give upper bound.
30449 (DBL_EPSILON): Likewise.
30450 (LDBL_EPSILON): Likewise.
30451 (FLT_MIN): Likewise.
30452 (DBL_MIN): Likewise.
30453 (LDBL_MIN): Likewise.
30454 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30455 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30456 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30457 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30458 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30459 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30460 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30461 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30462 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30463 [ISO11] (FLT_TRUE_MIN): Likewise.
30464 [ISO11] (LDBL_TRUE_MIN): Likewise.
30465 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30466 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30467 (SCHAR_MIN): Use macro-int-constant. Specify type.
30468 (SCHAR_MAX): Likewise.
30469 (UCHAR_MAX): Likewise.
30470 (CHAR_MIN): Likewise.
30471 (CHAR_MAX): Likewise.
30472 (MB_LEN_MAX): Use macro-int-constant.
30473 (SHRT_MIN): Use macro-int-constant. Specify type.
30474 (SHRT_MAX): Likewise.
30475 (USHRT_MAX): Likewise.
30476 (INT_MAX): Likewise.
30477 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30478 bound negative.
30479 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30480 bound with "U".
30481 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30482 bound with "L".
30483 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30484 bound negative. Suffix upper bound with "L".
30485 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30486 bound with "UL".
30487 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30488 Specify type.
30489 [C99-based standards] (LLONG_MAX): Likewise.
30490 [C99-based standards] (ULLONG_MAX): Likewise.
30491 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30492 == 0.
30493 [ISO11] (max_align_t): Require type.
30494 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30495
c9140a62
JM
30496 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30497 from $CFLAGS, without defining away __attribute__ calls.
30498 (checknamespace): Use $CFLAGS_namespace.
30499
9af0bf29
JM
30500 * conform/conformtest.pl (@keywords): Only include C99 keywords
30501 for standards based on C99 or C11.
30502
343222a2
JM
30503 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30504 Disable tests.
30505 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30506 UNIX98]: Likewise.
30507
661f8cf0
JM
30508 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30509 usability of symbols in #if.
30510
ee74b9cb
JM
30511 * conform/conformtest.pl: If macro or constant types start
30512 "promoted:", expect the symbol to be of the following type
30513 promoted by the integer promotions.
62fde54f 30514
aafc49b3
JM
30515 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30516 in one place. Also handle "macro-constant".
30517
fefdf574
JM
30518 * conform/conformtest.pl: Only accept expected macro values with
30519 "==". Parse all "macro" lines in one place.
30520 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30521
f2d922fe
JM
30522 * conform/conformtest.pl: Handle braced types on "constant" lines
30523 instead of handling "typed-constant".
30524 * conform/data/signal.h-data: Use "constant" instead of
30525 "typed-constant".
30526
d22956c9
JM
30527 * conform/conformtest.pl: Handle "optional-" at start of lines in
30528 one place rather than duplicating several cases. Handle each
30529 format of "macro" line with initial "optional-".
30530
028e2e38
JM
30531 * conform/conformtest.pl: Only accept expected constant or
30532 optional-constant values with "==". Parse all "constant" lines in
30533 one place. Parse all "optional-constant" lines in one place.
30534 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30535 * conform/data/fmtmsg.h-data: Likewise.
30536 * conform/data/netinet/in.h-data: Likewise.
30537 * conform/data/tar.h-data: Likewise.
30538 * conform/data/limits.h-data: Use "==" form on "constant" and
30539 "optional-constant" lines.
30540
1b8f2850
JM
30541 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30542 Use -std=c99 for XOPEN2K.
30543 (@knownproblems): Remove.
30544 (newtoken): Don't check %isknown.
30545
a05a144b
JM
30546 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30547 Do not expect macro.
30548 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30549 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30550 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30551 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30552 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30553 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30554 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30555 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30556 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30557 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30558 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30559 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30560 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30561 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30562 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30563 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30564 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30565 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30566 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30567 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30568 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30569 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30570 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30571 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30572 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30573 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30574 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30575 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30576 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30577 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30578 [XPG3] (acosh): Likewise.
30579 [XPG3] (asinh): Likewise.
30580 [XPG3] (atanh): Likewise.
30581 [XPG3] (cbrt): Likewise.
30582 [XPG3] (expm1): Likewise.
30583 [XPG3] (ilogb): Likewise.
30584 [XPG3] (log1p): Likewise.
30585 [XPG3] (logb): Likewise.
30586 [XPG3] (nextafter): Likewise.
30587 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30588 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30589 [XPG3] (remainder): Likewise.
30590 [XPG3] (rint): Likewise.
30591 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30592 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30593 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30594 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30595 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30596 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30597 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30598 [UNIX98 || XOPEN2K] (scalb): Expect.
30599 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30600 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30601 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30602 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30603 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30604 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30605 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30606 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30607 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30608 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30609 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30610 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30611 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30612 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30613 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30614 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30615 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30616 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30617 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30618 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30619 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30620 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30621 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30622 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30623 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30624 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30625 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30626 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30627 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30628 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30629 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30630 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30631 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30632 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30633 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30634 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30635 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30636 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30637 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30638 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30641 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30642 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30643 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30644 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30645 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30646 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30647 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30648 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30649 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30650 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30651 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30652 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30653 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30654 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30658 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30659 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30660 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30662 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30663 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30664 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30667 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30668 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30677 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30678 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30679 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30680 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30681 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30682 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30683 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30685 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30688 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30689 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30727 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30736
73c5ebe3
JM
30737 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30738 _XOPEN_SOURCE_EXTENDED for XPG4.
30739
39c33b6c
JM
30740 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30741
62fde54f
JM
30742 * Makeconfig (localtime): Remove variable.
30743 (inst_localtime-file): Likewise.
30744
0741d64c
AS
307452012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30746
30747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30748 Update.
30749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30750 Update.
30751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30752 Update.
30753 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30754 Update.
30755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30756 Update.
30757 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30758 Update.
30759 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30760 Update.
30761 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30762 Update.
30763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30764 Update.
30765
7cb029ee
JM
307662012-05-01 Joseph Myers <joseph@codesourcery.com>
30767
30768 [BZ #2550]
30769 [BZ #2570]
30770 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30771 comparisons to determine direction to adjust input.
30772 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30773 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30774 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30775 Likewise.
30776 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30777 Likewise.
30778 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30779 Likewise.
30780 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30781 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30782 Likewise.
30783 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30784 Likewise.
30785 * math/libm-test.inc (nexttoward_test): Add more tests.
30786
412bd966
AS
307872012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30788
30789 [BZ #14040]
30790 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30791 in version GLIBC_2.1, not GLIBC_2.0.
30792 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30793 Likewise.
30794
9568c0c2
JM
307952012-04-30 Joseph Myers <joseph@codesourcery.com>
30796
adfbc8ac
JM
30797 [BZ #13942]
30798 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30799 (1 - x) * (1 + x).
30800 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30801 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30802 * math/libm-test.inc (acos_test): Add more tests.
30803 (asin_test): Likewise.
30804 * sysdeps/i386/fpu/libm-test-ulps: Update.
30805 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30806
5ba3cc69
JM
30807 [BZ #14034]
30808 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30809 of square root.
30810 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30811 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30812 * math/libm-test.inc (acos_test_tonearest): New function.
30813 (acos_test_towardzero): Likewise.
30814 (acos_test_downward): Likewise.
30815 (acos_test_upward): Likewise.
30816 (asin_test_tonearest): Likewise.
30817 (asin_test_towardzero): Likewise.
30818 (asin_test_downward): Likewise.
30819 (asin_test_upward): Likewise.
30820 (main): Call the new functions.
30821 * sysdeps/i386/fpu/libm-test-ulps: Update.
30822 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30823
9568c0c2
JM
30824 [BZ #13884]
30825 [BZ #13924]
30826 * math/e_exp10.c: Include <float.h>.
30827 (__ieee754_exp10): Handle underflow here rather than multiplying
30828 large negative argument by M_LN10.
30829 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30830 of __ieee754_expf.
30831 * math/e_exp10l.c: Include <float.h>.
30832 (__ieee754_exp10l): Handle underflow here rather than multiplying
30833 large negative argument by M_LN10l.
30834 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30835 spurious overflow exception on underflow.
30836
5ac3ea17
MP
308372012-04-29 Marek Polacek <polacek@redhat.com>
30838
30839 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30840 (__fortify_function): New macro.
30841 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30842 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30843 __extern_always_inline.
30844 * libio/bits/stdio2.h: Likewise.
30845 * libio/bits/stdio.h: Likewise.
30846 * string/string.h: Likewise.
30847 * string/bits/string3.h: Likewise.
30848 * include/stdio.h: Likewise.
30849 * stdlib/bits/stdlib.h: Likewise.
30850 * stdlib/stdlib.h: Likewise.
30851 * rt/bits/mqueue2.h: Likewise.
30852 * rt/mqueue.h: Likewise.
30853 * posix/bits/unistd.h: Likewise.
30854 * posix/unistd.h: Likewise.
30855 * io/bits/poll2.h: Likewise.
30856 * io/bits/fcntl2.h: Likewise.
30857 * io/fcntl.h: Likewise.
30858 * io/sys/poll.h: Likewise.
30859 * misc/bits/syslog.h: Likewise.
30860 * misc/bits/syslog-ldbl.h: Likewise.
30861 * misc/sys/syslog.h: Likewise.
30862 * socket/bits/socket2.h: Likewise.
30863 * socket/sys/socket.h: Likewise.
30864 * debug/tst-chk1.c: Likewise.
30865 * wcsmbs/bits/wchar2.h: Likewise.
30866 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30867 * wcsmbs/wchar.h: Likewise.
30868
ecf0ebfb
AJ
308692012-04-29 Andreas Jaeger <aj@suse.de>
30870
30871 * Makerules (tests): Remove enable-check-abi protection.
30872 (check-abi-warn): Remove.
30873 (check-abi-%): Remove check-abi-warn usage.
30874
30875 * configure.in: Remove check-abi configure option.
30876 * configure: Regenerated.
30877 * config.make.in (enable-check-abi): Remove.
30878
6d5c57fa
AS
308792012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30880
24c5d07e 30881 [BZ #14033]
ded5180a
AS
30882 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30883 double functions to double *_finite functions.
30884
7e0d315d
AS
30885 [BZ #13941]
30886 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30887 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30888 LDBL_MIN_EXP.
30889 * stdio-common/Makefile (tests): Add tst-sprintf3.
30890 * stdio-common/tst-sprintf3.c: New file.
30891
6d5c57fa
AS
30892 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30893 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30894
0749ff8b
JM
308952012-04-28 Joseph Myers <joseph@codesourcery.com>
30896
30897 * conform/conformtest.pl: Remove duplicate typed-constant
30898 handling.
30899
8dbd5d7b
DM
309002012-04-28 David S. Miller <davem@davemloft.net>
30901
30902 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30903 (check-abi-%): Remove AWK script prerequisite and explicit
30904 abilist directory.
30905 (check-abi): Rewrite to just diff the symlist with the abilist.
30906 (config-tls, config-abi-config): Delete, no longer used.
30907 (update-abi-%): Remove AWK script and explicit abilist directory.
30908 (update-abi): Rewrite to simply compare and conditionally copy the
30909 symlist and the sysdep abilist file. Remove update-abi-config
30910 checks.
30911 * abilist/ld.abilist: Remove.
30912 * abilist/libBrokenLocale.abilist: Remove.
30913 * abilist/libanl.abilist: Remove.
30914 * abilist/libcrypt.abilist: Remove.
30915 * abilist/libdl.abilist: Remove.
30916 * abilist/librt.abilist: Remove.
30917 * abilist/libthread_db.abilist: Remove.
30918 * abilist/libutil.abilist: Remove.
30919 * scripts/extract-abilist.awk: Remove.
30920 * scripts/merge-abilist.awk: Remove.
30921 * sysdeps/generic/libcidn.abilist: New file.
30922 * sysdeps/generic/libnss_compat.abilist: New file.
30923 * sysdeps/generic/libnss_db.abilist: New file.
30924 * sysdeps/generic/libnss_dns.abilist: New file.
30925 * sysdeps/generic/libnss_files.abilist: New file.
30926 * sysdeps/generic/libnss_hesiod.abilist: New file.
30927 * sysdeps/generic/libnss_nis.abilist: New file.
30928 * sysdeps/generic/libnss_nisplus.abilist: New file.
30929 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30930 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30931 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30932 file.
30933 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30934 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30935 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30936 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30937 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30938 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30939 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30940 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30941 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30942 file.
30943 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30944 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30945 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30946 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30947 file.
30948 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30949 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30950 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30951 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30952 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30953 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30954 file.
30955 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30956 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30957 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30958 file.
30959 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30961 New file.
30962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30963 New file.
30964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30965 New file.
30966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30967 New file.
30968 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30969 New file.
30970 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30971 New file.
30972 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30973 New file.
30974 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30975 New file.
30976 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30977 New file.
30978 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
30979 New file.
30980 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
30981 New file.
30982 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
30983 New file.
30984 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
30985 New file.
30986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
30987 file.
30988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
30989 New file.
30990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
30991 New file.
30992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
30993 file.
30994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
30995 New file.
30996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
30997 New file.
30998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
30999 file.
31000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31001 New file.
31002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31003 New file.
31004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31005 New file.
31006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31007 New file.
31008 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31009 New file.
31010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31011 New file.
31012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31014 file.
31015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31016 New file.
31017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31018 file.
31019 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31020 file.
31021 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31022 file.
31023 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31024 file.
31025 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31026 file.
31027 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31028 New file.
31029 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31030 file.
31031 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31032 file.
31033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31034 New file.
31035 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31036 file.
31037 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31039 file.
31040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31041 New file.
31042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31043 file.
31044 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31045 file.
31046 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31047 file.
31048 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31049 file.
31050 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31051 file.
31052 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31053 New file.
31054 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31055 file.
31056 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31057 file.
31058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31059 New file.
31060 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31061 file.
31062 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31063 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31064 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31065 file.
31066 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31067 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31068 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31069 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31070 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31071 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31072 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31073 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31074 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31075 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31076 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31078 file.
31079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31080 New file.
31081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31082 file.
31083 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31084 file.
31085 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31086 file.
31087 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31088 file.
31089 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31090 file.
31091 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31092 New file.
31093 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31094 New file.
31095 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31096 file.
31097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31098 New file.
31099 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31100 file.
31101 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31103 file.
31104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31105 New file.
31106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31107 file.
31108 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31109 file.
31110 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31111 file.
31112 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31113 file.
31114 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31115 file.
31116 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31117 New file.
31118 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31119 New file.
31120 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31121 file.
31122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31123 New file.
31124 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31125 file.
31126
41d73a1b
JM
311272012-04-28 Joseph Myers <joseph@codesourcery.com>
31128
31129 * conform/conformtest.pl: Fix typo in handling typed-constant from
31130 allow-header.
31131
28aeeda4
JM
311322012-04-27 Joseph Myers <joseph@codesourcery.com>
31133
adae8f5e
JM
31134 * README: Cut down references to pre-2.6 Linux kernels and
31135 Linuxthreads. Update lists of configurations in libc and ports
31136 and sort alphabetically. Say "or newer" with Linux kernel version
31137 requirements.
31138
28aeeda4
JM
31139 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31140
a462cb63
RA
311412012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31142
31143 [BZ #887]
31144 * math/libm-test.inc (logb_test_downward): New test to expose
31145 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31146 rounding mode.
31147
6ad3493e
JM
311482012-04-27 Joseph Myers <joseph@codesourcery.com>
31149
31150 [BZ #14027]
31151 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31152 to be done.
31153 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31154 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31155
2ce4f015
JM
311562012-04-26 Joseph Myers <joseph@codesourcery.com>
31157
5aeb141a
JM
31158 * sysdeps/unix/i386/brk.S: Remove file.
31159 * sysdeps/unix/i386/dl-brk.S: Likewise.
31160 * sysdeps/unix/i386/pipe.S: Likewise.
31161 * sysdeps/unix/i386/sigreturn.S: Likewise.
31162 * sysdeps/unix/i386/syscall.S: Likewise.
31163 * sysdeps/unix/i386/vfork.S: Likewise.
31164 * sysdeps/unix/i386/wait.S: Likewise.
31165
7143acae
JM
31166 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31167 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31168
2ce4f015
JM
31169 * configure.in (arm*-none*): Do not allow without
31170 --enable-hacker-mode.
31171 (netbsd*): Remove case setting base_os.
31172 (386bsd*): Likewise.
31173 (freebsd*): Likewise.
31174 (bsdi*): Likewise.
31175 (osf*): Likewise.
31176 (sunos*): Likewise.
31177 (ultrix*): Likewise.
31178 (newsos*): Likewise.
31179 (dynix*): Likewise.
31180 (*bsd*): Likewise.
31181 (sysv*): Likewise.
31182 (isc*): Likewise.
31183 (esix*): Likewise.
31184 (sco*): Likewise.
31185 (minix*): Likewise.
31186 (irix4*): Likewise.
31187 (irix6*): Likewise.
31188 (solaris[2-9]*): Likewise.
31189 (none): Likewise.
31190 * configure: Regenerated.
31191
0ac229c8
AZ
311922012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31193
31194 [BZ #11521]
31195 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31196 overflow or cancellation in calculating denominator.
31197 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31198 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31199 down expression to avoid unexpected rounding in newer GCCs.
31200 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31201
33f244f4
DM
312022012-04-26 David S. Miller <davem@davemloft.net>
31203
31204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31205 long-double compat symbols.
31206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31207 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31208 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31209 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31215 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31216 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31217 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31218 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31219
cfa1f3e8
DM
312202012-04-25 David S. Miller <davem@davemloft.net>
31221
31222 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31223 HWCAP_* values only after the memory barriers have been defined.
31224 (atomic_full_barrier): Define.
31225 (atomic_read_barrier): Define.
31226 (atomic_write_barrier): Define.
31227
6e236b92
SP
312282012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31229
31230 * shlib-versions: Add libgcc_s version information.
31231 * sysdeps/generic/libgcc_s.h: Remove.
31232 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31233 libgcc_s.h.
31234 * sysdeps/gnu/unwind-resume.c: Likewise.
31235 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31236
aab39a09
DM
312372012-04-25 David S. Miller <davem@davemloft.net>
31238
31239 * sysdeps/unix/sparc/brk.S: Delete.
31240 * sysdeps/unix/sparc/dl-brk.S: Delete.
31241 * sysdeps/unix/sparc/pipe.S: Delete.
31242 * sysdeps/unix/sparc/sysdep.S: Delete.
31243 * sysdeps/unix/sparc/sysdep.h: Delete.
31244 * sysdeps/unix/sparc/vfork.S: Delete.
31245 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31246 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31247 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31248 ret_ERRVAL, r0, r1, MOVE): Define.
31249 (JUMPTARGET): Remove.
31250 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31251 sysdeps/unix/sparc/sysdep.h
31252 (ENTRY, END): Remove.
31253 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31254
a3cc4f48
JM
312552012-04-25 Joseph Myers <joseph@codesourcery.com>
31256
2ed8cda2
JM
31257 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31258 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31259 -DIS_IN_build.
31260
35d76d59
JM
31261 * timezone/README: Update upstream location and email address for
31262 tzcode and tzdata.
31263 * timezone/zdump.c: Update from tzcode 2012b.
31264 * timezone/zic.c: Likewise.
31265
a3cc4f48
JM
31266 * configure.in (libc_cv_as_needed): Remove test.
31267 * configure: Regenerated.
31268 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31269 conditional definition.
31270 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31271 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31272 * config.make.in (have-as-needed): Remove variable.
31273
ceab42c3
SP
312742012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31275 Paul Pluzhnikov <ppluzhnikov@google.com>
31276
31277 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31278 strings correctly.
31279
3ce2865f
CLT
312802012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31281
31282 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31283 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31284 * sysdeps/sh/strlen.S: Likewise.
31285
f37e0d68
JM
312862012-04-24 Joseph Myers <joseph@codesourcery.com>
31287
ae186e9a
JM
31288 * sysdeps/unix/fork.S: Remove file.
31289 * sysdeps/unix/i386/fork.S: Likewise.
31290 * sysdeps/unix/sparc/fork.S: Likewise.
31291
b96914af
JM
31292 * sysdeps/unix/system.c: Remove file.
31293 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31294
f37e0d68
JM
31295 * sysdeps/unix/getegid.S: Remove file.
31296 * sysdeps/unix/geteuid.S: Likewise.
31297
87ef29ca
RM
312982012-04-24 Roland McGrath <roland@hack.frob.com>
31299
83bcd236
RM
31300 * scripts/check-localplt.awk: New file.
31301 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31302 of diff.
31303 * scripts/data/localplt-generic.data: Add a comment.
31304
87ef29ca
RM
31305 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31306 NODE when __dir_mkfile failed.
31307 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31308 Reported by Ludovic Courtès <ludo@gnu.org>.
31309
e5a6e567
AJ
313102012-04-24 Andreas Jaeger <aj@suse.de>
31311
31312 * Makerules (common-clean): Also remove gen-as-const-headers
31313 files.
31314
c1820385
JM
313152012-04-24 Joseph Myers <joseph@codesourcery.com>
31316
31317 * Makerules (native-compile): Do not change working directory for
31318 build. Use $(OUTPUT_OPTION) in command.
31319 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31320
94e02fc4
AZ
313212012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31322
31323 [BZ #13886]
31324 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31325 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31326 * math/libm-test.inc (floor_test): Add more tests.
31327 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31328
3a533ca3
JM
313292012-04-24 Joseph Myers <joseph@codesourcery.com>
31330
940ab4b3
JM
31331 * sysdeps/unix/getdents.c: Remove file.
31332 * sysdeps/unix/sysv/getdents.c: Likewise.
31333 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31334
90e037bd
JM
31335 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31336 sysdeps/unix/mman/syscalls.list.
31337 (mmap): Likewise.
31338 (mprotect): Likewise.
31339 (msync): Likewise.
31340 (munmap): Likewise.
31341 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31342 * sysdeps/unix/mman/syscalls.list: Remove.
31343 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31344
3a533ca3
JM
31345 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31346 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31347 * configure: Regenerated.
31348 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31349 $(libgcc_s_suffix).
31350 * config.make.in (libgcc_s_suffix): Remove variable.
31351
1ad743de
JM
313522012-04-23 Joseph Myers <joseph@codesourcery.com>
31353
4ad451e2
JM
31354 * sysdeps/unix/sysv/gethostname.c: Move to ...
31355 * sysdeps/posix/gethostname.c: ... here.
31356
5e37ce39
JM
31357 * sysdeps/unix/execve.S: Remove file.
31358
1ad743de
JM
31359 * sysdeps/unix/_exit.S: Remove file.
31360
4e681b5b
AJ
313612012-04-23 Andreas Jaeger <aj@suse.de>
31362
31363 [BZ #13739]
31364 * manual/Makefile: Remove make dist support, there's no
31365 need for a stand-alone documentation tar ball.
31366 (TEXI2DVI): Define always, it's not in Makeconfig.
31367 (dist): Removed.
31368 (tar-it): Removed.
31369 (edition): Removed.
31370 (glibc-doc-$(edition).tar): Removed
31371 (%.Z): Removed.
31372 (%.gz): Removed.
31373 (%.uu): Removed.
31374 (ETAGS): Remove, it's in Makeconfig.
31375 (move-if-change): Remove, it's in Makeconfig.
31376
38686a03 313772012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31378
31379 [BZ #13970]
31380 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31381 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31382 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31383 (strtod_l, strtof_l, strtold_l): Remove __wur.
31384 It is not necessarily an error to ignore strtol's return value.
31385 One can reliably look at the stored endptr to decide whether
31386 the number had valid syntax.
31387
7c0616fa
AJ
313882012-04-21 Andreas Jaeger <aj@suse.de>
31389
803cb6b7 31390 [BZ #13739]
7c0616fa
AJ
31391 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31392
b0fe253f
JM
313932012-04-21 Joseph Myers <joseph@codesourcery.com>
31394
31395 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31396 * sysdeps/unix/sysv/Versions: Remove file.
31397
8280f22d
MT
313982012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31399
31400 [BZ #13927]
31401 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31402
75ce411f 314032012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31404
31405 [BZ #7064]
31406 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31407 version from __vm86.
31408
097d59fa
JM
314092012-04-20 Joseph Myers <joseph@codesourcery.com>
31410
a90f3bcb
JM
31411 * sysdeps/unix/common/lxstat.c: Remove file.
31412 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31413
edc7ea78
JM
31414 * sysdeps/unix/sysv/Makefile: Remove file.
31415
cb78c221
JM
31416 * sysdeps/unix/sysv/direct.h: Remove file.
31417
efa6a45f
JM
31418 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31419 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31420 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31421 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31422 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31423 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31424 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31425
9c9f2d0c
JM
31426 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31427
4541c83b
JM
31428 * sysdeps/unix/xmknod.c: Remove file.
31429 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31430
f5d153a0
JM
31431 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31432
aa746595
JM
31433 * sysdeps/unix/sysv/i386/time.S: Remove file.
31434
cce5905e
JM
31435 * sysdeps/unix/fxstat.c: Remove file.
31436 * sysdeps/unix/xstat.c: Likewise.
31437 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31438
37fa3841
JM
31439 * sysdeps/unix/sysv/sigaction.c: Remove file.
31440
ff1962a3
JM
31441 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31442 (sysdep_headers): Remove variable.
31443 [termio.h not in sysdep_headers] (generated): Likewise.
31444 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31445 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31446 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31447 * sysdeps/unix/sysv/tcflow.c: Likewise.
31448 * sysdeps/unix/sysv/tcflush.c: Likewise.
31449 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31450 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31451 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31452 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31453 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31454
e7740d31
JM
31455 * sysdeps/unix/siglist.c: Remove file.
31456
ee06f18b
JM
31457 * sysdeps/unix/getppid.S: Remove file.
31458
097d59fa
JM
31459 * sysdeps/unix/mkdir.c: Remove file.
31460 * sysdeps/unix/rmdir.c: Likewise.
31461
ff3d51ec
AS
314622012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31463
31464 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31465 ERR_MAX value.
31466 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31467 errlist-compat value.
31468
50f81fd7
DM
314692012-04-18 David S. Miller <davem@davemloft.net>
31470
31471 * sysdeps/generic/memcopy.h (reg_char): Delete.
31472 * debug/strcat_chk.c: Use char, not reg_char.
31473 * debug/strcpy_chk.c: Likewise.
31474 * debug/strncat_chk.c: Likewise.
31475 * debug/strncpy_chk.c: Likewise.
31476 * string/memchr.c: Likewise.
31477 * string/memrchr.c: Likewise.
31478 * string/rawmemchr.c: Likewise.
31479 * string/strcat.c: Likewise.
31480 * string/strchr.c: Likewise.
31481 * string/strchrnul.c: Likewise.
31482 * string/strcmp.c: Likewise.
31483 * string/strcpy.c: Likewise.
31484 * string/strncat.c: Likewise.
31485 * string/strncmp.c: Likewise.
31486 * string/strncpy.c: Likewise.
31487
8ff41c46
WS
314882012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31489
31490 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31491 __builtin_memcopy is called when src and dest ranges are known to not
31492 overlap.
31493
6b652f46
WS
314942012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31495
31496 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31497 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31498 fwd_align_merge macro call.
31499 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31500 bwd_align_merge macro call.
31501 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31502
b282631e
WS
315032012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31504
31505 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31506 bwd_align_merge macros.
31507 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31508 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31509 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31510
95aa737c
DM
315112012-04-18 David S. Miller <davem@davemloft.net>
31512
31513 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31514
7a99a614
AJ
315152012-04-18 Andreas Jaeger <aj@suse.de>
31516
31517 [BZ# 6794]
31518 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31519 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31520 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31521
31522 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31523 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31524 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31525
31526 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31527 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31528 Adjust for changed ldbl-128 files.
31529
31530 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31531 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31532 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31533
e5270c23
DM
315342012-04-17 David S. Miller <davem@davemloft.net>
31535
31536 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31537
fb5e92c9
AS
315382012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31539
31540 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31541 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31542 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31543 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31544 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31545 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31546
76da7265
AZ
315472012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31548
31549 [BZ #6794]
31550 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31551 * math/libm-test.inc: Add ilogb errno and exception tests.
31552 * math/w_ilogb.c: New file: ilogb wrapper.
31553 * math/w_ilogbf.c: New file: ilogbf wrapper.
31554 * math/w_ilogbl.c: New file: ilogbl wrapper.
31555 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31556 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31557 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31558 exception being thrown with 0.0 as argument.
31559 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31560 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31561 exception being thrown with 0.0 as argument.
31562 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31563 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31564 exception being thrown with 0.0 as argument.
31565 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31566 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31567 exception being thrown with 0.0 as argument.
31568 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31569 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31570 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31571 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31572 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31573 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31574 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31575 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31576 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31577
0396e69d
PB
315782012-04-17 Petr Baudis <pasky@ucw.cz>
31579
31580 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31581 with altivec.
31582
750b5926
MP
315832012-04-16 Marek Polacek <polacek@redhat.com>
31584
31585 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31586
751728a1
MP
315872012-04-16 Marek Polacek <polacek@redhat.com>
31588
31589 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31590 operands of fdivp instruction.
31591
34a27407
L
315922012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31593
31594 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31595 * elf/tst-auditmod3b.c: Likewise.
31596 * elf/tst-auditmod4b.c: Likewise.
31597 * elf/tst-auditmod5b.c: Likewise.
31598 * elf/tst-auditmod6b.c: Likewise.
31599 * elf/tst-auditmod6c.c: Likewise.
31600 * elf/tst-auditmod7b.c: Likewise.
31601 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31602 * sysdeps/x86_64/preconfigure.in: Likewise.
31603 * sysdeps/x86_64/preconfigure: Regenerated.
31604
7e73e17d
L
316052012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31606
31607 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31608 __ILP32__.
31609
c7a6ab72
AB
316102012-04-13 Antoine Balestrat <merkil33@gmail.com>
31611
31612 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31613 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31614
a9e8e0e0
CL
316152012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31616
31617 [BZ #13973]
31618 * locale/iso-639.def: Fix gl language name. Spotted by
31619 Yaron Shahrabani.
31620
ec98af7d
RM
316212012-04-12 Roland McGrath <roland@hack.frob.com>
31622
31623 [BZ #2074]
31624 * libio/libio.h (__io_write_fn): Update comment.
31625
247c3ede
PB
316262012-04-12 Petr Baudis <pasky@ucw.cz>
31627
31628 [BZ #2074]
31629 * stdio.texi (Hook Functions): The user provided writer function
31630 is not allowed to return -1.
31631
55939d6d
DM
316322012-04-11 David S. Miller <davem@davemloft.net>
31633
31634 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31635
90020f5a
MF
316362012-04-11 Mike Frysinger <vapier@gentoo.org>
31637
31638 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31639 Add a leading slash to rtkaio.
31640
288f9098
JM
316412012-04-11 Jim Meyering <meyering@redhat.com>
31642
90020f5a
MF
31643 [BZ #11959]
31644 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31645 It is not necessarily an error to ignore fwrite's return
31646 value. One can reliably use ferror to test for errors after
31647 the fact.
288f9098 31648
4be2b570
L
316492012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31650
31651 * bits/types.h (__snseconds_t): New type.
31652 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31653
31654 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31655 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31656 (__SNSECONDS_T_TYPE): Likewise.
31657 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31658 (__SNSECONDS_T_TYPE): Likewise.
31659 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31660 (__SNSECONDS_T_TYPE): Likewise.
31661
288f9098 316622012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31663
31664 [BZ #2636]
31665 * manual/time.texi (Processor Time): Return type of times is
31666 elapsed real time since an arbitrary point in the past.
31667 (CPU Time): Move CLK_TCK from here...
31668 (Processor Time): ...to here. Correct description.
31669 * manual/conf.texi (Constants for Sysconf): Correct description of
31670 _SC_CLK_TCK.
31671
d7dd4413
DM
316722012-04-10 David S. Miller <davem@davemloft.net>
31673
31674 [BZ #13967]
31675 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31676 where the is a gap between DT_REL(A) and DT_JMPREL.
31677
b46068fc
L
316782012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31679
31680 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31681 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31682 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31683
73d65cc3
SP
316842012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31685
31686 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31687 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31688 (dl_main): Handle --inhibit-cache.
31689 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31690 _dl_inhibit_cache.
31691 * elf/dl-load.c (_dl_map_object): Use it.
31692 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31693
bcc8d661
JM
316942012-04-09 Joseph Myers <joseph@codesourcery.com>
31695
8f9a2fae
JM
31696 [BZ #13872]
31697 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31698 (__ieee754_powl): Saturate large exponents rather than testing for
31699 overflow of y*log2(x).
31700 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31701 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31702 exceptions.
31703
bcc8d661
JM
31704 [BZ #11521]
31705 * math/s_ctan.c: Include <float.h>.
31706 (__ctan): Avoid internal overflow or cancellation in calculating
31707 denominator.
31708 * math/s_ctanf.c: Likewise.
31709 * math/s_ctanl.c: Likewise.
31710 * math/s_ctanh.c: Likewise.
31711 * math/s_ctanhf.c: Likewise.
31712 * math/s_ctanhl.c: Likewise.
31713 * math/libm-test.inc (ctan_test): Add more tests.
31714 (ctanh_test): Likewise.
31715 * sysdeps/i386/fpu/libm-test-ulps: Update.
31716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31717
823fbbb4
AJ
317182012-04-09 Andreas Jaeger <aj@suse.de>
31719
03879793
AJ
31720 [BZ #6894]
31721 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31722 is an optional BSD extension.
31723
823fbbb4
AJ
31724 [BZ #10254]
31725 * manual/stdio.texi (Opening Streams): Document additional fopen
31726 parameters.
31727
8de131cb
RM
317282012-04-09 Roland McGrath <roland@hack.frob.com>
31729
31730 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31731 %eax without telling the compiler.
31732
c0ed9d7d
CD
317332012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31734
31735 [BZ # 13963]
31736 * manual/install.texi: Use sourceware.org.
31737
c483f6b4
JM
317382012-04-09 Joseph Myers <joseph@codesourcery.com>
31739
d7dd9453
JM
31740 [BZ #13873]
31741 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31742 (__ieee754_pow): Generate overflow and underflow using huge*huge
31743 and tiny*tiny rather than just returning constant infinity or zero
31744 for large exponents.
31745 * math/libm-test.inc (pow_test): Require overflow exceptions for
31746 applicable cases of large exponents.
31747
c483f6b4
JM
31748 [BZ #706]
31749 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31750 (__ieee754_pow): Use iterative multiplication algorithm only for
31751 integer exponents with absolute value below 1024. Check for odd
31752 integer exponents when using algorithm for real exponents.
31753 * math/libm-test.inc (pow_test): Add more tests.
31754 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31755
d2de7579
JM
317562012-04-08 Joseph Myers <joseph@codesourcery.com>
31757
31758 [BZ #13705]
31759 * math/libm-test.inc (exp_test): Do not allow overflow exception
31760 on underflow test.
31761
f77f1232
AJ
317622012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31763
31764 [BZ #13705]
31765 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31766 instead of __kernel_standard_f.
31767
3884932b
MF
317682012-04-08 Mike Frysinger <vapier@gentoo.org>
31769
31770 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31771 * sysdeps/x86_64/memset_chk.S: Likewise.
31772
54472e9c
AJ
317732012-04-08 Andreas Jaeger <aj@suse.de>
31774
6ab0fbfc
AJ
31775 [BZ #10153]
31776 * manual/startup.texi (Environment Access): Describe return value
31777 for putenv and setenv.
31778
61efba8c
AJ
31779 [BZ #6895]
31780 * manual/filesys.texi (Directory Entries): Add description for
31781 DT_LNK.
31782
95c3f29a
AJ
31783 [BZ #6890]
31784 * manual/filesys.texi (Directory Entries): Clarify that it's file
31785 system not operating system in the description of DT_UNKNOWN.
31786
54472e9c
AJ
31787 [BZ #6578]
31788 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31789
624254b1
SC
317902012-04-08 Stephen Compall <s11@member.fsf.org>
31791
31792 [BZ #6649]
31793 * manual/llio.texi (Opening and Closing Files): Add cross
31794 reference to explain mode argument.
31795
1e4920e0
MF
317962012-04-07 Mike Frysinger <vapier@gentoo.org>
31797
31798 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31799 * sysdeps/x86_64/memset_chk.S: Likewise.
31800
5ed848f3
DM
318012012-04-07 David S. Miller <davem@davemloft.net>
31802
31803 * elf/elf.h (R_SPARC_WDISP10): Define.
31804 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31805 R_SPARC_SIZE32.
31806 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31807 R_SPARC_SIZE64 and R_SPARC_H34.
31808
96154cd8
CD
318092012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31810
31811 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31812 conditions and remove no longer applicable assertion.
31813
9904dc47
L
318142012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31815
31816 * bits/byteswap.h: Include <features.h>.
31817 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31818 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31819
f8887d0a
L
318202012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31821
31822 * bits/byteswap.h (__bswap_16): Removed.
31823 Include <bits/byteswap-16.h> to get __bswap_16.
31824 * sysdeps/i386/bits/byteswap.h: Likewise.
31825 * sysdeps/s390/bits/byteswap.h: Likewise.
31826 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31827 * bits/byteswap-16.h: New file.
31828 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31829 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31830 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31831 * string/Makefile (headers): Add bits/byteswap-16.h.
31832
62470f60
PP
318332012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31834
31835 [BZ #13895]
31836 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31837 extra indirection.
31838 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31839 * nss/tst-nss-static.c: New.
31840
4dad7bab
RM
318412012-04-06 Robert Millan <rmh@gnu.org>
31842
31843 [BZ #6486]
31844 * manual/llio.texi (File Position Primitive): lseek
31845 refers to WHENCE when it really means OFFSET.
31846
e9142a17
AJ
318472012-04-06 Andreas Jaeger <aj@suse.de>
31848
2c040eff
AJ
31849 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31850 strncmp declarations.
31851
e9142a17
AJ
31852 * abilist/libc.abilist: Add __poll and __ppoll.
31853
ff9f1c5f
DM
318542012-04-05 David S. Miller <davem@davemloft.net>
31855
dcd2ae90
DM
31856 * scripts/check-local-headers.sh: Accept a host triplet in the
31857 path matched by the exclude regexp.
31858
993eb054
DM
31859 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31860 definition.
31861 * sysdeps/powerpc/powerpc32/dl-machine.h
31862 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31863 * sysdeps/s390/s390-32/dl-machine.h
31864 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31865 * sysdeps/sparc/sparc32/dl-machine.h
31866 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31867 * sysdeps/sparc/sparc64/dl-machine.h
31868 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31869
ff9f1c5f
DM
31870 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31871 lazy binding.
48e2e132 31872 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31873 undefined symbol errors.
31874
48e2e132 31875 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31876 DT_NEEDED entries.
31877
e80d6f94
MM
318782012-04-05 Michael Matz <matz@suse.de>
31879
31880 [BZ #13592]
31881 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31882
349fa79f
AJ
318832012-04-05 Andreas Jaeger <aj@suse.de>
31884
31885 [BZ #13908]
31886 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31887 comment.
31888
f402708f
KK
318892012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31890
31891 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31892 which ROUND is no valid rounding mode.
31893
2ecccfc9
KK
318942012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31895
31896 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31897 read again.
31898 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31899
8a53f50f
KK
319002012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31901
31902 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31903 an exception using FPU order intentionally.
31904
319052012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31906
31907 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31908 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31909 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31910 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31911
d653abb7
SJ
319122012-04-05 Simon Josefsson <simon@josefsson.org>
31913
31914 [BZ #12340]
31915 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31916 EINVAL when BUFLEN is too smal.
31917
c3b1bf7d
TS
319182012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31919
31920 [BZ #13553]
31921 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31922 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31923
b1aa60f3
AJ
319242012-04-03 Andreas Jaeger <aj@suse.de>
31925
c3b1bf7d 31926 [BZ #13938]
67f60a26
AJ
31927 * manual/setjmp.texi (System V contexts): Fix sentence.
31928
b1aa60f3
AJ
31929 [BZ #13926]
31930 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31931 New macro for this case.
31932 [!__GNUC__] (__bswap_64): New inline function for this case.
31933 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31934 * bits/byteswap.h: Likewise.
31935 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31936 ull, guard with __GLIBC_HAVE_LONG_LONG.
31937
31938 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31939 __GLIBC_HAVE_LONG_LONG.
31940
31941 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31942 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31943
39c59c35
TMQMF
319442012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31945
31946 [BZ #13691]
31947 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31948 inptr and inend, rather than using last_ch.
31949
135ffda8
DM
319502012-04-02 David S. Miller <davem@davemloft.net>
31951
31952 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31953 * stdio-common/printf-parse.h (read_int): Change return type to
31954 'int', return -1 on INT_MAX overflow.
31955 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31956 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31957 overflows INT_MAX. Check for overflow of in-format-string precision
31958 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31959 SIZE_MAX not INT_MAX for integer overflow test.
31960 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31961 skip the construct in the format string but do not record anything.
31962 * stdio-common/bug22.c: Adjust to test both width/prevision
31963 INT_MAX overflow as well as total length INT_MAX overflow. Check
31964 explicitly for proper errno values.
31965
228c019e
TS
319662012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31967
302cadd3
TS
31968 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31969 CHAR_MAX.
31970 * string/test-strcmp.c [! WIDE]: Likewise.
31971 * time/tst-mktime2.c: Likewise for INT_MAX.
31972 * string/test-string.h: #include <sys/param.h> for MIN.
31973
228c019e
TS
31974 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31975 * sysdeps/i386/init-first.c (init): Likewise.
31976 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31977 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31978 * sysdeps/sh/init-first.c (init): Likewise.
31979
cfa633f5
UD
319802012-04-01 Ulrich Drepper <drepper@gmail.com>
31981
31982 * po/ru.po: Update from translation team.
d1635ef8 31983 * po/vi.po: Likewise.
cfa633f5 31984
6cd0a5ea
SP
319852012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31986
31987 * resolv/nss_dns/dns-host.c: Merge copyright years.
31988
4b43400f
LD
319892012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
31990
31991 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31992 Optimize memcpy with prefetch if
31993 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
31994 src, dst pointers have unequal 16 byte alignments.
31995
48c41d04
SP
319962012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
31997
31998 [BZ #13928]
31999 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32000 from a CNAME entry and return the minimum ttl for the query.
32001 (gaih_getanswer_slice): Likewise.
32002
b8dc394d
JL
320032012-03-30 Jeff Law <law@redhat.com>
32004
32005 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32006 due to long keys.
32007 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32008 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32009
2f5a5ed0
JL
32010 * resolv/nss_dns/dns-host.c: Update copyright year.
32011
1d39e359
UD
320122012-03-30 Ulrich Drepper <drepper@gmail.com>
32013
c030f70c 32014 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32015 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32016
1d39e359
UD
32017 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32018 comments for sendmmsg.
32019
320202012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32021
32022 [BZ #13691]
32023 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32024 with only 1 character between 0x0041 and 0x01b0.
32025 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32026 * wcsmbs/tst-mbsnrtowcs.c: New file.
32027
20fde227
DM
320282012-03-29 David S. Miller <davem@davemloft.net>
32029
32030 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32031 small copies by hand.
32032
984a4237
JL
320332012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32034
32035 [BZ #13761]
32036 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32037 _nss_compat_initgroups_dyn): Fall back to malloc/free
32038 for large group memberships.
32039
18c9d62b
DM
320402012-03-28 David S. Miller <davem@davemloft.net>
32041
88d85d4f
DM
32042 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32043 that branches into memcpy.
32044 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32045 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32046 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32047 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32048 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32049 bits.
32050 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32051 implementation too.
32052 * sysdeps/sparc/mempcpy.S: New file.
32053
e5aa83e1
DM
32054 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32055 the IFUNC routine in the libc case.
32056 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32057
88570753
DM
32058 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32059 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32060 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32061 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32062 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32063 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32064 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32065 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32066
249d7567
DM
32067 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32068 loop to 256 bytes instead of 64 bytes and fix test signedness.
32069
18c9d62b
DM
32070 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32071 * sysdeps/sparc/sparc32/Makefile: rather than here...
32072 * sysdeps/sparc/sparc64/Makefile: and here.
32073
05f3d1f6
UD
320742012-03-28 Ulrich Drepper <drepper@gmail.com>
32075
32076 * malloc/mallocbug.c: Avoid warnings about unused variables.
32077
86ae07a8
JL
320782012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32079
32080 [BZ #13760]
32081 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32082 in the right place. Discard and retry query if response is
32083 larger than input buffer size.
32084
41bf21a1
JM
320852012-03-28 Joseph Myers <joseph@codesourcery.com>
32086
d6270972
JM
32087 [BZ #369]
32088 [BZ #2678]
32089 [BZ #3866]
32090 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32091 x for large integer exponent.
32092 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32093 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32094 sign of result as needed afterwards.
32095 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32096 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32097 result for underflowing pow the same as for overflow.
32098 (__kernel_standard_l): Handle powl overflow and underflow here
32099 rather than calling __kernel_standard.
32100 * math/libm-test.inc (pow_test): Add more tests.
32101
414fca03 32102 [BZ #3868]
41bf21a1
JM
32103 [BZ #13879]
32104 [BZ #13910]
32105 [BZ #13911]
32106 [BZ #13912]
32107 [BZ #13913]
32108 [BZ #13915]
32109 [BZ #13916]
32110 [BZ #13917]
32111 [BZ #13918]
32112 [BZ #13919]
32113 [BZ #13920]
32114 [BZ #13921]
32115 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32116 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32117 (__kernel_standard_l): New function.
32118 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32119 __kernel_standard.
32120 * math/w_acosl.c (__acosl): Likewise.
32121 * math/w_asinl.c (__asinl): Likewise.
32122 * math/w_atan2l.c (__atan2l): Likewise.
32123 * math/w_atanhl.c (__atanhl): Likewise.
32124 * math/w_coshl.c (__coshl): Likewise.
32125 * math/w_exp10l.c (__exp10l): Likewise.
32126 * math/w_exp2l.c (__exp2l): Likewise.
32127 * math/w_fmodl.c (__fmodl): Likewise.
32128 * math/w_hypotl.c (__hypotl): Likewise.
32129 * math/w_j0l.c (__j0l, __y0l): Likewise.
32130 * math/w_j1l.c (__j1l, __y1l): Likewise.
32131 * math/w_jnl.c (__jnl, __ynl): Likewise.
32132 * math/w_lgammal.c (__lgammal): Likewise.
32133 * math/w_log10l.c (__log10l): Likewise.
32134 * math/w_log2l.c (__log2l): Likewise.
32135 * math/w_logl.c (__logl): Likewise.
32136 * math/w_powl.c (__powl): Likewise.
32137 * math/w_remainderl.c (__remainderl): Likewise.
32138 * math/w_scalbl.c (sysv_scalbl): Likewise.
32139 * math/w_sinhl.c (__sinhl): Likewise.
32140 * math/w_sqrtl.c (__sqrtl): Likewise.
32141 * math/w_tgammal.c (__tgammal): Likewise.
32142 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32143 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32144 * math/libm-test.inc (acos_test): Add more tests.
32145 (acosh_test): Likewise.
32146 (asin_test): Likewise.
32147 (atanh_test): Likewise.
32148 (exp_test): Likewise.
32149 (exp10_test): Likewise.
32150 (exp2_test): Likewise.
32151 (expm1_test): Likewise.
32152 (lgamma_test): Likewise.
32153 (log_test): Likewise.
32154 (log10_test): Likewise.
32155 (log1p_test): Likewise.
32156 (log2_test): Likewise.
32157 (pow_test): Do not allow some spurious overflow exceptions.
32158 (sqrt_test): Add more tests.
32159 (tgamma_test): Likewise.
32160 (y0_test): Likewise.
32161 (y1_test): Likewise.
32162 (yn_test): Likewise.
32163
dd62fda6
AB
321642012-03-27 Anton Blanchard <anton@samba.org>
32165
32166 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32167 MAP_HUGETLB.
32168 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32169 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32170 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32171
1e3cdfda
AJ
321722012-03-27 David S. Miller <davem@davemloft.net>
32173
b855ab85
DM
32174 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32175
1e3cdfda
AJ
32176 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32177 have-as-vis3 check.
32178
321792012-03-27 Andreas Jaeger <aj@suse.de>
32180
32181 * sysdeps/x86_64/elf/configure.in: Moved to ...
32182 * sysdeps/x86_64/configure.in: ... here.
32183 * sysdeps/x86_64/elf/start.S: Moved to ...
32184 * sysdeps/x86_64/start.S: ... here.
32185 * sysdeps/x86_64/elf/configure: Delete.
32186
32187 * sysdeps/x86_64/configure.in: Merge contents from
32188 sysdeps/i386/configure.in (without i686 check).
32189
32190 * sysdeps/i386/elf/Versions: Merge into ...
32191 * sysdeps/i386/Versions: ... this.
32192 * sysdeps/i386/elf/Versions: Delete file.
32193 * sysdeps/i386/elf/start.S: Moved to ...
32194 * sysdeps/i386/start.S: ...here.
32195 * sysdeps/i386/elf/configure.in: Merge into...
32196 * sysdeps/i386/configure.in: ...here.
32197 * sysdeps/i386/elf/configure.in: Delete file.
32198 * sysdeps/i386/elf/configure: Delete file.
32199
32200 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32201 * debug/backtracesyms.c: ... here.
32202 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32203 * debug/backtracesymsfd.c: ... here.
32204 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32205 * sysdeps/generic/ifunc-sel.h: ... here.
32206
32207 * sysdeps/unix/i386/start.c: Delete file.
32208 * sysdeps/unix/sparc/start.c: Delete file.
32209 * sysdeps/unix/start.c: Delete file.
32210
32211 * sysdeps/sh/elf/configure.in: Moved to ...
32212 * sysdeps/sh/configure.in: ... here.
32213 * sysdeps/sh/elf/start.S: Moved to ...
32214 * sysdeps/sh/start.S: ... here.
32215 * sysdeps/sh/elf/configure: Delete file.
32216
32217 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32218 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32219 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32220 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32221 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32222 * sysdeps/powerpc/powerpc64/start.S: here.
32223 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32224 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32225 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32226 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32227 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32228
32229 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32230 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32231 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32232 * sysdeps/powerpc/powerpc32/start.S: ... here.
32233 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32234 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32235 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32236
32237 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32238 * sysdeps/powerpc/ifunc-sel.h: ... here.
32239 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32240 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32241
32242 * sysdeps/sparc/elf/configure.in: Moved to ...
32243 * sysdeps/sparc/configure.in: ... here.
32244 * sysdeps/sparc/elf/configure: Delete file.
32245 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32246 * sysdeps/sparc/sparc32/start.S: ... here.
32247 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32248 * sysdeps/sparc/sparc64/start.S: ... here.
32249 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32250 * sysdeps/sparc/sparc32/Makefile: ... this.
32251 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32252 * sysdeps/sparc/sparc64/Makefile: ... this.
32253
32254 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32255 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32256 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32257 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32258 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32259 * sysdeps/s390/s390-32/setjmp.S: ... here.
32260 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32261 * sysdeps/s390/s390-32/configure.in: ... here.
32262 * sysdeps/s390/s390-32/elf/configure: Delete file.
32263 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32264 * sysdeps/s390/s390-32/start.S: ... here.
32265
32266 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32267 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32268 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32269 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32270 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32271 * sysdeps/s390/s390-64/setjmp.S: ... here.
32272 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32273 * sysdeps/s390/s390-64/configure.in: ... here
32274 * sysdeps/s390/s390-64/elf/configure: Delete file.
32275 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32276 * sysdeps/s390/s390-64/start.S: ... here.
32277 * sysdeps/s390/s390-64/elf/configure: Delete.
32278
32279 * configure.in: Remove support for elf directories in sysdeps.
32280
32281 * configure: Regenerated.
32282 * sysdeps/i386/configure: Regenerated.
32283 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32284 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32285 * sysdeps/s390/s390-32/configure: Regenerated.
32286 * sysdeps/s390/s390-64/configure: Regenerated.
32287 * sysdeps/sh/configure: Regenerated.
32288 * sysdeps/sparc/configure: Regenerated.
32289 * sysdeps/x86_64/configure: Regenerated.
32290
a3f61311
AS
322912012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32292
c876e002
AS
32293 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32294
a3f61311
AS
32295 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32296 denormal result into account.
32297
ac4c54f0
RM
322982012-03-25 Roland McGrath <roland@hack.frob.com>
32299
32300 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32301 Reported by Allan McRae <allan@archlinux.org>.
32302
6a9b9c02
JL
323032012-03-23 Jeff Law <law@redhat.com>
32304
32305 * nss/getnssent.c (__nss_getent): Fix typo.
32306
4c42a0c1
DM
323072012-03-23 David S. Miller <davem@davemloft.net>
32308
32309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32310
1532c7ac
L
323112012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32312
32313 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32314 to pad to uint64_t for each field.
32315 (dl_tls_index): Replace unsigned long with uint64_t.
32316
3ff42526
PP
323172012-03-23 Daniel Jacobowitz <dmj@google.com>
32318 Paul Pluzhnikov <ppluzhnikov@google.com>
32319
32320 [BZ #6528]
32321 * grp/Makefile (otherlibs): Don't set it.
32322 * inet/Makefile (otherlibs): Likewise.
32323 * login/Makefile (otherlibs): Likewise.
32324 * nscd/Makefile (otherlibs): Likewise.
32325 * posix/Makefile (otherlibs): Likewise.
32326 * pwd/Makefile (otherlibs): Likewise.
32327 * rt/Makefile (otherlibs): Likewise.
32328 * sunrpc/Makefile (otherlibs): Likewise.
32329 * nss/Makefile (otherlibs): Likewise.
32330 Add libnss_files to routines and static-only-routines.
32331 ($(objpfx)getent): Remove rule.
32332 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32333 static-only-routines.
32334
7c69cd14
JM
323352012-03-22 Joseph Myers <joseph@codesourcery.com>
32336
32337 [BZ #13892]
32338 * math/s_cexp.c: Include <float.h>.
32339 (__cexp): Handle exp result overflowing not necessarily
32340 overflowing both real and imaginary parts of result.
32341 * math/s_cexpf.c: Likewise.
32342 * math/s_cexpl.c: Likewise.
32343 * math/libm-test.inc (cexp_test): Add more tests.
32344 * sysdeps/i386/fpu/libm-test-ulps: Update.
32345 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32346
81b035fe
L
323472012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32348
32349 * include/link.h (ELFW): New macro.
32350 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32351 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32352
1da7940c
L
323532012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32354
32355 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32356 with uint64_t.
32357
b749dbb9
L
323582012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32359
32360 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32361 declaration.
32362 (struct La_x32_retval): Likewise.
32363
2ff87f3f
L
323642012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32365
32366 * sysdeps/x86_64/preconfigure.in: New file.
32367 * sysdeps/x86_64/preconfigure: New generated file.
32368
c0df8e69
JM
323692012-03-22 Joseph Myers <joseph@codesourcery.com>
32370
48e44791
JM
32371 [BZ #13824]
32372 * math/e_exp2l.c: Include <float.h>.
32373 (__ieee754_exp2l): Handle overflow and underflow cases
32374 separately. Only pass fractional part of argument to
32375 __ieee754_expl.
32376 * math/libm-test.inc (exp2_test): Add more tests.
32377
c0df8e69
JM
32378 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32379 negating x to take absolute value.
32380 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32381 Likewise.
32382 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32383 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32384 Likewise.
32385 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32386 computing low part if x was negated.
32387 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32388
c8e43ba7
L
323892012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32390
32391 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32392 la_x32_gnu_pltexit.
32393 (pltexit): Cast int_retval to ptrdiff_t.
32394 * elf/tst-auditmod3b.c: Likewise.
32395 * elf/tst-auditmod4b.c: Likewise.
32396 * elf/tst-auditmod5b.c: Likewise.
32397 * elf/tst-auditmod6b.c: Likewise.
32398 * elf/tst-auditmod6c.c: Likewise.
32399 * elf/tst-auditmod7b.c: Likewise.
32400
32401 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32402 and x32_gnu_pltexit.
32403
32404 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32405 __ELF_NATIVE_CLASS.
32406 (La_x32_regs): New macro.
32407 (La_x32_retval): Likewise.
32408 (la_x32_gnu_pltenter): New function prototype.
32409 (la_x32_gnu_pltexit): Likewise.
32410
7998fa78
AS
324112012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32412
dcb33988
AS
32413 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32414 exponent.
32415
233fc563
AS
32416 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32417
7998fa78
AS
32418 * configure.in (libc_cv_cc_nofma): Check for option to disable
32419 generation of FMA instructions.
32420 * configure: Regenerate.
32421 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32422 * sysdeps/ieee754/dbl-64/Makefile: New file.
32423 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32424 Remove brandred-fma4.
32425 (CFLAGS-brandred-fma4.c): Remove.
32426 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32427 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32428 define.
32429 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32430 define.
32431
8e95c99a
L
324322012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32433
32434 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32435 LLONG_MAX != LONG_MAX.
32436 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32437 (_fitoa_word): Likewise.
32438 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32439 LLONG_MAX != LONG_MAX.
32440 * stdio-common/_itowa.h: Include <_itoa.h>.
32441 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32442 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32443 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32444 only if not defined.
32445 (_ITOA_WORD_TYPE): Likewise.
32446 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32447 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32448
6f4db457
DM
324492012-03-21 David S. Miller <davem@davemloft.net>
32450
32451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32452
7785fe5a
L
324532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32454
32455 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32456 of x86_64 when setting libc_cv_slibdir, libdir and
32457 libc_cv_localedir.
32458 * sysdeps/unix/sysv/linux/configure: Regenerated.
32459
4535cd55
JM
324602012-03-21 Joseph Myers <joseph@codesourcery.com>
32461
32462 * manual/lang.texi (Old Varargs): Remove section.
32463 (How Variadic): Update menu.
32464 (va_start): Do not mention varargs.h.
32465
17228132
TS
324662012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32467 Joseph Myers <joseph@codesourcery.com>
32468
32469 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32470 link test.
32471 * configure: Regenerated.
32472
8149f976
TS
324732012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32474
05f3d1f6
UD
32475 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32476 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32477 conformtest.pl
8149f976 32478
1a4ac776
JM
324792012-03-21 Joseph Myers <joseph@codesourcery.com>
32480
be22ce65
JM
32481 * NOTES: Remove.
32482 * Makefile (files-for-dist): Remove NOTES.
32483 (NOTES): Remove rule.
32484 * README: Don't refer to NOTES.
32485 * manual/creature.texi: Don't include macros.texi.
32486 * manual/intro.texi (creature.texi): Remove comment referring to
32487 NOTES.
32488
40b601fb
JM
32489 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32490 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32491 * configure: Regenerated.
32492 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32493 LIBC_TRY_CC_OPTION.
32494 (libc_cv_as_i686): Likewise.
32495 (libc_cv_cc_avx): Likewise.
32496 (libc_cv_cc_sse2avx): Likewise.
32497 (libc_cv_cc_fma4): Likewise.
32498 (libc_cv_cc_novzeroupper): Likewise.
32499 * sysdeps/i386/configure: Regenerated.
32500
1a4ac776
JM
32501 [BZ #13883]
32502 * sysdeps/i386/fpu/s_cexp.S: Remove.
32503 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32504 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32505 * math/libm-test.inc (cexp_test): Add more tests.
32506 * sysdeps/i386/fpu/libm-test-ulps: Update.
32507 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32508
a458e7fe
AM
325092012-03-21 Allan McRae <allan@archlinux.org>
32510
32511 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32512
0cb7efc5
JM
325132012-03-21 Joseph Myers <joseph@codesourcery.com>
32514
32515 [BZ #13871]
32516 * math/w_exp2.c: Do not include <float.h>.
32517 (o_threshold, u_threshold): Remove.
32518 (__exp2): Calculate result before checking finiteness and calling
32519 __kernel_standard.
32520 * math/w_exp2f.c: Likewise.
32521 * math/w_exp2l.c: Likewise.
32522 * math/libm-test.inc (exp2_test): Require overflow exception for
32523 1e6 input.
2460d3aa
JM
32524
32525 [BZ #3866]
32526 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32527 range of signed 64-bit integers before using fistpll. Remove
32528 checks for whether integers fit in mantissa bits.
32529 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32530 the range of signed 32-bit integers before using fistpl. Remove
32531 checks for whether integers fit in mantissa bits.
32532 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32533 (__ieee754_powl): Test for y outside the range of signed 64-bit
32534 integers before using fistpll. Reduce 64-bit values to 63-bit
32535 ones as needed.
32536 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32537 divide-by-zero is raised for zero to large negative powers.
32538 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32539 (__ieee754_powl): Test for y outside the range of signed 64-bit
32540 integers before using fistpll. Reduce 64-bit values to 63-bit
32541 ones as needed.
32542 * math/libm-test.inc (pow_test): Add more tests.
32543
eb96ffb0
L
325442012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32545
32546 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32547 <stdio-common/_itoa.h>.
32548 * debug/segfault.c: Likewise.
32549 * elf/dl-cache.c: Likewise.
32550 * elf/dl-minimal.c: Likewise.
32551 * elf/dl-misc.c: Likewise.
32552 * elf/dl-sysdep.c: Likewise.
32553 * elf/dl-version.c: Likewise.
32554 * elf/rtld.c: Likewise.
32555 * hurd/hurdsock.c: Likewise.
32556 * hurd/lookup-retry.c: Likewise.
32557 * malloc/malloc.c: Likewise.
32558 * malloc/mtrace.c: Likewise.
32559 * nscd/nscd_getgr_r.c: Likewise.
32560 * nscd/nscd_getpw_r.c: Likewise.
32561 * nscd/nscd_getserv_r.c: Likewise.
32562 * posix/getopt_init.c: Likewise.
32563 * posix/wordexp.c: Likewise.
32564 * stdio-common/_itoa.c: Likewise.
32565 * stdio-common/printf_fphex.c: Likewise.
32566 * stdio-common/vfprintf.c: Likewise.
32567 * string/_strerror.c: Likewise.
32568 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32569 * sysdeps/i386/i686/hp-timing.h: Likewise.
32570 * sysdeps/mach/_strerror.c: Likewise.
32571 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32572 * sysdeps/mach/hurd/sethostid.c: Likewise.
32573 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32574 * sysdeps/mach/xpg-strerror.c: Likewise.
32575 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32576 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32577 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32578 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32579 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32580 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32581 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32582 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32583 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32584 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32585 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32586 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32587 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32588 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32589 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32590 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32591 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32592 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32593 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32594 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32595 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32596
32597 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32598
32599 * stdio-common/_itoa.h: Moved to ...
32600 * sysdeps/generic/_itoa.h: Here.
32601
32602 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32603
32604 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32605 instead of "_itoa.h" and "_itowa.h".
32606 * stdio-common/vfprintf.: Likewise.
32607
d1af992d
L
326082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32609
32610 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32611 <bits/wordsize.h>.
32612 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32613 (__signbit): Likwise.
32614 (llrintf): Likwise.
32615 (llrint): Likwise.
32616
114883e0
L
326172012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32618
32619 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32620 __WORDSIZE != 64.
32621
c135cc1b
JM
326222012-03-20 Joseph Myers <joseph@codesourcery.com>
32623
32624 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32625 OVERFLOW_EXCEPTION_OK.
32626 * math/libm-test.inc ("Philosophy"): Update comment about
32627 exception testing.
32628 (OVERFLOW_EXCEPTION): Define.
32629 (OVERFLOW_EXCEPTION_OK): Likewise.
32630 (INVALID_EXCEPTION_OK): Renumber.
32631 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32632 (IGNORE_ZERO_INF_SIGN): Likewise.
32633 (test_exceptions): Handle FE_OVERFLOW.
32634 (exp10_test): Expect overflow exceptions.
32635 (exp2_test): Likewise.
32636 (expm1_test): Likewise.
32637 (nextafter_test): Likewise.
32638 (pow_test): Likewise.
32639 (scalbn_test): Likewise.
32640 (scalbln_test): Likewise.
32641
95443d88
L
326422012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32643
32644 * sysdeps/x86_64/bits/atomic.h
32645 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32646 64bit integer.
32647 (atomic_exchange_acq): Likewise.
32648 (__arch_exchange_and_add_body): Likewise.
32649 (__arch_add_body): Likewise.
32650 (atomic_add_negative): Likewise.
32651 (atomic_add_zero): Likewise.
32652
490df6c4
L
326532012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32654
c2722551 32655 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32656 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32657
5e52b189
L
326582012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32659
32660 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32661 Check __x86_64__ instead of __WORDSIZE.
32662
a9879d4c
L
326632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32664
32665 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32666
5df98260
DM
326672012-03-19 David S. Miller <davem@davemloft.net>
32668
e1497744
DM
32669 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32670
5df98260
DM
32671 * sysdeps/sparc/fpu/fenv_private.h: New file.
32672 * sysdeps/sparc/fpu/math_private.h: Use it.
32673 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32674 Remove.
32675 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32676 (libc_feholdexcept_setroundl): Remove.
32677 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32678 Remove.
32679 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32680 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32681
b4c35121
L
326822012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32683
32684 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32685 int64_t instead of long int.
32686 (INSERT_WORDS64): Likwise.
32687
56965fd7
L
326882012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32689
32690 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32691 _Unwind_GetCFA return to _Unwind_Ptr first.
32692
83d1aec8
JM
326932012-03-19 Joseph Myers <joseph@codesourcery.com>
32694
1897ad44
JM
32695 [BZ #13629]
32696 * math/s_clog.c: Include <float.h>.
32697 (__clog): Scale large or subnormal inputs.
32698 * math/s_clogf.c: Likewise.
32699 * math/s_clogl.c: Likewise.
32700 * math/s_clog10.c: Include <float.h>.
32701 (M_LOG10_2): Define.
32702 (__clog10): Scale large or subnormal inputs.
32703 * math/s_clog10f.c: Likewise.
32704 * math/s_clog10l.c: Likewise.
32705 * math/libm-test.inc (clog_test): Add more tests.
32706 (clog10_test): Likewise.
32707 * sysdeps/i386/fpu/libm-test-ulps: Update.
32708 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32709
7726d6a9
JM
32710 [BZ #11451]
32711 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32712 x and y.
32713 * math/libm-test.inc (atan2_test): Add another test.
32714
83d1aec8
JM
32715 * Makerules (common-objdir-compile): Remove.
32716 * sysdeps/unix/Makefile (config-generated): Do not add
32717 $(unix-generated) to variable.
32718 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32719 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32720 Remove rule.
32721 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32722 Likewise.
32723 [generic bits/local_lim.h] (before-compile): Do not append to
32724 variable.
32725 [generic bits/local_lim.h] (common-generated): Likewise.
32726 [generic sys/param.h] (before-compile): Do not append to variable.
32727 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32728 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32729 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32730 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32731 include.
32732 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32733 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32734 [generic sys/param.h] ($(addprefix
32735 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32736 [generic sys/param.h] (common-generated): Do not append to
32737 variable.
32738 [generic sys/param.h] (sysdep_headers): Likewise.
32739 [generic bits/errno.h] (before-compile): Do not append to
32740 variable.
32741 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32742 rule.
32743 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32744 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32745 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32746 [generic bits/errno.h] (common-generated): Do not append to
32747 variable.
32748 [generic bits/ioctls.h] (before-compile): Do not append to
32749 variable.
32750 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32751 rule.
32752 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32753 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32754 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32755 rule.
32756 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32757 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32758 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32759 [generic bits/ioctls.h] (common-generated): Do not append to
32760 variable.
32761 [generic sys/syscall.h] (syscall.h): Remove variable.
32762 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32763 rule.
32764 [generic sys/syscall.h] (before-compile): Do not append to
32765 variable.
32766 [generic sys/syscall.h] (common-generated): Likewise.
32767 * sysdeps/unix/errnos-tmpl.c: Remove file.
32768 * sysdeps/unix/errnos.awk: Likewise.
32769 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32770 * sysdeps/unix/ioctls.awk: Likewise.
32771 * sysdeps/unix/mk-local_lim.c: Likewise.
32772 * sysdeps/unix/snarf-ioctls: Likewise.
32773
4851a949
RH
327742012-03-19 Richard Henderson <rth@twiddle.net>
32775
bd37f2ee
RH
32776 * sysdeps/i386/fpu/fenv_private.h: New file.
32777 * sysdeps/i386/fpu/math_private.h: Use it.
32778 (math_opt_barrier, math_force_eval): Remove.
32779 (libc_feholdexcept_setround_53bit): Remove.
32780 (libc_feupdateenv_53bit): Remove.
32781 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32782 (math_opt_barrier, math_force_eval): Remove.
32783 (libc_feholdexcept): Remove.
32784 (libc_feholdexcept_setround): Remove.
32785 (libc_fetestexcept, libc_fesetenv): Remove.
32786 (libc_feupdateenv_test): Remove.
32787 (libc_feupdateenv, libc_feholdsetround): Remove.
32788 (libc_feresetround): Remove.
32789
d0adc922
RH
32790 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32791 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32792
0fe0f1f8
RH
32793 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32794 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32795 (libc_feupdateenv_testl): New.
32796 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32797 (libc_feupdateenv_testf): New.
32798 (libc_feupdateenv): Use libc_feupdateenv_test.
32799 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32800 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32801
eb92c487
RH
32802 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32803 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32804 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32805 (libc_feresetround_noex): New.
32806 (libc_feresetround_noexf): New.
32807 (libc_feresetround_noexl): New.
32808 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32809 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32810 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32811 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32812 SET_RESTORE_ROUND.
32813 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32814 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32815 (__cos): Likewise.
32816 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32817 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32818 SET_RESTORE_ROUND_NOEX.
32819 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32820 SET_RESTORE_ROUND_NOEXF.
32821 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32822 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32823 (libc_feholdsetroundf): New.
32824 (libc_feresetround, libc_feresetroundf): New.
32825
7d2e8012
RH
32826 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32827 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32828 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32829
b4dabbb4
RH
32830 * sysdeps/generic/math_private.h: Include <fenv.h>.
32831 (default_libc_feholdexcept): New.
32832 (default_libc_feholdexcept_setround): New.
32833 (default_libc_fesetenv, default_libc_feupdateenv): New.
32834 (libc_feholdexcept): Only define if undefined.
32835 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32836 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32837 (libc_feholdexcept_setroundl): Likewise.
32838 (libc_feholdexcept_setround_53bit): Likewise.
32839 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32840 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32841 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32842 (libc_feupdateenv_53bit): Likewise.
32843 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32844 (libc_feholdexcept): Convert from macro to inline function.
32845 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32846 (libc_fesetenv, libc_feupdateenv): Likewise.
32847
4851a949
RH
32848 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32849 not previously defined.
32850 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32851 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32852 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32853 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32854 * sysdeps/ieee754/flt-32/math_private.h: New file.
32855 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32856 math_private.h below SET_FLOAT_WORD.
32857 (__isnan, __isinf_ns, __finite): Remove.
32858 (__isnanf, __isinf_nsf, __finitef): Remove.
32859
e79d442e
AS
328602012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32861
32862 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32863
90b80344
DM
328642012-03-17 David S. Miller <davem@davemloft.net>
32865
32866 [BZ #6471]
32867 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32868 for 2.16.
32869
edc21804
DM
328702012-03-16 David S. Miller <davem@davemloft.net>
32871
77e927af
DM
32872 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32873 warnings.
32874
374976dd
DM
32875 [BZ #6471]
32876 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32877 properly.
32878 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32879 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32880 sysdep_routines when subdir is sysvipc.
32881 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32882 __getshmlba helper.
32883
edc21804
DM
32884 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32885
473c3ef3
L
328862012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32887
32888 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32889 [__LP64__].
32890
eb0f39b6
L
328912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32892
32893 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32894 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32895 (__lround): Renamed to ...
32896 (__llround): This. Replace long int with long long int.
32897 Define lround functions as aliases of llround functions.
32898 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32899
6b6cd74b
L
329002012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32901
32902 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32903 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32904 adresses to uintptr_t. Replace "long int" and "unsigned long
32905 int" with "greg_t" on va_arg.
32906
f1a77b01
L
329072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32908
32909 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32910 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32911
32912 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32913 Move e_machine check before EI_CLASS check. Handle x32
32914 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32915 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32916 SKIP_EM_IA_64 and include
32917 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32918
32919 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32920 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32921 (add_system_dir): New macro.
32922
32923 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32924 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32925
11b90b9f
JM
329262012-03-16 Joseph Myers <joseph@codesourcery.com>
32927
c36e1d23
JM
32928 [BZ #2551]
32929 [BZ #2552]
32930 [BZ #2553]
32931 [BZ #2554]
32932 [BZ #2562]
32933 [BZ #2563]
32934 [BZ #2565]
32935 [BZ #2566]
32936 [BZ #2576]
32937 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32938 (y0): Likewise.
32939 * math/w_j0f.c (j0f): Likewise.
32940 (y0f): Likewise.
32941 * math/w_j0l.c (__j0l): Likewise.
32942 (__y0l): Likewise.
32943 * math/w_j1.c (j1): Likewise.
32944 (y1): Likewise.
32945 * math/w_j1f.c (j1f): Likewise.
32946 (y1f): Likewise.
32947 * math/w_j1l.c (__j1l): Likewise.
32948 (__y1l): Likewise.
32949 * math/w_jn.c (jn): Likewise.
32950 (yn): Likewise.
32951 * math/w_jnf.c (jnf): Likewise.
32952 (ynf): Likewise.
32953 * math/w_jnl.c (__jnl): Likewise.
32954 (__ynl): Likewise.
32955 * math/libm-test.inc (j0_test): Add more tests.
32956 (j1_test): Likewise.
32957 (jn_test): Likewise. Add trailing semicolon to existing test.
32958 (y0_test): Likewise.
32959 (y1_test): Likewise.
32960 * sysdeps/i386/fpu/libm-test-ulps: Update.
32961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32962
11b90b9f
JM
32963 [BZ #13851]
32964 [BZ #13854]
32965 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32966 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32967 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32968 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32969 (__tanl): Set errno for infinite argument.
32970 * sysdeps/i386/fpu/mptan.c: Remove.
32971 * sysdeps/i386/fpu/s_tan.S: Likewise.
32972 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32973 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32974 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32975 * math/libm-test.inc (tan_test): Add more tests and enable more
32976 tests for double and long double.
32977 * sysdeps/i386/fpu/libm-test-ulps: Update.
32978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32979
6a1bd2a1
JK
329802012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
32981
32982 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
32983 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
32984
10a803e0
RM
329852012-03-16 Roland McGrath <roland@hack.frob.com>
32986
32987 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
32988 * configure.in: Use it for both main tree and add-ons.
32989 * configure: Regenerated.
32990
f196c7f7
L
329912012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32992
32993 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
32994
8848d99d
JM
329952012-03-16 Joseph Myers <joseph@codesourcery.com>
32996
96cbe7f4
JM
32997 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
32998 in comment.
32999
8848d99d
JM
33000 [BZ #13851]
33001 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33002 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33003 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33004 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33005 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33006 infinite argument.
33007 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33008 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33009 != 0 for prec == 2.
33010 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33011 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33012 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33013 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33014 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33015 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33016 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33017 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33018 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33019 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33020 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33021 * math/libm-test.inc (cos_test): Add more tests and enable more
33022 tests for long double.
33023 (sin_test): Likewise.
33024 (sincos_test): Likewise.
33025 * sysdeps/i386/fpu/libm-test-ulps: Update.
33026 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33027
dd7f4703
DM
330282012-03-16 David S. Miller <davem@davemloft.net>
33029
33030 * sysdeps/sparc/fpu/math_private.h: New file.
33031
006f1daa
DM
330322012-03-15 David S. Miller <davem@davemloft.net>
33033
c0c83bc8
DM
33034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33035 file.
e6a62e18 33036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33038 file.
e6a62e18
DM
33039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33040 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33041 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33042 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33043 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33044 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33045 sysdep routines.
33046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33047
88cb87d9
DM
33048 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33049 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33050
006f1daa 33051 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33053 sparc-ifunc.h
006f1daa 33054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33056 Likewise.
33057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33058 Likewise.
006f1daa
DM
33059 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33062 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33063 Likewise.
006f1daa
DM
33064 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33066 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33068 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33069 Likewise.
33070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33071 Likewise.
006f1daa
DM
33072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33074 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33076 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33077 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33078 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33079 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33080 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33081 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33082 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33083 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33084 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33085 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33086 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33087 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33088 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33089 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33090 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33091 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33092 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33093 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33094 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33095 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33096
11e0098e
AS
330972012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33098
33099 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33100 scaling.
33101 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33102
e85b09d0
AJ
331032012-03-15 Andreas Jaeger <aj@suse.de>
33104
33105 [BZ #13852]
33106 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33107 ieee754/flt-32 implementation for sin, cos and sincos.
33108 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33109 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33110 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33111 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33112 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33113 ieee754/flt-32 implementation for tan.
33114
33115 * math/libm-test.inc (cos_test): Enable some large input tests for
33116 float as well
33117 (sin_test): Likewise.
33118 (sincos_test): Likewise.
33119 (tan_test): Add tests for large input.
33120
33121 * sysdeps/i386/fpu/libm-test-ulps: Update.
33122
81c64153
AJ
331232012-03-15 Andreas Jaeger <aj@suse.de>
33124
33125 [BZ #13658]
33126 * math/libm-test.inc (cos_test): Add more test cases.
33127 (sin_test): Likewise.
33128 (sincos_test): Likewise.
33129
7bbfa5c6
AJ
331302012-03-15 Andreas Jaeger <aj@suse.de>
33131
33132 [BZ #13837]
33133 * math/libm-test.inc (cos_test): Add a test case for large input
33134 value.
33135 (sin_test): Likewise.
33136 (sincos_test): Likewise.
33137
331382012-03-15 Andreas Jaeger <aj@suse.de>,
33139 Joseph Myers <joseph@codesourcery.com>
33140
33141 [BZ #13658]
0671f479 33142 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33143 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33144 * sysdeps/i386/fpu/branred.c: Likewise.
33145 * sysdeps/i386/fpu/dosincos.c: Likewise.
33146 * sysdeps/i386/fpu/mpa.c: Likewise.
33147 * sysdeps/i386/fpu/s_cos.S: Likewise.
33148 * sysdeps/i386/fpu/s_sin.S: Likewise.
33149 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33150 * sysdeps/i386/fpu/sincos32.c: Likewise.
33151
33152 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33153 Define.
33154 (libc_feupdateenv_53bit): Define.
33155 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33156 Define.
33157 (libc_feupdateenv_53bit): Define.
33158
33159 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33160 53 bit (without extend i386 double precision).
33161
33162 * math/libm-test.inc (sincos_test): Add tests for large input.
33163 (sin): Likewise.
33164 (cos): Likewise.
33165
33166 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33167
9cad04ea
AS
331682012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33169
33170 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33171
f7062b9a
DM
331722012-03-15 David S. Miller <davem@davemloft.net>
33173
33174 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33175 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33176 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33177 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33178 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33179 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33180 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33181 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33182 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33183 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33184 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33185 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33186 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33187 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33188 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33190 file.
f7062b9a 33191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33193 file.
f7062b9a 33194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33196 file.
f7062b9a 33197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33199 file.
f7062b9a
DM
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33201 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33202 fmin/fmax sysdep routines.
33203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33204
7bd951ff
DM
332052012-03-14 David S. Miller <davem@davemloft.net>
33206
559398ab
DM
33207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33209 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33210 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33211 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33212 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33213 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33214 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33215 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33216 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33217 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33218 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33221 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33223 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33224 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33225 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33226 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33227 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33228 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33229 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33230 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33231 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33232 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33233 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33234 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33235 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33236 routines.
33237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33238 file.
559398ab 33239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33241 file.
559398ab 33242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33244 file.
559398ab 33245 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33247 file.
559398ab 33248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33250 file.
559398ab 33251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33253 file.
33254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33255 file.
33256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33257 file.
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33259 file.
33260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33261 New file.
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33263 file.
33264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33265 file.
559398ab 33266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33268 file.
559398ab 33269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33271 file.
559398ab 33272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33274 file.
559398ab 33275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33277 VIS3 routines.
559398ab
DM
33278
33279 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33280 New file.
33281
5a1c1e32
DM
33282 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33283
eae47a36
DM
33284 * sysdeps/sparc/configure.in: New file.
33285 * sysdeps/sparc/configure: Generate.
33286 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33287 * configure: Regenerate.
33288 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33289 * config.make.in (have-as-vis3): New.
33290 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33291 available use -Av9d instead of -Av9a.
33292 * sysdeps/sparc/sparc64/Makefile: Likewise.
33293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33295 New file.
33296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33297 file.
33298 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33299 New file.
33300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33301 file.
eae47a36
DM
33302 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33303 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33304 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33305 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33306 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33307
c0c83bc8
DM
33308 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33309 fzeros/fnegs to load 0x80000000 into a float register instead of
33310 using the stack.
7bd951ff
DM
33311 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33312
bd951ccb
JM
333132012-03-14 Joseph Myers <joseph@codesourcery.com>
33314
33315 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33316 bits/syscall.h.
33317 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33318 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33319 ($(inst_includedir)/bits/syscall.h): Remove rule.
33320 ($(objpfx)bits/syscall.d): Include instead of
33321 $(objpfx)syscall-list.d.
33322 (generated): Change syscall-list.h and syscall-list.d to
33323 bits/syscall.h and bits/syscall.d.
33324
bb4e6db2
RM
333252012-03-14 Roland McGrath <roland@hack.frob.com>
33326
33327 [BZ #13846]
33328 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33329
aa4a2ae1
JM
333302012-03-14 Joseph Myers <joseph@codesourcery.com>
33331
e456826d
JM
33332 [BZ #13841]
33333 * math/s_csqrt.c: Include <float.h>.
33334 (__csqrt): Scale large or subnormal inputs.
33335 * math/s_csqrtf.c: Likewise.
33336 * math/s_csqrtl.c: Likewise.
33337 * math/libm-test.inc (csqrt_test): Add more tests.
33338 * sysdeps/i386/fpu/libm-test-ulps: Update.
33339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33340
aa4a2ae1
JM
33341 [BZ #13840]
33342 * math/libm-test.inc (hypot_test): Add more tests.
33343
7c10fd35
DM
333442012-03-13 David S. Miller <davem@davemloft.net>
33345
33346 [BZ #13840]
33347 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33348 double-precision for the calculation instead of scaling.
33349
f453b98b
JM
333502012-03-13 Joseph Myers <joseph@codesourcery.com>
33351
33352 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33353 manipulate bits before adding and subtracting TWO52[sx].
33354 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33355 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33356 Likewise.
33357 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33358
09a3453f
DM
333592012-03-13 David S. Miller <davem@davemloft.net>
33360
8e59da90
DM
33361 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33362 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33363 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33364 rtld-global-offsets.h
33365 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33366
2a8ab7f2
DM
33367 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33368 large parameters.
33369
10f62770
DM
33370 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33371
5f0bdb18
DM
33372 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33373 'err' in the ifdef scope in which it is actually used.
33374
09a3453f
DM
33375 * nss/nss_db/db-init.c: Include string.h
33376
b4b2eb5e
DM
333772012-03-12 David S. Miller <davem@davemloft.net>
33378
98bb2f1c
DM
33379 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33380 masking out of the most significant byte of random value used.
33381 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33382 Fix coding style in previous change.
33383
b4b2eb5e
DM
33384 * sysdeps/unix/sysv/linux/kernel-features.h
33385 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33386 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33387 expression.
33388 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33389 later.
33390
6e226b09
DM
333912012-03-11 David S. Miller <davem@davemloft.net>
33392
a1bcbd40
DM
33393 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33394 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33395 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33396 for 'resultvar' otherwise things get truncated on 64-bit.
33397
cb9d6174
DM
33398 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33399 Fix masking out of the most significant byte of random value used.
33400
6e226b09
DM
33401 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33402
058c132d
AS
334032012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33404
33405 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33406
2d2cd515
DM
334072012-03-09 David S. Miller <davem@davemloft.net>
33408
33409 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33410 variables with appropriate CPP guards.
33411 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33412 frame pointer, not the stack pointer. Correct layout comments. Fix test
33413 on resulting framesize and the management of the outregs buffer for pltexit.
33414 Preserve floating point return values across _dl_call_pltexit call.
33415 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33416 framesize and the management of the outregs buffer for pltexit.
33417 Preserve floating point return values across _dl_call_pltexit
33418 call.
33419 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33420 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33421 (print_exit): Fix format string for return register value.
33422
9a07f9d0
JM
334232012-03-10 Joseph Myers <joseph@codesourcery.com>
33424
33425 * sunrpc/Makefile (others): Add rpcgen.
33426 ($(objpfx)rpcgen): Remove special build rule and dependency on
33427 libc.
33428 * sunrpc/rpcgen.c: New file.
33429
547b5e30
PE
334302012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33431
c524201a
PE
33432 [BZ #13673]
33433 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33434 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33435 * sysdeps/i386/crti.S: Likewise.
33436 * sysdeps/i386/crtn.S: Likewise.
33437 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33438 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33439 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33440 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33441 * sysdeps/sh/crti.S: Likewise.
33442 * sysdeps/sh/crtn.S: Likewise.
33443 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33444
7b6235f2
PE
33445 [BZ #13673]
33446 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33447 with URL.
33448 * locale/programs/locfile-kw.gperf: Likewise.
33449 * locale/programs/charmap-kw.h: Regenerated.
33450 * locale/programs/locfile-kw.h: Likewise.
33451
547b5e30
PE
33452 [BZ #13673]
33453 * intl/plural.y: Replace FSF snail mail address with URL.
33454 * intl/plural.c: Regenerated.
33455
5f0a5dae
RH
334562012-03-09 Richard Henderson <rth@twiddle.net>
33457
33458 * include/math_private.h: Remove file.
33459 * math/math_private.h: Move file ...
33460 * sysdeps/generic/math_private.h: ... here.
33461
b8c03620
RH
33462 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33463 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33464 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33465
4e234f5d 33466 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33467 and <math_private.h>.
33468 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33469 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33470 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33471 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33472 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33473 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33474 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33475 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33476 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33477 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33478 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33479 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33480 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33481 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33482 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33483 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33484 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33485 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33486 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33487 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33488 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33489 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33490 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33491 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33492 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33493 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33494 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33495 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33496 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33497 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33498 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33499 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33500 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33501 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33502 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33503 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33504 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33505 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33506 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33507 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33508 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33509 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33510 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33511 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33512 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33513 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33514 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33515 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33516 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33517 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33518 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33519 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33520 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33521 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33522 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33523 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33524 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33525 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33526 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33527 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33528 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33529 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33530 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33531 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33532 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33533 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33534 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33535 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33536 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33537 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33538 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33539 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33540 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33541 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33542 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33543 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33544 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33545 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33546 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33547 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33548 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33549 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33551 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33552 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33553 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33554 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33555 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33556 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33557 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33558 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33559 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33560 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33561 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33562 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33563 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33564 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33565 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33566 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33567 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33568 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33569 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33570 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33571 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33572 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33573 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33574 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33575 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33576 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33577 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33578 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33579 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33580 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33581 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33582 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33583 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33584 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33585 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33586 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33587 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33588 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33589 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33590 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33591 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33592 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33593 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33594 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33595 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33596 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33597 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33598 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33599 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33600 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33601 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33602 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33603 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33604 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33605 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33606 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33607 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33608 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33609 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33610 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33611 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33612 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33613 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33614 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33615 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33616 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33617 * sysdeps/ieee754/k_standard.c: Likewise.
33618 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33619 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33620 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33621 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33622 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33623 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33624 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33625 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33626 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33627 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33628 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33629 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33630 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33631 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33632 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33633 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33634 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33635 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33636 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33637 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33638 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33639 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33640 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33641 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33642 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33643 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33644 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33645 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33646 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33647 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33648 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33649 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33650 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33651 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33652 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33653 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33654 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33655 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33656 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33657 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33659 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33660 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33661 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33662 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33664 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33665 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33669 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33707 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33730 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33731 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33732 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33733 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33737 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33738 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33740 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33743 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33744 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33745 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33748 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33749 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33750 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33754 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33755 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33758 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33759 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33760 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33761 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33763 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33766 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33767 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33768 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33778 * sysdeps/ieee754/s_lib_version.c: Likewise.
33779 * sysdeps/ieee754/s_matherr.c: Likewise.
33780 * sysdeps/ieee754/s_signgam.c: Likewise.
33781 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33782 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33783 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33784 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33785 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33786 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33787 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33788 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33789 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33790 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33791 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33792 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33793 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33794 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33795 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33796 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33797 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33798 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33799 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33800 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33801 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33802
1991fa03
JM
338032012-03-09 Joseph Myers <joseph@codesourcery.com>
33804
33805 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33806 * sunrpc/rpc_main.c: Likewise.
33807 * sunrpc/rpc_svcout.c: Likewise.
33808
60d6f5a6
DM
338092012-03-09 David S. Miller <davem@davemloft.net>
33810
33811 * include/math_private.h: New file.
33812
4962050e
JM
338132012-03-09 Joseph Myers <joseph@codesourcery.com>
33814
02a6f887
JM
33815 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33816 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33817 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33818 from <bits/socket_type.h>.
33819 (enum __socket_type): Don't define here.
33820 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33821 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33822 bits/socket_type.h.
33823
c6e013c1
JM
33824 [BZ #13566]
33825 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33826 checking __USE_GNU.
33827
4962050e
JM
33828 * Makerules ($(inst_includedir)/%.h): New rule.
33829 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33830 (install-others): Remove variable setting.
33831 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33832
38842f45
RH
338332012-03-08 Richard Henderson <rth@twiddle.net>
33834
67bb6da6
RH
33835 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33836 from macro to inline function; merge with the
33837 !__LIBC_INTERNAL_MATH_INLINES version.
33838 (__ieee754_sqrtf): Likewise.
33839
15194b4b
RH
33840 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33841 to inline function.
33842 (__rintf, __floor, __floorf): Likewise.
33843
64e21ede
RH
33844 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33845 macro to inline function.
33846 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33847
38842f45
RH
33848 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33849 not <math/math_private.h>.
33850
c64bf5fe
DM
338512012-03-08 David S. Miller <davem@davemloft.net>
33852
33853 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33854 copyright year.
33855 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33856
82d86f28
TS
338572012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33858
33859 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33860 normalization.
33861 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33862 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33863
aea5d727
UD
338642012-03-08 Ulrich Drepper <drepper@gmail.com>
33865
33866 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33867 be defined individually, they must be defined as a block. Define
33868 S for printing a string instead of hidint the different by using a
33869 macro for adding the 'l'.
33870 * stdio-common/tst-fphex-wide.c: Adjust.
33871
70bca0a3
MP
338722012-03-07 Marek Polacek <polacek@redhat.com>
33873
33874 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33875
65b81130
MP
338762012-03-08 Marek Polacek <polacek@redhat.com>
33877
33878 [BZ #13806]
33879 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33880 * stdio-common/tst-fphex.c: Define a few macros to make the
33881 test reusable. Use them.
33882 * stdio-common/tst-fphex-wide.c: New file.
33883
07037eeb
JM
338842012-03-08 Joseph Myers <joseph@codesourcery.com>
33885
a7a93d50
JM
33886 [BZ #6911]
33887 * manual/macros.texi (gnusystems): New macro.
33888 (nongnusystems): Likewise.
33889 (gnulinuxhurdsystems): Likewise.
33890 (gnuhurdsystems): Likewise..
33891 (gnulinuxsystems): Likewise.
33892 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33893 variants of the GNU system, not "GNU system".
33894 * manual/conf.texi: Likewise.
33895 * manual/errno.texi: Likewise. Update example of errno macro
33896 expansion.
33897 * manual/filesys.texi: Likewise.
33898 (getumask): Document as specific to GNU/Hurd.
33899 * manual/install.texi: Likewise. Reword some references to
33900 GNU/Linux.
33901 * manual/intro.texi: Likewise.
33902 * manual/io.texi: Likewise.
33903 (File Name Portability): Detail which constraints are inapplicable
33904 to all GNU systems and which are only inapplicable to GNU/Hurd.
33905 * manual/job.texi: Likewise.
33906 * manual/llio.texi: Likewise.
33907 (O_NOCTTY): Document as present on GNU/Linux.
33908 * manual/maint.texi: Likewise.
33909 * manual/memory.texi: Likewise.
33910 * manual/pattern.texi: Likewise.
33911 * manual/pipe.texi: Likewise.
33912 * manual/process.texi: Likewise.
33913 * manual/resource.texi: Likewise.
33914 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33915 child on GNU/Hurd.
33916 * manual/setjmp.texi: Likewise.
33917 * manual/signal.texi: Likewise.
33918 * manual/startup.texi: Likewise.
33919 * manual/stdio.texi: Likewise.
33920 * manual/terminal.texi: Likewise.
33921 (ONLCR): Document as POSIX.
33922 (OXTABS): Document availability on GNU/Linux as XTABS.
33923 (ONOEOT): Document availability separately from other bits.
33924 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33925 * manual/time.texi: Likewise.
33926 * manual/users.texi: Likewise.
33927 * INSTALL: Regenerated.
33928 * sysdeps/gnu/errlist.c: Regenerated.
33929
07037eeb
JM
33930 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33931 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33932 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33933 puts.
33934 * configure: Regenerated.
33935
d1d3431a
JM
339362012-03-07 Joseph Myers <joseph@codesourcery.com>
33937
af6a1e37
JM
33938 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33939 default includes instead of AC_HEADER_CHECK.
33940 * sysdeps/i386/configure: Regenerated.
33941
d1d3431a
JM
33942 [BZ #10716]
33943 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33944 * math/s_cacoshf.c (__cacoshf): Likewise.
33945 * math/s_cacoshl.c (__cacoshl): Likewise.
33946 * math/s_casinh.c (__casinh): Set signs of result from argument.
33947 * math/s_casinhf.c (__casinhf): Likewise.
33948 * math/s_casinhl.c (__casinhl): Likewise.
33949 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33950 (casinh_test): Add more tests.
33951 * sysdeps/i386/fpu/libm-test-ulps: Update.
33952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33953
482ff4da
UD
339542012-03-07 Ulrich Drepper <drepper@gmail.com>
33955
872fda05
UD
33956 * po/zh_TW.po: Update from translation team.
33957
a4300c7a
UD
33958 * login/Makefile (distribute): Remove variable.
33959 * catgets/Makefile: Likewise.
33960 * mach/Makefile: Likewise.
33961 * malloc/Makefile: Likewise.
33962 * misc/Makefile: Likewise.
33963 * iconv/Makefile: Likewise.
33964 * nscd/Makefile: Likewise.
33965 * hurd/Makefile: Likewise.
33966 * manual/Makefile: Likewise.
33967 * locale/Makefile: Likewise.
33968 * intl/Makefile: Likewise.
33969 * conform/Makefile: Likewise.
33970 * nss/Makefile: Likewise.
33971 * time/Makefile: Likewise.
33972 * soft-fp/Makefile: Likewise.
33973 * dirent/Makefile: Likewise.
33974 * gmon/Makefile: Likewise.
33975 * po/Makefile: Likewise.
33976 * rt/Makefile: Likewise.
33977 * socket/Makefile: Likewise.
33978 * math/Makefile: Likewise.
33979 * signal/Makefile: Likewise.
33980 * debug/Makefile: Likewise.
33981 * elf/Makefile: Likewise.
33982 * timezone/Makefile: Likewise.
33983 * stdlib/Makefile: Likewise.
33984 * iconvdata/Makefile: Likewise.
33985 * sunrpc/Makefile: Likewise.
33986 * io/Makefile: Likewise.
33987 * argp/Makefile: Likewise.
33988 * inet/Makefile: Likewise.
33989 * hesiod/Makefile: Likewise.
33990 * grp/Makefile: Likewise.
33991 * csu/Makefile: Likewise.
33992 * wctype/Makefile: Likewise.
33993 * crypt/Makefile: Likewise.
33994 * libio/Makefile: Likewise.
33995 * string/Makefile: Likewise.
33996 * nis/Makefile: Likewise.
33997 * resolv/Makefile: Likewise.
33998 * stdio-common/Makefile: Likewise.
33999 * wcsmbs/Makefile: Likewise.
34000 * dlfcn/Makefile: Likewise.
34001 * posix/Makefile: Likewise.
34002
3b7c4e74 34003 [BZ #6959]
482ff4da
UD
34004 * timezone/Makefile: Don't install timezone files, just the programs
34005 and scripts.
34006
f72ed77d
UD
340072012-03-06 Ulrich Drepper <drepper@gmail.com>
34008
a000466f
UD
34009 * nss/databases.def: Add missing gshadow entry.
34010
f72ed77d
UD
34011 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34012
a53b7a4e
MP
340132012-03-06 Marek Polacek <polacek@redhat.com>
34014
34015 [BZ #13726]
34016 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34017 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34018 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34019 * stdio-common/tst-long-dbl-fphex.c: New file.
34020
e9258400
DM
340212012-03-06 David S. Miller <davem@davemloft.net>
34022
34023 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34024 (set_obp_int): New function.
34025 (get_obp_int): New function.
34026 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34027 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34028 Avoid unused variable warnings on 'val' and use builtin_expect.
34029 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34030 __builtin_expect.
e9258400
DM
34031 (INLINE_CLONE_SYSCALL): Likewise.
34032
3bd2c723
DM
340332012-03-05 David S. Miller <davem@davemloft.net>
34034
34035 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34036
bbb78d03
AS
340372012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34038
884c5db4
AS
34039 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34040
bbb78d03
AS
34041 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34042 only for |x| >= 40.
34043 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34044
1c9f702a 340452012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34046
34047 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34048 Replace gettimeofday with __vdso_gettimeofday.
34049
7be16f82
RM
34050 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34051 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34052 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34053
34054 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34055 time with __vdso_time.
34056
ed58a00f
JM
340572012-03-05 Joseph Myers <joseph@codesourcery.com>
34058
34059 * manual/lang.texi (size_t): Note types to which size_t may be
34060 equivalent with the GNU C Library, but do not describe when
34061 differences between them are significant.
34062
30ee4ced
AJ
340632012-03-05 Andreas Jaeger <aj@suse.de>
34064
34065 * sysdeps/i386/fpu/libm-test-ulps: Update.
34066
b7cd39e8
JM
340672012-03-05 Joseph Myers <joseph@codesourcery.com>
34068
34069 [BZ #3976]
34070 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34071 (__ieee754_pow): Save and restore rounding mode and use
34072 round-to-nearest for main computations.
34073 * math/libm-test.inc (pow_test_tonearest): New function.
34074 (pow_test_towardzero): Likewise.
34075 (pow_test_downward): Likewise.
34076 (pow_test_upward): Likewise.
34077 (main): Call the new functions.
34078 * sysdeps/i386/fpu/libm-test-ulps: Update.
34079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34080
34081 [BZ #3976]
34082 * math/libm-test.inc (cosh_test_tonearest): New function.
34083 (cosh_test_towardzero): Likewise.
34084 (cosh_test_downward): Likewise.
34085 (cosh_test_upward): Likewise.
34086 (sinh_test_tonearest): Likewise.
34087 (sinh_test_towardzero): Likewise.
34088 (sinh_test_downward): Likewise.
34089 (sinh_test_upward): Likewise.
34090 (main): Call the new functions.
34091 * sysdeps/i386/fpu/libm-test-ulps: Update.
34092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34093
6c6a98c9
TV
340942012-03-05 Tom de Vries <tom@codesourcery.com>
34095
34096 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34097 default stack guard is set in last bytes.
34098 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34099
21bb2d2e 341002012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34101
21bb2d2e 34102 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34103
21bb2d2e
AJ
34104 [BZ #13656]
34105 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34106 possibly allocate from heap instead of stack.
34107 * stdio-common/bug-vfprintf-nargs.c: New file.
34108 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34109
c6922934
AS
341102012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34111
34112 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34113
bc957d53
MP
341142012-03-03 Marek Polacek <polacek@redhat.com>
34115
34116 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34117 * math/math_private.h: Likewise.
34118 * stdlib/tst-strtod.c: Likewise.
34119 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34120 * sysdeps/x86_64/bits/atomic.h: Likewise.
34121
6358490d
DM
341222012-03-02 David S. Miller <davem@davemloft.net>
34123
34124 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34125 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34126 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34127 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34128 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34129 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34130 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34131 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34132
01ae168d
RM
341332012-03-02 Roland McGrath <roland@hack.frob.com>
34134
d9a17c07
RM
34135 [BZ #13792]
34136 * manual/examples/README: New file, says the example source files
34137 can be used under GPL>=2.
34138 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34139 line containing just "*/".
34140 * manual/examples/add.c: Add copyright header (GPL>=2).
34141 * manual/examples/argp-ex1.c: Likewise.
34142 * manual/examples/argp-ex2.c: Likewise.
34143 * manual/examples/argp-ex3.c: Likewise.
34144 * manual/examples/argp-ex4.c: Likewise.
34145 * manual/examples/atexit.c: Likewise.
34146 * manual/examples/db.c: Likewise.
34147 * manual/examples/dir.c: Likewise.
34148 * manual/examples/dir2.c: Likewise.
34149 * manual/examples/execinfo.c: Likewise.
34150 * manual/examples/filecli.c: Likewise.
34151 * manual/examples/filesrv.c: Likewise.
34152 * manual/examples/fmtmsgexpl.c: Likewise.
34153 * manual/examples/genpass.c: Likewise.
34154 * manual/examples/inetcli.c: Likewise.
34155 * manual/examples/inetsrv.c: Likewise.
34156 * manual/examples/isockad.c: Likewise.
34157 * manual/examples/longopt.c: Likewise.
34158 * manual/examples/memopen.c: Likewise.
34159 * manual/examples/memstrm.c: Likewise.
34160 * manual/examples/mkfsock.c: Likewise.
34161 * manual/examples/mkisock.c: Likewise.
34162 * manual/examples/mygetpass.c: Likewise.
34163 * manual/examples/pipe.c: Likewise.
34164 * manual/examples/popen.c: Likewise.
34165 * manual/examples/rprintf.c: Likewise.
34166 * manual/examples/search.c: Likewise.
34167 * manual/examples/select.c: Likewise.
34168 * manual/examples/setjmp.c: Likewise.
34169 * manual/examples/sigh1.c: Likewise.
34170 * manual/examples/sigusr.c: Likewise.
34171 * manual/examples/stpcpy.c: Likewise.
34172 * manual/examples/strdupa.c: Likewise.
34173 * manual/examples/strftim.c: Likewise.
34174 * manual/examples/strncat.c: Likewise.
34175 * manual/examples/subopt.c: Likewise.
34176 * manual/examples/swapcontext.c: Likewise.
34177 * manual/examples/termios.c: Likewise.
34178 * manual/examples/testopt.c: Likewise.
34179 * manual/examples/testpass.c: Likewise.
34180 * manual/examples/timeval_subtract.c: Likewise.
34181
01ae168d
RM
34182 [BZ #13792]
34183 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34184 function to ...
34185 * manual/timeval_subtract.c.texi: ... here, new file.
34186
49efa33d
DM
341872012-03-02 David S. Miller <davem@davemloft.net>
34188
34189 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34190
28afd92d
JM
341912012-03-02 Joseph Myers <joseph@codesourcery.com>
34192
804360ed
JM
34193 [BZ #3976]
34194 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34195 (__sin): Save and restore rounding mode and use round-to-nearest
34196 for all computations.
34197 (__cos): Save and restore rounding mode and use round-to-nearest
34198 for all computations.
34199 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34200 <fenv.h>.
34201 (tan): Save and restore rounding mode and use round-to-nearest for
34202 all computations.
34203 * math/libm-test.inc (cos_test_tonearest): New function.
34204 (cos_test_towardzero): Likewise.
34205 (cos_test_downward): Likewise.
34206 (cos_test_upward): Likewise.
34207 (sin_test_tonearest): Likewise.
34208 (sin_test_towardzero): Likewise.
34209 (sin_test_downward): Likewise.
34210 (sin_test_upward): Likewise.
34211 (tan_test_tonearest): Likewise.
34212 (tan_test_towardzero): Likewise.
34213 (tan_test_downward): Likewise.
34214 (tan_test_upward): Likewise.
34215 (main): Call the new functions.
34216 * sysdeps/i386/fpu/libm-test-ulps: Update.
34217 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34218
a6d06d7b
JM
34219 [BZ #10135]
34220 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34221 small n, then large n, before computing and testing k+n.
34222 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34223 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34224 Likewise.
34225 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34226 Likewise.
34227 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34228 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34229 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34230 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34231 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34232 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34233 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34234 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34235 * math/libm-test.inc (scalbn_test): Add more tests.
34236 (scalbln_test): Likewise.
34237
07e12bb3
JM
34238 * manual/filesys.texi (mode_t): Describe constraints on size and
34239 signedness, not exact equivalence to a particular type.
34240 (ino_t): Likewise.
34241 (ino64_t): Likewise.
34242 (dev_t): Likewise.
34243 (nlink_t): Likewise.
34244 (blkcnt_t): Likewise.
34245 (blkcnt64_t): Likewise.
34246 * manual/llio.texi (off_t): Likewise.
34247
28afd92d
JM
34248 [BZ #3976]
34249 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34250 (__ieee754_exp): Save and restore rounding mode and use
34251 round-to-nearest for all computations.
34252 * math/libm-test.inc (exp_test_tonearest): New function.
34253 (exp_test_towardzero): Likewise.
34254 (exp_test_downward): Likewise.
34255 (exp_test_upward): Likewise.
34256 (main): Call the new functions.
34257 * sysdeps/i386/fpu/libm-test-ulps: Update.
34258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34259
b1eeb65d
CD
342602012-03-01 Chris Demetriou <cgd@google.com>
34261
34262 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34263 have predictable order.
34264
53362a4b
DM
342652012-03-01 David S. Miller <davem@davemloft.net>
34266
3c969083
DM
34267 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34268
759707de
DM
34269 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34270 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34271 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34272 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34273
dfdb8ff2
DM
34274 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34275 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34276 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34278 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34279 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34280 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34281 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34282 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34283
ead89f96
DM
34284 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34285
7f66bd07
DM
34286 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34287 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34288 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34289
53362a4b
DM
34290 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34291 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34292 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34293 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34294 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34295 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34296 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34297 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34298 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34299 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34300 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34301 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34302 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34303 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34304 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34305 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34306 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34307 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34308 * sysdeps/sparc/elf/configure: Regenerated.
34309
7b1902cb
JM
343102012-03-01 Joseph Myers <joseph@codesourcery.com>
34311
bec039bc
JM
34312 * configure.in (AS, LD): Require binutils 2.20 or later.
34313 * configure: Regenerated.
34314 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34315 as required minimum version.
34316 * INSTALL: Regenerated.
34317
7b1902cb
JM
34318 [BZ #2541]
34319 [BZ #4108]
34320 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34321 before squaring exponent.
34322 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34323 bottom long double and 27 bits of top long double before squaring
34324 exponent.
34325 * math/libm-test.inc (erfc_test): Add more tests.
34326 * sysdeps/i386/fpu/libm-test-ulps: Update.
34327 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34329
f775c276
KT
343302012-03-01 Kai Tietz <ktietz@redhat.com>
34331
34332 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34333 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34334 containing bit-fields.
34335 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34336 * soft-fp/single.h (_FP_UNION_S): Likewise.
34337 * soft-fp/double.h (_FP_UNION_D): Likewise.
34338
5b8a4d4a
JM
343392012-02-29 Joseph Myers <joseph@codesourcery.com>
34340
0bab47b6
JM
34341 [BZ #13786]
34342 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34343 not include ../strcmp.S.
34344 [USE_AS_STRNCASECMP_L]: Likewise.
34345 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34346 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34347 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34348 (__strncasecmp_l_ia32): Define as alias to
34349 __strncasecmp_l_nonascii.
34350
0fcad3e2
JM
34351 [BZ #5794]
34352 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34353 * sysdeps/i386/fpu/libm-test-ulps: Update.
34354 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34355
5b8a4d4a
JM
34356 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34357 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34358
8fdceb2e
JL
343592012-02-29 Jeff Law <law@redhat.com>
34360
34361 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34362 out of bounds read.
34363
1f393a11
MP
343642012-02-29 Marek Polacek <polacek@redhat.com>
34365
34366 [BZ #13706]
34367 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34368 * elf/Makefile: Add rules to run tst-unused-dep.out.
34369
8847f037
DM
343702012-02-28 David S. Miller <davem@davemloft.net>
34371
34372 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34373 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34374 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34375 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34376 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34377 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34378
169d7f11
JM
343792012-02-29 Joseph Myers <joseph@codesourcery.com>
34380
34381 * math/libm-test.inc (llround_test): Move one test from
34382 lround_test. Use TEST_f_L in moved test.
34383 (lround_test): Move misplaced test to llround_test. Add testcase
34384 from bug 2561.
34385
39adf059
UD
343862012-02-28 Ulrich Drepper <drepper@gmail.com>
34387
34388 * sysdeps/x86_64/fpu/e_expf.S: New file.
34389 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34390
71b5d1c5
SB
343912012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34392
34393 [BZ #13637]
34394 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34395 of remain_len that may cause incomplete multi-byte character and
34396 false match.
34397 * posix/bug-regex33.c: New file.
34398 * posix/Makefile (tests): Add bug-regex33.
34399
1f77f049
JM
344002012-02-28 Joseph Myers <joseph@codesourcery.com>
34401
34402 * manual/macros.texi: New file.
34403 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34404 * manual/libc.texinfo: Include macros.texi.
34405 * manual/creatute.texi: Likewise.
34406 * manual/install.texi: Likewise.
34407 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34408 @glibcadj{} in references to the GNU C Library.
34409 * manual/charset.texi: Likewise.
34410 * manual/conf.texi: Likewise.
34411 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34412 when not using those macros.
34413 * manual/creature.texi: Likewise.
34414 * manual/crypt.texi: Likewise.
34415 * manual/errno.texi: Likewise.
34416 * manual/filesys.texi: Likewise.
34417 * manual/header.texi: Likewise.
34418 * manual/install.texi: Likewise.
34419 * manual/intro.texi: Likewise.
34420 * manual/io.texi: Likewise.
34421 * manual/job.texi: Likewise.
34422 * manual/lang.texi: Likewise.
34423 * manual/libc.texiinfo: Likewise.
34424 * manual/llio.texi: Likewise.
34425 * manual/locale.texi: Likewise.
34426 * manual/maint.texi: Likewise.
34427 * manual/math.texi: Likewise.
34428 * manual/memory.texi: Likewise.
34429 * manual/message.texi: Likewise.
34430 * manual/nss.texi: Likewise.
34431 * manual/pattern.texi: Likewise.
34432 * manual/process.texi: Likewise.
34433 * manual/resource.texi: Likewise.
34434 * manual/search.texi: Likewise.
34435 * manual/setjmp.texi: Likewise.
34436 * manual/signal.texi: Likewise.
34437 * manual/socket.texi: Likewise.
34438 * manual/startup.texi: Likewise.
34439 * manual/stdio.texi: Likewise.
34440 * manual/string.texi: Likewise.
34441 * manual/sysinfo.texi: Likewise.
34442 * manual/syslog.texi: Likewise.
34443 * manual/terminal.texi: Likewise.
34444 * manual/time.texi: Likewise.
34445 * manual/users.texi: Likewise.
34446 * INSTALL: Regenerated.
34447 * NOTES: Regenerated.
d40c5d54 34448 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34449
450bf206
AS
344502012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34451
34452 * include/dirent.h: Include <dirstream.h> before
34453 <dirent/dirent.h>.
34454
741a235b
DM
344552012-02-28 David S. Miller <davem@davemloft.net>
34456
34457 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34458 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34459 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34460 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34461
d6b5aa58
DM
344622012-02-27 David S. Miller <davem@davemloft.net>
34463
1aff59a3
DM
34464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34466 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34467 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34468
d6b5aa58
DM
34469 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34470 frame pointer instead of stack pointer relative arg slot.
34471 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34472 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34473 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34474
433f48bf
CD
344752012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34476
34477 [BZ #3992]
34478 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34479
d674b76d
DM
344802012-02-27 David S. Miller <davem@davemloft.net>
34481
34482 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34483 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34484 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34486 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34487 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34488 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34489 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34490
0e7727f7
JM
344912012-02-27 Joseph Myers <joseph@codesourcery.com>
34492
34493 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34494 later. Allow versions 5-9.
43be4ca2 34495 * configure: Regenerated.
0e7727f7
JM
34496 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34497 required minimum version and 4.6 as recommended version. Do not
34498 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34499 * INSTALL: Regenerated.
0e7727f7 34500
a78bc654
DM
345012012-02-27 David S. Miller <davem@davemloft.net>
34502
428d5830
DM
34503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34507 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34508 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34509 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34510 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34511
a78bc654
DM
34512 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34513 manipulate bits before adding and subtracting TWO112[sx].
34514 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34515
4579f81c
RM
345162012-02-27 Roland McGrath <roland@hack.frob.com>
34517
36c8acb4
RM
34518 [BZ #13775]
34519 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34520 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34521 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34522 being in POSIX, because they are in 1003.1-2008.
34523
84ad622b
RM
34524 * rt/tst-aio.c: Include <fcntl.h>.
34525 * rt/tst-aio7.c: Likewise.
34526 * rt/tst-aio64.c: Likewise.
34527
4579f81c
RM
34528 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34529
abd923db
JM
345302012-02-27 Joseph Myers <joseph@codesourcery.com>
34531
34532 * manual/install.texi (--with-headers): Describe headers as
34533 interface headers, not private headers.
34534 (Specific advice for GNU/Linux systems): Describe use of headers
34535 from "make headers_install", not private headers from older
34536 kernels.
43be4ca2 34537 * INSTALL: Regenerated.
abd923db
JM
34538 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34539 Change to 2.6.19.
34540 * sysdeps/unix/sysv/linux/configure: Regenerated.
34541
6664049b
JM
34542 * manual/llio.texi (fclean): Remove documentation.
34543
bb8b6697
JM
34544 * manual/Makefile (libc-texi-generated): New variable. Include
34545 version.texi.
34546 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34547 $(libc-texi-generated), not duplicated list of files.
34548 (version.texi, stamp-version): New rules.
34549 (realclean): Remove $(libc-texi-generated), not individual files
34550 from that list. Do not remove dir-add.texinfo.
34551 * manual/libc.texinfo: Comment out uses of edition numbers and
34552 references to printed manual. Remove last-updated dates.
34553 (EDITION): Comment out.
34554 (ISBN): Likewise.
34555 (VERSION, UPDATED): Remove.
34556 (version.texi): Include.
34557
12e5c3b9
AS
345582012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34559
34560 * sysdeps/posix/spawni.c: Include <signal.h>.
34561 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34562 * sysdeps/pthread/aio_fsync.c: Likewise.
34563
4efeffc1 345642012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34565
ba63ba08
UD
34566 * conform/Makefile (tests): Run only when not cross-compiling and
34567 when fast-check is not defined.
34568
d94a4670
UD
34569 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34570 * conform/data/limits.h-data: Fixes for POSIX2008.
34571 * conform/run-conformtest.sh: Run all tests.
34572 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34573 headers.
34574 * include/bits/dlfcn.h: Likewise.
34575 * include/langinfo.h: Likewise.
34576 * include/monetary.h: Likewise.
34577 * include/sys/poll.h: Likewise.
34578
34579 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34580 for __USE_GNU.
34581 * posix/spawn.h: Define __need_sigset_t.
34582 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34583 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34584 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34585 to get sigevent_t only.
34586 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34587 only for __USE_GNU.
34588 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34589 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34590 process_vm_writev only for __USE_GNU.
34591 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34592
34593 * conform/Makefile: For now ignore errors from run-conformtest.
34594 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34595 POSIX to avoid namespace pollution. Don't prepend headers.
34596 * conform/data/aio.h-data: Fixes for POSIX testing.
34597 * conform/data/fcntl.h-data: Likewise.
34598 * conform/data/glob.h-data: Likewise.
34599 * conform/data/grp.h-data: Likewise.
34600 * conform/data/pthread.h-data: Likewise.
34601 * conform/data/pwd.h-data: Likewise.
34602 * conform/data/signal.h-data: Likewise.
34603 * conform/data/spawn.h-data: Likewise.
34604 * conform/data/stdio.h-data: Likewise.
34605 * conform/data/stdlib.h-data: Likewise.
34606 * conform/data/stropts.h-data: Likewise.
34607 * conform/data/sys/mman.h-data: Likewise.
34608 * conform/data/sys/stat.h-data: Likewise.
34609 * conform/data/sys/types.h-data: Likewise.
34610 * conform/data/sys/wait.h-data: Likewise.
34611 * conform/data/time.h-data: Likewise.
34612 * conform/data/unistd.h-data: Likewise.
34613 * conform/data/utime.h-data: Likewise.
34614
34615 * io/sys/stat.h: fchmod was always in POSIX.
34616 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34617 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34618 * rt/aio.h: Define __need_timespec before including <time.h>.
34619 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34620 struct. Add forward declaration of pthread_attr_t and use it in
34621 sigevent.
34622 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34623 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34624 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34625 always remove CLK_TCK definition.
34626
c20105c3
AS
346272012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34628
34629 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34630
7a270350
UD
346312012-02-25 Ulrich Drepper <drepper@gmail.com>
34632
31341567
UD
34633 * conform/run-conformtest.sh: New file.
34634 * conform/Makefile: Run run-conformtest for tests.
34635 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34636 support.
34637
34638 * conform/data/uchar.h-data: New file.
34639 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34640 * conform/data/arpa/inet.h-data: Likewise.
34641 * conform/data/assert.h-data: Likewise.
34642 * conform/data/complex.h-data: Likewise.
34643 * conform/data/cpio.h-data: Likewise.
34644 * conform/data/ctype.h-data: Likewise.
34645 * conform/data/dirent.h-data: Likewise.
34646 * conform/data/dlfcn.h-data: Likewise.
34647 * conform/data/errno.h-data: Likewise.
34648 * conform/data/fcntl.h-data: Likewise.
34649 * conform/data/float.h-data: Likewise.
34650 * conform/data/fmtmsg.h-data: Likewise.
34651 * conform/data/fnmatch.h-data: Likewise.
34652 * conform/data/ftw.h-data: Likewise.
34653 * conform/data/glob.h-data: Likewise.
34654 * conform/data/grp.h-data: Likewise.
34655 * conform/data/iconv.h-data: Likewise.
34656 * conform/data/inttypes.h-data: Likewise.
34657 * conform/data/langinfo.h-data: Likewise.
34658 * conform/data/libgen.h-data: Likewise.
34659 * conform/data/limits.h-data: Likewise.
34660 * conform/data/locale.h-data: Likewise.
34661 * conform/data/math.h-data: Likewise.
34662 * conform/data/monetary.h-data: Likewise.
34663 * conform/data/mqueue.h-data: Likewise.
34664 * conform/data/ndbm.h-data: Likewise.
34665 * conform/data/net/if.h-data: Likewise.
34666 * conform/data/netdb.h-data: Likewise.
34667 * conform/data/netinet/in.h-data: Likewise.
34668 * conform/data/nl_types.h-data: Likewise.
34669 * conform/data/poll.h-data: Likewise.
34670 * conform/data/pthread.h-data: Likewise.
34671 * conform/data/pwd.h-data: Likewise.
34672 * conform/data/regex.h-data: Likewise.
34673 * conform/data/sched.h-data: Likewise.
34674 * conform/data/search.h-data: Likewise.
34675 * conform/data/semaphore.h-data: Likewise.
34676 * conform/data/setjmp.h-data: Likewise.
34677 * conform/data/signal.h-data: Likewise.
34678 * conform/data/spawn.h-data: Likewise.
34679 * conform/data/stdarg.h-data: Likewise.
34680 * conform/data/stdio.h-data: Likewise.
34681 * conform/data/stdlib.h-data: Likewise.
34682 * conform/data/string.h-data: Likewise.
34683 * conform/data/strings.h-data: Likewise.
34684 * conform/data/stropts.h-data: Likewise.
34685 * conform/data/sys/ipc.h-data: Likewise.
34686 * conform/data/sys/mman.h-data: Likewise.
34687 * conform/data/sys/msg.h-data: Likewise.
34688 * conform/data/sys/resource.h-data: Likewise.
34689 * conform/data/sys/select.h-data: Likewise.
34690 * conform/data/sys/sem.h-data: Likewise.
34691 * conform/data/sys/shm.h-data: Likewise.
34692 * conform/data/sys/socket.h-data: Likewise.
34693 * conform/data/sys/stat.h-data: Likewise.
34694 * conform/data/sys/statvfs.h-data: Likewise.
34695 * conform/data/sys/time.h-data: Likewise.
34696 * conform/data/sys/timeb.h-data: Likewise.
34697 * conform/data/sys/times.h-data: Likewise.
34698 * conform/data/sys/types.h-data: Likewise.
34699 * conform/data/sys/uio.h-data: Likewise.
34700 * conform/data/sys/un.h-data: Likewise.
34701 * conform/data/sys/utsname.h-data: Likewise.
34702 * conform/data/sys/wait.h-data: Likewise.
34703 * conform/data/syslog.h-data: Likewise.
34704 * conform/data/tar.h-data: Likewise.
34705 * conform/data/termios.h-data: Likewise.
34706 * conform/data/utime.h-data: Likewise.
34707 * conform/data/utmpx.h-data: Likewise.
34708 * conform/data/varargs.h-data: Likewise.
34709 * conform/data/wchar.h-data: Likewise.
34710 * conform/data/wctype.h-data: Likewise.
34711 * conform/data/wordexp.h-data: Likewise.
34712
34713 * include/stropts.h: New file.
34714 * include/uchar.h: New file.
34715 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34716 * include/assert.h: Likewise.
34717 * include/ctype.h: Likewise.
34718 * include/dirent.h: Likewise.
34719 * include/dlfcn.h: Likewise.
34720 * include/fcntl.h: Likewise.
34721 * include/fnmatch.h: Likewise.
34722 * include/glob.h: Likewise.
34723 * include/grp.h: Likewise.
34724 * include/libio.h: Likewise.
34725 * include/locale.h: Likewise.
34726 * include/math.h: Likewise.
34727 * include/net/if.h: Likewise.
34728 * include/netdb.h: Likewise.
34729 * include/netinet/in.h: Likewise.
34730 * include/pthread.h: Likewise.
34731 * include/pwd.h: Likewise.
34732 * include/regex.h: Likewise.
34733 * include/sched.h: Likewise.
34734 * include/search.h: Likewise.
34735 * include/setjmp.h: Likewise.
34736 * include/signal.h: Likewise.
34737 * include/stdio.h: Likewise.
34738 * include/stdlib.h: Likewise.
34739 * include/string.h: Likewise.
34740 * include/sys/cdefs.h: Likewise.
34741 * include/sys/mman.h: Likewise.
34742 * include/sys/msg.h: Likewise.
34743 * include/sys/resource.h: Likewise.
34744 * include/sys/select.h: Likewise.
34745 * include/sys/socket.h: Likewise.
34746 * include/sys/stat.h: Likewise.
34747 * include/sys/statvfs.h: Likewise.
34748 * include/sys/time.h: Likewise.
34749 * include/sys/times.h: Likewise.
34750 * include/sys/uio.h: Likewise.
34751 * include/sys/utsname.h: Likewise.
34752 * include/sys/wait.h: Likewise.
34753 * include/termios.h: Likewise.
34754 * include/time.h: Likewise.
34755 * include/ulimit.h: Likewise.
34756 * include/unistd.h: Likewise.
34757 * include/utime.h: Likewise.
34758 * include/wchar.h: Likewise.
34759 * include/wctype.h: Likewise.
34760 * include/wordexp.h: Likewise.
34761
34762 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34763
7a270350
UD
34764 * time/time.h: TIME_UTC must be a macro.
34765 Make timespec_get available for ISO C11 only as well.
34766
7724defc
UD
347672012-02-24 Ulrich Drepper <drepper@gmail.com>
34768
34769 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34770 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34771
6b1d1d46
JM
347722012-02-24 Joseph Myers <joseph@codesourcery.com>
34773
34774 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34775
0f8bbd69
JM
347762012-02-24 Joseph Myers <joseph@codesourcery.com>
34777
34778 * manual/texinfo.tex: Update to version 2012-01-19.16.
34779
66ab80bc
JM
347802012-02-24 Joseph Myers <joseph@codesourcery.com>
34781
34782 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34783
74981cc5
RM
347842012-02-24 Roland McGrath <roland@hack.frob.com>
34785
ee968201
RM
34786 [BZ #13738]
34787 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34788 * manual/fdl-1.3.texi: New file.
34789 * manual/fdl-1.1.texi: File removed.
34790
74981cc5
RM
34791 [BZ #13738]
34792 * manual/libc.texinfo (FDL_VERSION): New @set.
34793 Use it for mention of FDL in cover text.
34794 (Documentation License): Use it in @include file name.
34795
7bb764bc
JM
347962012-02-22 Joseph Myers <joseph@codesourcery.com>
34797 Roland McGrath <roland@hack.frob.com>
34798
34799 [BZ #5461]
34800 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34801 not LONG_LONG_MAX and LONG_LONG_MIN.
34802 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34803 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34804 name.
34805 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34806
6cbeae47
JM
348072012-02-22 Joseph Myers <joseph@codesourcery.com>
34808
34809 [BZ #2547]
34810 [BZ #11365]
34811 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34812 manipulate bits before adding and subtracting TWO23[sx].
34813 * math/libm-test.inc (nearbyint_test): Add more tests.
34814
fe45ce09
JM
348152012-02-22 Joseph Myers <joseph@codesourcery.com>
34816
34817 [BZ #2548]
34818 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34819 bits before adding and subtracting TWO23[sx].
34820 * math/libm-test.inc (rint_test): Add more tests.
34821 (rint_test_tonearest): Likewise.
34822 (rint_test_towardzero): Likewise.
34823 (rint_test_downward): Likewise.
34824 (rint_test_upward: Likewise.
34825
ff3b3d82
JM
348262012-02-22 Joseph Myers <joseph@codesourcery.com>
34827
34828 [BZ #10110]
34829 * include/stdc-predef.h: New file. Extracted from features.h.
34830 * include/features.h: Include stdc-predef.h.
34831 * Makefile (headers): Add stdc-predef.h.
34832 * CONFORMANCE (Compiler limitations): Update.
34833
ef0aab35
JM
348342012-02-22 Joseph Myers <joseph@codesourcery.com>
34835
34836 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34837
58639409
DM
348382012-02-21 David S. Miller <davem@davemloft.net>
34839
34840 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34841 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34842
c0e70b25
DM
348432012-02-20 David S. Miller <davem@davemloft.net>
34844
34845 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34846 using a normal save/restore sequence, rather than allocating a
34847 dummy stack frame just to store a frame pointer and restore.
34848 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34849
fb06851d
JM
348502012-02-21 Joseph Myers <joseph@codesourcery.com>
34851
34852 * manual/install.texi: Fix stray word in line-wrapped comment.
34853
7a8b71c3
DM
348542012-02-20 David S. Miller <davem@davemloft.net>
34855
d510c123
DM
34856 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34857 both binutils and gcc support GOTDATA.
34858
0722d7c2
DM
34859 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34860 "rd %pc" in the PIC register setup sequences.
34861
3d2b3019
DM
34862 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34863 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34864 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34865 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34866 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34867 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34868 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34869 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34870 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34871 (SYSCALL_ERROR_HANDLER): Likewise.
34872 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34873 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34874 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34875 (SYSCALL_ERROR_HANDLER): Likewise.
34876
c80098a9
DM
34877 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34878 (HAVE_GCC_GOTDATA): New.
34879 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34880 relocation support in both binutils and gcc.
34881 * sysdeps/sparc/elf/configure: Regenerate.
34882
3a2545a0
DM
34883 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34884 * sysdeps/sparc/sparc32/elf/configure: Delete.
34885 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34886 * sysdeps/sparc/sparc64/elf/configure: Delete.
34887 * sysdeps/sparc/elf/configure.in: New file.
34888 * sysdeps/sparc/elf/configure: Generate.
34889
7a8b71c3
DM
34890 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34891 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34892 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34893 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34894 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34895
f1e86fca
JM
348962012-02-21 Joseph Myers <joseph@codesourcery.com>
34897
34898 * manual/install.texi: Do not mention specific glibc version
34899 numbers.
34900 * manual/libc.texinfo (VERSION, UPDATED): Update.
34901 (@copying): Use @copyright{} and range of years.
34902
0e7dfaef
JM
349032012-02-21 Joseph Myers <joseph@codesourcery.com>
34904
34905 [BZ #13695]
34906 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34907 [crti.S not in sysdirs] (generated): Do not append.
34908 [crti.S not in sysdirs] (omit-deps): Likewise.
34909 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34910 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34911 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34912 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34913 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34914 Likewise.
34915 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34916 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34917 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34918 * csu/defs.awk: Remove file.
34919 * sysdeps/generic/initfini.c: Likewise.
34920 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34921 variable.
34922 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34923 Likewise.
34924
599af3ca
JM
349252012-02-20 Joseph Myers <joseph@codesourcery.com>
34926
34927 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34928 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34929 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34930 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34931 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34932 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34933 <bits/epoll.h>.
34934 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34935 (__EPOLL_PACKED): Define to empty if not defined by
34936 <bits/epoll.h>.
34937 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34938 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34939 bits/epoll.h.
34940
0e499750
JM
349412012-02-20 Joseph Myers <joseph@codesourcery.com>
34942
34943 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34944 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34945 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34946 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34947 <bits/timerfd.h>.
34948 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34949 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34950 bits/timerfd.h.
34951
5ad91f6e
JM
349522012-02-20 Joseph Myers <joseph@codesourcery.com>
34953
34954 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34955 in C locale.
34956 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34957 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34958 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34960
06b99b02
AJ
349612012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34962
34963 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34964 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34965
7638c0fd
AS
349662012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34967
34968 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34969 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34970 defined.
34971 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34972 Likewise.
34973 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34974 entry for 2.16.
34975
92221550
AJ
349762012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34977
34978 * math/w_acos.c: Use non-signaling floating-point comparisons.
34979 * math/w_acosf.c: Likewise.
34980 * math/w_acosh.c: Likewise.
34981 * math/w_acoshf.c: Likewise.
34982 * math/w_acoshl.c: Likewise.
34983 * math/w_acosl.c: Likewise.
34984 * math/w_asin.c: Likewise.
34985 * math/w_asinf.c: Likewise.
34986 * math/w_asinl.c: Likewise.
34987 * math/w_atanh.c: Likewise.
34988 * math/w_atanhf.c: Likewise.
34989 * math/w_atanhl.c: Likewise.
34990 * math/w_exp2.c: Likewise.
34991 * math/w_exp2f.c: Likewise.
34992 * math/w_exp2l.c: Likewise.
34993 * math/w_j0.c: Likewise.
34994 * math/w_j0f.c: Likewise.
34995 * math/w_j0l.c: Likewise.
34996 * math/w_j1.c: Likewise.
34997 * math/w_j1f.c: Likewise.
34998 * math/w_j1l.c: Likewise.
34999 * math/w_jn.c: Likewise.
35000 * math/w_jnf.c: Likewise.
35001 * math/w_log.c: Likewise.
35002 * math/w_log10.c: Likewise.
35003 * math/w_log10f.c: Likewise.
35004 * math/w_log10l.c: Likewise.
35005 * math/w_log2.c: Likewise.
35006 * math/w_log2f.c: Likewise.
35007 * math/w_log2l.c: Likewise.
35008 * math/w_logf.c: Likewise.
35009 * math/w_logl.c: Likewise.
35010 * math/w_sqrt.c: Likewise.
35011 * math/w_sqrtf.c: Likewise.
35012 * math/w_sqrtl.c: Likewise.
35013 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35014 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35015 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35016 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35017 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35018
ebaf36eb
JM
350192012-02-19 Joseph Myers <joseph@codesourcery.com>
35020
35021 [BZ #9739]
35022 * manual/string.texi (strnlen): Use correct parameter name in
35023 equivalent expression.
35024
71c254a6
JM
350252012-02-19 Joseph Myers <joseph@codesourcery.com>
35026
35027 [BZ #11174]
35028 * manual/users.texi (seteuid): Consistently use neweuid for
35029 argument name.
35030
16d2c631
JM
350312012-02-19 Joseph Myers <joseph@codesourcery.com>
35032
35033 [BZ #13704]
35034 * manual/nss.texi (Services in the NSS configuration): Correct
35035 list of services in example configuration file.
35036
cd837b09
NB
350372012-02-19 Nick Bowler <nbowler@draconx.ca>
35038
35039 [BZ #11322]
35040 * manual/arith.texi: Remove statements about negative zero
35041 behaving identically to zero.
35042
02c4bbad
JM
350432012-02-18 Joseph Myers <joseph@codesourcery.com>
35044
35045 [BZ #5993]
35046 * manual/install.texi: Do not document upgrading from libc5.
35047
366842e7
JM
350482012-02-18 Joseph Myers <joseph@codesourcery.com>
35049
35050 [BZ #4596]
35051 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35052
dd54084d
DM
350532012-02-18 David S. Miller <davem@davemloft.net>
35054
35055 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35056 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35057 %o7 across the call.
35058 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35059 instead.
35060 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35061 SETUP_PIC_REG_LEAF.
35062 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35063 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35064 * sysdeps/sparc/crtn.S: Likewise.
35065
2bcc53a3
UD
350662012-02-17 Ulrich Drepper <drepper@gmail.com>
35067
35068 * aout/Makefile: Remove.
35069
09c093b5
RK
350702012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35071
35072 [BZ #13058]
35073 * manual/examples/argp-ex1.c (main): Format definition in GNU
35074 style.
35075 * manual/examples/argp-ex2.c (main): Likewise.
35076 * manual/examples/argp-ex3.c (main): Likewise.
35077 * manual/examples/argp-ex4.c (main): Likewise.
35078 * manual/examples/longopt.c (main): Use new-style prototype
35079 definition.
35080 * manual/examples/strncat.c (main): Specify return type and use
35081 (void) for arguments.
35082 * manual/examples/subopt.c (main): Use char **argv argument.
35083
2ee633a2
JM
350842012-02-17 Joseph Myers <joseph@codesourcery.com>
35085
35086 [BZ #5077]
35087 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35088 rounding modes.
35089
0520adde
FB
350902012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35091
35092 [BZ #6907]
35093 * manual/string.texi (strchr): Change when strchrnul is
35094 recommended.
35095
3f4081cd
DGM
350962012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35097
35098 [BZ #174]
35099 * manual/locale.texi (setlocale): Document LOCPATH.
35100
d1b10e78
JM
351012012-02-17 Joseph Myers <joseph@codesourcery.com>
35102
35103 [BZ #10210]
35104 * manual/process.texi (execle): Move @dots{} before last argument.
35105
79c6869c
PB
351062012-02-17 Paul Bolle <pebolle@tiscali.nl>
35107
35108 [BZ #12047]
35109 * manual/charset.texi (Generic Charset Conversion): Fix typo
35110 (LC_TYPE -> LC_CTYPE).
35111
cc6e48bc
NB
351122012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35113
35114 [BZ #5805]
35115 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35116 (scalbnf): Likewise.
35117 (scalbnl): Likewise.
35118 (scalbln): Likewise.
35119 (scalblnf): Likewise.
35120 (scalblnl): Likewise.
35121 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35122 (vwarnx): Likewise.
35123 (verr): Likewise.
35124 (verrx): Likewise.
35125 * manual/filesys.texi (telldir): Use braces around return type.
35126 * manual/llio.texi (mmap): Add space after comma.
35127 (mmap64): Likewise.
35128 * manual/math.texi (jn): Use @var{} on parameter names.
35129 (jnf): Likewise.
35130 (jnl): Likewise.
35131 (yn): Likewise.
35132 (ynf): Likewise.
35133 (ynl): Likewise.
35134 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35135 line.
35136 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35137 "...".
35138 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35139 (sched_get_priority_max): Likewise.
35140 * manual/signal.texi (sigvec): Add space after comma.
35141 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35142 names.
35143 (if_indextoname): Likewise.
35144 (if_freenameindex): Likewise.
35145 (sendto): Use ',' instead of '.' in prototype.
35146 * manual/startup.texi (syscall): Use @dots{} instead of literal
35147 "...".
35148 * manual/stdio.texi (__fpending): Separate initial words of
35149 paragraph from @deftypefun line.
35150 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35151 "...".
35152 (vsyslog): Use @var{} on parameter names.
35153 * manual/terminal.texi (stty): Use @var{} on parameter names.
35154 * manual/users.texi (getutmp): Use @var{} on parameter names.
35155 (getutmpx): Likewise.
35156
5b23062f
JM
351572012-02-17 Joseph Myers <joseph@codesourcery.com>
35158
35159 [BZ #6884]
35160 * manual/stdio.texi (fopen): Fix typos in description of
35161 ",ccs=STRING".
35162
8dee4833
AJ
351632012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35164
35165 [BZ #4026]
35166 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35167 get clock_id definition.
35168
9078ce93
TS
351692012-02-17 Thomas Schwinge <thomas@schwinge.name>
35170
35171 [BZ #4822]
35172 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35173 (madvise): Cast every argument to void on its own.
35174
3835c55f
JM
351752012-02-17 Joseph Myers <joseph@codesourcery.com>
35176
35177 [BZ #9902]
35178 * manual/startup.texi (Exit Status): Fix typo.
35179
35c47e37
JM
351802012-02-17 Joseph Myers <joseph@codesourcery.com>
35181
35182 [BZ #10140]
35183 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35184 * manual/examples/argp-ex2.c: Likewise.
35185 * manual/examples/argp-ex3.c: Likewise.
35186
e3b69ca7
RH
351872012-02-16 Richard Henderson <rth@redhat.com>
35188
35189 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35190 * sysdeps/s390/s390-32/initfini.c: Remove.
35191 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35192 * sysdeps/s390/s390-64/initfini.c: Remove.
35193
df83af67
KK
351942012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35195
35196 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35197 compiler output for sysdeps/generic/initfini.c.
35198 * sysdeps/sh/elf/initfini.c: Remove file.
35199
f63f3380
DM
352002012-02-16 David S. Miller <davem@davemloft.net>
35201
fb59b3a4
DM
35202 [BZ #11494]
35203 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35204
f63f3380
DM
35205 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35206 * sysdeps/sparc/crti.S: New file.
35207 * sysdeps/sparc/crtn.S: New file.
35208 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35209 * sysdeps/sparc/sparc64/Makefile: Likewise.
35210
df6a4a4a
MF
352112012-02-15 Mike Frysinger <vapier@gentoo.org>
35212
6dd8f3dc 35213 [BZ #3335]
df6a4a4a
MF
35214 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35215
1cac7236
RM
352162012-02-15 Roland McGrath <roland@hack.frob.com>
35217
d2c736f8
RM
35218 [BZ #4822]
35219 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35220
1cac7236
RM
35221 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35222 (write, read, close): Likewise.
35223 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35224
8e475601
JM
352252012-02-15 Joseph Myers <joseph@codesourcery.com>
35226
35227 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35228 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35229 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35230 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35231 <bits/signalfd.h>.
35232 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35233 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35234 bits/signalfd.h.
35235
ed656b40
MP
352362012-02-14 Marek Polacek <polacek@redhat.com>
35237
35238 * sysdeps/x86_64/crti.S: New file.
35239 * sysdeps/x86_64/crtn.S: New file.
35240 * sysdeps/x86_64/elf/initfini.c: Remove file.
35241
2a979d3a
JM
352422012-02-13 Joseph Myers <joseph@codesourcery.com>
35243
35244 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35245 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35246 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35247 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35248 <bits/inotify.h>.
35249 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35250 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35251 bits/inotify.h.
35252
2a418ac3
JM
352532012-02-13 Joseph Myers <joseph@codesourcery.com>
35254
35255 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35256 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35257 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35258 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35259 <bits/eventfd.h>.
35260 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35261 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35262 bits/eventfd.h.
35263
fb779be7
TS
352642012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35265
e19e83c5
RM
35266 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35267 __feraiseexcept instead of feraiseexcept.
7c35ffed 35268
fb779be7
TS
35269 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35270 nanosleep invocations.
35271 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35272 strings, and add error checking for a nanosleep invocations.
35273
59ba27a6
PE
352742012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35275
35276 Replace FSF snail mail address with URLs, as per GNU coding standards.
35277 Most of the snail mail addresses were wrong anyway, and omitting
35278 them makes the source code easier to maintain. Almost all of the
35279 changes are to license notices and to locale LC_IDENTIFICATION
35280 addresses, except for this one:
35281 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35282 not its snail mail address.
35283
57b957eb
RH
352842012-02-09 Richard Henderson <rth@twiddle.net>
35285
af850b1c
RH
35286 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35287 of kernel-features.h.
35288
57b957eb
RH
35289 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35290
6b73181a
MP
352912012-02-08 Marek Polacek <polacek@redhat.com>
35292
35293 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35294 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35295 * sysdeps/gnu/_G_config.h: Likewise.
35296 * sysdeps/generic/_G_config.h: Likewise.
35297
26ecc33a
AS
352982012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35299
6c6dbc63
AS
35300 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35301 tests.
35302 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35303
e216c012
AS
35304 * sysdeps/powerpc/powerpc32/crti.S: New file.
35305 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35306 * sysdeps/powerpc/powerpc64/crti.S: New file.
35307 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35308
26ecc33a
AS
35309 * Makeconfig (have-initfini): Don't set.
35310 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35311 * configure.in (nopic_initfini): Don't substitute.
35312 * config.h.in (HAVE_INITFINI): Don't #undef.
35313 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35314 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35315
3add8e13
JM
353162012-02-08 Joseph Myers <joseph@codesourcery.com>
35317
35318 Support crti.S and crtn.S provided directly by architectures.
35319 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35320 [crti.S in sysdirs] (omit-deps): Likewise.
35321 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35322 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35323 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35324 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35325 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35326 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35327 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35328 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35329 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35330 compiler output for sysdeps/generic/initfini.c.
35331 * sysdeps/i386/elf/Makefile: Remove file.
35332 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35333
a22f12b4
MP
353342012-02-07 Marek Polacek <polacek@redhat.com>
35335
35336 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35337 * sysdeps/gnu/_G_config.h: Likewise.
35338 * sysdeps/mach/hurd/_G_config.h: Likewise.
35339
148cf100
MP
353402012-02-07 Marek Polacek <polacek@redhat.com>
35341
35342 * math/Makefile (tests): Add tst-CMPLX2.
35343 * math/tst-CMPLX2.c: New file.
35344
cfdc0dd7
AS
353452012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35346
84ba42c4
AS
35347 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35348
cfdc0dd7
AS
35349 * math/libm-test.inc (jn_test): Add missing L suffix.
35350
622c86f4
MP
353512012-02-06 Marek Polacek <polacek@redhat.com>
35352
35353 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35354 * sysdeps/i386/fpu/e_powf.S: Likewise.
35355 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35356 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35357 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35358 * sysdeps/i386/fpu/e_pow.S: Likewise.
35359 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35360 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35361 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35362 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35363 * sysdeps/i386/fpu/e_log2.S: Likewise.
35364 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35365 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35366 * sysdeps/i386/fpu/e_powl.S: Likewise.
35367 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35368 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35369 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35370 * sysdeps/i386/fpu/e_logl.S: Likewise.
35371 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35372 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35373 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35374 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35375 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35376 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35377 * sysdeps/i386/fpu/e_log.S: Likewise.
35378 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35379 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35380 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35381 * sysdeps/i386/fpu/e_logf.S: Likewise.
35382 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35383 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35384 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35385 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35386 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35387 * sysdeps/i386/fpu/e_log10.S: Likewise.
35388 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35389 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35390 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35391 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35392 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35393 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35394 * sysdeps/i386/asm-syntax.h: Likewise.
35395 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35396 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35397 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35398 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35399 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35400 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35401 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35402 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35403 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35404 * sysdeps/powerpc/sysdep.h: Likewise.
35405 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35406 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35407
d4a54ac6
JM
354082012-02-06 Joseph Myers <joseph@codesourcery.com>
35409
35410 [BZ #411]
35411 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35412
314054ea
JM
354132012-02-06 Joseph Myers <joseph@codesourcery.com>
35414
35415 * sysdeps/i386/sysdep.h: Include <features.h>.
35416 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35417 version.
35418
d8e0ca50
JM
354192012-02-05 Joseph Myers <joseph@codesourcery.com>
35420
35421 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35422 Define.
35423 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35424 LOAD_PIC_REG_STR.
35425
b1da7dd9
JM
354262012-02-03 Joseph Myers <joseph@codesourcery.com>
35427
35428 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35429 (SETUP_PIC_REG): Use GET_PC_THUNK.
35430 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35431 macro.
35432
9a1d9254
JM
354332012-02-03 Joseph Myers <joseph@codesourcery.com>
35434
35435 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35436 for non-PIC compilation.
35437 (SETUP_PIC_REG): Add .p2align directive.
35438 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35439 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35440 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35441 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35442 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35443 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35444 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35445 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35446 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35447 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35448 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35449 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35450 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35451 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35452 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35453 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35454 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35455 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35456 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35457 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35458 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35459 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35460 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35461 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35462 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35463 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35464 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35465 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35466 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35467 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35468 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35469 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35470 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35471 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35472 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35473 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35474 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35475 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35476 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35477 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35478 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35479
65dc3b75
JM
354802012-02-03 Joseph Myers <joseph@codesourcery.com>
35481
35482 * math/tst-CMPLX.c: Include <stdio.h>.
35483
d55bf177
JM
354842012-01-31 Joseph Myers <joseph@codesourcery.com>
35485
35486 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35487 float.
35488 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35489 * sysdeps/sparc/bits/mathdef.h: Likewise.
35490
69db4f8f
MP
354912012-01-31 Marek Polacek <polacek@redhat.com>
35492
35493 * libio/libio.h: Don't define _PARAMS.
35494 * locale/programs/config.h: Don't define PARAMS.
35495 * stdlib/strtol_l.c: Likewise.
35496 (__strtol_l): Remove PARAMS from the prototype.
35497
41b81892
UD
354982012-01-31 Ulrich Drepper <drepper@gmail.com>
35499
3b49edc0
UD
35500 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35501 names. Just use the correct names. Remove unnecessary wrapper
35502 functions.
35503 * malloc/arena.c: Likewise.
35504 * malloc/hooks.c: Likewise.
35505
41b81892
UD
35506 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35507 ARENA_TEST says not to. Simplify test for creation of a new arena.
35508 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35509
27a25b6e
UD
355102012-01-30 Ulrich Drepper <drepper@gmail.com>
35511
35512 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35513 into tail calls.
35514 (update_get_addr): New function.
35515 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35516 GET_ADDR_MODULE parameter.
35517
c8a89e7d
JM
355182012-01-30 Joseph Myers <joseph@codesourcery.com>
35519
35520 * crypt/cert.c: Remove __STDC__ conditionals.
35521 * crypt/crypt-entry.c: Likewise.
35522 * crypt/crypt_util.c: Likewise.
35523 * libio/filedoalloc.c: Likewise.
35524 * libio/fileops.c: Likewise.
35525 * libio/genops.c: Likewise.
35526 * libio/iofclose.c: Likewise.
35527 * libio/iofdopen.c: Likewise.
35528 * libio/iofopen.c: Likewise.
35529 * libio/iofopen64.c: Likewise.
35530 * libio/iogetdelim.c: Likewise.
35531 * libio/iopopen.c: Likewise.
35532 * libio/obprintf.c: Likewise.
35533 * libio/oldfileops.c: Likewise.
35534 * libio/oldiofclose.c: Likewise.
35535 * libio/oldiofdopen.c: Likewise.
35536 * libio/oldiofopen.c: Likewise.
35537 * libio/oldiopopen.c: Likewise.
35538 * libio/wfiledoalloc.c: Likewise.
35539 * libio/wgenops.c: Likewise.
35540 * locale/programs/xmalloc.c: Likewise.
35541 * misc/syslog.c: Likewise.
35542 * stdio-common/xbug.c: Likewise.
35543 * string/memchr.c: Likewise.
35544 * string/memcmp.c: Likewise.
35545 * string/memrchr.c: Likewise.
35546 * string/rawmemchr.c: Likewise.
35547 * sysdeps/posix/getcwd.c: Likewise.
35548 * time/strftime_l.c: Likewise.
35549
3b100462
JM
355502012-01-30 Joseph Myers <joseph@codesourcery.com>
35551
35552 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35553 * config.make.in (config-cflags-sse2avx): Define.
35554 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35555 Fix typo.
35556
607998af
CM
355572012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35558
35559 * scripts/config.guess: Update from upstream config git repository.
35560 * scripts/config.sub: Likewise.
35561
3601428f
CM
355622012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35563
3ac8b282
CM
35564 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35565 (EM_NUM): Update.
35566 (R_TILEPRO_*, R_TILEGX_*): New macros.
35567
e034841e
CM
35568 * scripts/firstversions.awk: Fix bug in version range handling.
35569
540d7568
CM
35570 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35571
3601428f
CM
35572 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35573
463de862
CM
35574 * include/sys/epoll.h: New file.
35575 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35576 libc_hidden_def.
35577
73139a76
UD
355782012-01-28 Ulrich Drepper <drepper@gmail.com>
35579
96bc5b45
UD
35580 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35581 Avoid unnecessary __WORDSIZE == 64 test.
35582 (fmaxf): Use VEX format if possible.
35583 (fmax): Likewise.
35584 (fminf): Likewise.
35585 (fmin): Likewise.
35586
56f6f6a2
UD
35587 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35588 * math/math_private.h: Remove libc_fegetround* and
35589 libc_fesetround*.
35590 * sysdeps/i386/configure.in: Check for -msse2avx.
35591 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35592 also if SSE2AVX is defined.
35593 Remove libc_fegetround* and libc_fesetround*.
35594 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35595 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35596 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35597 of HAS_YMM_USABLE.
35598 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35599 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35600 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35601 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35602 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35603
73139a76
UD
35604 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35605
d73f93a4
AZ
356062012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35607
35608 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35609 size is not set.
35610 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35611
6ee65ed6
UD
356122012-01-27 Ulrich Drepper <drepper@gmail.com>
35613
35614 [BZ #13618]
35615 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35616 relocation.
35617 * Makeconfig (libm): Define.
35618 * elf/Makefile: Add rules to build and run tst-relsort1.
35619 * elf/tst-relsort1.c: New file.
35620 * elf/tst-relsort1mod1.c: New file.
35621 * elf/tst-relsort1mod2.c: New file.
35622
8db21882
JM
356232012-01-27 Joseph Myers <joseph@codesourcery.com>
35624
35625 * math/s_ldexp.c: Remove __STDC__ conditionals.
35626 * math/s_ldexpf.c: Likewise.
35627 * math/s_ldexpl.c: Likewise.
35628 * math/s_nextafter.c: Likewise.
35629 * math/s_nexttowardf.c: Likewise.
35630 * math/s_significand.c: Likewise.
35631 * math/s_significandf.c: Likewise.
35632 * math/s_significandl.c: Likewise.
35633 * math/w_jnl.c: Likewise.
35634 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35635 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35636 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35637 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35638 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35639 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35640 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35641 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35642 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35643 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35644 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35645 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35646 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35647 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35648 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35649 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35650 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35651 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35652 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35653 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35654 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35655 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35656 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35657 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35658 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35659 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35660 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35661 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35662 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35663 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35664 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35665 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35666 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35667 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35668 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35669 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35670 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35671 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35672 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35673 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35674 * sysdeps/ieee754/k_standard.c: Likewise.
35675 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35676 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35677 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35678 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35679 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35680 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35681 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35682 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35683 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35684 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35685 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35686 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35687 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35688 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35689 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35690 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35691 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35692 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35693 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35694 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35695 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35696 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35700 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35705 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35707 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35736 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35741 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35749 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35750 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35754 * sysdeps/ieee754/s_matherr.c: Likewise.
35755 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35756 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35757 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35758 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35759
965a54a4
JM
357602012-01-26 Joseph Myers <joseph@codesourcery.com>
35761
35762 * crypt/md5.h: Remove __STDC__ conditionals.
35763 * libio/libioP.h: Likewise.
35764 * locale/programs/config.h: Likewise.
35765 * sysdeps/generic/sysdep.h: Likewise.
35766 * sysdeps/i386/asm-syntax.h: Likewise.
35767 * sysdeps/s390/asm-syntax.h: Likewise.
35768 * sysdeps/unix/sysdep.h: Likewise.
35769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35771
7071ad79
JM
357722012-01-26 Joseph Myers <joseph@codesourcery.com>
35773
35774 * libio/libio.h: Remove __STDC__ conditionals.
35775 * malloc/obstack.h: Likewise.
35776 * math/complex.h: Likewise.
35777 * math/math.h: Likewise.
35778 * sysdeps/generic/_G_config.h: Likewise.
35779 * sysdeps/gnu/_G_config.h: Likewise.
35780 * sysdeps/mach/hurd/_G_config.h: Likewise.
35781 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35782 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35783 * sysdeps/sparc/bits/mathdef.h: Likewise.
35784
afc5ed09
UD
357852012-01-26 Ulrich Drepper <drepper@gmail.com>
35786
35787 [BZ #13583]
35788 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35789 Clean up HAS_* macros.
afc5ed09 35790 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35791 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35792 possible.
35793 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35794 HAS_AVX.
35795 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35796 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35797 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35798 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35799 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35800
bdb6de1d
JM
358012012-01-25 Joseph Myers <joseph@codesourcery.com>
35802
35803 * elf/tst-unique3.cc (gets): Remove declaration.
35804 * elf/tst-unique3lib.cc (gets): Likewise.
35805 * elf/tst-unique3lib2.cc (gets): Likewise.
35806 * elf/tst-unique4.cc (gets): Likewise.
35807
b15549e6
UD
358082012-01-24 Ulrich Drepper <drepper@gmail.com>
35809
35810 * include/stdio.h: Add C++ protection. Add gets declarations and
35811 definitions.
35812 * debug/tst-chk1.c: Don't declare gets here.
35813 * stdio-common/tst-gets.c: Likewise.
35814
a037381f
JM
358152012-01-24 Joseph Myers <joseph@codesourcery.com>
35816
35817 * posix/glob: Remove directory.
35818
f1d4aa75
JM
358192012-01-24 Joseph Myers <joseph@codesourcery.com>
35820
35821 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35822
81c0c964
PT
358232012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35824
35825 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35826 of the non-standard EPFNOSUPPORT.
35827
0ea698ae
ST
358282011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35829
35830 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35831 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35832 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35833
d220b117
UD
358342012-01-21 Ulrich Drepper <drepper@gmail.com>
35835
35836 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35837
3e1aa84e
UD
358382012-01-20 Ulrich Drepper <drepper@gmail.com>
35839
35840 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35841 transient errors.
35842 * nscd/grpcache.c (cache_addgr): Likewise.
35843 * nscd/hstcache.c (cache_addhst): Likewise.
35844 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35845 * nscd/pwdcache.c (cache_addpw): Likewise.
35846 * nscd/servicescache.c (cache_addserv): Likewise.
35847
400aa020
UD
358482012-01-16 Ulrich Drepper <drepper@gmail.com>
35849
d77e7869
UD
35850 * malloc/malloc.c: Various cleanups.
35851 * malloc/hooks.c: Likewise.
35852
400aa020
UD
35853 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35854 * stdlib/bug-fmtmsg1.c: New file.
35855
35856 * stdlib/fmtmsg.c (init): Add missing unlock.
35857 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35858
e0a309cf
MP
358592012-01-12 Marek Polacek <polacek@redhat.com>
35860
35861 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35862 and _GNU_SOURCE.
35863
929d11c7
WS
358642012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35865
35866 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35867 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35868 macro to ensure uniqueness of label name.
35869 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35870 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35871
41d0e869
UD
358722012-01-11 Ulrich Drepper <drepper@gmail.com>
35873
0cc5ed3b
UD
35874 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35875
41d0e869
UD
35876 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35877 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35878 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35879 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35880
a47a831a
UD
358812012-01-10 Ulrich Drepper <drepper@gmail.com>
35882
daa891c0
UD
35883 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35884
35885 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35886 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35887 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35888
e58ef0f2
UD
35889 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35890
a47a831a 35891 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35892 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35893 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35894 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35895
35896 * math/bits/math-finite.h: Add ldexp support.
35897
a0bfc9c7
MP
358982012-01-10 Marek Polacek <polacek@redhat.com>
35899
35900 * locale/programs/localedef.h (show_archive_content): Add noreturn
35901 attribute.
35902
d6e97a1d
UD
359032012-01-09 Ulrich Drepper <drepper@gmail.com>
35904
35905 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35906
d5835c26
UD
359072012-01-08 Ulrich Drepper <drepper@gmail.com>
35908
e5f484c6
UD
35909 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35910
d5835c26
UD
35911 * io/Makefile (headers): Add bits/poll2.h.
35912
d1f741e9
WS
359132011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35914
35915 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35916 typo #include statement.
35917
ec09c1c4
UD
359182012-01-08 Ulrich Drepper <drepper@gmail.com>
35919
35920 * include/sys/cdefs.h: Define __attribute_alloc_size.
35921 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35922 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35923 * elf/pldd.c: Likewise.
35924 * iconv/iconv_charmap.c: Likewise.
35925 * iconv/iconvconfig.c: Likewise.
35926 * iconv/strtab.c: Likewise.
35927 * locale/programs/locale.c: Likewise.
35928 * locale/programs/localedef.h: Likewise.
35929 * locale/programs/simple-hash.c: Likewise.
35930 * nscd/nscd.h: Likewise.
35931 * nss/makedb.c: Likewise.
35932 * sysdeps/generic/ldconfig.h: Likewise.
35933 * locale/programs/localedef.c: Remove xmalloc prototype.
35934 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35935
20b38e03
PP
359362012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35937
35938 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35939 appropriate.
35940
a0da5fe1
UD
359412012-01-08 Ulrich Drepper <drepper@gmail.com>
35942
1d5a644a 35943 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35944 * math/tst-CMPLX.c: New file.
1d5a644a 35945
8784a6db
UD
35946 * math/complex.h (CMPLXL): Fix typo.
35947
d9a216c0
UD
35948 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35949 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35950 GLIBC_2.16.
35951 * debug/tst-chk1.c: Add poll and ppoll tests.
35952 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35953 * include/sys/poll.h: Add hidden proto for ppoll.
35954 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35955 * sysdeps/mach/hurd/ppoll.c: Likewise.
35956 * io/ppoll.c: Likewise.
35957 * debug/poll_chk.c: New file.
35958 * debug/ppoll_chk.c: New file.
35959 * include/bits/poll2.h: New file.
35960 * io/bits/poll2.h: New file.
35961
ac097f5c
UD
35962 [BZ #1350]
35963 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35964
2119dcfa
UD
35965 * configure.in: static is always set to yes. Remove.
35966 * config.make.in: Don't set build-static.
35967 * Makeconfig: Remove use of build-static.
35968 * dlfcn/Makefile: Likewise.
35969 * elf/Makefile: Likewise.
35970 * math/Makefile: Likewise.
35971 * misc/Makefile: Likewise.
35972 * nptl/Makefile: Likewise.
35973 * sysdeps/mach/hurd/Makefile: Likewise.
35974
121766a9
UD
35975 * configure.in: PWD_P is not used anymore.
35976 * config.make.in: Remove PWD_P entry.
35977
51a1d39c 35978 * configure.in: Remove last remnants of RANLIB.
8720d066 35979 No need to check for signed size_t anymore.
215f4bdc
UD
35980 Don't set libc_commonpagesize and libc_relro_required here for Alpha
35981 and IA-64.
3857022a 35982 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
35983 * aclocal.m4: Likewise.
35984
d3ed7225
UD
35985 * wcsmbs/mbrtoc16.c: Implement using towc function.
35986 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
35987 * wcsmbs/wcsmbsload.c: Likewise.
35988 * iconv/gconv_simple.c: Likewise.
35989 * iconv/gconv_int.h: Likewise.
35990 * iconv/gconv_builtin.h: Likewise.
35991 * iconv/iconv_prog.c: Remove CHAR16 handling.
35992
35993 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
35994
35995 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
35996
a0da5fe1
UD
35997 * configure.in: Remove --with-elf and --enable-bounded options.
35998 Dont set base_machine for ia64. More non-ELF conditions removed.
35999 Remove testing and setting of leading underscore information.
36000 * config.make.in (build-bounded): Set to no.
36001 * config.h.in: Remove NO_UNDERSCORES entry.
36002 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36003 them.
36004 * csu/start.c: Remove !NO_UNDERSCORE code.
36005 * locale/localeinfo.h: Likewise.
36006 * sysdeps/generic/machine-gmon.h: Likewise.
36007 * sysdeps/generic/sysdep.h: Likewise.
36008 * sysdeps/i386/sysdep.h: Likewise.
36009 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36010 * sysdeps/mach/sysdep.h: Likewise.
36011 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36012 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36013 * sysdeps/sh/sysdep.h: Likewise.
36014 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36015 * sysdeps/unix/i386/sysdep.S: Likewise.
36016 * sysdeps/unix/sparc/start.c: Likewise.
36017 * sysdeps/unix/sparc/sysdep.S: Likewise.
36018 * sysdeps/unix/sparc/sysdep.h: Likewise.
36019 * sysdeps/unix/start.c: Likewise.
36020 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36021 * sysdeps/x86_64/sysdep.h: Likewise.
36022
df78418a
UD
360232012-01-07 Ulrich Drepper <drepper@gmail.com>
36024
a784e502
UD
36025 [BZ #13553]
36026 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36027 for non-gcc.
36028 * argp/argp-fmtstream.h: Use const instead __const.
36029 * argp/argp.h: Likewise.
36030 * assert/assert.h: Likewise.
36031 * bits/fenv.h: Likewise.
36032 * bits/sched.h: Likewise.
36033 * bits/sigset.h: Likewise.
36034 * bits/sigthread.h: Likewise.
36035 * catgets/nl_types.h: Likewise.
36036 * conform/data/pthread.h-data: Likewise.
36037 * crypt/crypt-private.h: Likewise.
36038 * crypt/crypt.h: Likewise.
36039 * crypt/crypt_util.c: Likewise.
36040 * ctype/ctype.h: Likewise.
36041 * debug/execinfo.h: Likewise.
36042 * debug/mbsnrtowcs_chk.c: Likewise.
36043 * debug/mbsrtowcs_chk.c: Likewise.
36044 * debug/wcsnrtombs_chk.c: Likewise.
36045 * debug/wcsrtombs_chk.c: Likewise.
36046 * debug/wcstombs_chk.c: Likewise.
36047 * dirent/dirent.h: Likewise.
36048 * dlfcn/dlfcn.h: Likewise.
36049 * elf/neededtest4.c: Likewise.
36050 * grp/grp.h: Likewise.
36051 * gshadow/gshadow.h: Likewise.
36052 * iconv/gconv.h: Likewise.
36053 * iconv/gconv_int.h: Likewise.
36054 * iconv/gconv_simple.c: Likewise.
36055 * iconv/iconv.h: Likewise.
36056 * iconv/loop.c: Likewise.
36057 * iconv/skeleton.c: Likewise.
36058 * include/aio.h: Likewise.
36059 * include/aliases.h: Likewise.
36060 * include/argz.h: Likewise.
36061 * include/arpa/inet.h: Likewise.
36062 * include/assert.h: Likewise.
36063 * include/dirent.h: Likewise.
36064 * include/dlfcn.h: Likewise.
36065 * include/execinfo.h: Likewise.
36066 * include/fcntl.h: Likewise.
36067 * include/fenv.h: Likewise.
36068 * include/glob.h: Likewise.
36069 * include/grp.h: Likewise.
36070 * include/libintl.h: Likewise.
36071 * include/mntent.h: Likewise.
36072 * include/netdb.h: Likewise.
36073 * include/pwd.h: Likewise.
36074 * include/rpc/netdb.h: Likewise.
36075 * include/sched.h: Likewise.
36076 * include/search.h: Likewise.
36077 * include/shadow.h: Likewise.
36078 * include/signal.h: Likewise.
36079 * include/stdio.h: Likewise.
36080 * include/stdlib.h: Likewise.
36081 * include/string.h: Likewise.
36082 * include/sys/socket.h: Likewise.
36083 * include/sys/stat.h: Likewise.
36084 * include/sys/statfs.h: Likewise.
36085 * include/sys/statvfs.h: Likewise.
36086 * include/sys/syslog.h: Likewise.
36087 * include/sys/time.h: Likewise.
36088 * include/sys/uio.h: Likewise.
36089 * include/time.h: Likewise.
36090 * include/unistd.h: Likewise.
36091 * include/utmp.h: Likewise.
36092 * include/wchar.h: Likewise.
36093 * include/wctype.h: Likewise.
36094 * inet/aliases.h: Likewise.
36095 * inet/arpa/inet.h: Likewise.
36096 * inet/netinet/ether.h: Likewise.
36097 * inet/netinet/in.h: Likewise.
36098 * intl/libintl.h: Likewise.
36099 * io/bits/fcntl2.h: Likewise.
36100 * io/fcntl.h: Likewise.
36101 * io/ftw.h: Likewise.
36102 * io/sys/poll.h: Likewise.
36103 * io/sys/stat.h: Likewise.
36104 * io/sys/statfs.h: Likewise.
36105 * io/sys/statvfs.h: Likewise.
36106 * io/utime.h: Likewise.
36107 * libio/bits/stdio.h: Likewise.
36108 * libio/bits/stdio2.h: Likewise.
36109 * libio/libio.h: Likewise.
36110 * libio/libioP.h: Likewise.
36111 * libio/stdio.h: Likewise.
36112 * locale/lc-ctype.c: Likewise.
36113 * locale/locale.h: Likewise.
36114 * login/utmp.h: Likewise.
36115 * malloc/arena.c: Likewise.
36116 * malloc/malloc.c: Likewise.
36117 * malloc/malloc.h: Likewise.
36118 * malloc/mcheck.c: Likewise.
36119 * malloc/mtrace.c: Likewise.
36120 * math/bits/mathcalls.h: Likewise.
36121 * math/fenv.h: Likewise.
36122 * math/math_private.h: Likewise.
36123 * misc/bits/error.h: Likewise.
36124 * misc/bits/syslog.h: Likewise.
36125 * misc/err.h: Likewise.
36126 * misc/error.h: Likewise.
36127 * misc/fstab.h: Likewise.
36128 * misc/mntent.h: Likewise.
36129 * misc/regexp.h: Likewise.
36130 * misc/search.h: Likewise.
36131 * misc/sgtty.h: Likewise.
36132 * misc/sys/mman.h: Likewise.
36133 * misc/sys/syslog.h: Likewise.
36134 * misc/sys/uio.h: Likewise.
36135 * misc/sys/xattr.h: Likewise.
36136 * misc/ttyent.h: Likewise.
36137 * nis/rpcsvc/ypclnt.h: Likewise.
36138 * nss/nss.h: Likewise.
36139 * posix/bits/unistd.h: Likewise.
36140 * posix/fnmatch.h: Likewise.
36141 * posix/glob.h: Likewise.
36142 * posix/sched.h: Likewise.
36143 * posix/spawn.h: Likewise.
36144 * posix/sys/wait.h: Likewise.
36145 * posix/unistd.h: Likewise.
36146 * posix/wordexp.h: Likewise.
36147 * pwd/pwd.h: Likewise.
36148 * resolv/netdb.h: Likewise.
36149 * resource/sys/resource.h: Likewise.
36150 * rt/aio.h: Likewise.
36151 * rt/bits/mqueue2.h: Likewise.
36152 * rt/mqueue.h: Likewise.
36153 * shadow/shadow.h: Likewise.
36154 * signal/signal.h: Likewise.
36155 * socket/send.c: Likewise.
36156 * socket/sendto.c: Likewise.
36157 * socket/sys/socket.h: Likewise.
36158 * stdio-common/printf.h: Likewise.
36159 * stdlib/bits/stdlib.h: Likewise.
36160 * stdlib/fmtmsg.h: Likewise.
36161 * stdlib/monetary.h: Likewise.
36162 * stdlib/stdlib.h: Likewise.
36163 * stdlib/ucontext.h: Likewise.
36164 * streams/stropts.h: Likewise.
36165 * string/argz.h: Likewise.
36166 * string/bits/string2.h: Likewise.
36167 * string/string.h: Likewise.
36168 * string/strings.h: Likewise.
36169 * sunrpc/rpc/auth.h: Likewise.
36170 * sunrpc/rpc/auth_des.h: Likewise.
36171 * sunrpc/rpc/clnt.h: Likewise.
36172 * sunrpc/rpc/netdb.h: Likewise.
36173 * sunrpc/rpc/pmap_clnt.h: Likewise.
36174 * sunrpc/rpc/xdr.h: Likewise.
36175 * sysdeps/generic/inttypes.h: Likewise.
36176 * sysdeps/generic/net/if.h: Likewise.
36177 * sysdeps/generic/sys/swap.h: Likewise.
36178 * sysdeps/gnu/net/if.h: Likewise.
36179 * sysdeps/gnu/utmpx.h: Likewise.
36180 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36181 * sysdeps/i386/i486/bits/string.h: Likewise.
36182 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36183 * sysdeps/s390/bits/string.h: Likewise.
36184 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36185 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36186 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36187 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36188 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36189 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36190 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36191 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36192 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36193 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36194 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36195 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36196 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36197 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36198 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36199 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36200 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36201 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36202 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36203 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36204 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36205 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36206 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36207 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36208 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36209 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36210 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36211 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36212 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36213 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36214 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36215 * sysvipc/sys/ipc.h: Likewise.
36216 * sysvipc/sys/msg.h: Likewise.
36217 * sysvipc/sys/sem.h: Likewise.
36218 * sysvipc/sys/shm.h: Likewise.
36219 * termios/termios.h: Likewise.
36220 * time/sys/time.h: Likewise.
36221 * time/time.h: Likewise.
36222 * wcsmbs/bits/wchar2.h: Likewise.
36223 * wcsmbs/uchar.h: Likewise.
36224 * wcsmbs/wchar.h: Likewise.
36225 * wctype/wctype.h: Likewise.
36226
0269750c
UD
36227 [BZ #13551]
36228 * Makeconfig: Remove all but ELF support including AIX support.
36229 * Makerules: Likewise.
36230 * config.h.in: Likewise.
36231 * config.make.in: Likewise.
36232 * configure: Likewise.
36233 * configure.in: Likewise.
36234 * csu/Makefile: Likewise.
36235 * csu/version.c: Likewise.
36236 * debug/Makefile: Likewise.
36237 * dlfcn/Makefile: Likewise.
36238 * elf/Makefile: Likewise.
36239 * extra-lib.mk: Likewise.
36240 * iconv/Makefile: Likewise.
36241 * include/libc-symbols.h: Likewise.
36242 * include/shlib-compat.h: Likewise.
36243 * resolv/Makefile: Likewise.
36244 * resolv/res_libc.c: Likewise.
36245 * rt/Makefile: Likewise.
36246 * sysdeps/i386/asm-syntax.h: Likewise.
36247 * sysdeps/i386/sysdep.h: Likewise.
36248 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36249 * sysdeps/mach/sysdep.h: Likewise.
36250 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36251 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36252 * sysdeps/s390/asm-syntax.h: Likewise.
36253 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36254 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36255 * sysdeps/sh/sysdep.h: Likewise.
36256 * sysdeps/unix/sparc/sysdep.h: Likewise.
36257 * sysdeps/wordsize-32/divdi3.c: Likewise.
36258 * sysdeps/x86_64/sysdep.h: Likewise.
36259
00bbd29b
UD
36260 * argp/Versions: Remove _argp_unlock_xxx.
36261
36262 [BZ #13559]
36263 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36264 * abilist/libBrokenLocale.abilist: Likewise.
36265 * abilist/libanl.abilist: Likewise.
36266 * abilist/libc.abilist: Likewise.
36267 * abilist/libcrypt.abilist: Likewise.
36268 * abilist/libdl.abilist: Likewise.
36269 * abilist/libm.abilist: Likewise.
36270 * abilist/libnsl.abilist: Likewise.
36271 * abilist/libpthread.abilist: Likewise.
36272 * abilist/libresolv.abilist: Likewise.
36273 * abilist/librt.abilist: Likewise.
36274 * abilist/libthread_db.abilist: Likewise.
36275 * abilist/libutil.abilist: Likewise.
36276 * abilist/libnss_db.abilist: New file.
36277
36278 * scripts/abilist.awk: Add support for indirect functions.
36279
a2693a0e
UD
36280 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36281
3f05895f
UD
36282 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36283
ecb6fb48
UD
36284 * shlib-versions: Remove entries for ports architectures.
36285
664f8cb9
UD
36286 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36287 files in ports.
36288 * elf/stackguard-macros.h: Remove support for IA-64.
36289 * elf/tst-auditmod1.c: Likewise.
36290 * sysdeps/generic/ldsodefs.h: Likewise.
36291
7ae81d88
UD
36292 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36293 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36294 configure files.
36295
bdeba135
UD
36296 [BZ #13552]
36297 * configure.in: Remove --enable-omitfp support.
36298 * FAQ.in: Adjust.
36299 * config.make.in: Likewise.
36300 * Makeconfig: Likewise.
36301 * manual/install.texi: Likewise.
36302
d75a0a62
UD
36303 In case anyone cares, the IA-64 architecture could move to ports.
36304 * sysdeps/ia64/*: Removed.
36305 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36306 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36307
dcc9756b
UD
36308 [BZ #13555]
36309 * configure.in: Remove entries for unsupported architectures.
36310
d3761ebc 36311 [BZ #13533]
9954432e
UD
36312 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36313 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36314 routines.
36315 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36316 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36317 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36318 fall back to using wcrtomb.
36319 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36320 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36321 renaming.
36322 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36323 * wcsmbs/tst-c16c32-1.c: New file.
36324
36325 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36326 local variable.
36327
c3a87236
UD
36328 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36329
28926a1b
UD
36330 * elf/tst-unique3.cc: Add explicit declaration of gets.
36331 * elf/tst-unique3lib.cc: Likewise.
36332 * elf/tst-unique3lib2.cc: Likewise.
36333 * elf/tst-unique4.cc: Likewise.
36334
df78418a
UD
36335 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36336
8ecd6b2a
JM
363372012-01-06 Joseph Myers <joseph@codesourcery.com>
36338
36339 [BZ #13566]
36340 * assert/assert.h (static_assert): Don't define for C++.
36341 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36342 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36343
9f115170
UD
363442012-01-03 Ulrich Drepper <drepper@gmail.com>
36345
5e0d0300
UD
36346 * iconv/loop.c (single loop): Fix assertion in storing of
36347 remaining bytes.
36348
9f115170
UD
36349 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36350
81fb02b0
UD
363512012-01-01 Ulrich Drepper <drepper@gmail.com>
36352
36353 * posix/getconf.c: Update copyright year.
36354 * nss/getent.c: Likewise.
a316c1f6 36355 * nss/makedb.c: Likewise.
81fb02b0
UD
36356 * iconv/iconvconfig.c: Likewise.
36357 * iconv/iconv_prog.c: Likewise.
36358 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36359 * elf/pldd.c: Likewise.
36360 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36361 * catgets/gencat.c: Likewise.
36362 * csu/version.c: Likewise.
36363 * elf/ldd.bash.in: Likewise.
36364 * elf/sprof.c (print_version): Likewise.
36365 * locale/programs/locale.c: Likewise.
36366 * locale/programs/localedef.c: Likewise.
a316c1f6 36367 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36368 * nscd/nscd.c (print_version): Likewise.
36369 * debug/xtrace.sh: Likewise.
36370 * malloc/memusage.sh: Likewise.
36371 * malloc/mtrace.pl: Likewise.
36372 * debug/catchsegv.sh: Likewise.
36373
2ba92745
JJ
363742011-12-30 Jakub Jelinek <jakub@redhat.com>
36375
36376 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36377 pure attribute.
36378
dadebdae
UD
363792011-12-24 Ulrich Drepper <drepper@gmail.com>
36380
d3761ebc 36381 [BZ #13533]
db6af3eb
UD
36382 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36383 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36384 transformations.
36385 * iconv/gconv_int.h: Likewise.
36386 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36387 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36388 from libc for GLIBC_2.16.
36389 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36390 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36391 * wcsmbs/uchar.h: Really define mbstate_t.
36392 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36393 * wcsmbs/c16rtomb.c: New file.
36394 * wcsmbs/mbrtoc16.c: New file.
36395 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36396 for C/POSIX locale.
36397 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36398 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36399
dadebdae
UD
36400 * wcsmbs/wchar.h: Add missing __restrict.
36401
67371b56
UD
364022011-12-23 Ulrich Drepper <drepper@gmail.com>
36403
74033a25
UD
36404 [BZ #13532]
36405 * time/Makefile (routines): Add timespec_get.
36406 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36407 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36408 timespec for ISO C11.
36409 * time/timespec_get.c: New file.
36410 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36411 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36412
380d7e87
UD
36413 [BZ #13531]
36414 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36415 * stdlib/stdlib.h: Declare aligned_alloc.
36416 * Versions.def: Add GLIBC_2.16 for libc.
36417 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36418
4e9e7a35
UD
36419 [BZ 13527]
36420 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36421 ISO C11.
36422
380d7e87 36423 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36424 code.
36425
03a71829
UD
36426 [BZ #13528]
36427 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36428
839e283e
UD
36429 [BZ #13529]
36430 * assert/assert.h (static_assert): Define.
36431
ce5294e2 36432 * version.h: Update for 2.16 development version.
90fa7312 36433
8d44e150 36434 [BZ #13526]
d7809905
UD
36435 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36436 _ISOC11_SOURCE.
36437
c0da14cd
UD
36438 * version.h (RELEASE): Bump for 2.15 release.
36439 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36440
530a3249
MP
36441 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36442 Patch by Marek Polacek <mpolacek@redhat.com>.
36443
67371b56
UD
36444 * bits/byteswap.h: Protect long long constants with __extension__.
36445 * sysdeps/i386/bits/byteswap.h: Likewise.
36446 * sysdeps/ia64/bits/byteswap.h: Likewise.
36447 * sysdeps/s390/bits/byteswap.h: Likewise.
36448 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36449
15db4de1
LD
364502011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36451
36452 [BZ #13540]
bbe315ea
LD
36453 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36454 destination buffer.
15db4de1
LD
36455 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36456
2b2596b1
MP
364572011-12-23 Marek Polacek <polacek@redhat.com>
36458
36459 * elf/dl-addr.c (determine_info): Add inline keyword.
36460 * elf/tst-auditmod4b.c (check_avx): Likewise.
36461 * elf/tst-auditmod6b.c (check_avx): Likewise.
36462 * elf/tst-auditmod6c.c (check_avx): Likewise.
36463 * elf/tst-auditmod7b.c (check_avx): Likewise.
36464
70c6c246
UD
364652011-12-23 Ulrich Drepper <drepper@gmail.com>
36466
36467 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36468 !__SSE_MATH__.
36469
c044cf14
LD
364702011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36471
15db4de1 36472 [BZ #13540]
c044cf14
LD
36473 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36474 processing for last bytes.
36475
6b13d9d9
BH
364762011-08-06 Bruno Haible <bruno@clisp.org>
36477
d455f537
BH
36478 [BZ #13061]
36479 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36480 U+0385, not to U+1FEE.
36481
6b13d9d9
BH
36482 [BZ #13062]
36483 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36484 entry for U+00A5 U+0301.
36485
db910efd
UD
364862011-12-22 Ulrich Drepper <drepper@gmail.com>
36487
27deeafc
UD
36488 [BZ #13166]
36489 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36490 buffer for the output is too small.
36491
aed9d171
UD
36492 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36493 optimization.
36494
db910efd
UD
36495 [BZ #13185]
36496 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36497 SSE flags if possible.
36498
2bd779ae
LD
364992011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36500
e7f9dac3 36501 [BZ #13540]
2bd779ae
LD
36502 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36503 processing for last bytes.
36504
154bfc16
JM
365052011-12-22 Joseph Myers <joseph@codesourcery.com>
36506
36507 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36508 (syscall-list-default-options, syscall-list-default-condition)
36509 (syscall-list-includes): Define.
36510 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36511 list of ABIs and options and #if conditions for each ABI. Do not
36512 handle common syscalls between ABIs specially.
36513 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36514 Remove.
36515 (syscall-list-variants, syscall-list-32bit-options)
36516 (syscall-list-32bit-condition, syscall-list-64bit-options)
36517 (syscall-list-64bit-condition): Define.
36518 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36519 (syscall-list-variants, syscall-list-32bit-options)
36520 (syscall-list-32bit-condition, syscall-list-64bit-options)
36521 (syscall-list-64bit-condition): Define.
36522 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36523 Remove.
36524 (syscall-list-variants, syscall-list-32bit-options)
36525 (syscall-list-32bit-condition, syscall-list-64bit-options)
36526 (syscall-list-64bit-condition): Define.
36527 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36528 Remove.
36529 (syscall-list-variants, syscall-list-32bit-options)
36530 (syscall-list-32bit-condition, syscall-list-64bit-options)
36531 (syscall-list-64bit-condition): Define.
36532
21eaf3a5
UD
365332011-12-22 Ulrich Drepper <drepper@gmail.com>
36534
16c6f992
UD
36535 * locale/iso-639.def: Add brx entry.
36536
41043168
UD
36537 [BZ #13328]
36538 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36539 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36540
21eaf3a5
UD
36541 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36542 __feraiseexcept_renamed.
36543
e3a851a2
UD
365442011-12-21 Ulrich Drepper <drepper@gmail.com>
36545
4920765e
UD
36546 [BZ #13538]
36547 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36548 EPOLLET with unsigned values.
36549 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36550 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36551
e3a851a2
UD
36552 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36553 to large cancellation.
36554 * math/s_cacoshf.c: Likewise.
36555 * math/s_cacoshl.c: Likewise.
36556
b27e24b8
RK
365572011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36558
36559 [BZ #13305]
aebefeee 36560 [BZ #12786]
b27e24b8
RK
36561 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36562 * math/s_cacoshf.c: Likewise.
36563 * math/s_cacoshl.c: Likewise.
36564
ee190f67
UD
365652011-12-21 Ulrich Drepper <drepper@gmail.com>
36566
36567 [BZ #13439]
36568 * iconv/gconv.h: Define __GCONV_SWAP.
36569 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36570 * iconvdata/utf-16.c: Likewise.
36571 * iconvdata/utf-32.c: Likewise.
36572
707f25df
AS
365732011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36574
36575 [BZ #13524]
36576 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36577 numerator after shifting it by one limb.
36578
d2daaa1e
RÁE
365792011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36580
36581 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36582 under [__USE_EXTERN_INLINES].
36583
a4647e72
UD
365842011-12-17 Ulrich Drepper <drepper@gmail.com>
36585
36586 [BZ #13446]
36587 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36588
f0b264f1
AZ
365892011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36590
36591 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36592 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36593 optimized code.
36594 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36595 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36596 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36597 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36598 for strncasecmp/strncasecmp_l compilation.
36599 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36600 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36601
8ef4f244
MP
366022011-12-08 Marek Polacek <mpolacek@redhat.com>
36603
36604 [BZ #13484]
36605 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36606 of __asm__.
36607
97ac2654
UD
366082011-12-17 Ulrich Drepper <drepper@gmail.com>
36609
36610 [BZ #13506]
36611 * time/tzfile.c (__tzfile_read): Check values from file header.
36612
91d2a845
WS
366132011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36614
36615 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36616 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36617 * powerpc/powerpc32/dl-start.S: Likewise.
36618 * powerpc/powerpc32/elf/start.S: Likewise.
36619 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36620 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36621 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36622 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36623 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36624 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36625 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36626 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36627 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36628 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36629 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36630 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36631 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36632 * powerpc/powerpc32/memset.S: Likewise.
36633 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36634 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36635 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36636 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36637 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36638 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36639 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36640 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36641 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36642 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36643 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36644 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36645 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36646
a1267ba1
AZ
366472011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36648
36649 * math/libm-test.inc: Added more nearbyint tests.
36650 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36651 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36652 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36653 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36654
ad8ac1bd
RL
366552011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36656
36657 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36658 FD_CLOEXEC.
36659
1d3e4b61
UD
366602011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36661
36662 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36663 Add wcscpy-ssse3 wcscpy-c.
36664 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36665 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36666 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36667 * sysdeps/x86_64/wcschr.S: New file.
36668 * sysdeps/x86_64/wcsrchr.S: New file.
36669 * string/test-strcmp.c: Remove checking of wcscmp function for
36670 wrong alignments.
36671 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36672 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36673 wcsrchr-sse2 wcsrchr-c.
36674 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36675 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36676 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36677 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36678 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36679 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36680 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36681 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36682 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36683 * wcsmbc/wcschr.c (WCSCHR): New macro.
36684
5b330a2d
UD
366852011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36686
36687 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36688 * wcsmbs/test-wcsrchr.c: New file.
36689 * string/test-strrchr.c: Add wcsrchr support.
36690 (WIDE): New macro.
36691 * wcsmbs/test-wcscpy.c: New file.
36692 * string/test-strcpy.c: Add wcscpy support.
36693 (WIDE): New macro.
26428b7c 36694
f039c043
UD
366952011-12-10 Ulrich Drepper <drepper@gmail.com>
36696
36697 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36698 the inner loop.
36699
850fb039
AS
367002011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36701
36702 [BZ #13472]
36703 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36704
4efbd5cb
UD
367052011-12-04 Ulrich Drepper <drepper@gmail.com>
36706
52ff5dd0 36707 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36708 Minor optimizations.
52ff5dd0 36709
4efbd5cb
UD
36710 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36711 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36712 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36713
8a426e12
UD
367142011-12-03 Ulrich Drepper <drepper@gmail.com>
36715
aff2453d
UD
36716 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36717 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36718 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36719 for gcc to avoid warnings.
36720 * inet/Makefile (tests): Add tst-checks.
36721 * inet/tst-checks.c: New file.
36722
36723 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36724 warning.
36725
36726 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36727 __wmemcmp_sse2.
36728
36729 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36730 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36731
8a426e12
UD
36732 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36733
9bea3473
UD
367342011-12-02 Ulrich Drepper <drepper@gmail.com>
36735
3a965496
UD
36736 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36737 problem.
36738
9bea3473
UD
36739 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36740
f101631b
UD
367412011-11-29 Joseph Myers <joseph@codesourcery.com>
36742
36743 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36744 conditional on GCC version.
36745 (__arch_compare_and_exchange_val_8_acq)
36746 (__arch_compare_and_exchange_val_16_acq)
36747 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36748 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36749 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36750
a98275aa
UD
367512011-12-02 Joseph Myers <joseph@codesourcery.com>
36752
36753 * sysdeps/sh/backtrace.c: New file.
36754
d4cc29a2
AS
367552011-12-02 Andreas Schwab <schwab@redhat.com>
36756
36757 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36758 parenthesis.
36759
6257af2d
AS
367602011-12-01 Andreas Schwab <schwab@redhat.com>
36761
36762 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36763 falling back to utime.
36764
b5f44c1a
AS
367652011-11-30 Andreas Schwab <schwab@redhat.com>
36766
36767 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36768 expectations for float.
36769
f3a6cc0a
AS
367702011-11-29 Andreas Schwab <schwab@redhat.com>
36771
36772 * locale/weight.h (findidx): Add parameter len.
36773 * locale/weightwc.h (findidx): Likewise.
36774 * posix/fnmatch_loop.c (FCT): Adjust caller.
36775 * posix/regcomp.c (build_equiv_class): Likewise.
36776 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36777 * posix/regexec.c (check_node_accept_bytes): Likewise.
36778 * string/strcoll_l.c (STRCOLL): Likewise.
36779 * string/strxfrm_l.c (STRXFRM): Likewise.
36780
9d65ea3a
UD
367812011-11-17 Ulrich Drepper <drepper@gmail.com>
36782
36783 * Makefile.in: Remove CVSOPT handling.
36784 * configure.in: Remove use of AC_REVISION.
36785 * iconvdata/Makefile (distribute): No need to filter out CVS.
36786 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36787 handling.
36788
5583a086
AS
367892011-11-16 Andreas Schwab <schwab@redhat.com>
36790
36791 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36792 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36793 [USE_AS_STRNCASECMP_L]: Likewise.
36794 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36795 NO_TLS_DIRECT_SEG_REFS.
36796 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36797 Fix argument offsets for non-PIC.
36798 [USE_AS_STRNCASECMP_L]: Likewise.
36799 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36800 NO_TLS_DIRECT_SEG_REFS.
36801
d62a8200
UD
368022011-11-15 Ulrich Drepper <drepper@gmail.com>
36803
9d65ea3a 36804 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36805 O_CLOEXEC.
36806 * locale/loadlocale.c (_nl_load_locale): Likewise.
36807
09f93bd3
AS
368082011-11-15 Andreas Schwab <schwab@redhat.com>
36809
446514f9
AS
36810 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36811 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36812 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36813 (SYSCALL_GETTIME): Set errno on error.
36814
09f93bd3
AS
36815 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36816 count references to noai6ai_cached.
36817
312be3f9
UD
368182011-11-15 Ulrich Drepper <drepper@gmail.com>
36819
36820 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36821
36822 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36823 FD_CLOEXEC for /proc/self/maps.
36824
36825 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36826 FD_CLOEXEC for /proc/meminfo.
36827
36828 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36829 gai.conf.
36830
36831 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36832 FD_CLOEXEC for given file.
36833
36834 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36835
36836 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36837 FD_CLOEXEC for /etc/hosts.
36838 (_gethtent): Likewise.
36839
36840 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36841
36842 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36843 cancellation and set FD_CLOEXEC for /etc/netgroup.
36844
36845 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36846 reading /etc/publickey.
36847
36848 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36849 allow cancellation when reading /etc/group.
36850
36851 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36852 cancellation.
36853 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36854
36855 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36856 when using data file.
36857
36858 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36859
36860 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36861 (write_nis_obj): Use "c" and "e" in fopen.
36862
36863 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36864
36865 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36866
36867 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36868
36869 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36870
36871 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36872 locale.alias.
36873
36874 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36875
36876 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36877
36878 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36879
36880 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36881 file parsing and set FD_CLOEXEC.
36882
82af0fa8
UD
368832011-11-14 Ulrich Drepper <drepper@gmail.com>
36884
36885 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36886
a5fb313c
AS
368872011-11-14 Andreas Schwab <schwab@redhat.com>
36888
36889 * malloc/arena.c (arena_get2): Don't call reused_arena when
36890 _int_new_arena failed.
36891
6abf3465
UD
368922011-11-14 Ulrich Drepper <drepper@gmail.com>
36893
36894 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36895 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36896 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36897 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36898 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36899 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36900 to compile strcasecmp and strncasecmp.
36901 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36902 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36903
36904 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36905
76e3966e
UD
369062011-11-13 Ulrich Drepper <drepper@gmail.com>
36907
36908 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36909 locale-defines.sym to gen-as-const-headers.
36910 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36911 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36912 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36913 to compile strcasecmp and strncasecmp.
36914 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36915 strcasecmp_l and strncasecmp_l.
36916 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36917 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36918 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36919 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36920 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36921 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36922 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36923 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36924 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36925 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36926 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36927
ab26144e
UD
369282011-11-12 Ulrich Drepper <drepper@gmail.com>
36929
7edb22ef
UD
36930 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36931 result of SYSDEP_GETTIME_CPU to retval.
36932 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36933 parameter list to macro. Remove trailing semicolon. Adjust users.
36934
9694fc44
UD
36935 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36936 variable.
36937
8ad89ef8
UD
36938 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36939 mantissa words.
36940 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36941
0c822ef9
UD
36942 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36943 from unused variable.
36944
874e0564
UD
36945 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36946 DWARF definitions.
36947 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36948 for assembling.
36949
3a2edc79
UD
36950 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36951 over namespaces.
36952
f3c2577f
UD
36953 * sunrpc/rpc_prot.c (rejected): Fix case value.
36954
294ce126
UD
36955 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36956 unsigned long long int to avoid warnings in shift.
36957
5e2b63c6
UD
36958 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36959 of use of trans.
36960 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36961 variable tmp.
36962
e7f4b08e
UD
36963 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36964 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36965 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36966
ab26144e
UD
36967 * nis/nis_table.c (nis_list): Use variable of correct type for
36968 result of __follow_path call.
36969
8a6d5255
AZ
369702011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36971
36972 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36973 of math functions ceil, trunc, floor, round, and sqrt, when
36974 avaliable on the platform.
36975 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36976 name clash.
36977 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36978 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
36979 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
36980
aaddc98c
MP
369812011-10-30 Marek Polacek <mpolacek@redhat.com>
36982
36983 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
36984 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
36985
95b7042b
RM
369862011-11-11 Roland McGrath <roland@hack.frob.com>
36987
36988 * include/unistd.h: Fix __readlink return type.
36989 Reported by Chris Metcalf <cmetcalf@tilera.com>.
36990
57769839
UD
369912011-11-11 Ulrich Drepper <drepper@gmail.com>
36992
36993 * stdlib/ucontext.h: Undo last change for makecontext.
36994
edc5984d
AS
369952011-11-11 Andreas Schwab <schwab@redhat.com>
36996
98591e58
AS
36997 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
36998
edc5984d
AS
36999 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37000 * setjmp/setjmp.h: Mark functions as non-leaf.
37001 * setjmp/bits/setjmp2.h: Likewise.
37002 * stdlib/ucontext.h: Likewise.
37003
77cdc054
AS
370042011-11-10 Andreas Schwab <schwab@redhat.com>
37005
37006 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37007 (reused_arena): Don't check arena limit.
37008 (arena_get2): Atomically check arena limit.
37009
fe72eebd
UD
370102011-11-08 Ulrich Drepper <drepper@gmail.com>
37011
5f078c32
UD
37012 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37013 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37014
fe72eebd
UD
37015 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37016 instructions.
37017
ae1bc2fa
AS
370182011-11-07 Andreas Schwab <schwab@redhat.com>
37019
7583a88d
AS
37020 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37021 handler when locking.
37022
ae1bc2fa
AS
37023 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37024 Fix size of allocated buffer.
37025
10fb0bfa
AS
370262011-11-04 Andreas Schwab <schwab@redhat.com>
37027
998832a4
AS
37028 [BZ #10103]
37029 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37030 declarations for long double functions.
37031 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37032
10fb0bfa
AS
37033 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37034
3d7ba52b
AS
370352011-11-03 Andreas Schwab <schwab@redhat.com>
37036
a9ae54a1
AS
37037 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37038 installed.
37039
3d7ba52b
AS
37040 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37041 is disabled.
37042
bc8db248
ST
370432011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37044
37045 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37046
45b96dd6
AS
370472011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37048
647776f6
AS
37049 * include/alloca.h (stackinfo_alloca_round): Define.
37050 (extend_alloca): Use it.
37051 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37052 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37053 here.
37054
d91a8b93
AS
37055 * scripts/check-local-headers.sh: Ignore libaudit.h.
37056
45b96dd6
AS
37057 * nscd/Makefile (extra-objs): Make recursively expanded.
37058
432d41ce
UD
370592011-11-01 Ulrich Drepper <drepper@gmail.com>
37060
34372fc6
UD
37061 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37062 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37063
fadb59f8
UD
37064 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37065 * posix/tst-rfc3484-2.c: Likewise.
37066 * posix/tst-rfc3484-3.c: Likewise.
37067
78239589
UD
37068 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37069 process_vm_writev.
37070 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37071 process_vm_writev.
37072 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37073 process_vm_writev from libc using GLIBC_2.15 version.
37074
432d41ce
UD
37075 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37076
02f9c6cf
PP
370772011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37078
37079 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37080 stack usage.
37081
3a2c0242
UD
370822011-10-31 Ulrich Drepper <drepper@gmail.com>
37083
f4ec4833
UD
37084 [BZ #13367]
37085 * nss/getent.c (initgroups_keys): Show error message in case no group
37086 names are given.
37087
3a2c0242
UD
37088 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37089 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37090 __bump_nl_timestamp.
37091 * nscd/connections (nscd_init): When host database is served open
37092 netlink socket and request notification about configuration changes.
37093 (main_loop_poll): Track netlink file descriptor and bump timestamp
37094 in case data becomes available.
37095 (main_loop_epoll): Likewise.
37096 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37097 (database_pers_head): Add extra_data fileds.
37098 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37099 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37100 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37101 Adjust caller.
37102 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37103 in6ai data, call __free_in6ai.
37104 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37105 Add -DHAVE_NETLINK.
37106 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37107 interface information. Reuse previous data if netlink timestamp
37108 is not changed.
37109 (__bump_nl_timestamp): New function.
37110 (__free_in6ai): New function.
37111
636064eb
UD
371122011-10-30 Ulrich Drepper <drepper@gmail.com>
37113
37114 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37115 close_not_cancel_no_status here.
37116 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37117
9beb2334
UD
371182011-10-29 Ulrich Drepper <drepper@gmail.com>
37119
6ef76f3b
UD
37120 [BZ #13276]
37121 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37122 return value.
37123
0ffc4f3e 37124 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37125 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37126 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37127
cb95113e
UD
371282011-07-03 Andreas Jaeger <aj@suse.de>
37129
37130 [BZ #10709]
37131 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37132 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37133 * math/libm-test.inc (sin_test): Add test case.
37134
a1b560ff
UD
371352011-10-29 Ulrich Drepper <drepper@gmail.com>
37136
c9aaface
UD
37137 [BZ #13337]
37138 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37139 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37140
d272e7f1
UD
37141 * elf/chroot_canon.c (chroot_canon): Cleanups.
37142
1bc33071
UD
37143 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37144
1760874d
TJ
37145 [BZ #13335]
37146 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37147 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37148
51d91b18
UD
37149 * string/test-strchr.c: Make usable for strchrnul testing.
37150 * string/test-strchrnul.c: New file.
37151 * string/Makefile (strop-tests): Add strchrnul.
37152
a1b560ff 37153 * po/it.po: Update from translation team.
b611fb81 37154 * po/es.po: Likewise.
a1b560ff 37155
a5b81e1f
UD
371562011-10-28 Ulrich Drepper <drepper@gmail.com>
37157
fd52bc6d
UD
37158 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37159 the three constants needed as parameters. Drop the others.
37160 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37161 __m128i_strloadu_tolower.
52e4b9eb
UD
37162 Create and initialize variable zero and use it in all the places
37163 where _mm_setzero_si128 was used.
fd52bc6d 37164
a5b81e1f
UD
37165 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37166 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37167 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37168 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37169 anymore.
37170 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37171 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37172 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37173 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37174 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37175 __mpranred, __mptan.
37176 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37177 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37178 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37179 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37180 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37181 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37182 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37183 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37184 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37185
b4343346
AS
371862011-10-28 Andreas Schwab <schwab@redhat.com>
37187
0c92d8a8
AS
37188 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37189 redefine if SHARED.
37190 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37191
b4343346
AS
37192 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37193 wide char related routines to wcsmbs subdir.
37194
3871f58f
AS
371952011-10-27 Andreas Schwab <schwab@redhat.com>
37196
37197 [BZ #13344]
37198 * misc/sys/cdefs.h (__THROWNL): Define.
37199 * posix/unistd.h: Use __THREADNL instead of __THREAD
37200 for memory synchronization functions.
37201
94d44d9f
RM
372022011-10-26 Roland McGrath <roland@hack.frob.com>
37203
21b64b15 37204 [BZ #13349]
94d44d9f
RM
37205 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37206 doesn't exist.
37207 * manual/stdio.texi (Obstack Streams): Node removed.
37208
f6ce9294
AS
372092011-10-26 Andreas Schwab <schwab@redhat.com>
37210
80479147
AS
37211 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37212 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37213 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37214
f6ce9294
AS
37215 * math/math_private.h (math_force_eval): Allow non-addressable
37216 arguments.
37217 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37218
618280a1
UD
372192011-10-25 Ulrich Drepper <drepper@gmail.com>
37220
e0016b11
UD
37221 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37222 file is not needed.
37223
37224 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37225 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37226 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37227 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37228 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37229 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37230 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37231 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37232 Add AVX variants.
37233 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37234 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37235 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37236 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37237 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37238 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37239 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37240 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37241 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37242 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37243 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37244 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37245 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37246 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37247 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37248 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37249 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37250 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37251 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37252
37253 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37254 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37255
618280a1
UD
37256 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37257 place. Use VEX encoding when compiling for AVX.
37258
37822576
AS
372592011-10-25 Andreas Schwab <schwab@redhat.com>
37260
1f1e1947
AS
37261 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37262 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37263
37822576
AS
37264 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37265
31ea014d
UD
372662011-10-25 Ulrich Drepper <drepper@gmail.com>
37267
d7826aa1 37268 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37269 useless if() expression.
d7826aa1
UD
37270 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37271 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37272 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37273 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37274 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37275 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37276 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37277 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37278 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37279 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37280 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37281 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37282 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37283 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37284 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37285 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37286 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37287 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37288 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37289
31ea014d
UD
37290 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37291
16437fec
AS
372922011-10-25 Andreas Schwab <schwab@redhat.com>
37293
37294 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37295 condition.
37296 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37297
31d3cc00
UD
372982011-10-25 Ulrich Drepper <drepper@gmail.com>
37299
37300 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37301 .text section. Avoid duplicate constants.
37302 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37303 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37304 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37305 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37306 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37307 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37308 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37309 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37310 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37311 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37312 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37313 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37314 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37315 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37316 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37317 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37318 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37319 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37320 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37321 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37322 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37323 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37324 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37325 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37326 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37327 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37328 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37329 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37330 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37331 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37332 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37333 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37334 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37335 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37336 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37337 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37338 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37339 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37340 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37341 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37342 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37343 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37344 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37345 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37346 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37347
58985aa9
UD
373482011-10-24 Ulrich Drepper <drepper@gmail.com>
37349
202c9deb
UD
37350 * sysdeps/x86_64/dla.h: Move to ...
37351 * sysdeps/x86_64/fpu/dla.h: ...here.
37352 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37353 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37354
af968f62
UD
37355 * config.make.in: Add have-mfma4 entry.
37356 * configure.in: Substitute libc_cv_cc_fma4.
37357 * math/Makefile (dbl-only-routines): Add sincostab.
37358 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37359 Use __sincostab not sincos.
37360 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37361 name is a macro.
37362 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37363 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37364 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37365 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37366 using __copysign.
37367 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37368 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37369 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37370 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37371 and __inv.
37372 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37373 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37374 __copysign.
37375 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37376 define aliases when function name is a macro.
37377 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37378 sysdeps/ieee754/dbl-64/sincos.tbl.
37379 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37380 fma4-enabled routines.
37381 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37382 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37383 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37384 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37385 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37386 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37387 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37388 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37389 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37390 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37391 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37392 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37393 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37394 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37395 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37396 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37397 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37398 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37399 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37400 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37401 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37402 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37403 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37404 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37405 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37406 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37407 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37408 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37409 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37410 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37411
58985aa9
UD
37412 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37413 rename.
37414 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37415 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37416 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37417 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37418 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37419 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37420 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37421 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37422
a201fbcf
AS
374232011-10-24 Andreas Schwab <schwab@redhat.com>
37424
37425 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37426
fc2ee42a
LD
374272011-10-23 Ulrich Drepper <drepper@gmail.com>
37428
bb3129bd
UD
37429 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37430
0275fff8
UD
37431 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37432 prediction.
37433 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37434
2fa2ae85
UD
37435 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37436 Remove unused variable magic_bits.
37437 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37438
fc2ee42a
LD
37439 * string/strnlen.c: Define and use STRNLEN macro.
37440 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37441 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37442 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37443 * wcsmbs/wcslen.c: Define and use WCSLEN.
37444 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37445 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37446 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37447 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37448 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37449 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37450 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37451
ce7dd29f
LD
374522011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37453
37454 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37455 strnlen-sse2-no-bsf.
37456 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37457 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37458 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37459 Add strnlen support.
37460 (USE_AS_STRNLEN): New macro.
37461 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37462 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37463 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37464 * sysdeps/x86_64/wcslen.S: New file.
37465
979c70a3
MZ
374662011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37467
37468 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37469 XMM-moves are used for copying on small sizes.
37470
2d09f82f
LD
374712011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37472
37473 * wcsmbs/Makefile (strop-tests): Add wcschr.
37474 * wcsmbs/test-wcschr.c: New file.
37475 * string/test-strchr.c: Update.
37476 Add wcschr support.
37477 (WIDE): New macro.
37478
619fccca
LD
374792011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37480
2d09f82f 37481 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37482 * wcsmbs/test-wcslen.c: New file.
37483 * string/test-strlen.c: Update.
37484 Add wcslen support.
37485 (WIDE): New macro.
37486
09f699ea
UD
374872011-10-23 Ulrich Drepper <drepper@gmail.com>
37488
37489 * po/it.po: Update from translation team.
37490
95584d3b
LD
374912011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37492
37493 * sysdeps/x86_64/wcscmp.S: Update.
37494 Fix wrong comparison semantics.
37495 wcscmp shall use signed comparison not unsigned.
37496 Don't use substraction to avoid overflow bug.
37497 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37498 * wcsmbc/wcscmp.c: Likewise.
37499 * string/test-strcmp.c: Likewise.
37500 Add new tests to check cases with negative values.
37501
c8b3296b
UD
375022011-10-23 Ulrich Drepper <drepper@gmail.com>
37503
37504 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37505 * sysdeps/x86_64/dla.h: ...here. New file.
37506 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37507 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37508 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37510 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37511 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37512 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37513 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37514 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37515
246ad57a
AS
375162011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37517
37518 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37519 __ynl_finite aliases.
37520
a1a87169
UD
375212011-10-22 Ulrich Drepper <drepper@gmail.com>
37522
0d355eb7
UD
37523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37524
a1a87169
UD
37525 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37526 define DLA_FMA.
37527 [DLA_FMA] (EMULV): Use DLA_FMA.
37528 [DLA_FMA] (MUL12): Use EMULV.
37529 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37530 that are not needed.
37531 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37532 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37534 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37535 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37536 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37537 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37538
ee2aafe0
AS
375392011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37540
37541 * math/s_nan.c: Undef __nan.
37542 * math/s_nanf.c: Undef __nanf.
37543 * math/s_nanl.c: Undef __nanl.
37544 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37545 "math_private.h".
37546
bc62c2fb
UD
375472011-10-22 Ulrich Drepper <drepper@gmail.com>
37548
77425c63
UD
37549 * math/s_catan.c: Add branch predictions.
37550 * math/s_catanf.c: Likewise.
37551 * math/s_catanh.c: Likewise.
37552 * math/s_catanhf.c: Likewise.
37553 * math/s_catanhl.c: Likewise.
37554 * math/s_catanl.c: Likewise.
37555 * math/s_cexp.c: Likewise.
37556 * math/s_cexpf.c: Likewise.
37557 * math/s_cexpl.c: Likewise.
37558 * math/s_clog.c: Likewise.
37559 * math/s_clog10.c: Likewise.
37560 * math/s_clog10f.c: Likewise.
37561 * math/s_clog10l.c: Likewise.
37562 * math/s_clogf.c: Likewise.
37563 * math/s_clogl.c: Likewise.
37564 * math/s_csqrt.c: Likewise.
37565 * math/s_csqrtf.c: Likewise.
37566 * math/s_csqrtl.c: Likewise.
37567 * math/s_ctanf.c: Likewise.
37568 * math/s_ctanh.c: Likewise.
37569 * math/s_ctanhf.c: Likewise.
37570 * math/s_ctanhl.c: Likewise.
37571 * math/s_ctanl.c: Likewise.
37572
bc62c2fb
UD
37573 * math/math_private.h: Define __nan, __nanf, __nanl.
37574 * math/s_cacosh.c: Include <math_private.h>.
37575 * math/s_cacoshl.c: Likewise.
37576 * math/s_casinh.c: Likewise.
37577 * math/s_casinhf.c: Likewise.
37578 * math/s_casinhl.c: Likewise.
37579 * math/s_ccos.c: Rely entire on ccosh.
37580 * math/s_ccosf.c: Rely entire on ccoshf.
37581 * math/s_ccosl.c: Rely entirely on ccoshl.
37582 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37583 Remove tests for FE_INVALID.
37584 * math/s_ccoshf.c: Likewise.
37585 * math/s_ccoshl.c: Likewise.
37586 * math/s_csin.c: Likewise.
37587 * math/s_csinf.c: Likewise.
37588 * math/s_csinh.c Likewise.
37589 * math/s_csinhf.c: Likewise.
37590 * math/s_csinhl.c: Likewise.
37591 * math/s_csinl.c: Likewise.
37592 * math/s_ctan.c: Likewise.
37593 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37594 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37595 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37596
8ec250a4
UD
375972011-10-21 Ulrich Drepper <drepper@gmail.com>
37598
c196fed8
UD
37599 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37600 compilation problems.
37601
8ec250a4
UD
37602 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37603 __builtin_expect.
37604
8d4f46c6
UD
376052011-10-20 Ulrich Drepper <drepper@gmail.com>
37606
ed72b654
UD
37607 * sysdeps/i386/configure.in: Test for -mfma4 option.
37608 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37609 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37610 COMMON_CPUID_INDEX_80000001.
37611 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37612 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37613 use it if FMA3 is not supported.
37614 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37615
8d4f46c6
UD
37616 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37617 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37618
d45c60c2
AS
376192011-10-20 Andreas Schwab <schwab@redhat.com>
37620
37621 [BZ #12892]
37622 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37623 it would create a cycle with a link time dependency.
37624
d9a4d2ab
UD
376252011-10-19 Ulrich Drepper <drepper@gmail.com>
37626
855d1560
UD
37627 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37628 instruction.
37629 * string/Makefile (strop-tests): Add rawmemchr.
37630 * string/test-rawmemchr.c: New file.
37631
d9a4d2ab
UD
37632 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37633 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37634 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37635 when compiling str{,n}casecmp and when AVX is available. Hook up
37636 new optimized code in initializers.
37637
8f3b1ffe
AS
376382011-10-19 Andreas Schwab <schwab@redhat.com>
37639
37640 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37641 __feraiseexcept instead of feraiseexcept.
37642
d38f1dba
UD
376432011-10-18 Ulrich Drepper <drepper@gmail.com>
37644
d9a8d0ab
UD
37645 * math/math_private.h: Define defaults for libc_fetestexcept and
37646 libc_feupdateenv.
37647 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37648 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37649 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37650 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37651 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37652 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37653 libc_fetestexcept and libc_feupdateenv.
37654
4855e3dd
UD
37655 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37656 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37657 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37658 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37659 libc_feholdexcept_setround.
37660
581d30e3
UD
37661 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37662 Add s_nearbyint-c and s_nearbyintf-c.
37663 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37664 nearbyintf inlines.
37665 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37666 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37667 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37668 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37669
d38f1dba
UD
37670 * math/math_private.h: Define defaults for libc_fegetround,
37671 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37672 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37673 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37674 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37675 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37676 standard functions.
37677 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37678 Remove comments and hacks for old compiler versions.
37679 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37680 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37681 libc_feholdexceptl.
37682
caa6c9d8
AS
376832011-10-18 Andreas Schwab <schwab@redhat.com>
37684
37685 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37686 (__feraiseexcept_renamed): Add __NTH.
37687 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37688 namespace violations.
37689
97c066e6
UD
376902011-10-17 Ulrich Drepper <drepper@gmail.com>
37691
99ce7b04
UD
37692 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37693
1004d182
UD
37694 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37695
228a984d
UD
37696 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37697 recently added interfaces.
37698 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37699
c8553a6a
UD
37700 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37701 about macro parameter expansion.
37702
ed22dcf6
UD
37703 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37704 __NO_MATH_INLINES is defined. Cleanups.
37705
37706 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37707 and __floorf is target has SSE4.1.
37708 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37709 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37710 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37711 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37712
b171c137
UD
37713 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37714 name.
37715 (floorf): Likewise.
37716
97c066e6
UD
37717 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37718
629f62ef
AS
377192011-10-17 Andreas Schwab <schwab@redhat.com>
37720
49a43d80
AS
37721 * misc/sys/cdefs.h: Fix last change.
37722
629f62ef
AS
37723 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37724 database lookup.
37725
e453f6cd
UD
377262011-10-16 Ulrich Drepper <drepper@gmail.com>
37727
aa78043a
UD
37728 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37729
ad0f5cad
UD
37730 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37731 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37732 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37733 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37734 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37735 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37736 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37737 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37738 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37739 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37740 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37741 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37742 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37743 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37744 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37745 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37746 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37747 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37748 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37749 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37750 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37751 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37752
37753 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37754 ceil, ceilf, floor, floorf.
37755
37756 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37757 Perform IRELATIVE relocations last.
37758
e453f6cd
UD
37759 * elf/do-rel.h: Add another parameter nrelative, replacing the
37760 local variable with the same name. Change name of the function
37761 to end in Rel or Rela (uppercase).
37762 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37763 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37764 elf_dynamic_do_##reloc function.
37765
fd5bdc09
UD
377662011-10-15 Ulrich Drepper <drepper@gmail.com>
37767
79b195b5
UD
37768 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37769 is sufficient, at least on modern CPUs.
37770
d4a28569
UD
37771 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37772
b61099b5
UD
37773 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37774 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37775
bcf01e6d
UD
37776 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37777 __expl_finite.
37778 * math/bits/math-finite.h: Add entries for exp.
37779 * math/e_expl.c: Add __*_finite alias.
37780 * sysdeps/i386/fpu/e_exp.S: Likewise.
37781 * sysdeps/i386/fpu/e_expf.S: Likewise.
37782 * sysdeps/i386/fpu/e_expl.c: Likewise.
37783 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37784 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37785 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37786 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37787 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37788 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37789 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37790
ba1a0d59
UD
37791 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37792 is sufficient, at least on modern CPUs.
37793
fd5bdc09
UD
37794 * ctype/ctype-info.c (__ctype_init): Define.
37795 * include/ctype.h (__ctype_init): Declare.
37796 (__ctype_b_loc): The variable is always initialized.
37797 (__ctype_toupper_loc): Likewise.
37798 (__ctype_tolower_loc): Likewise.
37799 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37800 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37801
7872cfb0
AS
378022011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37803
b468825a
AS
37804 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37805
7872cfb0
AS
37806 * configure.in: Also look in $cxxmachine/include for C++ system
37807 headers.
37808
be13f7bf
LD
378092011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37810
37811 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37812 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37813 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37814 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37815 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37816 (USE_AS_WMEMCMP): New macro.
37817 Fixing indents.
37818 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37819 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37820 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37821 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37822 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37823 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37824 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37825 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37826 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37827 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37828 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37829 (USE_AS_WMEMCMP): New macro.
37830 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37831 * sysdeps/string/test-memcmp.c: Update.
37832 Fix simple_wmemcmp.
37833 Add new tests.
37834 * wcsmbs/wmemcmp.c: Update.
37835 (WMEMCMP): New macro.
37836 Fix overflow bug.
37837
556a2007
AJ
378382011-10-12 Andreas Jaeger <aj@suse.de>
37839
37840 [BZ #13268]
37841 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37842
538faaa7
UD
378432011-10-15 Ulrich Drepper <drepper@gmail.com>
37844
ab6737ff
UD
37845 * libio/iofwide.c (do_length): Avoid warning.
37846
538faaa7
UD
37847 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37848
396a21b1
UD
378492011-10-14 Ulrich Drepper <drepper@gmail.com>
37850
cdf2901f
UD
37851 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37852
38ad40ce
UD
37853 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37854 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37855 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37856 * sysdeps/i386/i686/fpu/e_log.S: New file.
37857 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37858 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37859
396a21b1
UD
37860 * ctype/ctype.h: Add support for inlined isXXX functions when
37861 compiling C++ code.
37862
6b1f68c9
AS
378632011-10-14 Andreas Schwab <schwab@redhat.com>
37864
349290c0
AS
37865 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37866
6b1f68c9
AS
37867 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37868
f2282d42
RM
378692011-10-13 Roland McGrath <roland@hack.frob.com>
37870
37871 [BZ #13291]
37872 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37873
5298ffa8
AS
378742011-10-13 Andreas Schwab <schwab@redhat.com>
37875
714fad23
AS
37876 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37877 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37878 feraiseexcept.
37879
81dcc7fb
AS
37880 * sysdeps/x86_64/memrchr.S: Check for zero size.
37881
5298ffa8
AS
37882 * string/stratcliff.c: Add memrchr tests.
37883
951fbcec
LD
378842011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37885
37886 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37887 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37888 rawmemchr-sse2 rawmemchr-sse2-bsf.
37889 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37890 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37891 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37892 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37893 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37894 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37895 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37896 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37897 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37898 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37899 * string/memrchr.c (MEMRCHR): New macro.
37900
0ac5ae23
UD
379012011-10-12 Ulrich Drepper <drepper@gmail.com>
37902
37903 Add integration with gcc's -ffinite-math-only and optimize wrapper
37904 functions in libm.
37905 * Versions.def: Define GLIBC_2.15 version for libm.
37906 * math/Makefile (headers): Add bits/math-finite.h.
37907 * math/bits/math-finite.h: New file.
37908 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37909 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37910 * math/e_acoshl.c: Add __*_finite alias.
37911 * math/e_acosl.c: Likewise.
37912 * math/e_asinl.c: Likewise.
37913 * math/e_atan2l.c: Likewise.
37914 * math/e_atanhl.c: Likewise.
37915 * math/e_coshl.c: Likewise.
37916 * math/e_exp10.c: Likewise.
37917 * math/e_exp10f.c: Likewise.
37918 * math/e_exp10l.c: Likewise.
37919 * math/e_exp2l.c: Likewise.
37920 * math/e_fmodl.c: Likewise.
37921 * math/e_gammal_r.c: Likewise.
37922 * math/e_hypotl.c: Likewise.
37923 * math/e_j0l.c: Likewise.
37924 * math/e_j1l.c: Likewise.
37925 * math/e_jnl.c: Likewise.
37926 * math/e_lgammal_r.c: Likewise.
37927 * math/e_log10l.c: Likewise.
37928 * math/e_log2l.c: Likewise.
37929 * math/e_logl.c: Likewise.
37930 * math/e_powl.c: Likewise.
37931 * math/e_sinhl.c: Likewise.
37932 * math/e_sqrtl.c: Likewise.
37933 * math/e_scalb.c: Completely rewritten and optimized.
37934 * math/e_scalbf.c: Likewise.
37935 * math/e_scalbl.c: Likewise.
37936 * math/w_acos.c: Likewise.
37937 * math/w_acosf.c: Likewise.
37938 * math/w_acosl.c: Likewise.
37939 * math/w_acosh.c: Likewise.
37940 * math/w_acoshf.c: Likewise.
37941 * math/w_acoshl.c: Likewise.
37942 * math/w_asin.c: Likewise.
37943 * math/w_asinf.c: Likewise.
37944 * math/w_asinl.c: Likewise.
37945 * math/w_atan2.c: Likewise.
37946 * math/w_atan2f.c: Likewise.
37947 * math/w_atan2l.c: Likewise.
37948 * math/w_atanh.c: Likewise.
37949 * math/w_atanhf.c: Likewise.
37950 * math/w_atanhl.c: Likewise.
37951 * math/w_exp10.c: Likewise.
37952 * math/w_exp10f.c: Likewise.
37953 * math/w_exp10l.c: Likewise.
37954 * math/w_fmod.c: Likewise.
37955 * math/w_fmodf.c: Likewise.
37956 * math/w_fmodl.c: Likewise.
37957 * math/w_j0.c: Likewise.
37958 * math/w_j0f.c: Likewise.
37959 * math/w_j0l.c: Likewise.
37960 * math/w_j1.c: Likewise.
37961 * math/w_j1f.c: Likewise.
37962 * math/w_j1l.c: Likewise.
37963 * math/w_jn.c: Likewise.
37964 * math/w_jnf.c: Likewise.
37965 * math/w_log.c: Likewise.
37966 * math/w_logf.c: Likewise.
37967 * math/w_logl.c: Likewise.
37968 * math/w_log10.c: Likewise.
37969 * math/w_log10f.c: Likewise.
37970 * math/w_log10l.c: Likewise.
37971 * math/w_log2.c: Likewise.
37972 * math/w_log2f.c: Likewise.
37973 * math/w_log2l.c: Likewise.
37974 * math/w_pow.c: Likewise.
37975 * math/w_powf.c: Likewise.
37976 * math/w_powl.c: Likewise.
37977 * math/w_remainder.c: Likewise.
37978 * math/w_remainderf.c: Likewise.
37979 * math/w_remainderl.c: Likewise.
37980 * math/w_scalb.c: Likewise.
37981 * math/w_scalbf.c: Likewise.
37982 * math/w_scalbl.c: Likewise.
37983 * math/w_sqrt.c: Likewise.
37984 * math/w_sqrtf.c: Likewise.
37985 * math/w_sqrtl.c: Likewise.
37986 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
37987 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
37988 used.
37989 * math/math_private.h: Declare __kernel_standard_f.
37990 * math/w_cosh.c: Remove cruft and optimize a bit.
37991 * math/w_coshf.c: Likewise.
37992 * math/w_coshl.c: Likewise.
37993 * math/w_exp2.c: Likewise.
37994 * math/w_exp2f.c: Likewise.
37995 * math/w_exp2l.c: Likewise.
37996 * math/w_hypot.c: Likewise.
37997 * math/w_hypotf.c: Likewise.
37998 * math/w_hypotl.c: Likewise.
37999 * math/w_lgamma.c: Likewise.
38000 * math/w_lgamma_r.c: Likewise.
38001 * math/w_lgammaf.c: Likewise.
38002 * math/w_lgammaf_r.c: Likewise.
38003 * math/w_lgammal.c: Likewise.
38004 * math/w_lgammal_r.c: Likewise.
38005 * math/w_sinh.c: Likewise.
38006 * math/w_sinhf.c: Likewise.
38007 * math/w_sinhl.c: Likewise.
38008 * math/w_tgamma.c: Likewise.
38009 * math/w_tgammaf.c: Likewise.
38010 * math/w_tgammal.c: Likewise.
38011 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38012 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38013 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38014 Minor optimizations. Pretty printing. Remove cruft.
38015 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38016 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38017 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38018 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38019 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38020 * sysdeps/i386/fpu/e_asin.S: Likewise.
38021 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38022 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38023 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38024 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38025 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38026 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38027 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38028 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38029 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38030 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38031 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38032 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38033 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38034 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38035 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38036 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38037 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38038 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38039 * sysdeps/i386/fpu/e_log.S: Likewise.
38040 * sysdeps/i386/fpu/e_log10.S: Likewise.
38041 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38042 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38043 * sysdeps/i386/fpu/e_log2.S: Likewise.
38044 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38045 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38046 * sysdeps/i386/fpu/e_logf.S: Likewise.
38047 * sysdeps/i386/fpu/e_logl.S: Likewise.
38048 * sysdeps/i386/fpu/e_pow.S: Likewise.
38049 * sysdeps/i386/fpu/e_powf.S: Likewise.
38050 * sysdeps/i386/fpu/e_powl.S: Likewise.
38051 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38052 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38053 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38054 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38055 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38056 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38057 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38058 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38059 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38060 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38061 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38062 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38063 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38064 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38065 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38066 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38067 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38068 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38069 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38070 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38071 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38072 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38073 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38074 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38075 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38076 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38077 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38078 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38079 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38080 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38081 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38082 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38083 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38084 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38085 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38086 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38087 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38088 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38089 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38090 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38091 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38092 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38093 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38094 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38095 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38096 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38097 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38098 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38099 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38100 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38101 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38102 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38103 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38104 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38105 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38106 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38107 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38108 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38109 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38110 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38111 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38112 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38113 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38114 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38115 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38116 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38117 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38118 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38119 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38120 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38121 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38122 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38123 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38125 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38126 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38127 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38129 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38130 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38131 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38132 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38133 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38134 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38135 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38136 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38137 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38138 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38139 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38140 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38141 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38142 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38143 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38144 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38145 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38146 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38147 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38148 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38149 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38150 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38151 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38152 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38153 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38154 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38155 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38156 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38157 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38158 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38159 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38160 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38161 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38162 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38163 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38164 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38165 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38166 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38167 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38168 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38169 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38170 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38171 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38172 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38173 (__isnanf): Likewise.
38174 (__isinf_ns): Likewise.
38175 (__isinf_nsf): Likewise.
38176 (__finite): Likewise.
38177 (__finitef): Likewise.
38178 (__ieee754_sqrt): Define as macro.
38179 (__ieee754_sqrtf): Define as macro.
38180 (__ieee754_sqrtl): Define as macro.
38181 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38182 inlined copy.
38183 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38184 __FINITE_MATH_ONLY__ consistent.
38185 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38186
12cc2fcd
AS
381872011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38188
a843a204
AS
38189 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38190 of rawmemchr.
38191
12cc2fcd
AS
38192 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38193
c853acd5
UD
381942011-10-09 Ulrich Drepper <drepper@gmail.com>
38195
38196 * po/ja.po: Update from translation team.
38197
c658d255
RM
381982011-10-08 Roland McGrath <roland@hack.frob.com>
38199
110946e4
RM
38200 * locale/programs/locarchive.c (prepare_address_space): New function.
38201 (create_archive, enlarge_archive, open_archive): Use it.
38202
50604220
RM
38203 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38204 inside [SHARED], where it is used.
38205
c658d255
RM
38206 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38207
38208 * nss/getent.c (netgroup_keys): Remove unused variable.
38209 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38210
6a621eb7
UD
382112011-10-08 Ulrich Drepper <drepper@gmail.com>
38212
7edb55ce
UD
38213 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38214 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38215 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38216 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38217 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38218 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38219 * math/Makefile (libm-calls): Add s_isinf_ns.
38220 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38221 * math/multc3.c: Likewise.
38222 * math/s_casin.c: Likewise.
38223 * math/s_casinf.c: Likewise.
38224 * math/s_casinl.c: Likewise.
38225 * math/s_ccos.c: Likewise.
38226 * math/s_ccosf.c: Likewise.
38227 * math/s_ccosl.c: Likewise.
38228 * math/s_ctan.c: Likewise.
38229 * math/s_ctanf.c: Likewise.
38230 * math/s_ctanh.c: Likewise.
38231 * math/s_ctanhf.c: Likewise.
38232 * math/s_ctanhl.c: Likewise.
38233 * math/s_ctanl.c: Likewise.
38234 * math/w_fmod.c: Likewise.
38235 * math/w_fmodf.c: Likewise.
38236 * math/w_fmodl.c: Likewise.
38237 * math/w_remainder.c: Likewise.
38238 * math/w_remainderf.c: Likewise.
38239 * math/w_remainderl.c: Likewise.
38240 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38241 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38242 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38243 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38244 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38245 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38246 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38247 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38248
187da0ae
UD
38249 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38250 of the number.
38251 * stdio-common/printf_fphex.c: Likewise.
38252 * stdio-common/printf_size.c: Likewise.
38253
9277c064
UD
38254 * math/e_exp10.c: Include math_private.h using <...> not "...".
38255 * math/e_exp10f.c: Likewise.
38256 * math/e_exp10l.c: Likewise.
38257 * math/e_exp2l.c: Likewise.
38258 * math/e_j0l.c: Likewise.
38259 * math/e_j1l.c: Likewise.
38260 * math/e_jnl.c: Likewise.
38261 * math/e_lgammal_r.c: Likewise.
38262 * math/e_rem_pio2l.c: Likewise.
38263 * math/e_scalb.c: Likewise.
38264 * math/e_scalbf.c: Likewise.
38265 * math/e_scalbl.c: Likewise.
38266 * math/k_cosl.c: Likewise.
38267 * math/k_sinl.c: Likewise.
38268 * math/k_tanl.c: Likewise.
38269 * math/s_cacoshf.c: Likewise.
38270 * math/s_catan.c: Likewise.
38271 * math/s_catanf.c: Likewise.
38272 * math/s_catanh.c: Likewise.
38273 * math/s_catanhf.c: Likewise.
38274 * math/s_catanhl.c: Likewise.
38275 * math/s_catanl.c: Likewise.
38276 * math/s_ccosh.c: Likewise.
38277 * math/s_ccoshf.c: Likewise.
38278 * math/s_ccoshl.c: Likewise.
38279 * math/s_cexp.c: Likewise.
38280 * math/s_cexpf.c: Likewise.
38281 * math/s_cexpl.c: Likewise.
38282 * math/s_clog.c: Likewise.
38283 * math/s_clog10.c: Likewise.
38284 * math/s_clog10f.c: Likewise.
38285 * math/s_clog10l.c: Likewise.
38286 * math/s_clogf.c: Likewise.
38287 * math/s_clogl.c: Likewise.
38288 * math/s_csin.c: Likewise.
38289 * math/s_csinf.c: Likewise.
38290 * math/s_csinh.c: Likewise.
38291 * math/s_csinhf.c: Likewise.
38292 * math/s_csinhl.c: Likewise.
38293 * math/s_csinl.c: Likewise.
38294 * math/s_csqrt.c: Likewise.
38295 * math/s_csqrtf.c: Likewise.
38296 * math/s_csqrtl.c: Likewise.
38297 * math/s_ctan.c: Likewise.
38298 * math/s_ctanf.c: Likewise.
38299 * math/s_ctanh.c: Likewise.
38300 * math/s_ctanhf.c: Likewise.
38301 * math/s_ctanhl.c: Likewise.
38302 * math/s_ctanl.c: Likewise.
38303 * math/s_ldexp.c: Likewise.
38304 * math/s_ldexpf.c: Likewise.
38305 * math/s_ldexpl.c: Likewise.
38306 * math/s_significand.c: Likewise.
38307 * math/s_significandf.c: Likewise.
38308 * math/s_significandl.c: Likewise.
38309 * math/w_acos.c: Likewise.
38310 * math/w_acosf.c: Likewise.
38311 * math/w_acosh.c: Likewise.
38312 * math/w_acoshf.c: Likewise.
38313 * math/w_acoshl.c: Likewise.
38314 * math/w_acosl.c: Likewise.
38315 * math/w_asin.c: Likewise.
38316 * math/w_asinf.c: Likewise.
38317 * math/w_asinl.c: Likewise.
38318 * math/w_atan2.c: Likewise.
38319 * math/w_atan2f.c: Likewise.
38320 * math/w_atan2l.c: Likewise.
38321 * math/w_atanh.c: Likewise.
38322 * math/w_atanhf.c: Likewise.
38323 * math/w_atanhl.c: Likewise.
38324 * math/w_cosh.c: Likewise.
38325 * math/w_coshf.c: Likewise.
38326 * math/w_coshl.c: Likewise.
38327 * math/w_dremf.c: Likewise.
38328 * math/w_exp10.c: Likewise.
38329 * math/w_exp10f.c: Likewise.
38330 * math/w_exp10l.c: Likewise.
38331 * math/w_exp2.c: Likewise.
38332 * math/w_exp2f.c: Likewise.
38333 * math/w_fmod.c: Likewise.
38334 * math/w_fmodf.c: Likewise.
38335 * math/w_fmodl.c: Likewise.
38336 * math/w_hypot.c: Likewise.
38337 * math/w_hypotf.c: Likewise.
38338 * math/w_hypotl.c: Likewise.
38339 * math/w_j0.c: Likewise.
38340 * math/w_j0f.c: Likewise.
38341 * math/w_j0l.c: Likewise.
38342 * math/w_j1.c: Likewise.
38343 * math/w_j1f.c: Likewise.
38344 * math/w_j1l.c: Likewise.
38345 * math/w_jn.c: Likewise.
38346 * math/w_jnf.c: Likewise.
38347 * math/w_jnl.c: Likewise.
38348 * math/w_lgamma.c: Likewise.
38349 * math/w_lgamma_r.c: Likewise.
38350 * math/w_lgammaf.c: Likewise.
38351 * math/w_lgammaf_r.c: Likewise.
38352 * math/w_lgammal.c: Likewise.
38353 * math/w_lgammal_r.c: Likewise.
38354 * math/w_log.c: Likewise.
38355 * math/w_log10.c: Likewise.
38356 * math/w_log10f.c: Likewise.
38357 * math/w_log10l.c: Likewise.
38358 * math/w_log2.c: Likewise.
38359 * math/w_log2f.c: Likewise.
38360 * math/w_log2l.c: Likewise.
38361 * math/w_logf.c: Likewise.
38362 * math/w_logl.c: Likewise.
38363 * math/w_pow.c: Likewise.
38364 * math/w_powf.c: Likewise.
38365 * math/w_powl.c: Likewise.
38366 * math/w_remainder.c: Likewise.
38367 * math/w_remainderf.c: Likewise.
38368 * math/w_remainderl.c: Likewise.
38369 * math/w_scalb.c: Likewise.
38370 * math/w_scalbf.c: Likewise.
38371 * math/w_scalbl.c: Likewise.
38372 * math/w_sinh.c: Likewise.
38373 * math/w_sinhf.c: Likewise.
38374 * math/w_sinhl.c: Likewise.
38375 * math/w_sqrt.c: Likewise.
38376 * math/w_sqrtf.c: Likewise.
38377 * math/w_sqrtl.c: Likewise.
38378 * math/w_tgamma.c: Likewise.
38379 * math/w_tgammaf.c: Likewise.
38380 * math/w_tgammal.c: Likewise.
38381
6a621eb7
UD
38382 * po/ja.po: Update from translation team.
38383
bf582445
AJ
383842011-09-29 Andreas Jaeger <aj@suse.de>
38385
f9efbf3a
AJ
38386 [BZ #13179]
38387 * sunrpc/netname.c (netname2host): Fix logic.
38388
bf582445
AJ
38389 [BZ #6779]
38390 [BZ #6783]
38391 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38392 correctly.
38393 * math/w_remainder.c (__remainder): Likewise.
38394 * math/w_remainderf.c (__remainderf): Likewise.
38395 * math/libm-test.inc (remainder_test): Add test cases.
38396
48693bea
AK
383972011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38398
38399 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38400 sdiv_qrnnd.
38401
42622229
LD
384022011-10-07 Ulrich Drepper <drepper@gmail.com>
38403
38404 * string/test-memcmp.c: Avoid unncessary #defines.
38405 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38406
093ecf92
LD
384072011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38408
38409 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38410 Use new sse2 version for core i3 - i7 as it's faster
38411 than sse42 version.
38412 (bit_Prefer_PMINUB_for_stringop): New.
38413 * sysdeps/x86_64/rawmemchr.S: Update.
38414 Replace with faster SSE2 version.
38415 * sysdeps/x86_64/memrchr.S: New file.
38416 * sysdeps/x86_64/memchr.S: Update.
38417 Replace with faster SSE2 version.
38418
fde56e5c
MP
384192011-09-12 Marek Polacek <mpolacek@redhat.com>
38420
38421 * elf/dl-load.c (lose): Add cast to avoid warning.
38422
21fd49a9
UD
384232011-10-07 Ulrich Drepper <drepper@gmail.com>
38424
5a06e643
UD
38425 * po/ca.po: Update from translation team.
38426
684ae515
UD
38427 * inet/getnetgrent_r.c: Hook up nscd.
38428 * nscd/Makefile (routines): Add nscd_netgroup.
38429 (nscd-modules): Add netgroupcache.
38430 (CFLAGS-netgroupcache.c): Define.
38431 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38432 (cache_search): Add const to second parameter.
38433 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38434 INNETGR.
38435 (dbs): Add netgrdb entry.
38436 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38437 (verify_persistent_db): Handle netgrdb.
38438 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38439 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38440 GETFDNETGR.
38441 (netgroup_response_header): Define.
38442 (innetgroup_response_header): Define.
38443 (datahead): Add netgroup_response_header and innetgroup_response_header
38444 elements.
38445 * nscd/nscd.conf: Add entries for netgroup cache.
38446 * nscd/nscd.h (dbtype): Add netgrdb.
38447 (_PATH_NSCD_NETGROUP_DB): Define.
38448 (netgroup_iov_disabled): Declare.
38449 (xmalloc, xcalloc, xrealloc): Move declarations here.
38450 (cache_search): Adjust prototype.
38451 Add netgroup-related prototypes.
38452 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38453 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38454 (__nscd_innetgr): Declare.
38455 * nscd/selinux.c (perms): Use access_vector_t as element type and
38456 add netgroup-related initializers.
38457 * nscd/netgroupcache.c: New file.
38458 * nscd/nscd_netgroup.c: New file.
38459 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38460 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38461 For four parameters use innetgr.
38462 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38463 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38464 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38465 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38466
21fd49a9
UD
38467 * nscd/connections.c (register_traced_file): Don't register file
38468 for disabled databases.
38469
054c0457
UD
384702011-10-06 Ulrich Drepper <drepper@gmail.com>
38471
32b63198
UD
38472 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38473
054c0457
UD
38474 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38475 from tree and freeing node.
38476
64031225
JO
384772011-09-25 Jiri Olsa <jolsa@redhat.com>
38478
38479 * nss/nsswitch.c (__nss_database_lookup): Handle
38480 nss_parse_service_list out of memory case.
38481
0490345c
JO
384822011-09-15 Jiri Olsa <jolsa@redhat.com>
38483
38484 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38485 out of memory case.
38486
3a62d00d
AS
384872011-10-04 Andreas Schwab <schwab@redhat.com>
38488
38489 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38490 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38491 pass it down.
38492 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38493 elf_machine_rela, elf_machine_lazy_rel.
38494 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38495 (ELF_DYNAMIC_DO_REL): Likewise.
38496 (ELF_DYNAMIC_DO_RELA): Likewise.
38497 (ELF_DYNAMIC_RELOCATE): Likewise.
38498 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38499 to ELF_DYNAMIC_DO_REL.
38500 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38501 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38502 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38503 elf_machine_rela.
38504 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38505 skip_ifunc, don't call ifunc function if non-zero.
38506 (elf_machine_rela): Likewise.
38507 (elf_machine_lazy_rel): Likewise.
38508 (elf_machine_lazy_rela): Likewise.
38509 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38510 (elf_machine_lazy_rel): Likewise.
38511 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38512 Likewise.
38513 (elf_machine_lazy_rel): Likewise.
38514 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38515 Likewise.
38516 (elf_machine_lazy_rel): Likewise.
38517 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38518 (elf_machine_lazy_rel): Likewise.
38519 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38520 (elf_machine_lazy_rel): Likewise.
38521 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38522 (elf_machine_lazy_rel): Likewise.
38523 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38524 (elf_machine_lazy_rel): Likewise.
38525 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38526 (elf_machine_lazy_rel): Likewise.
38527 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38528 (elf_machine_lazy_rel): Likewise.
38529
68577918
UD
385302011-09-28 Ulrich Drepper <drepper@gmail.com>
38531
38532 * nss/nss_files/files-init.c (_nss_files_init): Use static
38533 initialization for all the *_traced_file variables.
38534
68822d74
AS
385352011-09-28 Andreas Schwab <schwab@redhat.com>
38536
38537 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38538
2056100b
RM
385392011-09-27 Roland McGrath <roland@hack.frob.com>
38540
38541 [BZ #13226]
38542 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38543
32c76b63
AS
385442011-09-27 Andreas Schwab <schwab@redhat.com>
38545
38546 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38547 Reread the line before reparsing it.
38548
bf972c9d
AS
385492011-09-26 Andreas Schwab <schwab@redhat.com>
38550
38551 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38552
e057a1b5
JM
385532011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38554 Maxim Kuvyrkov <maxim@codesourcery.com>
38555 Joseph Myers <joseph@codesourcery.com>
38556
38557 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38558 if needed for __stack_chk_guard.
38559
bc7e1c36
RM
385602011-09-19 Roland McGrath <roland@hack.frob.com>
38561
ecb1482f
RM
38562 * sysdeps/posix/spawni.c (script_execute): Always define it.
38563 It will be optimized away if unused.
38564 (maybe_script_execute): New function.
38565 (__spawni): Call it.
38566
bc7e1c36
RM
38567 * Makerules: Don't include tls.make.
38568 (config-tls): Always set to thread.
38569 * tls.make.c: File removed.
38570
1c3b002b
MF
385712011-09-19 Mike Frysinger <vapier@gentoo.org>
38572
38573 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38574 * config.make.in (CPPFLAGS-config): New substituted variable.
38575
2840865d
UD
385762011-09-15 Ulrich Drepper <drepper@gmail.com>
38577
88738eb6
UD
38578 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38579
cbf645a6 38580 [BZ #13192]
2840865d
UD
38581 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38582 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38583
b402e91a
RM
385842011-09-15 Roland McGrath <roland@hack.frob.com>
38585
38586 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38587 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38588 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38589 (CALL_FAIL): Likewise.
38590 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38591 (CALL_FAIL): Macro removed.
38592 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38593
4c1a1f71
UD
385942011-09-15 Ulrich Drepper <drepper@gmail.com>
38595
38596 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38597 for __FINITE_MATH_ONLY__ == 1.
38598
edc121be
AS
385992011-09-15 Andreas Schwab <schwab@redhat.com>
38600
38601 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38602 __ieee754_sqrt instead of sqrt.
38603 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38604 __ieee754_sqrtf instead of sqrtf.
38605 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38606 __floorf instead of floorf.
38607 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38608 __floorf, __truncf instead of floorf, truncf.
38609
cd205654
UD
386102011-09-14 Ulrich Drepper <drepper@gmail.com>
38611
ee4d0315
UD
38612 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38613
cd205654
UD
38614 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38615 __extern_always_inline.
38616 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38617 32-bit.
38618
48b67d71
AS
386192011-09-14 Andreas Schwab <schwab@redhat.com>
38620
38621 * elf/rtld.c (dl_main): Also relocate in dependency order when
38622 doing symbol dependency testing.
38623
1ae12c75
AS
386242011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38625
38626 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38627 Always define `refsym'.
38628
995a80df
AS
386292011-09-13 Andreas Schwab <schwab@redhat.com>
38630
e529793b
AS
38631 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38632 (__FD_ELT): Renamed from __FDELT.
38633 * misc/bits/select2.h (__FD_ELT): Likewise.
38634 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38635 __FD_MASK instead of __FDELT, __FDMASK.
38636 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38637 Likewise.
38638 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38639 Likewise.
38640
52d4fef8
AS
38641 * elf/Makefile (gen-ldd): Fix pattern.
38642
995a80df
AS
38643 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38644 (init_tls): Likewise.
38645
8682f8b0
UD
386462011-09-12 Ulrich Drepper <drepper@gmail.com>
38647
38648 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38649
de82006d
AS
386502011-09-12 Andreas Schwab <schwab@redhat.com>
38651
a7c8e6a1
AS
38652 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38653 `struct cmsghdr *' instead of `void *'.
38654 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38655 Likewise.
38656
0f31fe77
AS
386572011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38658
38659 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38660 if non-absolute.
38661 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38662 ldd_rewrite_script.
0f31fe77 38663
32b4c839
UD
386642011-09-11 Ulrich Drepper <drepper@gmail.com>
38665
83cd1420
UD
38666 * configure.in: Remove --with-tls option.
38667 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38668 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38669 out in case it is missing.
38670 * sysdeps/ia64/elf/configure.in: Likewise.
38671 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38672 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38673 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38674 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38675 * sysdeps/sh/elf/configure.in: Likewise.
38676 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38677 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38678 * sysdeps/x86_64/elf/configure.in: Likewise.
38679 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38680 * sysdeps/mach/hurd/tls.h: Likewise.
38681
633f745d
UD
38682 [BZ #13067]
38683 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38684
f318beb8
UD
38685 [BZ #13090]
38686 * configure.in: Fix use of AC_INIT.
38687
32b4c839
UD
38688 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38689
3ce1f295
UD
386902011-09-10 Ulrich Drepper <drepper@gmail.com>
38691
bb016596
UD
38692 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38693 __set_errno.
8e58439c
UD
38694 * malloc/hooks.c: Likewise.
38695
aebae053 38696 [BZ #11929]
02d46fc4
UD
38697 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38698 variables statically.
38699 (narenas): Initialize.
38700 (list_lock): Initialize.
bb016596
UD
38701 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38702 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38703 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38704 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38705 Add initializers to main_arena and mp_.
38706 (malloc_state): Remove pagesize member. Change all users to use
38707 GLRO(dl_pagesize).
38708
38709 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38710 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38711 is always initialized.
38712
22a89187
UD
38713 * malloc/malloc.c: Removed unused configurations and dead code.
38714 * malloc/arena.c: Likewise.
38715 * malloc/hooks.c: Likewise.
02d46fc4 38716 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38717
d063d164
UD
38718 * include/tls.h: Removed. USE___THREAD must always be defined.
38719 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38720 * elf/dl-libc.c: Likewise.
38721 * elf/dl-tsd.c: Likewise.
38722 * include/errno.h: Likewise.
38723 * include/netdb.h: Likewise.
38724 * include/resolv.h: Likewise.
38725 * inet/herrno-loc.c: Likewise.
38726 * inet/herrno.c: Likewise.
38727 * malloc/arena.c: Likewise.
38728 * malloc/hooks.c: Likewise.
38729 * malloc/malloc.c: Likewise.
38730 * resolv/res-state.c: Likewise.
38731 * resolv/res_libc.c: Likewise.
38732 * sysdeps/i386/dl-machine.h: Likewise.
38733 * sysdeps/ia64/dl-machine.h: Likewise.
38734 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38735 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38736 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38737 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38738 * sysdeps/sh/dl-machine.h: Likewise.
38739 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38740 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38741 * sysdeps/unix/i386/sysdep.S: Likewise.
38742 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38743 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38744 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38745 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38746 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38747 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38748 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38749 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38750 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38751 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38752 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38753 * sysdeps/x86_64/dl-machine.h: Likewise.
38754 * tls.make.c: Likewise.
38755
3ce1f295
UD
38756 * configure.in: Remove --with-__thread option. Make tests for
38757 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38758 tls_model attribute fail if no support is available. Remove
38759 USE_IN_LIBIO.
38760 * Makeconfig: Adjust for dropped configure option. All features are
38761 now mandatory.
38762 * Makerules: Likewise.
38763 * Versions.def: Likewise.
38764 * argp/argp-fmtstream.c: Likewise.
38765 * argp/argp-fmtstream.h: Likewise.
38766 * argp/argp-help.c: Likewise.
38767 * assert/assert.c: Likewise.
38768 * config.h.in: Likewise.
38769 * config.make.in: Likewise.
38770 * configure: Likewise.
38771 * configure.in: Likewise.
38772 * csu/Versions: Likewise.
38773 * csu/init.c: Likewise.
38774 * elf/tst-audit2.c: Likewise.
38775 * elf/tst-tls10.c: Likewise.
38776 * elf/tst-tls10.h: Likewise.
38777 * elf/tst-tls11.c: Likewise.
38778 * elf/tst-tls12.c: Likewise.
38779 * elf/tst-tls14.c: Likewise.
38780 * elf/tst-tlsmod11.c: Likewise.
38781 * elf/tst-tlsmod12.c: Likewise.
38782 * elf/tst-tlsmod13.c: Likewise.
38783 * elf/tst-tlsmod13a.c: Likewise.
38784 * elf/tst-tlsmod14a.c: Likewise.
38785 * elf/tst-tlsmod15b.c: Likewise.
38786 * elf/tst-tlsmod16a.c: Likewise.
38787 * elf/tst-tlsmod16b.c: Likewise.
38788 * elf/tst-tlsmod7.c: Likewise.
38789 * elf/tst-tlsmod8.c: Likewise.
38790 * elf/tst-tlsmod9.c: Likewise.
38791 * gmon/gmon.c: Likewise.
38792 * grp/fgetgrent_r.c: Likewise.
38793 * grp/putgrent.c: Likewise.
38794 * hurd/fopenport.c: Likewise.
38795 * include/libc-symbols.h: Likewise.
38796 * include/tls.h: Likewise.
38797 * intl/gettextP.h: Likewise.
38798 * intl/loadinfo.h: Likewise.
38799 * locale/global-locale.c: Likewise.
38800 * locale/localeinfo.h: Likewise.
38801 * mach/devstream.c: Likewise.
38802 * malloc/arena.c: Likewise.
38803 * malloc/set-freeres.c: Likewise.
38804 * misc/err.c: Likewise.
38805 * misc/getttyent.c: Likewise.
38806 * misc/mntent_r.c: Likewise.
38807 * posix/getopt.c: Likewise.
38808 * posix/wordexp.c: Likewise.
38809 * pwd/fgetpwent_r.c: Likewise.
38810 * resolv/Versions: Likewise.
38811 * resolv/res_hconf.c: Likewise.
38812 * shadow/fgetspent_r.c: Likewise.
38813 * shadow/putspent.c: Likewise.
38814 * stdio-common/printf_fphex.c: Likewise.
38815 * stdio-common/tmpfile.c: Likewise.
38816 * stdlib/abort.c: Likewise.
38817 * stdlib/fmtmsg.c: Likewise.
38818 * sunrpc/auth_unix.c: Likewise.
38819 * sunrpc/clnt_perr.c: Likewise.
38820 * sunrpc/clnt_tcp.c: Likewise.
38821 * sunrpc/clnt_udp.c: Likewise.
38822 * sunrpc/clnt_unix.c: Likewise.
38823 * sunrpc/openchild.c: Likewise.
38824 * sunrpc/svc_simple.c: Likewise.
38825 * sunrpc/svc_tcp.c: Likewise.
38826 * sunrpc/svc_udp.c: Likewise.
38827 * sunrpc/svc_unix.c: Likewise.
38828 * sunrpc/xdr.c: Likewise.
38829 * sunrpc/xdr_array.c: Likewise.
38830 * sunrpc/xdr_rec.c: Likewise.
38831 * sunrpc/xdr_ref.c: Likewise.
38832 * sunrpc/xdr_stdio.c: Likewise.
38833
1248c1c4
PB
388342011-09-09 Ulrich Drepper <drepper@gmail.com>
38835
38836 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38837
388382011-07-03 Andreas Jaeger <aj@suse.de>
38839
38840 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38841 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38842 regenerate with gen-libm-tests.pl.
38843
388442010-05-12 Petr Baudis <pasky@suse.cz>
38845
38846 [BZ #11589]
38847 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38848 around j0() zero points by switching to j1().
38849 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38850 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38851 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38852 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38853
f22e1074
UD
388542011-09-09 Ulrich Drepper <drepper@gmail.com>
38855
f19009c1
UD
38856 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38857 instead of 0.
38858 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38859 instead of 0.
f19009c1
UD
38860 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38861 Patch in part by Pavel Roskin <proski@gnu.org>.
38862
3f8cc204
UD
38863 [BZ #13138]
38864 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38865 realloc.
38866 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38867 Free memory block if necessary.
38868
f22e1074
UD
38869 [BZ #12847]
38870 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38871 be NULL. Don't lock in this case.
38872
0a2349f9
RM
388732011-09-09 Roland McGrath <roland@hack.frob.com>
38874
38875 * elf/elf.h (ELFOSABI_GNU): New macro.
38876 (ELFOSABI_LINUX): Define to that.
38877
f3cdd467
DZ
388782011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38879
38880 * string/strncat.c (strncat): Undef the symbol in case it has been
38881 defined in bits/string.h.
38882
74718d13
UD
388832011-09-09 Ulrich Drepper <drepper@gmail.com>
38884
633e9e0f
UD
38885 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38886
0a2349f9 38887 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38888 link map.
38889
f9924780
AJ
388902011-08-17 Andreas Jaeger <aj@suse.de>
38891
38892 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38893
7f5517aa
PP
388942011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38895 Ian Lance Taylor <iant@google.com>
38896
38897 * math/libm-test.inc (lround_test): New testcase.
38898 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38899
762011fe
UD
389002011-09-08 Ulrich Drepper <drepper@gmail.com>
38901
92963737
UD
38902 * Makefile: Remove support for automatic cvs check-ins.
38903 * Makerules: Likewise.
38904 * config.make.in: Likewise.
38905 * configure.in: Likewise.
38906 * intl/Makefile: Likewise.
38907 * locale/Makefile: Likewise.
38908 * po/Makefile: Likewise.
38909 * posix/Makefile: Likewise.
38910 * sysdeps/gnu/Makefile: Likewise.
38911 * sysdeps/mach/hurd/Makefile: Likewise.
38912 * sysdeps/sparc/sparc32/Makefile: Likewise.
38913
b0727fd8
JS
38914 [BZ #13118]
38915 * posix/Makefile (bug-regex32-ENV): Define.
38916 Patch by John Stanley <jpsinthemix@verizon.net>.
38917
a0f33f99
UD
38918 * misc/Makefile (headers): Add bits/select2.h.
38919 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38920 * misc/bits/select2.h: New file.
38921 * include/bits/select2.h: New file.
38922 * debug/Makefile (routines): Add fdelt_chk.
38923 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38924 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38925 FD_ISSET.
38926 * debug/fdelt_chk.c: New file.
38927
762011fe
UD
38928 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38929 * wcsmbs/test-wmemcmp.c: Likewise.
38930 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38931 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38932
389332011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38934
38935 * string/Makefile (strop-tests): Add memcmp.
38936 * string/test-wmemcmp.c: New file.
38937 * string/test-memcmp.c: Add wmemcmp support.
38938
7f513ec8
RM
389392011-09-08 Roland McGrath <roland@hack.frob.com>
38940
0442afb4
RM
38941 [BZ #13153]
38942 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38943 2011-07-19 change.
38944
7f513ec8
RM
38945 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38946 garbage value in a __mach_port_mod_refs call in the cases of the
38947 task-self and thread-self ports.
38948
a12b2239
ST
389492011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38950
38951 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38952
610f9ab4
AS
389532011-09-08 Andreas Schwab <schwab@redhat.com>
38954
7f513ec8 38955 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38956
48882a1a
LD
389572011-09-07 Ulrich Drepper <drepper@gmail.com>
38958
b49865be
UD
38959 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38960
fdc86bc9
UD
38961 * elf/dl-libc.c (dlerror_run): Pass back error code from
38962 dl_catch_error.
38963
c966526a
UD
38964 [BZ #13123]
38965 * elf/dl-load.c (lose): Free l_origin if it is valid.
38966
48882a1a
LD
38967 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38968 names.
38969 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38970 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38971 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38972 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38973 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38974 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38975
77a2a8b4
AZ
389762011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38977
38978 * sysdeps/powerpc/fpu/e_hypot.c: New file.
38979 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
38980 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
38981 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
38982 * sysdeps/powerpc/fpu/k_cosf.c: New file.
38983 * sysdeps/powerpc/fpu/k_sinf.c: New file.
38984 * sysdeps/powerpc/fpu/s_cosf.c: New file.
38985 * sysdeps/powerpc/fpu/s_sinf.c: New file.
38986 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
38987 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
38988
24f579d8
AM
389892011-08-15 Alan Modra <amodra@gmail.com>
38990
38991 [BZ #13092]
38992 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
38993 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
38994 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
38995 ppc_mcount to static-only-routines.
38996 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
38997 __mcount_internal.
38998 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
38999 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39000
3d4837df
UD
390012011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39002
39003 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39004 for finite and infinity parameters.
39005
22700377
WS
390062011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39007
39008 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39009 and add nop instructions for throughput optimization.
39010 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39011
5025581e
WS
390122011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39013
39014 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39015 aligned copy for power7 with vector-scalar instructions.
39016 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39017
08a300c9
L
390182011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39019
39020 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39021 AVX check.
39022
59178ef9
AS
390232011-09-07 Andreas Schwab <schwab@redhat.com>
39024
39025 [BZ #13144]
39026 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39027 last change.
39028
e38ba7ab
UD
390292011-09-07 Ulrich Drepper <drepper@gmail.com>
39030
39031 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39032 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39033 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39034 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39035 clock_gettime.
39036
d53a73ac
UD
390372011-09-06 Ulrich Drepper <drepper@gmail.com>
39038
fc8bffcc
UD
39039 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39040 Forgot to demangle the pointer.
39041
ceaa0c5d
UD
39042 * sysdeps/i386/sysdep.h: Define atom_text_section.
39043 * sysdeps/x86_64/sysdep.h: Likewise.
39044 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39045 section with atom_text_section.
39046 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39047 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39048 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39049 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39050 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39051
a77d3c17
UD
39052 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39053 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39054 already be defined. Change to take two parameters and don't assign
39055 result to variable. Adjust all users.
39056 Define INTERNAL_GETTIME if not already defined.
39057 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39058 call.
39059 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39060 HAVE_CLOCK_GETTIME_VSYSCALL.
39061 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39062
d53a73ac
UD
39063 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39064 gettimeofday vsyscall, just use time.
39065
a8f84144
AS
390662011-09-06 Andreas Schwab <schwab@redhat.com>
39067
39068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39069 <errno.h>.
39070
ef606249
UD
390712011-09-06 Ulrich Drepper <drepper@gmail.com>
39072
39073 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39074 syscall on x86-64.
39075 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39076 syscall.
39077 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39078 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39079 syscall if possible.
39080
6585cb60
UD
390812011-09-05 Ulrich Drepper <drepper@gmail.com>
39082
39083 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39084 e_ident. Don't pass to find_mapsXX.
39085 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39086
a5f524e4
LD
390872011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39088
39089 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39090 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39091 * sysdeps/x86_64/multiarch/strchr.S: Update.
39092 Check bit_slow_BSF bit.
39093 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39094 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39095 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39096
554881ef
UD
390972011-09-05 Ulrich Drepper <drepper@gmail.com>
39098
d96de963
UD
39099 [BZ #13134]
39100 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39101 before glibc 2.15.
39102 (tryshell): Define.
39103 (__spawni): Change last parameter to be flag. Test
39104 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39105 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39106 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39107 * posix/spawni.c: Likewise.
39108 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39109 * posix/spawnp.c: Likewise. Change normal version to use
39110 SPAWN_XFLAGS_USE_PATH.
39111 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39112 SPAWN_XFLAGS_TRY_SHELL.
39113
d48e5868
UD
39114 [BZ #13150]
39115 * posix/glob.h: Remove gcc 1.x support.
39116
554881ef
UD
39117 [BZ #13068]
39118 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39119
693fb948
LD
391202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39121
39122 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39123 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39124 strrchr-sse2-bsf
39125 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39126 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39127 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39128 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39129 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39130 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39131
1b48c537
UD
391322011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39133
49d42c37
UD
39134 * sysdeps/x86_64/wcscmp.S: New file.
39135
1b48c537
UD
39136 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39137 wcscmp-c wcscmp-sse2
39138 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39139 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39140 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39141 * wcsmbs/wcscmp.c: Allow renaming.
39142
15c95c5d
DM
391432011-09-05 David S. Miller <davem@davemloft.net>
39144
39145 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39146 stack slot, rather than the struct return pointer slot.
39147 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39148 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39149 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39150 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39151
2f0ad8f3
UD
391522011-09-05 Ulrich Drepper <drepper@gmail.com>
39153
d88ae418
UD
39154 * po/ja.po: Update from translation team.
39155
2f0ad8f3
UD
39156 [BZ #13144]
39157 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39158 kernel in 64-bit binaries.
39159
5f4318d1
DM
391602011-09-01 David S. Miller <davem@davemloft.net>
39161
39162 * elf/elf.h (HWCAP_SPARC_*): Move to..
39163 * sysdeps/sparc/sysdep.h: this new file and add new values.
39164 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39165 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39166 _DL_HWCAP_COUNT to 24.
39167 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39168 entries.
39169 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39170 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39171 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39172 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39173 instead of magic constants.
39174 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39175
3ba57516
DM
391762011-08-31 David S. Miller <davem@davemloft.net>
39177
39178 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39179 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39180 Reimplement to do errno handling inline.
39181 (SYSCALL_ERROR_HANDLER): New macro.
39182 (__SYSCALL_STRING): Do not do errno handling in asm.
39183 (__CLONE_SYSCALL_STRING): Delete.
39184 (__INTERNAL_SYSCALL_STRING): Delete.
39185 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39186 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39187 (PSEUDO): Reimplement to do errno handling inline.
39188 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39189 (SYSCALL_ERROR_HANDLER): New macro.
39190 (__SYSCALL_STRING): Do not do errno handling in asm.
39191 (__CLONE_SYSCALL_STRING): Delete.
39192 (__INTERNAL_SYSCALL_STRING): Delete.
39193 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39194 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39195 i386.
39196 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39197 (inline_syscall*): Add 'err' argument.
39198 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39199 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39200 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39201 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39202
39203 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39204 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39205
2bc17433
AS
392062011-08-30 Andreas Schwab <schwab@redhat.com>
39207
39208 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39209
fbeb5f4d
JO
392102011-08-29 Jiri Olsa <jolsa@redhat.com>
39211
39212 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39213 directive.
39214
ad69cc26
DM
392152011-08-24 David S. Miller <davem@davemloft.net>
39216
39217 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39218
39dd69df
AS
392192011-08-24 Andreas Schwab <schwab@redhat.com>
39220
39221 * elf/Makefile: Add rules to build and run unload8 test.
39222 * elf/unload8.c: New file.
39223 * elf/unload8mod1.c: New file.
39224 * elf/unload8mod1x.c: New file.
39225 * elf/unload8mod2.c: New file.
39226 * elf/unload8mod3.c: New file.
39227
39228 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39229 it wasn't used.
39230
2c0b250a
DM
392312011-08-23 David S. Miller <davem@davemloft.net>
39232
39233 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39234 subtract stack bias.
39235 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39236 %sp not %fp in calculations.
39237 (_JMPBUF_UNWINDS_ADJ): Likewise.
39238
22044b48
DM
39239 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39240 (aio_suspend): Call it to force an exception region around the
39241 AIO_MISC_WAIT() invocation.
39242
2cae4995
AS
392432011-08-23 Andreas Schwab <schwab@redhat.com>
39244
39245 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39246 backslash.
39247
873a772e
AJ
392482011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39249
39250 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39251 protection macro.
39252 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39253 and <dl-machine.h>.
39254 (Elf64_FuncDesc): Remove.
39255
25ad0df1
DM
392562011-08-22 David S. Miller <davem@davemloft.net>
39257
39258 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39259 sigaltstack check, add missing cfi directives.
39260 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39261 missing cfi directives, and sigaltstack handling.
39262
e888bcbe
AS
392632011-08-16 Andreas Schwab <schwab@redhat.com>
39264
39265 [BZ #11724]
39266 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39267 object is seen twice.
39268 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39269
39270 * elf/Makefile (distribute): Add tst-initorder2.c.
39271 (tests): Add tst-initorder2.
39272 (modules-names): Add tst-initorder2a tst-initorder2b
39273 tst-initorder2c tst-initorder2d. Add rules to build them.
39274 ($(objpfx)tst-initorder2.out): New rule.
39275 * elf/tst-initorder2.c: New file.
39276 * elf/tst-initorder2.exp: New file.
39277
87162f46
AS
392782011-08-22 Andreas Schwab <schwab@redhat.com>
39279
70538b7f
AS
39280 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39281
f55ffe58
AS
39282 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39283 dependencies back to end of function.
39284
87162f46
AS
39285 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39286 $(elfobjdir)/ld.so.
39287
91b392a4
UD
392882011-08-21 Ulrich Drepper <drepper@gmail.com>
39289
39290 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39291 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39292 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39293 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39294 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39295 of __vdso_gettimeofday.
39296 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39297 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39298 attribute_hidden.
39299 (_libc_vdso_platform_setup): Remove initialization of
39300 __vdso_gettimeofday and __vdso_time.
39301
5c43483f
UD
393022011-08-20 Ulrich Drepper <drepper@gmail.com>
39303
775a77e7
UD
39304 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39305 and fgetc_unlocked.
39306 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39307 getc_unlocked.
89f447ed 39308
49c74ba9
UD
39309 * elf/dl-open.c (add_to_global): Report additions to the global scope
39310 for LD_DEBUG=scopes.
39311 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39312 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39313
5c43483f
UD
39314 [BZ #13114]
39315 * stdio-common/Makefile (tests): Add bug24.
39316 * stdio-common/bug24.c: New file.
39317
a101b025
AJ
393182011-08-19 Andreas Jaeger <aj@suse.de>
39319
39320 [BZ #13114]
39321 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39322 non-existant file when using close-on-exec mode.
39323
c88f1766
UD
393242011-08-20 Ulrich Drepper <drepper@gmail.com>
39325
0276a718
UD
39326 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39327 the very first instruction.
39328
c88f1766
UD
39329 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39330 the CFI state in the end.
39331 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39332 inclusion of dl-trampoline.h.
39333 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39334
51ccffa0
AS
393352011-08-19 Andreas Schwab <schwab@redhat.com>
39336
94d7165f
AS
39337 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39338 expectations for long double.
39339
51ccffa0
AS
39340 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39341 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39342
fd708658 393432011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39344
39345 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39346 artificual limit depends upon the system page size.
39347
44f0a71e
UD
393482011-08-17 Ulrich Drepper <drepper@gmail.com>
39349
39350 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39351 * resolv/Makefile: Define CFLAGS-libresolv.
39352
8de79a24
AS
393532011-08-17 Andreas Schwab <schwab@redhat.com>
39354
39355 * nss/makedb.c (compute_tables): Make variables used in nested
39356 function static.
39357
27724598
UD
393582011-08-17 Ulrich Drepper <drepper@gmail.com>
39359
c5305d88
UD
39360 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39361 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39362 if buffer was too small.
39363
27724598
UD
39364 * elf/pldd.c (main): Attach to all threads in the process.
39365 Rewrite /proc handling to use *at functions.
39366
076fe015
UD
393672011-08-16 Ulrich Drepper <drepper@gmail.com>
39368
174baab3
UD
39369 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39370 specifies first scope to show.
39371 (dl_open_worker): Update callers. Move printing scope of new
39372 object to before the relocation.
44f0a71e 39373 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39374 * sysdeps/generic/ldsodefs.h: Update declaration.
39375
076fe015
UD
39376 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39377 string for the scope number.
39378
a60df2c3
UD
393792011-08-14 Ulrich Drepper <drepper@gmail.com>
39380
39381 * nscd/servicescache.c (cache_addserv): Make sure written is always
39382 initialized.
39383
5e4287d1
RM
393842011-08-14 Roland McGrath <roland@hack.frob.com>
39385
85ae0589
RM
39386 * sysdeps/i386/i486/bits/atomic.h
39387 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39388 statement expression, so as to suppress "set but not used" warning.
39389 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39390
69f63097
RM
39391 * string/strncat.c (STRNCAT): Use prototype definition.
39392
675456ef
RM
39393 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39394 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39395 -Iprograms here.
39396 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39397 (localedef-modules): Add localedef.
39398 (locale-modules): Add locale.
39399
5e4287d1
RM
39400 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39401 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39402 to avoid a warning.
39403
9c96ff23
DM
394042011-08-14 David S. Miller <davem@davemloft.net>
39405
39406 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39407 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39408
f9ddf089
UD
394092011-08-13 Ulrich Drepper <drepper@gmail.com>
39410
44f0a71e 39411 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39412 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39413 * elf/rtld.c (dl_main): Set l_name of vDSO.
39414 Call _dl_show_scope when DL_DEBUG_SCOPES.
39415 (process_dl_debug): Recognize scopes flag and also set it for all.
39416 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39417 Declare _dl_show_scope.
39418
1dc27704
UD
39419 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39420 (do_dlopen): Pass caller_dlopen to dl_open.
39421 (__libc_dlopen_mode): Initialize caller_dlopen.
39422
f9ddf089
UD
39423 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39424 of libc. Make tolower call locale-independent. Optimize a bit by
39425 using isdigit instead of isalnum.
39426 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39427
9ac533d3
UD
394282011-08-12 Ulrich Drepper <drepper@gmail.com>
39429
39430 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39431 was a dependency or dynamically loaded.
39432
89edf2e9
UD
394332011-08-11 Ulrich Drepper <drepper@gmail.com>
39434
8e999d29
UD
39435 * intl/l10nflist.c: Allow architecture-specific pop function.
39436 * sysdeps/x86_64/l10nflist.c: New file.
39437
89edf2e9
UD
39438 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39439 classification.
39440
14d96785
AS
394412011-08-10 Andreas Schwab <schwab@redhat.com>
39442
39443 * include/dirent.h: Add libc_hidden_proto for scandirat and
39444 scandirat64. Don't declare __scandirat64.
39445 * dirent/scandirat.c: Add libc_hidden_def.
39446 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39447 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39448
6761ac04
DM
394492011-08-10 David S. Miller <davem@davemloft.net>
39450
39451 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39452 enum.
39453 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39454 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39455 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39456
c55fbd1e
UD
394572011-08-09 Ulrich Drepper <drepper@gmail.com>
39458
39459 * Versions.def [libc]: Add GLIBC_2.15.
39460 * dirent/Makefile (routines): Add scandirat and scandirat64.
39461 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39462 GLIBC_2.15.
39463 * dirent/dirent.h: Declare scandirat and scandirat64.
39464 * dirent/scandirat.c: New file.
39465 * dirent/scandirat64.c: New file.
39466 * sysdeps/wordsize-64/scandirat.c: New file.
39467 * sysdeps/wordsize-64/scandirat64.c: New file.
39468 * dirent/opendir.c: Define opendirat.
39469 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39470 using scandirat.
39471 * dirent/scandir64.c: Adjust for scandir.c change.
39472 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39473 __scandirat64, and __scandir_cancel_handler.
39474 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39475 additional parameter and use openat instead of open (outside of ld.so).
39476 Add new __opendir as wrapper around __opendirat.
39477 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39478 here without requiring old scandirat implementation.
39479
879165f2
UD
394802011-08-08 Ulrich Drepper <drepper@gmail.com>
39481
39482 * dirent/scandir.c (cancel_handler): Renamed to
39483 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39484 defined. Adjust users.
39485 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39486 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39487
cb7e923b
UD
394882011-08-04 Ulrich Drepper <drepper@gmail.com>
39489
16292edd
UD
39490 * string/test-string.h (IMPL): Use __STRING to expand name and then
39491 stringify it.
39492
cb7e923b
UD
39493 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39494 of cleanups.
39495
cff82933
LD
394962011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39497
39498 * string/Makefile: Update.
39499 (strop-tests): Append strncat.
39500 * string/test-wcscmp.c: New file.
39501 New comprehensive test for wcscmp.
39502 * string/test-strcmp.c: Update.
39503 (WIDE): New define.
39504
9be9bfcc
AS
395052011-07-22 Andreas Schwab <schwab@redhat.com>
39506
39507 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39508 line.
39509
2e96f1c7
AS
395102011-07-26 Andreas Schwab <schwab@redhat.com>
39511
39512 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39513 encoding to ACE if AI_IDN.
39514
85188888
JJ
395152011-08-01 Jakub Jelinek <jakub@redhat.com>
39516
39517 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39518 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39519
5fa16e9b
LD
395202011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39521
39522 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39523 Fix overflow bug in strncat.
39524 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39525
39526 * string/test-strncat.c: Update.
39527 Add new tests for checking overflow bugs.
39528
395292011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39530
39531 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39532 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39533 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39534 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39535 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39536 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39537 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39538 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39539 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39540
39541 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39542 (USE_AS_STRCAT): Define.
39543 Add strcat and strncat support.
39544 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39545
8c1a459f
AS
395462011-07-25 Andreas Schwab <schwab@redhat.com>
39547
39548 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39549 __n bigger than INT_MAX+1.
39550 (__strncmp_g): Likewise.
39551
bba33c28
UD
395522011-07-23 Ulrich Drepper <drepper@gmail.com>
39553
798be72d
UD
39554 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39555 * libio/stido.h: Likewise.
39556
8accd4dc
UD
39557 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39558 (AF_NFC): Define.
39559 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39560 (AF_NFC): Define.
39561
cbff0d96
UD
39562 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39563 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39564 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39565 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39566 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39567
9191c04a
UD
39568 [BZ #13021]
39569 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39570 installed.
39571
bba33c28
UD
39572 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39573 typo.
39574 (_dl_x86_64_save_sse): Likewise.
39575
90f139dd
UD
395762011-07-22 Ulrich Drepper <drepper@gmail.com>
39577
1aae088a
UD
39578 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39579 OSXSAVE.
39580 (_dl_x86_64_save_sse): Likewise.
39581
8e2045f5
UD
39582 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39583
90f139dd
UD
39584 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39585
1d002f25
AS
395862011-07-21 Andreas Schwab <schwab@redhat.com>
39587
39588 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39589 change.
39590 (_dl_x86_64_save_sse): Use correct AVX check.
39591
21137f89
UD
395922011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39593
39594 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39595 bug in strncpy/strncat.
39596 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39597
a65c0b7a
UD
395982011-07-21 Ulrich Drepper <drepper@gmail.com>
39599
39600 * string/tester.c (test_strcat): Add tests for different alignments
39601 of source and destination.
39602 (test_strncat): Likewise.
39603
6986b98a
UD
396042011-07-20 Ulrich Drepper <drepper@gmail.com>
39605
90bb2039
UD
39606 [BZ #12852]
39607 * posix/glob.c (glob): Check passed in values before using them in
39608 expressions to avoid some overflows.
39609 (glob_in_dir): Likewise.
39610
5644ef54
UD
39611 [BZ #13007]
39612 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39613 check for AVX enablement so that we don't crash with old kernels and
39614 new hardware.
39615 * elf/tst-audit4.c: Add same checks here.
39616 * elf/tst-audit6.c: Likewise.
39617
39618 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39619
bfc9dc9b
AS
396202011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39621
39622 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39623
702e64bb
UD
396242011-07-20 Ulrich Drepper <drepper@gmail.com>
39625
39626 * po/cs.po: Update from translation team.
39627 * po/bg.po: Likewise.
39628
295e904f
MP
396292011-07-12 Marek Polacek <mpolacek@redhat.com>
39630
39631 * misc/sys/cdefs.h: Add support for const attribute.
39632 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39633 to gnu_dev_{major,minor,makedev} functions.
39634
3ff94596
MP
396352011-07-20 Marek Polacek <mpolacek@redhat.com>
39636
39637 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39638
28b59fca
AS
396392011-07-20 Andreas Schwab <schwab@redhat.com>
39640
39641 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39642 strlen results.
39643
19df733e
AK
396442011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39645
39646 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39647 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39648 register in order to avoid conflicts with the soft frame pointer
39649 being held in r11 when necessary.
39650 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39651 (INTERNAL_VSYSCALL_NCS): Likewise.
39652
c8835729
MP
396532011-07-14 Marek Polacek <mpolacek@redhat.com>
39654
39655 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39656 * elf/dl-fini.c (_dl_fini): Adjust caller.
39657 * elf/dl-close.c (_dl_close_worker): Likewise.
39658 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39659
b902330c
MP
396602011-07-15 Marek Polacek <mpolacek@redhat.com>
39661
8991e135
MP
39662 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39663 "aux_cache->nlibs < 0".
39664
b902330c
MP
39665 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39666 in the reload-count case.
39667
99710781
LD
396682011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39669
39670 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39671 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39672 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39673 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39674 * sysdeps/x86_64/multiarch/strcat.S: New file.
39675 * sysdeps/x86_64/multiarch/strncat.S: New file.
39676 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39677 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39678 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39679 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39680 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39681 (USE_AS_STRCAT): Define.
39682 Add strcat and strncat support.
39683 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39684 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39685 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39686 * string/strncat.c: Update.
39687 (USE_AS_STRNCAT): Define.
39688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39689 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39690 and i7.
39691 * sysdeps/x86_64/multiarch/init-arch.h
39692 (bit_Prefer_PMINUB_for_stringop): New.
39693 (index_Prefer_PMINUB_for_stringop): Likewise.
39694 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39695 bit_Prefer_PMINUB_for_stringop.
39696
7dc6bd90
UD
396972011-07-19 Ulrich Drepper <drepper@gmail.com>
39698
39699 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39700 buffer64.
39701 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39702 of casting of buffer.
39703 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39704 buffer32 and buffer64.
39705 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39706 writes instead of casting of buffer.
39707 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39708 buffer32.
39709 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39710 casting of buffer.
39711
e0e72284
AS
397122011-07-19 Andreas Schwab <schwab@redhat.com>
39713
39714 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39715
feb1eb0b
UD
397162011-07-19 Ulrich Drepper <drepper@gmail.com>
39717
39718 * nscd/nscd.c (termination_handler): Don't do anything for a database
39719 if it has not yet been initialized.
39720
298711ff
UD
397212011-07-18 Ulrich Drepper <drepper@gmail.com>
39722
39723 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39724
397252011-07-15 Marek Polacek <mpolacek@redhat.com>
39726
39727 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39728
f9d68389
UD
397292011-07-18 Ulrich Drepper <drepper@gmail.com>
39730
39731 * po/nl.po: Update from translation team.
39732 * po/sv.po: Likewise.
39733
db290cf5
RM
397342011-07-16 Roland McGrath <roland@hack.frob.com>
39735
39736 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39737 now disallowed by GCC.
5c550700 39738
fd5e21c7
RM
39739 * configure.in (use-default-link): Default to yes if a test -shared
39740 link meets our qualifications.
39741 * configure: Regenerated.
39742
5c550700
RM
39743 * config.make.in (output-format): New variable.
39744 * configure.in: Check for ld --print-output-format support.
39745 * configure: Regenerated.
39746 * Makerules ($(common-objpfx)format.lds)
39747 [$(output-format) != unknown]: Just use $(output-format),
39748 instead of the linker-script munging.
39749
9fa2c032
RM
397502011-07-14 Roland McGrath <roland@hack.frob.com>
39751
a6928d51
RM
39752 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39753 of $(common-objpfx)shlib.lds.
39754 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39755
661607b3
RM
39756 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39757 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39758
9fa2c032
RM
39759 * configure.in (-z relro check): Adjust test code to add a large
39760 writable data section after it.
39761 * configure: Regenerated.
39762
defe9061
RM
397632011-07-11 Roland McGrath <roland@hack.frob.com>
39764
39765 * configure.in (-z relro check): Fix test code to make the variable
39766 truly const.
39767 * configure: Regenerated.
39768
319b9ad4
UD
397692011-07-11 Ulrich Drepper <drepper@gmail.com>
39770
39771 * nscd/nscd.h (struct traced_file): Define.
39772 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39773 elements. Add traced_files.
39774 (inotify_fd): Declare.
39775 (register_traced_file): Declare.
39776 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39777 (inotify_fd): Export.
39778 (resolv_conf_descr): Remove.
39779 (nscd_init): Move inotify descriptor creation to main.
39780 Don't register files for notification here.
39781 (register_traced_file): New function.
39782 (invalidate_cache): Don't use reset_res to determine whether to call
39783 res_init, go through the list of registered files.
39784 (main_loop_poll): The inotify descriptors are now stored in the
39785 structures for the traced files.
39786 (main_loop_epoll): Likewise
39787 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39788 to __nss_disable_nscd.
39789 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39790 for a database anymore. Check the records for all the registered
39791 files instead.
39792 * nss/Makefile (libnss_files-routines): Add files-init.
39793 (libnss_db-routines): Add db-init.
39794 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39795 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39796 * nss/nss_db/db-init.c: New file.
39797 * nss/nss_files/files-init.c: New file.
39798 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39799 __nss_lookup_function.
39800 (__nss_lookup_function): Call nss_load_library.
39801 (nss_load_all_libraries): New function.
39802 (__nss_disable_nscd): Take parameter with callback function for files
39803 to register. Set is_nscd. Load all the DSOs for the NSS modules
39804 used for the cached services.
39805 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39806 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39807 options for features to all the files in nscd.
39808
39809 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39810
23bee3e8
RM
398112011-07-10 Roland McGrath <roland@hack.frob.com>
39812
39813 * csu/elf-init.c (__libc_csu_init): Comment typo.
39814
46a5b7f0
UD
398152011-07-09 Ulrich Drepper <drepper@gmail.com>
39816
39817 * po/pl.po: Update from translation team.
39818 * po/ja.po: Likewise.
39819 * po/ru.po: Likewise.
39820 * po/ko.po: Likewise.
39821 * po/fr.po: Likewise.
39822
d30cf5bb
RM
398232011-07-09 Roland McGrath <roland@hack.frob.com>
39824
113ddea4
RM
39825 * configure.in (.ctors/.dtors header and trailer check):
39826 Use an empirical test on a built program.
39827 * configure: Regenerated.
39828
574920b4
RM
39829 * configure.in (-z relro check): Use an empirical test on a built DSO.
39830 Detect, but do not require, on ia64.
39831 * configure: Regenerated.
39832
d30cf5bb
RM
39833 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39834 Update tests that use readelf to use $READELF instead.
39835 * configure: Regenerated.
39836
8538fdb3
UD
398372011-07-08 Ulrich Drepper <drepper@gmail.com>
39838
39839 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39840 if the result is not used.
39841
04d08991
AJ
398422011-07-05 Andreas Jaeger <aj@suse.de>
39843
39844 [BZ#9696]
39845 * stdlib/tst-strtod.c: Add testcase.
39846
de283087
AD
398472011-07-07 Ulrich Drepper <drepper@gmail.com>
39848
4e5f31c8 39849 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39850 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39851 The latter has a higher limit. Take additional parameter to pass to
39852 the new function.
39853 (__pathconf): Pass file to __statfs_link_max.
39854 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39855 __statfs_link_max.
39856 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39857 __statfs_link_max.
39858
de283087
AD
39859 [BZ #12868]
39860 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39861 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39862 Handle Lustre.
39863 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39864 (__statfs_filesize_max): Likewise.
39865 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39866
c75fa153
AJ
398672011-07-05 Andreas Jaeger <aj@suse.de>
39868
39869 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39870
1a544854
UD
398712011-07-06 Marek Polacek <mpolacek@redhat.com>
39872
39873 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39874 `status' variable.
39875 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39876 Likewise.
39877
6f0eec67
UD
398782011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39879
39880 * Makefile (strop-tests): Add strncat.
39881 * string/test-strncat.c: New file.
39882
aae30307
UD
398832011-06-30 Marek Polacek <mpolacek@redhat.com>
39884
39885 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39886
c0cfb5eb
UD
398872011-06-21 Andreas Jaeger <aj@suse.de>
39888
39889 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39890 Copy rule from iconvdata/Makefile.
39891
01636b21
UD
398922011-07-06 Ulrich Drepper <drepper@gmail.com>
39893
39894 [BZ #12922]
39895 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39896 but no long options are defined, just return 'W'.
39897
9895c8bc
UD
398982011-06-22 Marek Polacek <mpolacek@redhat.com>
39899
39900 [BZ #9696]
39901 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39902
5d4cf042
UD
399032011-07-06 Ulrich Drepper <drepper@gmail.com>
39904
39905 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39906 netgroups to read.
960e5535 39907 (innetgr): Likewise.
5d4cf042 39908
751eb97e
RM
399092011-07-05 Roland McGrath <roland@hack.frob.com>
39910
39911 * config.make.in (install_root): Default to $(DESTDIR).
39912
f15f1e45
UD
399132011-07-05 Ulrich Drepper <drepper@gmail.com>
39914
39915 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39916
4e34ac6a
RM
399172011-07-02 Roland McGrath <roland@hack.frob.com>
39918
5e9b6af4
RM
39919 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39920
84f9ea0f
RM
39921 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39922 containing directory rather than embedding absolute directory names.
39923
ea5ee9f7
RM
39924 * scripts/check-local-headers.sh: Rewritten using awk.
39925 Match by word, not by line. Print error messages for matches.
39926 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39927
1b74661a
RM
39928 * Makerules [shlib-lds-flags empty]:
39929 ($(common-objpfx)libc_pic.opts): New target.
39930 ($(common-objpfx)libc_pic.os.clean): New target.
39931 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39932
39933 * config.make.in (OBJCOPY): New variable.
39934 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39935 * configure: Regenerated.
39936
f781ef40
RM
39937 * config.make.in (use-default-link): New variable.
39938 * configure.in (use_default_link): Grok --with-default-link to set it.
39939 * configure: Regenerated.
39940 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39941 (shlib-lds, shlib-lds-flags): Define to empty.
39942
2d4fa81e
RM
39943 * Makerules (shlib-lds): New variable.
39944 (shlib-lds-flags): New variable.
39945 (build-shlib, build-moduile, build-module-asneeded): Use it.
39946 ($(common-objpfx)libc.so): Use $(shlib-lds).
39947 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39948 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39949
31fffa6b
RM
39950 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39951 DT_FLAGS/DT_FLAGS_1 with zero flags.
39952
4e34ac6a
RM
39953 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39954 linker script munging.
39955
fcfc776b
UD
399562011-07-02 Ulrich Drepper <drepper@gmail.com>
39957
39958 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39959 as 128-bit value.
39960 * crypt/sha512.c (sha512_process_block): Perform total addition using
39961 128-bit if possible.
39962 (__sha512_finish_ctx): Likewise.
39963 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39964 as 64-bit value.
39965 * crypt/sha256.c (SWAP64): Define.
39966 (sha256_process_block): Perform total addition using 64-bit if
39967 possible.
39968 (__sha256_finish_ctx): Likewise.
39969
99231d9a
UD
399702011-07-01 Ulrich Drepper <drepper@gmail.com>
39971
39972 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39973 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39974 * nscd/hstcache.c (cache_addhst): Likewise.
39975 * nscd/grpcache.c (cache_addgr): Likewise.
39976 * nscd/aicache.c (addhstaiX): Likewise
39977 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39978
445b4a53
TK
399792011-07-01 Thorsten Kukuk <kukuk@suse.de>
39980
39981 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
39982 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39983 * nscd/hstcache.c (cache_addhst): Likewise.
39984 * nscd/grpcache.c (cache_addgr): Likewise.
39985 * nscd/aicache.c (addhstaiX): Likewise
39986
6d4d8e8e
AS
399872011-07-01 Andreas Schwab <schwab@redhat.com>
39988
39989 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
39990 domain only when needed.
39991
89f654c5
AS
399922011-06-30 Andreas Schwab <schwab@redhat.com>
39993
39994 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
39995 is always restored.
39996
cf3b23ff
UD
399972011-06-29 Ulrich Drepper <drepper@gmail.com>
39998
39999 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40000 are re-adding the entry.
40001 * nscd/servicescache.c (cache_addserv): Likewise.
40002
751626f9
AJ
400032011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40004
40005 * sysdeps/generic/dl-irel.h: fix protection against multiple
40006 inclusions.
40007 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40008
9113ea1f
UD
400092011-06-28 Ulrich Drepper <drepper@gmail.com>
40010
5c0b8d90
UD
40011 [BZ #12935]
40012 * malloc/memusage.sh: Fix quoting in message.
40013 * debug/xtrace.sh: Likewise.
40014
9113ea1f
UD
40015 * configure.in: Remove support for --experimental-malloc option, make
40016 it the default.
40017 * config.make.in: Likewise.
40018 * malloc/Makefile: Likewise.
40019
a4172181
AS
400202011-06-27 Andreas Schwab <schwab@redhat.com>
40021
40022 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40023 two-byte characters.
40024
78a7eee7
RM
400252011-06-27 Roland McGrath <roland@hack.frob.com>
40026
62bede13
RM
40027 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40028 AC_CACHE_CHECK invocation.
40029 * configure: Regenerated.
40030
78a7eee7
RM
40031 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40032
5ce33a62
UD
400332011-06-27 Ulrich Drepper <drepper@gmail.com>
40034
034807a9
UD
40035 [BZ #12350]
40036 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40037 bit from old_res_options.
40038
4902da17
UD
40039 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40040
5ce33a62
UD
40041 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40042 value type for setfct.
40043
c2344f56
L
400442011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40045
40046 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40047 __gettimeofday instead of gettimeofday.
40048
68468076
UD
400492011-06-26 Ulrich Drepper <drepper@gmail.com>
40050
40051 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40052
acb0d739
L
400532011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40054
40055 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40056
40057 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40058 info.
40059
8912479f
L
400602011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40061
40062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40063 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40064 strcpy-sse2-unaligned strncpy-sse2-unaligned
40065 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40066 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40067 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40068 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40069 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40070 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40071 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40072 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40073 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40074 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40075 (STRCPY): Support SSE2 and SSSE3 versions.
40076
d5495a11
UD
400772011-06-24 Ulrich Drepper <drepper@gmail.com>
40078
40079 [BZ #12874]
40080 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40081 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40082 kernels which artificially limit size of requests.
40083
0b1cbaae
L
400842011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40085
40086 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40087 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40088 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40089 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40090 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40091 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40092 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40093 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40094 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40095 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40096 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40097 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40098 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40099 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40100 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40101 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40102 Enable unaligned load optimization for Intel Core i3, i5 and i7
40103 processors.
40104 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40105 Define.
40106 (index_Fast_Unaligned_Load): Define.
40107 (HAS_FAST_UNALIGNED_LOAD): Define.
40108
07f494a0
MP
401092011-06-23 Marek Polacek <mpolacek@redhat.com>
40110
40111 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40112
fa3fc0fe
UD
401132011-06-22 Ulrich Drepper <drepper@gmail.com>
40114
40115 [BZ #12907]
40116 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40117 until it is clear that the information is realy needed.
40118 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40119
e12df166
AS
401202011-06-22 Andreas Schwab <schwab@redhat.com>
40121
40122 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40123
852eb34d
UD
401242011-06-22 Ulrich Drepper <drepper@gmail.com>
40125
84e2a551
UD
40126 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40127 /sys/devices/system/cpu/online if it is usable.
40128
852eb34d
UD
40129 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40130 reading the information from the /proc filesystem to once a second.
40131
6e502e19
UD
401322011-06-21 Andreas Jaeger <aj@suse.de>
40133
40134 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40135 NULL after inclusion of kernel headers.
40136
75d39ff2
UD
401372011-06-21 Ulrich Drepper <drepper@gmail.com>
40138
51f9aa6a
UD
40139 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40140 calls to internal_setent.
40141
c0244a9d
UD
40142 [BZ #12885]
40143 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40144 addresses using gethostbyname4_r ignore IPv4 addresses.
40145
c5e3c2ae
UD
40146 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40147 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40148
75d39ff2
UD
40149 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40150
42675c6f
DM
401512011-06-20 David S. Miller <davem@davemloft.net>
40152
40153 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40154 inclusions.
40155 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40156
40157 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40158 (elf_irel): Use it.
40159 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40160 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40161 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40162 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40163 * sysdeps/x86_64/dl-irel.h: Likewise.
40164
40165 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40166 * elf/dl-sym.c: Likewise.
40167
57912a71
UD
401682011-06-15 Ulrich Drepper <drepper@gmail.com>
40169
40170 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40171 need to dereference resplen2.
40172
ee22793d
AS
401732011-06-14 Andreas Schwab <schwab@redhat.com>
40174
40175 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40176
a9e836b0
UD
401772011-06-15 Ulrich Drepper <drepper@gmail.com>
40178
77fb9117
UD
40179 * Makeconfig: Define vardbdir and inst_vardbdir.
40180 * nss/Makefile: Add rules to install db-Makefile.
40181
40c1b22c
UD
40182 * nss/nss_db/db-XXX.c: Cleanup.
40183
9f2da732
UD
40184 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40185 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40186 GLIBC_PRIVATE.
40187 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40188 * nss/makedb.c: Implement -g option to specify that value strings
40189 are generated and should not be added to table iterated over for
40190 get*ent calls.
40191 * nss/nss_db/db-initgroups.c: New file.
40192
82e9a1f7
UD
40193 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40194 interface.
40195
c41af17e
UD
40196 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40197 (internal_getgrouplist): Adjust to name change.
40198 Update use_initgroups_entry if this is not the first call.
40199 * nss/databases.def: Add initgroups entry.
40200
a9e836b0
UD
40201 * nss/makedb.c (compute_tables): Check result of multiple hash table
40202 sizes to minimize maximum chain length.
40203
2666d441
UD
402042011-06-14 Ulrich Drepper <drepper@gmail.com>
40205
40206 * Versions.def: Add entry for libnss_db.
40207 * shlib-versions: Likewise.
40208 * nss/Makefile: Add rules to build libnss_db.
40209 * nss/Versions: Add libnss_db information. Organize libnss_files
40210 entries better.
40211 * nss/db-Makefile: Add gshadow support. Change rules for the new
40212 makedb progra. Some minor improvements to generate smaller files.
40213 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40214 here from...
40215 * nss/makedb.c: ...here.
40216 Improve database format to be smaller and require less memory at
40217 runtime.
40218 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40219 db anymore.
40220 * nss/nss_db/db-netgrp.c: Likewise.
40221 * nss/nss_db/db-open.c: Likewise.
40222 * nss/nss_files/flies-XXX.x: Adjust comments.
40223 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40224 * nss/nss_files/files-grp.c: Likewise.
40225 * nss/nss_files/files-hosts.c: Likewise.
40226 * nss/nss_files/files-network.c: Likewise.
40227 * nss/nss_files/files-proto.c: Likewise.
40228 * nss/nss_files/files-pwd.c: Likewise.
40229 * nss/nss_files/files-rpc.c: Likewise.
40230 * nss/nss_files/files-service.c: Likewise.
40231 * nss/nss_files/files-sgrp.c: Likewise.
40232 * nss/nss_files/files-spwd.c: Likewise.
40233 * nss/nss_db/db-alias.c: Removed.
40234 * nss/nss_db/dummy-db.h: Removed.
40235
9ee76b5a
UD
402362011-06-02 Ulrich Drepper <drepper@gmail.com>
40237
40238 * nss/makedb.c: Rewritten to not use database library.
40239 * nss/Makefile: Update to build new makedb program.
40240
c71ca1f8
AJ
402412011-06-14 Andreas Jaeger <aj@suse.de>
40242
40243 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40244 memset declaration.
40245
3154bfb8
UD
402462011-06-10 Andreas Schwab <schwab@redhat.com>
40247
40248 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40249 tmpbuf.
40250
b350afab
RM
402512011-06-10 Roland McGrath <roland@hack.frob.com>
40252
decd4e50
RM
40253 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40254 * elf/Makefile ($(objpfx)ld.so): Likewise.
40255
5615eaf2
RM
40256 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40257 Don't list ld.so twice in dependencies.
40258
40259 * posix/bug-regex31.c: Include <stdlib.h>.
40260
40261 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40262
40263 * nis/nss_compat/compat-spwd.c
40264 (getspent_next_nss_netgr): Remove unused variable.
40265 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40266
40267 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40268 nonmembers" output to use the right array.
40269
40270 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40271
40272 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40273
40274 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40275 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40276 * catgets/gencat.c (read_input_file): Likewise.
40277 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40278
40279 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40280 variable definition inside #if's controlling its use.
40281
40282 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40283
40284 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40285
40286 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40287
40288 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40289 unreachable code.
40290
40291 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40292
b68e08db
RM
40293 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40294 * configure: Regenerated.
40295
b350afab
RM
40296 * Makerules: Revert last change.
40297 * elf/Makefile: Likewise.
40298
28368601
RM
402992011-06-09 Roland McGrath <roland@hack.frob.com>
40300
40301 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40302 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40303 (reloc-link): Likewise.
40304
11988f8f
UD
403052011-06-09 Ulrich Drepper <drepper@gmail.com>
40306
40307 * elf/Makefile: Add rules to build pldd.
40308 * elf/pldd.c: New file.
40309 * elf/pldd-xx.c: New file.
40310
e80fab37
UD
403112011-06-07 Ulrich Drepper <drepper@gmail.com>
40312
40313 * version.h: Update for 2.15 development version.
40314
9b849836
DM
403152011-06-07 David S. Miller <davem@davemloft.net>
40316
40317 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40318 ifuncs.
40319 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40320 elf_machine_lazy_rel): Likewise.
40321 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40322 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40323 elf_machine_lazy_rel): Likewise.
40324 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40325 dl_hwcap via passed in argument.
40326 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40327 Likewise.
40328
5a31b283
AK
403292011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40330
40331 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40332
069e52f8
RM
403332011-06-06 Roland McGrath <roland@hack.frob.com>
40334
40335 [BZ #12849]
40336 * manual/fdl-1.1.texi: New file, verbatim from:
40337 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40338 * manual/lgpl-2.1.texi: New file, verbatim from:
40339 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40340 * manual/Makefile (licenses): New variable, list those new file names.
40341 (texis): Use it.
40342 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40343
40344 * manual/fdl.texi: File removed.
40345 * manual/lesser.texi: File removed.
40346 * manual/libc.texinfo (Copying, Documentation License):
40347 Use new @include file names, put @appendix directive before @include.
40348
f16846a5
JJ
403492011-06-04 Jakub Jelinek <jakub@redhat.com>
40350
40351 [BZ #12841]
40352 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40353 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40354 (mq_open): Add __NTH.
40355
3d29045b
L
403562011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40357
40358 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40359 Assume Intel Core i3/i5/i7 processor if AVX is available.
40360
8c297311
UD
403612011-05-31 Ulrich Drepper <drepper@gmail.com>
40362
40363 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40364 typo.
40365
c8fc0c91
UD
403662011-05-31 Andreas Schwab <schwab@redhat.com>
40367
40368 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40369 memory. Use alloca_account. Fix memory leak when retrying.
40370
5b27a807
UD
403712011-05-31 Ulrich Drepper <drepper@gmail.com>
40372
356f8bc6
UD
40373 * version.h (RELEASE): Bump for 2.14 release.
40374 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40375
5b27a807
UD
40376 * config.make.in (RANLIB): Remove entry.
40377
01f16ab0
UD
403782011-05-30 Ulrich Drepper <drepper@gmail.com>
40379
41fce8bd
UD
40380 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40381 (libc.pot): Work around missing support for .ksh extension in xgettext.
40382
4769ae77
UD
40383 [BZ #12684]
40384 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40385 if both request failed.
40386 (send_dg): In case of server errors clear resplen or *resplen2.
40387
6b1e7d19
UD
40388 [BZ #12454]
40389 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40390 when there are multiple maps.
40391 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40392 (_dl_fini): Remove test here.
40393
01f16ab0
UD
40394 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40395
b1ebd700
UD
403962011-05-29 Ulrich Drepper <drepper@gmail.com>
40397
7ae22829
UD
40398 [BZ #12350]
40399 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40400 bit from old_res_options.
40401 (gaih_inet): Likewise.
40402
553149f6 40403 [BZ #11099]
18a84741 40404 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40405 as signed.
40406
652ffab1
UD
40407 * resolv/res_init.c (res_setoptions): Make the code more compact.
40408
16985fd0
UD
40409 [BZ #11558]
40410 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40411 set RES_USEVC.
40412
0464f746
UD
40413 [BZ #11634]
40414 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40415
7d17596c
UD
40416 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40417
cf6bbbd7
UD
40418 [BZ #11781]
40419 * malloc/malloc.h: Declare malloc hook variables as volatile.
40420
13f1ab36
UD
40421 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40422 in last patch.
40423
b1ebd700
UD
40424 [BZ #11799]
40425 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40426 raise in the comment.
80e2212d
UD
40427 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40428 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40429 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40430
ce67228d
UD
404312011-05-28 Ulrich Drepper <drepper@gmail.com>
40432
8887a920
UD
40433 [BZ #12811]
40434 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40435 grow the buffers more if it already has to be sufficient.
40436 (build_wcs_upper_buffer): Likewise.
40437 * posix/regexec.c (check_matching): Likewise.
40438 (clean_state_log_if_needed): Likewise.
40439 (extend_buffers): Don't enlarge buffers beyond size of the input
40440 buffer.
40441 Patches mostly by Emil Wojak <emil@wojak.eu>.
40442 * posix/bug-regex32.c: New file.
40443 * posix/Makefile (tests): Add bug-regex32.
40444
4f031072
UD
40445 * locale/findlocale.c (_nl_find_locale): Return right away if
40446 _nl_explode_name failed.
40447 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40448
d0478f0c
UD
40449 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40450
de81b246
UD
40451 * debug/xtrace.sh: Unify messages.
40452 * malloc/memusage.sh: Likewise.
40453
c738465a
UD
40454 [BZ #12813]
40455 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40456 time symbol from vDSO. Substitute with vsyscall if not available.
40457 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40458 __vdso_time.
40459
f1f929d7
UD
40460 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40461 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40462 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40463 Add sendmmsg and internal_sendmmsg.
40464 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40465 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40466 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40467
ce67228d
UD
40468 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40469 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40470 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40471
e57420c6
UD
404722011-05-27 Ulrich Drepper <drepper@gmail.com>
40473
a8509ca5
UD
40474 [BZ #12813]
40475 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40476 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40477 available.
40478 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40479 __vdso_getcpu.
40480
e57420c6
UD
40481 [BZ #12814]
40482 * iconvdata/Makefile (tests): Add bug-iconv9.
40483 * iconvdata/bug-iconv9.c: New file.
40484
4d07db15
AS
404852011-05-27 Andreas Schwab <schwab@redhat.com>
40486
40487 [BZ #12814]
40488 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40489
ea486f69
JJ
404902011-05-25 Jakub Jelinek <jakub@redhat.com>
40491
40492 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40493 (struct user_regs_struct): Change intcs field back to cs.
40494
6f038433
UD
404952011-05-25 Ulrich Drepper <drepper@gmail.com>
40496
40497 * po/ja.po: Update from translation team.
40498
67f86a25
UD
404992011-05-23 Ulrich Drepper <drepper@gmail.com>
40500
40501 [BZ #12795]
40502 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40503 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40504
def7fbd6
AS
405052011-05-20 Andreas Schwab <schwab@redhat.com>
40506
40507 * stdlib/longlong.h: Update from GCC.
40508
f50ef8f1
AS
405092011-05-23 Andreas Schwab <schwab@redhat.com>
40510
40511 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40512 parameter name.
40513 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40514 Add parameter name.
40515 (__sysconf): Pass it down.
40516
de7ce8f1
UD
405172011-05-22 Ulrich Drepper <drepper@gmail.com>
40518
f2962a71
UD
40519 [BZ #12671]
40520 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40521 some situations.
40522 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40523 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40524 add in in __libc_use_alloca calls. Adjust callers.
40525 (glob): Use malloc in some situations.
40526
de7ce8f1
UD
40527 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40528 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40529 pltexit.
40530
aec84f53
UD
405312011-05-21 Ulrich Drepper <drepper@gmail.com>
40532
05bb4a68
UD
40533 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40534 and CLOCK_BOOTTIME_ALARM.
40535
7ea72f99
UD
40536 [BZ #12782]
40537 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40538 is returned.
40539
7e4afad5
UD
40540 * string/_strerror.c (__strerror_r): Print negative errors as signed
40541 numbers.
40542
8e211fec
UD
40543 [BZ #12777]
40544 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40545 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40546 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40547
f7d82dc9
UD
40548 * configure.in: Fix typo in redirection and correct removal of test
40549 files in two cases.
40550
cc9e536d
UD
40551 [BZ #12788]
40552 * locale/setlocale.c (new_composite_name): Fix test to check for
40553 identical name of all categories.
40554
aec84f53
UD
40555 [BZ #12792]
40556 * libio/filedoalloc.c (local_isatty): New function.
40557 (_IO_file_doallocate): Use local_isatty.
40558 * stdio-common/perror.c (perror): In case a new stream is used
40559 forward the stream error.
40560 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40561 error flag.
40562
78e64fdc
RT
405632011-05-20 Ulrich Drepper <drepper@gmail.com>
40564
34a9094f
UD
40565 [BZ #11869]
40566 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40567 alloca.
40568 * include/alloca.h (extend_alloca_account): Define.
40569
78e64fdc
RT
40570 [BZ #11857]
40571 * posix/regex.h: Fix comments with documentation of user-accessible
40572 fields after compilation and describe correct free'ing of pattern
40573 after re_compile_pattern.
40574 Patch by Reuben Thomas <rrt@sc3d.org>.
40575
457bddfc
RA
405762011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40577
40578 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40579 and -mno-altivec to prevent the compiler from using Altivec and/or
40580 VSX instructions when the corresponding registers are not available.
40581
a4527b51
AS
405822011-05-19 Andreas Schwab <schwab@redhat.com>
40583
40584 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40585
ed690b2f
UD
405862011-05-19 Ulrich Drepper <drepper@gmail.com>
40587
40588 * libio/freopen.c (freopen): Use __dup2, not dup2.
40589 * libio/freopen64.c (freopen64): Likewise.
40590
8db73634
L
405912011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40592
40593 [BZ #12775]
40594 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40595 * math/Makefile (tests): Add test-powl.
40596 (CFLAGS-test-powl.c): Define.
40597 * math/test-powl.c: New file.
40598
0a197a9d
L
405992011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40600
40601 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40602
ee30c380
UD
406032011-05-17 Ulrich Drepper <drepper@gmail.com>
40604
40605 [BZ #11837]
40606 * iconvdata/gb18030.c: Update to GB18020-2005.
40607
6ce75379
UD
406082011-05-16 Ulrich Drepper <drepper@gmail.com>
40609
a4b89fd8
AR
40610 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40611 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40612 Patch by Aharon Robbins <arnold@skeeve.com>.
40613
ea389b12
UD
40614 [BZ #11892]
40615 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40616 on the stack.
40617
68a3f91f
UD
40618 [BZ #11895]
40619 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40620 through underflows.
40621
15cc7dd1
UD
40622 [BZ #12766]
40623 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40624 point to strings before performing equality test for error_one_per_line
40625 mode.
40626
f3799213
UD
40627 [BZ #11697]
40628 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40629
d79a9c94
UD
40630 [BZ #11820]
40631 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40632 (struct user_fpregs_struct): Avoid __uint*_t types.
40633
56e5eb46
UD
40634 [BZ #6420]
40635 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40636 symbol info. Use it instead of calling _dl_addr locally.
40637 (lock_and_info): New function.
40638 (tr_freehook): Call lock_and_info and pass symbol info as additional
40639 parameter to tr_where.
40640 (tr_mallochook): Likewise.
40641 (tr_reallochook): Likewise.
40642 (tr_memalignhook): Likewise.
40643
6ce75379
UD
40644 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40645 used and couldn't be at all thread-safe.
40646
f8a3b5bf
UD
406472011-05-15 Ulrich Drepper <drepper@gmail.com>
40648
94b7cc37
UD
40649 * libio/freopen.c (freopen): Don't close old file descriptor
40650 before the new one is opened. Instead dup the new file descriptor
40651 to the old one after the new stream is created.
40652 * libio/freopen64.c (freopen64): Likewise.
40653 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40654 * libio/fileops.c (_IO_new_file_close_it): Handle new
40655 _IO_FLAGS2_NOCLOSE flag.
40656 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40657 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40658 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40659 _IO_FLAGS2_NOCLOSE flag.
40660 * include/unistd.h: Add hidden_proto for dup3.
40661 Define __have_dup3.
40662 * io/dup3.c: Define hidden symbol.
40663 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40664
bd25564e
UD
40665 [BZ #7101]
40666 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40667 when an incomplete long option is used.
40668 * posix/tst-getopt_long1.c: New file.
40669 * posix/Makefile (tests): Add tst-getopt_long1.
40670
c84cfef4
UD
40671 [BZ #10138]
40672 * scripts/config.guess: Update from autoconf-2.68.
40673 * scripts/config.sub: Likewise.
40674
3b85df27
UD
40675 [BZ #10157]
40676 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40677 tests into ...
40678 (has_cpuclock): ...this. New function.
40679 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40680 macro here based on has_cpuclock code.
40681
15a856b1
UD
40682 [BZ #10149]
40683 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40684 First byte (not low byte) is now always NUL.
40685 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40686
05f399e6
UD
40687 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40688 Use non-cancelable interfaces.
40689
10a52685 40690 [BZ #9809]
94ecc67d
UD
40691 * locale/iso-639.def: Add entry for Sorani.
40692
f8a3b5bf
UD
40693 [BZ #11901]
40694 * include/stdlib.h: Move include protection to the right place.
40695 Define abort_msg_s. Declare __abort_msg with it.
40696 * stdlib/abort.c (__abort_msg): Adjust type.
40697 * assert/assert.c (__assert_fail_base): New function. Majority
40698 of code from __assert_fail. Allocate memory for __abort_msg with
40699 mmap.
40700 (__assert_fail): Now call __assert_fail_base.
40701 * assert/assert-perr.c: Remove bulk of implementation. Use
40702 __assert_fail_base.
40703 * include/assert.hL Declare __assert_fail_base.
40704 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40705 mmap.
40706 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40707
1af4e298
UD
407082011-05-14 Ulrich Drepper <drepper@gmail.com>
40709
f8a3b5bf 40710 [BZ #11952]
d26dfc60
MG
40711 [BZ #12453]
40712 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40713 until all modules are registered in the DTV.
40714 * elf/Makefile: Add rules to build and run tst-tls19.
40715 * elf/tst-tls19.c: New file.
40716 * elf/tst-tls19mod1.c: New file.
40717 * elf/tst-tls19mod2.c: New file.
40718 * elf/tst-tls19mod3.c: New file.
40719 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40720
2fc54d6f
UD
40721 [BZ #12083]
40722 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40723 correctly.
40724
98d76b46
UD
40725 [BZ #12601]
40726 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40727 two-byte sequence errors.
40728 * iconvdata/Makefile (tests): Add bug-iconv8.
40729 * iconvdata/bug-iconv8.c: New file.
40730
da3c19ef
UD
40731 [BZ #12626]
40732 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40733 buf2 definition.
40734
ca408c15
UD
40735 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40736
d6f67f7d
UD
40737 [BZ #12432]
40738 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40739 (dummy_getcfa): New function.
40740 (init): Get _Unwind_GetCFA address, use dummy if not found.
40741 (backtrace_helper): In recursion check, also check whether CFA changes.
40742 (__backtrace): Completely initialize arg.
40743
1af4e298 40744 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40745 storing incomplete byte sequence in state object. Avoid testing for
40746 guaranteed too small input if we know there is enough data available.
1af4e298 40747
da62f81b
AS
407482011-05-11 Andreas Schwab <schwab@redhat.com>
40749
40750 * Makeconfig (+link-pie): Indent.
40751 * Rules (binaries-pie): Define if $(have-fpie) and
40752 $(build-shared).
40753 (binaries-shared): Also filter out $(binaries-pie).
40754 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40755 * nscd/Makefile (others-pie): Add nscd.
40756 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40757 ($(objpfx)nscd): Remove command override.
40758 * login/Makefile (others-pie): Add pt_chown.
40759 ($(objpfx)pt_chown): Remove command override.
40760 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40761 remove command overrides.
40762
fcabc0f8
UD
407632011-05-13 Ulrich Drepper <drepper@gmail.com>
40764
20030ae6
UD
40765 * libio/tst_putwc.c: Fix error messages.
40766
fcabc0f8
UD
40767 [BZ #12724]
40768 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40769 currently writing and seek to current position when not.
40770 * libio/Makefile (tests): Add bug-fclose1.
40771 * libio/bug-fclose1.c: New file.
40772
320a5dc0
PB
407732011-05-12 Ulrich Drepper <drepper@gmail.com>
40774
40775 [BZ #12511]
40776 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40777 don't set DF_1_NODELETE here.
40778 (do_lookup_x): When entering new entry test for copy relocation
40779 and if necessary set DF_1_NODELETE flag.
40780 * elf/tst-unique4.cc: New file.
40781 * elf/tst-unique4.h: New file.
40782 * elf/tst-unique4lib.cc: New file.
40783 * elf/Makefile: Add rules to build and run tst-unique4.
40784 Patch by Piotr Bury <pbury@goahead.com>.
40785
22836f52
UD
407862011-05-11 Ulrich Drepper <drepper@gmail.com>
40787
f574184a
UD
40788 [BZ #12052]
40789 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40790
e1fb097f
UD
40791 [BZ #12625]
40792 * misc/mntent_r.c (addmntent): Flush the stream after the output
40793
22836f52
UD
40794 [BZ #12393]
40795 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40796 (is_trusted_path_normalize): Skip initial colon. Append slash
40797 to empty buffer. Duplicate is_trusted_path code but allow
40798 constructed patch to be prefix.
40799 (is_dst): Allow $ORIGIN followed by /.
40800 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40801 Correct testing of result of is_trusted_path_normalize
40802 (decompose_rpath): Fix warning.
40803
7b3b0b2a
UD
408042011-05-10 Ulrich Drepper <drepper@gmail.com>
40805
40806 [BZ #11257]
40807 * grp/initgroups.c (internal_getgrouplist): When we found the service
40808 list through the initgroups entry in nsswitch.conf do not always
40809 continue on a successful lookup. Don't always use the
eac80ce2 40810 __nss_group_database value if it is set.
7b3b0b2a
UD
40811 * nss/nsswitch.conf (initgroups): Change action for successful db
40812 lookup to continue for compatibility.
40813
2a81eaa5
UD
408142011-05-09 Ulrich Drepper <drepper@gmail.com>
40815
be97a69e
UD
40816 [BZ #11532]
40817 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40818 and CP774 modules.
40819 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40820 and CP774 modules.
40821 * iconvdata/tst-tables.sh: Likewise.
40822 * iconvdata/cp770.c: New file.
40823 * iconvdata/cp771.c: New file.
40824 * iconvdata/cp772.c: New file.
40825 * iconvdata/cp773.c: New file.
40826 * iconvdata/cp774.c: New file.
40827 * iconvdata/testdata/CP770: New file.
40828 * iconvdata/testdata/CP770..UTF8: New file.
40829 * iconvdata/testdata/CP771: New file.
40830 * iconvdata/testdata/CP771..UTF8: New file.
40831 * iconvdata/testdata/CP772: New file.
40832 * iconvdata/testdata/CP772..UTF8: New file.
40833 * iconvdata/testdata/CP773: New file.
40834 * iconvdata/testdata/CP773..UTF8: New file.
40835 * iconvdata/testdata/CP774: New file.
40836 * iconvdata/testdata/CP774..UTF8: New file.
40837
40838 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40839 END CHARMAP line.
40840 * iconvdata/gen-8bit-gap.sh: Likewise.
40841 * iconvdata/gen-8bit.sh: Likewise.
40842
c1e9e399
UD
40843 * locale/iso-639.def: Add ary entry.
40844
24c55fb3 40845 [BZ #11258]
96b4b1b0
UD
40846 * locale/C-translit.h.in: Add U20A1 transliteration.
40847
bdc2f971
KB
40848 [BZ #12178]
40849 * locale/iso-639.def: Add wae entry.
40850 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40851
2952b117
UD
40852 [BZ #12545]
40853 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40854 for n.
40855
2a81eaa5
UD
40856 [BZ #12711]
40857 * locale/C-translit.h.in: Add entry for U20B9.
40858 Patch by pravin.d.s@gmail.com.
40859
28377d1b
UD
408602011-05-08 Ulrich Drepper <drepper@gmail.com>
40861
7fb90fb8
UD
40862 [BZ #12713]
40863 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40864 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40865 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40866 in rtld. Use *stat64.
7fb90fb8 40867 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40868 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40869 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40870 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40871 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40872 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40873 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40874 __fstatat64 macros.
7fb90fb8
UD
40875 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40876 * dirent/rewinddir.c: Add libc_hidden_def.
40877 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40878 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40879
28377d1b
UD
40880 * include/dirent.h (__alloc_dir): Add flags parameter.
40881 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40882 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40883 __alloc_dir.
40884 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40885 from fdopendir if O_CLOEXEC is already set.
40886
66bdbaa4
AM
408872011-03-15 Alan Modra <amodra@gmail.com>
40888
40889 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40890 l_tls_firstbyte_offset non-zero. Save padding offset in
40891 l_tls_firstbyte_offset for later use.
40892 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40893 freeing static tls block.
40894
95721191
JN
408952011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40896
40897 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40898 where #ifdef was intended. The intent is to prevent ARG_MAX from
40899 being defined by the kernel headers.
40900
f87dfb1f
UD
409012011-05-07 Ulrich Drepper <drepper@gmail.com>
40902
40903 [BZ #12734]
40904 * resolv/resolv.h: Define RES_NOTLDQUERY.
40905 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40906 no-tld-query and set RES_NOTLDQUERY.
40907 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40908 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40909 modern BIND to search name as TLD unless forbidden.
40910
47c3cd7a
UD
409112011-05-07 Petr Baudis <pasky@suse.cz>
40912 Ulrich Drepper <drepper@gmail.com>
40913
40914 [BZ #12393]
40915 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40916 (is_trusted_path): ...to here.
c1e9ea35 40917 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40918 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40919 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40920
8a35c912
PP
409212011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40922
40923 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40924 __BEGIN/__END_DECLS.
40925
acd41f47
UD
409262011-05-06 Ulrich Drepper <drepper@gmail.com>
40927
40928 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40929 NSS_STATUS_NOTFOUND if no record was found.
40930
597df647
AS
409312011-05-05 Andreas Schwab <schwab@redhat.com>
40932
40933 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40934 (headers-not-in-tirpc): Remove rpc/netdb.h
40935 * resolv/netdb.h: Revert last change.
40936
b9af1301
PP
409372011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40938
40939 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40940 circular dependency between libgcc.a and libc.a.
40941
4e34d5f5
AS
409422011-05-05 Andreas Schwab <schwab@redhat.com>
40943
40944 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40945 * nis/Makefile: Don't install rpcsvc/*.
40946 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40947 instead of <rpc/types.h>.
40948 (MAXHOSTNAMELEN): Define.
40949
00ee369c
AS
409502011-05-03 Andreas Schwab <schwab@redhat.com>
40951
40952 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40953
0b592a30
MB
409542011-04-28 Maciej Babinski <mbabinski@google.com>
40955
40956 [BZ #12714]
40957 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40958 gethostbyname4_r when IPv6 results are possible.
40959
6e04cbbe
UD
409602011-05-02 Ulrich Drepper <drepper@gmail.com>
40961
40962 [BZ #12723]
40963 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40964 _PC_PIPE_BUF handling.
40965
e4ecafe0
BH
409662011-04-30 Bruno Haible <bruno@clisp.org>
40967
40968 [BZ #12717]
40969 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40970 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40971 to 'int'.
40972 * inet/getnameinfo.c (getnameinfo): Likewise.
40973
125ee683
UD
409742011-04-29 Ulrich Drepper <drepper@gmail.com>
40975
40976 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40977 to groups setting in database lookup.
40978 * nss/nsswitch.conf: Add initgroups entry.
40979
b722481a
EB
409802011-04-22 Ulrich Drepper <drepper@gmail.com>
40981
40982 [BZ #12685]
40983 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
40984 mode string.
40985 Patch by Eric Blake <eblake@redhat.com>.
40986
4df46dbd
L
409872011-04-20 H.J. Lu <hongjiu.lu@intel.com>
40988
40989 * sunrpc/Makefile (need-export-routines): Add svc_run.
40990 (routines): Remove svc_run.
40991 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
40992 * sunrpc/clnt_perr.c (clnt_perrno): Export.
40993 * sunrpc/svc_run.c (svc_run): Likewise.
40994 * sunrpc/svc_udp.c (svcudp_create): Likewise.
40995
e84142d2
UD
409962011-04-21 Ulrich Drepper <drepper@gmail.com>
40997
40998 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
40999 problem in reallocation in last patch.
41000
877175d8
UD
410012011-04-20 Ulrich Drepper <drepper@gmail.com>
41002
41003 * sunrpc/Makefile: Move inclusion of Rules.
41004
ab8eed78
UD
410052011-04-19 Ulrich Drepper <drepper@gmail.com>
41006
41007 * nss/nss_files/files-initgroups.c: New file.
41008 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41009 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41010 _nss_files_initgroups_dyn.
41011
e3d8f584
RS
410122011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41013
41014 * elf/elf.h (R_ARM_IRELATIVE): Define.
41015
af190f45
UD
410162011-04-19 Ulrich Drepper <drepper@gmail.com>
41017
41018 * po/ru.po: Update from translation team.
41019
53cf59ef
UD
410202011-04-17 Ulrich Drepper <drepper@gmail.com>
41021
41022 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41023 dependencies.
41024
4c559bcd
MF
410252011-02-06 Mike Frysinger <vapier@gentoo.org>
41026
41027 [BZ #12653]
41028 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41029 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41030 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41031 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41032 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41033
4420675c
AS
410342011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41035
41036 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41037 differing bytes.
41038 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41039 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41040 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41041
75ea32ab
UD
410422011-04-17 Ulrich Drepper <drepper@gmail.com>
41043
41044 [BZ #12420]
41045 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41046 storing it.
41047 * stdlib/bug-getcontext.c: New file.
41048 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41049
27390476
AK
410502011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41051
41052 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41053 instructions into .machine "z9-109".
41054 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41055 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41056
10442705
AK
410572011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41058
41059 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41060 between environment variables and auxiliary vector.
41061
7b57bfe5
UD
410622011-04-16 Ulrich Drepper <drepper@gmail.com>
41063
41064 * Makefile: Add rules to build linkobj/libc.so.
41065 * include/libc-symbols.h: Define libc_hidden_nolink.
41066 * include/rpc/auth.h: Mark functions which are to be hidden.
41067 * include/rpc/auth_des.h: Likewise.
41068 * include/rpc/auth_unix.h: Likewise.
41069 * include/rpc/clnt.h: Likewise.
41070 * include/rpc/des_crypt.h: Likewise.
41071 * include/rpc/key_prot.h: Likewise.
41072 * include/rpc/pmap_clnt.h: Likewise.
41073 * include/rpc/pmap_prot.h: Likewise.
41074 * include/rpc/pmap_rmt.h: Likewise.
41075 * include/rpc/rpc_msg.h: Likewise.
41076 * include/rpc/svc.h: Likewise.
41077 * include/rpc/svc_auth.h: Likewise.
41078 * include/rpc/xdr.h: Likewise.
41079 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41080 * nss/Makefile: Likewise.
41081 * sunrpc/Makefile: Don't install headers. Build library with normal
41082 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41083 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41084 for the compat linking library. Remove use of INTDEF/INTUSE.
41085 * sunrpc/auth_none.c: Likewise.
41086 * sunrpc/auth_unix.c: Likewise.
41087 * sunrpc/authdes_prot.c: Likewise.
41088 * sunrpc/authuxprot.c: Likewise.
41089 * sunrpc/clnt_gen.c: Likewise.
41090 * sunrpc/clnt_perr.c: Likewise.
41091 * sunrpc/clnt_raw.c: Likewise.
41092 * sunrpc/clnt_simp.c: Likewise.
41093 * sunrpc/clnt_tcp.c: Likewise.
41094 * sunrpc/clnt_udp.c: Likewise.
41095 * sunrpc/clnt_unix.c: Likewise.
41096 * sunrpc/des_crypt.c: Likewise.
41097 * sunrpc/des_soft.c: Likewise.
41098 * sunrpc/get_myaddr.c: Likewise.
41099 * sunrpc/key_call.c: Likewise.
41100 * sunrpc/key_prot.c: Likewise.
41101 * sunrpc/netname.c: Likewise.
41102 * sunrpc/pm_getmaps.c: Likewise.
41103 * sunrpc/pm_getport.c: Likewise.
41104 * sunrpc/pmap_clnt.c: Likewise.
41105 * sunrpc/pmap_prot.c: Likewise.
41106 * sunrpc/pmap_prot2.c: Likewise.
41107 * sunrpc/pmap_rmt.c: Likewise.
41108 * sunrpc/publickey.c: Likewise.
41109 * sunrpc/rpc_cmsg.c: Likewise.
41110 * sunrpc/rpc_common.c: Likewise.
41111 * sunrpc/rpc_dtable.c: Likewise.
41112 * sunrpc/rpc_prot.c: Likewise.
41113 * sunrpc/rpc_thread.c: Likewise.
41114 * sunrpc/rtime.c: Likewise.
41115 * sunrpc/svc.c: Likewise.
41116 * sunrpc/svc_auth.c: Likewise.
41117 * sunrpc/svc_authux.c: Likewise.
41118 * sunrpc/svc_raw.c: Likewise.
41119 * sunrpc/svc_run.c: Likewise.
41120 * sunrpc/svc_simple.c: Likewise.
41121 * sunrpc/svc_tcp.c: Likewise.
41122 * sunrpc/svc_udp.c: Likewise.
41123 * sunrpc/svc_unix.c: Likewise.
41124 * sunrpc/svcauth_des.c: Likewise.
41125 * sunrpc/xcrypt.c: Likewise.
41126 * sunrpc/xdr.c: Likewise.
41127 * sunrpc/xdr_array.c: Likewise.
41128 * sunrpc/xdr_float.c: Likewise.
41129 * sunrpc/xdr_intXX_t.c: Likewise.
41130 * sunrpc/xdr_mem.c: Likewise.
41131 * sunrpc/xdr_rec.c: Likewise.
41132 * sunrpc/xdr_ref.c: Likewise.
41133 * sunrpc/xdr_sizeof.c: Likewise.
41134 * sunrpc/xdr_stdio.c: Likewise.
41135
e6c61494
UD
411362011-04-10 Ulrich Drepper <drepper@gmail.com>
41137
41138 [BZ #12650]
41139 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41140 * sysdeps/ia64/dl-tls.h: Likewise.
41141 * sysdeps/powerpc/dl-tls.h: Likewise.
41142 * sysdeps/s390/dl-tls.h: Likewise.
41143 * sysdeps/sh/dl-tls.h: Likewise.
41144 * sysdeps/sparc/dl-tls.h: Likewise.
41145 * sysdeps/x86_64/dl-tls.h: Likewise.
41146 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41147
34fe483e
AS
411482011-03-14 Andreas Schwab <schwab@redhat.com>
41149
41150 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41151 rpath element also skip the following colon.
41152 (expand_dynamic_string_token): Add is_path parameter and pass
41153 down to DL_DST_REQUIRED and _dl_dst_substitute.
41154 (decompose_rpath): Call expand_dynamic_string_token with
41155 non-zero is_path. Ignore empty rpaths.
41156 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41157 with zero is_path.
41158
f12a32e6
AS
411592011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41160
41161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41162 Make cancelable.
41163
38a7d692
UD
411642011-04-09 Ulrich Drepper <drepper@gmail.com>
41165
41166 [BZ #12655]
41167 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41168 Patch by Filipe David Manana <fdmanana@apache.org>.
41169
e451d22b
AS
411702011-04-07 Andreas Schwab <schwab@redhat.com>
41171
41172 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41173 Maintain aligned stack.
41174 (CHECK_RSP): Remove unused macro.
41175
dedc7c7b
UD
411762011-04-03 Ulrich Drepper <drepper@gmail.com>
41177
41178 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41179 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41180
94521213
UD
411812011-04-02 Ulrich Drepper <drepper@gmail.com>
41182
41183 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41184
8cb700c0 41185 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41186
0354e355
L
411872011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41188
41189 [BZ #12518]
41190 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41191 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41192 * sysdeps/x86_64/memmove.c: New file.
41193 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41194 (memcpy): Renamed to ...
41195 (__new_memcpy): This.
41196 (memcpy): Provide GLIBC_2_14 memcpy.
41197 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41198 (memcpy): Provide GLIBC_2_2_5 memcpy.
41199
8593482f
UD
412002011-04-01 Ulrich Drepper <drepper@gmail.com>
41201
41202 [BZ #12631]
41203 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41204
81a5726b
AS
412052011-03-30 Andreas Schwab <schwab@redhat.com>
41206
41207 * misc/syncfs.c: New file.
41208 * misc/Makefile (routines): Add syncfs.
41209 * posix/unistd.h: Declare syncfs.
41210 * sysdeps/unix/syscalls.list: Add syncfs.
41211
00e5419f
AS
412122011-04-01 Andreas Schwab <schwab@redhat.com>
41213
41214 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41215 open_by_handle_at.
41216 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41217 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41218 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41219 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41220 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41221 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41222 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41223
748876bf
UD
412242011-04-01 Ulrich Drepper <drepper@gmail.com>
41225
658e451d
UD
41226 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41227 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41228 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41229 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41230 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41231 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41232 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41233
748876bf
UD
41234 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41235 sync_file_range.c with -fexceptions.
41236 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41237 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41238 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41239 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41240 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41241 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41242 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41243 sync_file_range as cancellation point
41244 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41245 now a wrapper around __call_sync_file_range with cancellation handling.
41246 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41247 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41248 function name to __call_sync_file_range.
41249 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41250 Add call_sync_file_range.
748876bf 41251
6e63d5e1
AS
412522011-04-01 Andreas Schwab <schwab@redhat.com>
41253
41254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41255 bits/timex.h.
6e63d5e1 41256
46998f74
UD
412572011-04-01 Ulrich Drepper <drepper@gmail.com>
41258
4c1423ed
UD
41259 * iconv/iconv.h: Fix typo in comment.
41260 * io/fcntl.h: Likewise.
41261 * libio/stdio.h: Likewise.
41262 * posix/spawn.h: Likewise.
41263 * posix/unistd.h: Likewise.
41264 * stdlib/stdlib.h: Likewise.
41265 * time/time.h: Likewise.
41266 * wcsmbs/wchar.h: Likewise.
41267
158648c0
UD
41268 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41269 open_by_handle): Add.
41270 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41271 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41272 Augment a few comments.
41273 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41274 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41275 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41276 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41277 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41278 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41279 open_by_handle.
41280
46998f74
UD
41281 * io/fcntl.h (AT_EMPTY_PATH): Define.
41282
83fe108b
UD
412832011-03-30 Ulrich Drepper <drepper@gmail.com>
41284
41285 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41286 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41287 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41288 to...
41289 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41290 * Versions.def: Add GLIBC_2.14.
41291 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41292 Export.
83fe108b 41293
bb242059
UD
412942011-03-22 Ulrich Drepper <drepper@gmail.com>
41295
41296 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41297 round counter.
41298 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41299
c97a1282
L
413002011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41301
41302 [BZ #12597]
41303 * string/test-strncmp.c (do_page_test): New function.
41304 (check2): Likewise.
41305 (test_main): Call check2.
41306 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41307
2a115601
UD
413082011-03-20 Ulrich Drepper <drepper@gmail.com>
41309
41310 [BZ #12587]
41311 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41312 Handle cache information in CPU leaf 4.
41313 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41314
8126d904
UD
413152011-03-18 Ulrich Drepper <drepper@gmail.com>
41316
042c49c6 41317 [BZ #12583]
8126d904
UD
41318 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41319 character representation.
41320 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41321
ccfe366e
RA
413222011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41323
41324 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41325 END(__isnan) to END(__isnanf) to match function entry point/label
41326 EALIGN(__isnanf,...).
41327
c6e13027
JJ
413282011-03-10 Jakub Jelinek <jakub@redhat.com>
41329
41330 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41331
33f85a3f
UD
413322011-03-10 Ulrich Drepper <drepper@gmail.com>
41333
028478fa
UD
41334 [BZ #12510]
41335 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41336 copy from the symbol referenced in the relocation to initialize the
41337 used variable.
41338 Patch by Piotr Bury <pbury@goahead.com>.
41339 * elf/Makefile: Add rules to build and tst-unique3.
41340 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41341 * elf/tst-unique3.cc: New file.
41342 * elf/tst-unique3.h: New file.
41343 * elf/tst-unique3lib.cc: New file.
41344 * elf/tst-unique3lib2.cc: New file.
41345
33f85a3f
UD
41346 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41347
03592fc7
MF
413482011-03-10 Mike Frysinger <vapier@gentoo.org>
41349
41350 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41351 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41352 to _start.
03592fc7 41353
6a5ee102
UD
413542011-03-06 Ulrich Drepper <drepper@gmail.com>
41355
41356 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41357 to-be-loaded object along a path to loader is ld.so.
41358
7e4ba49c
HJ
413592011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41360 Ulrich Drepper <drepper@gmail.com>
41361
41362 * sysdeps/x86_64/memset.S: After aligning destination, code
41363 branches to different locations depending on the value of
41364 misalignment, when multiarch is enabled. Fix this.
41365
413662011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41367
41368 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41369 Set _x86_64_preferred_memory_instruction for AMD processsors.
41370 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41371 Set bit_Prefer_SSE_for_memop for AMD processors.
41372
13a804de
UD
413732011-03-04 Ulrich Drepper <drepper@gmail.com>
41374
41375 * libio/fmemopen.c (fmemopen): Optimize a bit.
41376
9d25c392
AS
413772011-03-03 Andreas Schwab <schwab@redhat.com>
41378
41379 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41380
a5543c6a
RM
413812011-03-03 Roland McGrath <roland@redhat.com>
41382
41383 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41384
012d35f7
DM
413852011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41386
7e4ba49c 41387 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41388 __bzero_ultra1 instead of __memset_ultra1.
41389
4bff6e01
AS
413902011-02-23 Andreas Schwab <schwab@redhat.com>
41391 Ulrich Drepper <drepper@gmail.com>
41392
41393 [BZ #12509]
41394 * include/link.h (struct link_map): Add l_orig_initfini.
41395 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41396 returning unsuccessfully.
41397 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41398 close of a file loaded at startup, restore the original l_initfini
41399 list.
41400 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41401 list, store the pointer.
41402 * elf/Makefile ($(objpfx)noload-mem): New rule.
41403 (noload-ENV): Define.
41404 (tests): Add $(objpfx)noload-mem.
41405 * elf/noload.c: Include <memcheck.h>.
41406 (main): Call mtrace. Close all opened handles.
41407
f2092faf
AS
414082011-02-17 Andreas Schwab <schwab@redhat.com>
41409
41410 [BZ #12454]
41411 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41412 dependencies are missing.
41413
6c8a2e88
ST
414142011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41415
f2092faf 41416 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41417 Hurd needs munmap.
41418 * sysdeps/mach/hurd/ifreq.h: New file.
41419
84a42118
PB
414202011-01-27 Petr Baudis <pasky@suse.cz>
41421 Ulrich Drepper <drepper@gmail.com>
41422
071f805e 41423 [BZ 12445]#
84a42118
PB
41424 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41425 to extend_alloca().
41426 * stdio-common/bug23.c: New file.
41427 * stdio-common/Makefile (tests): Add bug23.
41428
e23fe25b
AS
414292010-09-28 Andreas Schwab <schwab@redhat.com>
41430 Ulrich Drepper <drepper@gmail.com>
41431
41432 [BZ #12489]
41433 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41434 before performing relro protection. At old place add assertion
41435 to make sure nothing changed.
41436
d3f02e10
NS
414372011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41438 Glauber de Oliveira Costa <glommer@gmail.com>
41439
41440 * elf/elf.h: Add new ARM TLS relocs.
41441
d55fd7a5
RA
414422011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41443
41444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41445 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41446 cast from r3.
41447 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41448 'tests' variable.
41449 * sysdeps/wordsize-64/tst-writev.c: New file.
41450
2206397e
RA
414512011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41452
41453 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41454 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41455 insns in _dl_start to prevent a TOC reference before relocs are
41456 resolved.
41457
e9433893
UD
414582011-02-15 Ulrich Drepper <drepper@gmail.com>
41459
41460 [BZ #12469]
41461 * Makeconfig: Remove RANLIB definition.
41462 * Makerules: Don't use RANLIB.
41463 * aclocal.m4: Remove ranlib test.
41464 * configure.in: No need to check for ranlib.
41465 * elf/rtld-Rules: Don't use RANLIB.
41466
f75286c6
ST
414672011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41468
8e31c82d
ST
41469 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41470 protection macro.
41471 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41472 inclusion protection macro.
41473
f75286c6
ST
41474 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41475 SIGRTMIN and SIGRTMAX and print information in that case only when
41476 SIGRTMIN is defined.
41477
c1d0e639
JJ
414782011-02-11 Jakub Jelinek <jakub@redhat.com>
41479
41480 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41481 arginfo fn returning -1.
41482
41483 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41484 and thousands string is zero terminated.
41485
edf9294e
AS
414862011-02-03 Andreas Schwab <schwab@redhat.com>
41487
41488 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41489 sysdeps/unix/sysv/linux/bits/socket.h.
41490
2b7e92df
ST
414912011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41492
edf9294e
AS
41493 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41494 (__CPU_COUNT): Remove old macros.
41495 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41496 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41497 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41498 (__sched_cpualloc, __sched_cpufree): Add declarations.
41499
a4c7ea7b
UD
415002011-02-05 Ulrich Drepper <drepper@gmail.com>
41501
41502 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41503 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41504 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41505 (readdhstai): Return value of addhstaiX call.
41506 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41507 (addgrbyX): Return value returned by cache_addgr.
41508 (readdgrbyname): Return value returned by addgrbyX.
41509 (readdgrbygid): Likewise.
41510 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41511 (addpwbyX): Return value returned by cache_addpw.
41512 (readdpwbyname): Return value returned by addhstbyX.
41513 (readdpwbyuid): Likewise.
41514 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41515 (addservbyX): Return value returned by cache_addserv.
41516 (readdservbyname): Return value returned by addservbyX:
41517 (readdservbyport): Likewise.
41518 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41519 (addhstbyX): Return value returned by cache_addhst.
41520 (readdhstbyname): Return value returned by addhstbyX.
41521 (readdhstbyaddr): Likewise.
41522 (readdhstbynamev6): Likewise.
41523 (readdhstbyaddrv6): Likewise.
41524 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41525 (readdinitgroups): Return value returned by addinitgroupsX.
41526 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41527 (prune_cache): Keep track of timeout value of re-added entries.
41528 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41529 * nscd/nscd.h: Adjust prototypes of readd* functions.
41530
a0bf67cc
RM
415312011-02-04 Roland McGrath <roland@redhat.com>
41532
41533 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41534 (nis_stats): Likewise.
41535 * nis/nis_modify.c (nis_modify): Likewise.
41536 * nis/nis_remove.c (nis_remove): Likewise.
41537 * nis/nis_add.c (nis_add): Likewise.
41538
41539 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41540
41541 * posix/fnmatch_loop.c: Add some consts.
41542
41543 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41544
435b95eb
L
415452011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41546
41547 [BZ #12460]
41548 * config.make.in (config-cflags-novzeroupper): Define.
41549 * configure.in: Substitute libc_cv_cc_novzeroupper.
41550 * elf/Makefile (AVX-CFLAGS): Define.
41551 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41552 (CFLAGS-tst-auditmod4a.c): Likewise.
41553 (CFLAGS-tst-auditmod4b.c): Likewise.
41554 (CFLAGS-tst-auditmod6b.c): Likewise.
41555 (CFLAGS-tst-auditmod6c.c): Likewise.
41556 (CFLAGS-tst-auditmod7b.c): Likewise.
41557 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41558
8517b15e
UD
415592011-02-02 Ulrich Drepper <drepper@gmail.com>
41560
41561 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41562 function to the callback.
41563 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41564
10a656fe
AS
415652011-02-02 Andreas Schwab <schwab@redhat.com>
41566
41567 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41568 of errno.
41569
968dad0a
UD
415702011-01-19 Ulrich Drepper <drepper@gmail.com>
41571
9f94d2ea 41572 [BZ #11724]
968dad0a
UD
41573 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41574 of constructors.
41575 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41576 of destructors.
41577 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41578
41579 [BZ #11724]
41580 * elf/Makefile: Add rules to build and run new test.
41581 * elf/tst-initorder.c: New file.
41582 * elf/tst-initorder.exp: New file.
41583 * elf/tst-initordera1.c: New file.
41584 * elf/tst-initordera2.c: New file.
41585 * elf/tst-initordera3.c: New file.
41586 * elf/tst-initordera4.c: New file.
41587 * elf/tst-initorderb1.c: New file.
41588 * elf/tst-initorderb2.c: New file.
41589 * elf/tst-order-a1.c: New file.
41590 * elf/tst-order-a2.c: New file.
41591 * elf/tst-order-a3.c: New file.
41592 * elf/tst-order-a4.c: New file.
41593 * elf/tst-order-b1.c: New file.
41594 * elf/tst-order-b2.c: New file.
41595 * elf/tst-order-main.c: New file.
41596 New test case by George Gensure <werkt0@gmail.com>.
41597
86e92359
UD
415982010-10-01 Andreas Schwab <schwab@redhat.com>
41599
41600 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41601 decoding ACE if AI_CANONIDN.
41602
5d5732b0
UD
416032011-01-18 Ulrich Drepper <drepper@gmail.com>
41604
41605 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41606
a77e8cbc
UD
416072011-01-17 Ulrich Drepper <drepper@gmail.com>
41608
6392473f
UD
41609 * version.h (RELEASE): Bump for 2.13 release.
41610 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41611
620a0529
UD
41612 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41613
18ba70a5
UD
41614 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41615 MADV_NOHUGEPAGE.
32465c3e
UD
41616 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41617 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41618 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41619 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41620 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41621 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41622
c0dafcf1
UD
41623 * posix/getconf.c: Update copyright year.
41624 * catgets/gencat.c: Likewise.
41625 * csu/version.c: Likewise.
41626 * debug/catchsegv.sh: Likewise.
41627 * debug/xtrace.sh: Likewise.
41628 * elf/ldconfig.c: Likewise.
41629 * elf/ldd.bash.in: Likewise.
41630 * elf/sprof.c (print_version): Likewise.
41631 * iconv/iconv_prog.c: Likewise.
41632 * iconv/iconvconfig.c: Likewise.
41633 * locale/programs/locale.c: Likewise.
41634 * locale/programs/localedef.c: Likewise.
41635 * malloc/memusage.sh: Likewise.
41636 * malloc/mtrace.pl: Likewise.
41637 * nscd/nscd.c (print_version): Likewise.
41638 * nss/getent.c: Likewise.
41639
a77e8cbc
UD
41640 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41641 PF_CAIF, and PF_ALG.
41642 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41643
77e8bddf
AS
416442011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41645
1f20b93a
AS
41646 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41647 (modules-names): Use them.
41648 (ifunc-test-modules, ifunc-pie-tests): Define.
41649 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41650 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41651 (test-extras): Likewise.
41652 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41653 $(compile-command.c).
41654 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41655 (all-built-dso): Define.
41656 (check-textrel.out, check-execstack.out): Depend on it.
41657
77e8bddf
AS
41658 * configure.in: Don't override --enable-multi-arch.
41659
bc425b33
UD
416602011-01-15 Ulrich Drepper <drepper@gmail.com>
41661
41662 [BZ #6812]
41663 * nscd/hstcache.c (tryagain): Define.
41664 (cache_addhst): Return tryagain not notfound for temporary errors.
41665 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41666 failed.
41667
794c3ad3
UD
416682011-01-14 Ulrich Drepper <drepper@gmail.com>
41669
70181fdd
UD
41670 [BZ #10563]
41671 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41672 to make the syscall.
41673 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41674
794c3ad3
UD
41675 [BZ #12378]
41676 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41677 and fall back to matching as normal character if the string ends before
41678 the matching ']' is found. This is what POSIX requires.
41679 * posix/testfnm.c: Adjust test result.
41680 * posix/globtest.sh: Adjust test result. Add new test.
41681 * posix/tst-fnmatch.input: Likewise.
41682 * posix/tst-fnmatch2.c: Add new test.
41683
68dc9497
AS
416842010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41685
41686 * elf/Makefile (check-execstack): Revert last change. Depend on
41687 check-execstack.h.
41688 (check-execstack.h): New target.
41689 (generated): Add check-execstack.h.
41690 * elf/check-execstack.c: Include "check-execstack.h".
41691 (main): Revert last change.
41692 (handle_file): Return zero if GNU_STACK is absent and
41693 DEFAULT_STACK_PERMS doesn't include PF_X.
41694
451f001b
UD
416952011-01-13 Ulrich Drepper <drepper@gmail.com>
41696
cfa28e56
UD
41697 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41698 in child fails because the descriptor is already closed.
8cf8ce17
UD
41699 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41700 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41701 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41702
1086d70d
UD
41703 [BZ #12397]
41704 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41705 syscall.
41706
451f001b
UD
41707 [BZ #10484]
41708 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41709 temporary buffer used to handle multi lookups locally.
a85b5cb4 41710 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41711
08769175
UD
417122011-01-12 Ulrich Drepper <drepper@gmail.com>
41713
41714 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41715 loader is ld.so.
41716
5e49c52e
UD
417172011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41718
41719 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41720 alignment for SSE2.
41721
60522a5f
UD
417222011-01-12 Ulrich Drepper <drepper@gmail.com>
41723
41724 [BZ #12394]
41725 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41726 characters. When rounding increased number of integer digits recompute
41727 number of groups.
41728 * stdio-common/tst-grouping.c: New file.
41729 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41730
f257bbd7
UD
417312011-01-09 Ulrich Drepper <drepper@gmail.com>
41732
41733 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41734 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41735
41736 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41737 void.
41738 * bits/select.h: Likewise.
41739
fa9c15cb
UD
417402011-01-08 Ulrich Drepper <drepper@gmail.com>
41741
41742 * po/ja.po: Update from translation team.
41743
16c2895f
DM
417442011-01-04 David S. Miller <davem@sunset.davemloft.net>
41745
41746 [BZ #11155]
41747 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41748 implementation just like for lxstat, fxstatat, et al.
41749
2543fef2
JM
417502010-12-27 Jim Meyering <meyering@redhat.com>
41751
41752 [BZ #12348]
41753 * posix/regexec.c (build_trtable): Return failure indication upon
41754 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41755
98727dbe
UD
417562010-12-25 Ulrich Drepper <drepper@gmail.com>
41757
5bd6dc5c
UD
41758 [BZ #12201]
41759 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41760 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41761 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41762 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41763
97983464
UD
41764 [BZ #12207]
41765 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41766
98727dbe
UD
41767 [BZ #12204]
41768 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41769 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41770
4a531bb0
L
417712010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41772
41773 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41774 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41775 script has SORT_BY_INIT_PRIORITY.
41776 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41777 NO_CTORS_DTORS_SECTIONS is defined.
41778 * elf/soinit.c: Likewise.
41779 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41780 NO_CTORS_DTORS_SECTIONS is defined.
41781 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41782 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41783 * sysdeps/sh/init-first.c: Likewise.
41784 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41785
07eb4b71
UD
417862010-12-24 Ulrich Drepper <drepper@gmail.com>
41787
41788 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41789 always use the slow path.
41790
30950a5f
RA
417912010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41792
41793 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41794 similar rule which adds the sysdep directories to the header search in
41795 order to pick up the correct platform stackinfo.h.
41796 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41797 perform test if it is, otherwise return successfully without testing.
41798 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41799 DEFAULT_STACK_PERMS define in stackinfo.h.
41800 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41801 defined in stackinfo.h.
41802 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41803 DEFAULT_STACK_PERMS defined in stackinfo.h.
41804 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41805 * sysdeps/ia64/stackinfo.h: Likewise.
41806 * sysdeps/s390/stackinfo.h: Likewise.
41807 * sysdeps/sh/stackinfo.h: Likewise.
41808 * sysdeps/sparc/stackinfo.h: Likewise.
41809 * sysdeps/x86_64/stackinfo.h: Likewise.
41810 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41811 PF_X for powerpc64. Retain PF_X for powerpc32.
41812
db753e2c
UD
418132010-12-19 Ulrich Drepper <drepper@gmail.com>
41814
14b697f7
UD
41815 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41816 accurately.
db753e2c
UD
41817 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41818 GETDENTS_64BIT_ALIGNED.
41819
28300719
UD
418202010-12-14 Ulrich Drepper <dreper@gmail.com>
41821
14b697f7 41822 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41823
4f197237
AS
418242010-12-10 Andreas Schwab <schwab@redhat.com>
41825
dbb0472f
AS
41826 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41827 _GNU_SOURCE.
41828
4f197237
AS
41829 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41830 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41831 Remove __restrict.
41832 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41833 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41834
fb88ac72
UD
418352010-12-09 Ulrich Drepper <drepper@gmail.com>
41836
41837 [BZ #11655]
41838 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41839 are initialized.
41840
42acbb92
JJ
418412010-12-09 Jakub Jelinek <jakub@redhat.com>
41842
41843 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41844
c038d98d
UD
418452010-12-03 Ulrich Drepper <drepper@gmail.com>
41846
41847 * po/it.po: Update from translation team.
41848
3a4a2499
L
418492010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41850
41851 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41852 unused codes.
41853
1e24cf6e
UD
418542010-11-30 Ulrich Drepper <drepper@gmail.com>
41855
41856 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41857
a7690819
AS
418582010-11-24 Andreas Schwab <schwab@redhat.com>
41859
41860 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41861 specially.
41862 (gaih_getanswer_slice): Likewise.
41863
3bf8d1b1
JJ
418642010-10-20 Jakub Jelinek <jakub@redhat.com>
41865
41866 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41867
6db52fbb
PB
418682010-05-31 Petr Baudis <pasky@suse.cz>
41869
41870 [BZ #11149]
41871 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41872 silently even in the chroot mode.
41873
eaca7569
UD
418742010-11-22 Ulrich Drepper <drepper@gmail.com>
41875
41876 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41877 last patch a bit. Pretty printing
41878
3056dcdb
UD
418792010-05-31 Petr Baudis <pasky@suse.cz>
41880
41881 [BZ #10085]
41882 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41883 initialization of skip_initgroups_dyn.
41884
cf7c9078
UD
418852010-11-19 Ulrich Drepper <drepper@gmail.com>
41886
41887 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41888 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41889
a1fb5e3e
UD
418902010-11-16 Ulrich Drepper <drepper@gmail.com>
41891
41892 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41893
3540d66b
AS
418942010-11-11 Andreas Schwab <schwab@redhat.com>
41895
41896 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41897 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41898 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41899 ($(objpfx)tst-fnmatch-mem): New rule.
41900 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41901 * posix/tst-fnmatch.c (main): Call mtrace.
41902
13b69574
L
419032010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41904
41905 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41906 Support Intel processor model 6 and model 0x2c.
41907
da93d214
LM
419082010-11-10 Luis Machado <luisgpm@br.ibm.com>
41909
41910 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41911 signed comparison.
41912
8ca52c6e
L
419132010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41914
41915 [BZ #12205]
41916 * string/test-strncasecmp.c (check_result): New function.
41917 (do_one_test): Use it.
41918 (check1): New function.
41919 (test_main): Use it.
41920 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41921 Support strcasecmp and strncasecmp.
41922
69da074d
UD
419232010-11-08 Ulrich Drepper <drepper@gmail.com>
41924
41925 [BZ #12194]
41926 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41927 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41928
ff02d528
L
419292010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41930
41931 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41932 IFUNC support.
41933 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41934 memset-x86-64.
41935 * sysdeps/x86_64/multiarch/bzero.S: New file.
41936 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41937 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41938 * sysdeps/x86_64/multiarch/memset.S: New file.
41939 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41940 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41941 Set bit_Prefer_SSE_for_memop for Intel processors.
41942 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41943 Define.
41944 (index_Prefer_SSE_for_memop): Define.
41945 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41946
344d0b54
LM
419472010-11-04 Luis Machado <luisgpm@br.ibm.com>
41948
41949 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41950 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41951
c0dde15b
UD
419522010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41953
41954 [BZ #12191]
41955 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41956 (__x86_64_raw_data_cache_size_half): Likewise.
41957 (__x86_64_raw_shared_cache_size): Likewise.
41958 (__x86_64_raw_shared_cache_size_half): Likewise.
41959
41960 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41961 (__x86_64_raw_data_cache_size_half): Likewise.
41962 (__x86_64_raw_shared_cache_size): Likewise.
41963 (__x86_64_raw_shared_cache_size_half): Likewise.
41964 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41965 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41966 and __x86_64_raw_shared_cache_size_half. Round
41967 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41968 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41969 to multiple of 256 bytes.
41970
0e516e0e
MS
419712010-11-03 Ulrich Drepper <drepper@gmail.com>
41972
41973 [BZ #12167]
41974 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41975 of inacessible symlinks. Verify result of symlink before returning it.
41976 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41977 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41978
0e012e87
ER
419792010-10-28 Erich Ritz <erichritz@gmail.com>
41980
41981 * math/math.h (isinf): Fix typo in comment.
41982
de0ff7bc
UD
419832010-11-01 Ulrich Drepper <drepper@gmail.com>
41984
41985 * po/da.po: Update from translation team.
41986
fa41c84d
UD
419872010-10-26 Ulrich Drepper <drepper@gmail.com>
41988
41989 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
41990 is added to the list.
41991
f0967738
AK
419922010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41993 Ulrich Drepper <drepper@gmail.com>
41994
41995 * elf/dl-object.c (_dl_new_object): Don't append the new object to
41996 the global list here. Move code to...
41997 (_dl_add_to_namespace_list): ...here. New function.
41998 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
41999 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42000 * elf/dl-load.c (lose): Don't remove the element from the list.
42001 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42002 (_dl_map_object): Likewise.
42003
420042010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42005
42006 [BZ #12159]
42007 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42008 into all bytes of SSE register.
42009 Patch by Richard Li <richardpku@gmail.com>.
42010
f0967738 420112010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42012
42013 [BZ #12140]
42014 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42015 perturbing.
42016
d0b9e94f
MB
420172010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42018
42019 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42020 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42021 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42022 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42024 submachine.
42025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42026
8e9f92e9
AS
420272010-10-22 Andreas Schwab <schwab@redhat.com>
42028
42029 * include/dlfcn.h (__RTLD_SECURE): Define.
42030 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42031 mode & __RTLD_SECURE instead.
42032 (open_path): Rename preloaded parameter to secure.
42033 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42034 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42035 * elf/dl-deps.c (openaux): Likewise.
42036 * elf/rtld.c (struct map_args): Remove is_preloaded.
42037 (map_doit): Don't use it.
42038 (dl_main): Likewise.
42039 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42040 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42041
bc96fbda
AS
420422010-09-09 Andreas Schwab <schwab@redhat.com>
42043
42044 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42045 (sysd-rules-targets): Remove duplicates.
42046 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42047 rtld-%.$o dependency.
42048
22cd1c9b
AS
420492010-10-18 Andreas Schwab <schwab@redhat.com>
42050
42051 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42052 _dl_map_object do it.
42053
18edac48
UD
420542010-10-19 Ulrich Drepper <drepper@gmail.com>
42055
42056 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42057 fast fma builtins, define the macros in the C99 standard.
42058 (FP_FAST_FMAF): Likewise.
42059 (FP_FAST_FMAL): Likewise.
42060 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42061
42062 * bits/mathdef.h: Update copyright year.
42063 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42064
d2050124
MM
420652010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42066
42067 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42068 builtins, define the macros in the C99 standard.
42069 (FP_FAST_FMAF): Likewise.
42070 (FP_FAST_FMAL): Likewise.
42071 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42072 multiply/add.
42073 (FP_FAST_FMAF): Likewise.
42074
475facd1
JJ
420752010-10-15 Jakub Jelinek <jakub@redhat.com>
42076
42077 [BZ #3268]
42078 * math/libm-test.inc (fma_test): Some new testcases.
42079 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42080 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42081 y and infinite z. Do multiplication by C already in long double.
42082 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42083 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42084 y and infinite z. Do bitwise or of inexact bit into u.d.
42085 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42086 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42087 * sysdeps/i386/fpu/s_fma.S: Removed.
42088 * sysdeps/i386/fpu/s_fmal.S: Removed.
42089
7c08a05c
JJ
420902010-10-16 Jakub Jelinek <jakub@redhat.com>
42091
42092 [BZ #3268]
42093 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42094 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42095 computation is not scheduled after fetestexcept. Fix value
42096 of minimum denormal long double.
42097
f3f7372d
JJ
420982010-10-14 Jakub Jelinek <jakub@redhat.com>
42099
42100 [BZ #3268]
42101 * math/libm-test.inc (fma_test): Add some more tests.
42102 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42103 correctly.
42104
14d43591
AS
421052010-10-15 Andreas Schwab <schwab@redhat.com>
42106
42107 * scripts/data/localplt-s390-linux-gnu.data: New file.
42108 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42109
5e908464
JJ
421102010-10-13 Jakub Jelinek <jakub@redhat.com>
42111
42112 [BZ #3268]
42113 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42114 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42115 instead of dbl-64.
42116 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42117 inlines.
42118 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42119 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42120 if one of x and y is very large and the other is subnormal.
42121 * sysdeps/s390/fpu/s_fmaf.c: New file.
42122 * sysdeps/s390/fpu/s_fma.c: New file.
42123 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42124 * sysdeps/powerpc/fpu/s_fma.S: New file.
42125 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42126 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42127 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42128
421292010-10-12 Jakub Jelinek <jakub@redhat.com>
42130
42131 [BZ #3268]
42132 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42133 fma tests.
42134 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42135 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42136 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42137 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42138 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42139 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42140 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42141
b833d51f
UD
421422010-10-12 Ulrich Drepper <drepper@redhat.com>
42143
42144 [BZ #12078]
42145 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42146 * posix/bug-regex31.input: Add test case.
42147
1751705d
UD
421482010-10-11 Ulrich Drepper <drepper@gmail.com>
42149
e9b9cbf5
UD
42150 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42151 * posix/bug-regex31.input: New file.
42152
42153 [BZ #12078]
42154 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42155 (parse_sub_exp): Fix last change, use postorder.
42156
ef06edbe
UD
42157 * posix/bug-regex31.c: New file.
42158 * posix/Makefile: Add rules to build and run bug-regex31.
42159
a129c80d
UD
42160 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42161
42162 [BZ #12078]
42163 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42164
b76b818e
UD
42165 [BZ #12108]
42166 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42167 to have entries in sys_siglist.
42168
1751705d
UD
42169 [BZ #12093]
42170 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42171 be NULL.
42172
9ff8d36f
JJ
421732010-10-07 Jakub Jelinek <jakub@redhat.com>
42174
42175 [BZ #3268]
42176 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42177 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42178 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42179 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42180 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42181 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42182 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42183 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42184 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42185 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42186 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42187 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42188 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42189 * math/ftestexcept.c (fetestexcept): Likewise.
42190 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42191 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42192 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42193 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42194 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42195 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42196 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42197
af325969
UD
421982010-10-11 Ulrich Drepper <drepper@gmail.com>
42199
c579b202 42200 [BZ #12107]
af325969
UD
42201 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42202 newline.
42203
67a67b95
UD
422042010-10-06 Ulrich Drepper <drepper@gmail.com>
42205
42206 * string/bug-strstr1.c: New file.
42207 * string/Makefile: Add rules to build and run bug-strstr1.
42208
5fb308bc
EB
422092010-10-05 Eric Blake <eblake@redhat.com>
42210
42211 [BZ #12092]
42212 * string/str-two-way.h (two_way_long_needle): Always clear memory
42213 when skipping input due to the shift table.
42214
45db99c7
UD
422152010-10-03 Ulrich Drepper <drepper@gmail.com>
42216
3b111893
UD
42217 [BZ #12005]
42218 * malloc/mcheck.c: Handle large requests.
42219
45db99c7
UD
42220 [BZ #12077]
42221 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42222 for strncmp and strncasecmp.
42223 * string/stratcliff.c: Add tests for strcmp and strncmp.
42224 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42225
cf7a1eb8
NI
422262010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42227
42228 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42229 __set_fpscr.
42230
6484ba5e
AJ
422312010-09-30 Andreas Jaeger <aj@suse.de>
42232
42233 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42234 (CGROUP_SUPER_MAGIC): Define.
42235 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42236 Handle btrfs and cgroup file systems.
42237 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42238 Likewise.
42239
91c42559
LM
422402010-09-27 Luis Machado <luisgpm@br.ibm.com>
42241
42242 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42243 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42244
87a97932
AK
422452010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42246
42247 [BZ #12067]
42248 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42249 trying to locate the ELF header.
42250
c21cc9bc
AS
422512010-09-27 Andreas Schwab <schwab@redhat.com>
42252
42253 [BZ #11611]
42254 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42255 Mask out sign-bit copies when constructing f_fsid.
42256
315970f6
PB
422572010-09-24 Petr Baudis <pasky@suse.cz>
42258
42259 * debug/stack_chk_fail_local.c: Add missing licence exception.
42260 * debug/warning-nop.c: Likewise.
42261
1ac7a2c7
JM
422622010-09-15 Joseph Myers <joseph@codesourcery.com>
42263
42264 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42265 implementing getdents64 using getdents syscall, set d_type if
42266 __ASSUME_GETDENTS32_D_TYPE.
42267
56801c50
AS
422682010-09-16 Andreas Schwab <schwab@redhat.com>
42269
42270 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42271 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42272
dda51327
UD
422732010-09-21 Ulrich Drepper <drepper@redhat.com>
42274
42275 [BZ #12037]
42276 * posix/unistd.h: Undo change of feature selection for ftruncate from
42277 2010-01-11.
42278
8ffcee4a
UD
422792010-09-20 Ulrich Drepper <drepper@redhat.com>
42280
a545ecd9 42281 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42282 detection.
42283
e24f0a8b
AS
422842010-09-20 Andreas Schwab <schwab@redhat.com>
42285
42286 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42287 fanotify_mark.
42288 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42289
7291c56f
AS
422902010-09-14 Andreas Schwab <schwab@redhat.com>
42291
42292 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42293 variables after CHECK_SP call.
42294 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42295
bc5fb037
AS
422962010-09-13 Andreas Schwab <schwab@redhat.com>
42297 Ulrich Drepper <drepper@redhat.com>
42298
42299 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42300 re-relocationg ld.so.
42301 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42302 _dl_init_paths call.
42303 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42304 here anymore.
42305
e66e7419
UD
423062010-09-14 Ulrich Drepper <drepper@redhat.com>
42307
42308 * resolv/res_init.c (__res_vinit): Count the default server we added.
42309
c044aa75
CLT
423102010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42311 Ulrich Drepper <drepper@redhat.com>
42312
42313 [BZ #11968]
42314 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42315 (____longjmp_chk): Use %ebx for saving value across system call.
42316 Add unwind info.
42317
32cf4069
AS
423182010-09-06 Andreas Schwab <schwab@redhat.com>
42319
42320 * manual/Makefile: Don't mix pattern rules with normal rules.
42321
817328ee
AS
423222010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42323
42324 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42325 operation.
42326 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42327 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42328 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42329 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42330 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42331 Likewise.
42332
29fddf61
UD
423332010-09-04 Ulrich Drepper <drepper@redhat.com>
42334
42335 [BZ #11979]
42336 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42337 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42338
0959ffc9
UD
423392010-09-02 Ulrich Drepper <drepper@redhat.com>
42340
42341 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42342 * sysdeps/x86_64/addmul_1.S: Likewise.
42343 * sysdeps/x86_64/lshift.S: Likewise.
42344 * sysdeps/x86_64/mul_1.S: Likewise.
42345 * sysdeps/x86_64/rshift.S: Likewise.
42346 * sysdeps/x86_64/sub_n.S: Likewise.
42347 * sysdeps/x86_64/submul_1.S: Likewise.
42348
ece29840
ST
423492010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42350
0959ffc9
UD
42351 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42352 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42353 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42354 * bits/sched.h [__need_schedparam]
ece29840 42355 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42356 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42357 (__defined_schedparam): Define to 1.
ece29840
ST
42358 (__sched_param): New structure, identical to sched_param.
42359 (__need_schedparam): Undefine.
42360
e53a31fe
MF
423612010-08-31 Mike Frysinger <vapier@gentoo.org>
42362
fdc0c10d
MF
42363 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42364 (epoll_create1): Declare.
42365
e53a31fe
MF
42366 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42367
a726d796
AS
423682010-08-31 Andreas Schwab <schwab@redhat.com>
42369
42370 [BZ #7066]
42371 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42372 shifting retval into place.
42373
2f3e3dc7
UD
423742010-09-01 Ulrich Drepper <drepper@redhat.com>
42375
f2933da9
UD
42376 * nis/rpcsvc/nis.h: Update copyright notice.
42377 * nis/rpcsvc/nis.x: Likewise.
42378 * nis/rpcsvc/nis_callback.h: Likewise.
42379 * nis/rpcsvc/nis_callback.x: Likewise.
42380 * nis/rpcsvc/nis_object.x: Likewise.
42381 * nis/rpcsvc/nis_tags.h: Likewise.
42382 * nis/rpcsvc/yp.h: Likewise.
42383 * nis/rpcsvc/yp.x: Likewise.
42384 * nis/rpcsvc/ypupd.h: Likewise.
42385 * nis/yp_xdr.c: Likewise.
42386 * nis/ypupdate_xdr.c: Likewise.
42387
2f3e3dc7
UD
42388 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42389 mainly the body of pmap_getport. Add parameters to specify timeouts.
42390 (pmap_getport): Use __libc_rpc_getport.
42391 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42392 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42393 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42394
f3dcc2f9
AS
423952010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42396
42397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42398 fanotify_mark.
42399
6d34eb5b
RM
424002010-08-27 Roland McGrath <roland@redhat.com>
42401
42402 * sysdeps/i386/i686/multiarch/Makefile
42403 (CFLAGS-varshift.c): New variable.
42404
9ea3de11
UD
424052010-08-27 Ulrich Drepper <drepper@redhat.com>
42406
c96d23fc
UD
42407 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42408 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42409
9ea3de11
UD
42410 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42411
42412 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42413
623aac7f
L
424142010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42415
42416 * sysdeps/x86_64/strlen.S: Unroll the loop.
42417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42418 strlen-sse2 strlen-sse2-bsf.
42419 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42420 __strlen_no_bsf if bit_Slow_BSF is set.
42421 (__strlen_sse42): Removed.
42422 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42423 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42424
8b2b7715
RM
424252010-08-25 Roland McGrath <roland@redhat.com>
42426
42427 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42428 * sysdeps/x86_64/multiarch/varshift.c: New file.
42429 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42430 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42431 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42432 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42433
e73015f2
L
424342010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42435
42436 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42437 strlen-sse2 strlen-sse2-bsf.
42438 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42439 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42440 (__strlen_sse2): Removed.
42441 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42442 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42443 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42444 bit_Slow_BSF for Atom.
42445 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42446 (index_Slow_BSF): Define.
42447 (HAS_SLOW_BSF): Define.
42448
df24a73e
UD
424492010-08-25 Ulrich Drepper <drepper@redhat.com>
42450
42451 [BZ #10851]
42452 * resolv/res_init.c (__res_vinit): When no server address at all
42453 is given default to loopback.
42454
f2ac4868
RM
424552010-08-24 Roland McGrath <roland@redhat.com>
42456
09055553
RM
42457 * configure.in: Remove config-name.h generation.
42458 * configure: Regenerated.
42459 * config-name.in: File removed.
42460 * scripts/config-uname.sh: New file.
42461 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42462 ($(objdir)config-name.h): New target.
42463
f2ac4868
RM
42464 * sunrpc/rpc_parse.h: Avoid nested comment.
42465
73f27d5e
RH
424662010-08-24 Richard Henderson <rth@redhat.com>
42467 Ulrich Drepper <drepper@redhat.com>
42468 H.J. Lu <hongjiu.lu@intel.com>
42469
42470 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42471 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42472 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42473 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42474 _mm_alignr_epi8 with _mm_loadu_si128.
42475 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42476 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42477 (__m128i_shift_right): Removed.
42478 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42479 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42480 * sysdeps/x86_64/multiarch/varshift.h: New file.
42481 * sysdeps/x86_64/multiarch/varshift.S: New file.
42482
84b9230c
MF
424832010-08-21 Mike Frysinger <vapier@gentoo.org>
42484
42485 * configure.in: Move assembler checks to before sysdep dir checking.
42486
9bbd0ddc
PB
424872010-08-20 Petr Baudis <pasky@suse.cz>
42488
42489 * LICENSES: Sync the sunrpc license.
42490
9da4bb31
UD
424912010-08-19 Ulrich Drepper <drepper@redhat.com>
42492
a7ab6ec8
UD
42493 * sunrpc/auth_des.c: Update copyright notice once again.
42494 * sunrpc/auth_none.c: Likewise.
42495 * sunrpc/auth_unix.c: Likewise.
42496 * sunrpc/authdes_prot.c: Likewise.
42497 * sunrpc/authuxprot.c: Likewise.
42498 * sunrpc/bindrsvprt.c: Likewise.
42499 * sunrpc/clnt_gen.c: Likewise.
42500 * sunrpc/clnt_perr.c: Likewise.
42501 * sunrpc/clnt_raw.c: Likewise.
42502 * sunrpc/clnt_simp.c: Likewise.
42503 * sunrpc/clnt_tcp.c: Likewise.
42504 * sunrpc/clnt_udp.c: Likewise.
42505 * sunrpc/clnt_unix.c: Likewise.
42506 * sunrpc/des_crypt.c: Likewise.
42507 * sunrpc/des_soft.c: Likewise.
42508 * sunrpc/get_myaddr.c: Likewise.
42509 * sunrpc/getrpcport.c: Likewise.
42510 * sunrpc/key_call.c: Likewise.
42511 * sunrpc/key_prot.c: Likewise.
42512 * sunrpc/openchild.c: Likewise.
42513 * sunrpc/pm_getmaps.c: Likewise.
42514 * sunrpc/pm_getport.c: Likewise.
42515 * sunrpc/pmap_clnt.c: Likewise.
42516 * sunrpc/pmap_prot.c: Likewise.
42517 * sunrpc/pmap_prot2.c: Likewise.
42518 * sunrpc/pmap_rmt.c: Likewise.
42519 * sunrpc/rpc/auth.h: Likewise.
42520 * sunrpc/rpc/auth_unix.h: Likewise.
42521 * sunrpc/rpc/clnt.h: Likewise.
42522 * sunrpc/rpc/des_crypt.h: Likewise.
42523 * sunrpc/rpc/key_prot.h: Likewise.
42524 * sunrpc/rpc/netdb.h: Likewise.
42525 * sunrpc/rpc/pmap_clnt.h: Likewise.
42526 * sunrpc/rpc/pmap_prot.h: Likewise.
42527 * sunrpc/rpc/pmap_rmt.h: Likewise.
42528 * sunrpc/rpc/rpc.h: Likewise.
42529 * sunrpc/rpc/rpc_des.h: Likewise.
42530 * sunrpc/rpc/rpc_msg.h: Likewise.
42531 * sunrpc/rpc/svc.h: Likewise.
42532 * sunrpc/rpc/svc_auth.h: Likewise.
42533 * sunrpc/rpc/types.h: Likewise.
42534 * sunrpc/rpc/xdr.h: Likewise.
42535 * sunrpc/rpc_clntout.c: Likewise.
42536 * sunrpc/rpc_cmsg.c: Likewise.
42537 * sunrpc/rpc_common.c: Likewise.
42538 * sunrpc/rpc_cout.c: Likewise.
42539 * sunrpc/rpc_dtable.c: Likewise.
42540 * sunrpc/rpc_hout.c: Likewise.
42541 * sunrpc/rpc_main.c: Likewise.
42542 * sunrpc/rpc_parse.c: Likewise.
42543 * sunrpc/rpc_parse.h: Likewise.
42544 * sunrpc/rpc_prot.c: Likewise.
42545 * sunrpc/rpc_sample.c: Likewise.
42546 * sunrpc/rpc_scan.c: Likewise.
42547 * sunrpc/rpc_scan.h: Likewise.
42548 * sunrpc/rpc_svcout.c: Likewise.
42549 * sunrpc/rpc_tblout.c: Likewise.
42550 * sunrpc/rpc_util.c: Likewise.
42551 * sunrpc/rpc_util.h: Likewise.
42552 * sunrpc/rpcinfo.c: Likewise.
42553 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42554 * sunrpc/rpcsvc/key_prot.x: Likewise.
42555 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42556 * sunrpc/rpcsvc/mount.x: Likewise.
42557 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42558 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42559 * sunrpc/rpcsvc/rex.x: Likewise.
42560 * sunrpc/rpcsvc/rstat.x: Likewise.
42561 * sunrpc/rpcsvc/rusers.x: Likewise.
42562 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42563 * sunrpc/rpcsvc/spray.x: Likewise.
42564 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42565 * sunrpc/rtime.c: Likewise.
42566 * sunrpc/svc.c: Likewise.
42567 * sunrpc/svc_auth.c: Likewise.
42568 * sunrpc/svc_authux.c: Likewise.
42569 * sunrpc/svc_raw.c: Likewise.
42570 * sunrpc/svc_run.c: Likewise.
42571 * sunrpc/svc_simple.c: Likewise.
42572 * sunrpc/svc_tcp.c: Likewise.
42573 * sunrpc/svc_udp.c: Likewise.
42574 * sunrpc/svc_unix.c: Likewise.
42575 * sunrpc/svcauth_des.c: Likewise.
42576 * sunrpc/xcrypt.c: Likewise.
42577 * sunrpc/xdr.c: Likewise.
42578 * sunrpc/xdr_array.c: Likewise.
42579 * sunrpc/xdr_float.c: Likewise.
42580 * sunrpc/xdr_mem.c: Likewise.
42581 * sunrpc/xdr_rec.c: Likewise.
42582 * sunrpc/xdr_ref.c: Likewise.
42583 * sunrpc/xdr_sizeof.c: Likewise.
42584 * sunrpc/xdr_stdio.c: Likewise.
42585
9da4bb31
UD
42586 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42587 handling.
42588
bdaa77bc
AS
425892010-08-19 Andreas Schwab <schwab@redhat.com>
42590
42591 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42592
fe2f79db
LM
425932010-08-19 Luis Machado <luisgpm@br.ibm.com>
42594
42595 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42596 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42597 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42598 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42599 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42600 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42601 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42602 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42603 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42604 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42605 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42606 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42607 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42608 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42609
b9b42ee0
AB
426102010-07-26 Anton Blanchard <anton@samba.org>
42611
42612 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42613 * malloc/arena.c (heap_trim): Likewise.
42614
1c06ba31
UD
426152010-08-16 Ulrich Drepper <drepper@redhat.com>
42616
42617 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42618 here. Not...
42619 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42620 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42621
f8392f40
L
426222010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42623
42624 * sysdeps/i386/elf/Makefile: New file.
42625
3162f12e
AS
426262010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42627
42628 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42629 from fanotify_init.
42630 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42631 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42632
28c90b2c
UD
426332010-08-15 Ulrich Drepper <drepper@redhat.com>
42634
42635 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42636 of strncasecmp_l.
1feccb6c 42637 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42638
ca6bb004
UD
426392010-08-14 Ulrich Drepper <drepper@redhat.com>
42640
e9f82e0d
UD
42641 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42642 strncase_l-nonascii.
42643 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42644 Add strncase_l-ssse3.
42645 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42646 * sysdeps/x86_64/strcmp.S: Likewise.
42647 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42648 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42649 * sysdeps/x86_64/strncase.S: New file.
42650 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42651 * sysdeps/x86_64/strncase_l.S: New file.
42652 * string/Makefile (strop-tests): Add strncasecmp.
42653 * string/test-strncasecmp.c: New file.
42654
42655 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42656 warning.
42657
ca6bb004
UD
42658 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42659 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42660
052fa7b3
AS
426612010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42662
42663 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42664
962dba78
UD
426652010-08-12 Ulrich Drepper <drepper@redhat.com>
42666
42667 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42668 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42669 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42670
bebff237
AM
426712010-05-01 Alan Modra <amodra@gmail.com>
42672
42673 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42674 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42675 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42676 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42677 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42678 tidying. Don't tail-call __sigjmp_save for static lib.
42679 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42680 save location.
42681 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42682 (CALL_MCOUNT): Add eh info, and nop after bl.
42683 (TAIL_CALL_SYSCALL_ERROR): New macro.
42684 (PSEUDO_RET): Use it.
42685 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42686 Correct save location of integer regs and cr.
42687 (_dl_profile_resolve): Correct cr save location. Delete nops
42688 after bl when SHARED. Reduce cfi size a little by better
42689 placement of cfi directives.
42690 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42691 make a stack frame. Instead use parm save area as a temp.
42692 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42693 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42694 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42695 Don't make a stack frame for parent, use parm save area.
42696 Increase child stack frame to 112 bytes. Don't save unused reg,
42697 and adjust reg usage. Set up cfi on error recovery and
42698 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42700 (__makecontext): Add dummy nop after jump to exit.
42701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42702 Use correct parm save area and cr save, reduce stack frame.
42703 Correct cfi for possible PSEUDO_RET frame setup.
42704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42705 Branch to local label emitted by PSEUDO_RET rather than
42706 __syscall_error.
42707
02637374
AS
427082010-08-12 Andreas Schwab <schwab@redhat.com>
42709
42710 [BZ #11904]
42711 * locale/programs/locale.c (print_assignment): New function.
42712 (show_locale_vars): Use it.
42713
c3e2f19b
UD
427142010-08-11 Ulrich Drepper <drepper@redhat.com>
42715
3cdaa6ad
UD
42716 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42717 field.
42718 (struct statfs64): Likewise.
42719 (_STATFS_F_FLAGS): Define.
42720 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42721 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42722 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42723 (ST_VALID): Define locally.
42724 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42725 __statvfs_getflags, use the provided value.
42726 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42727 __ASSUME_STATFS_F_FLAGS.
42728
754f7da3
UD
42729 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42730
10b3bedc
UD
42731 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42732 Add sys/fanotify.h.
42733 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42734 fanotify_mask for GLIBC_2.13.
42735 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42736 fanotify_init and fanotify_mark.
42737 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42738 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42739
c08fb0d7
UD
42740 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42741 Add prlimit.
42742 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42743 prlimit64 for GLIBC_2.13.
42744 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42745 prlimit64.
42746 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42747 syscall.
42748 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42749 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42750 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42751 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42752 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42753 add prlimit alias.
42754 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42755
15bac72b
UD
42756 [BZ #11903]
42757 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42758 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42759
c3e2f19b
UD
42760 * nss/Makefile: Add rules to build and run tst-nss-test1.
42761 * shlib-versions: Add entry for libnss_test1.
42762 * nss/nss_test1.c: New file.
42763 * nss/tst-nss-test1.c: New file.
42764
42765 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42766 (__nss_configure_lookup): Set appropriate entry in
42767 __nss_configure_lookup to true.
42768 * nss/nsswitch.h: Define enum with indeces of databases in
42769 databases and __nss_database_custom arrays. Declare
42770 __nss_database_custom.
42771 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42772 to avoid using nscd when custom rules are installed.
42773 * nss/getXXbyYY_r.c: Likewise.
42774 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42775
42776 * nss/nss_files/files-parse.c: Whitespace fixes.
42777
f15ce4d8
UD
427782010-08-09 Ulrich Drepper <drepper@redhat.com>
42779
42780 [BZ #11883]
42781 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42782 * posix/fnmatch_loop.c: Likewise.
42783
d22e4cc9
AK
427842010-07-17 Andi Kleen <ak@linux.intel.com>
42785
42786 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42787 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42788 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42789 * Versions.def [GLIBC_2.13]: Add.
42790
805bc17d
UD
427912010-08-06 Ulrich Drepper <drepper@redhat.com>
42792
42793 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42794 Also fail if tpwd after pwuid call is NULL.
42795
5a42321d
ST
427962010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42797
42798 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42799 when converting to ms.
42800
fd3ebeda
ST
428012010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42802
42803 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42804 EOPNOTSUPP errors with ENOTTY.
42805 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42806 EOPNOTSUPP errors with ENOTTY.
42807
73507d3a
UD
428082010-07-31 Ulrich Drepper <drepper@redhat.com>
42809
42810 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42811 Add strcasecmp_l-ssse3.
42812 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42813 strcasecmp.
42814 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42815 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42816 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42817
fe36dd02
UD
428182010-07-30 Ulrich Drepper <drepper@redhat.com>
42819
66f6765a
UD
42820 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42821
42e08a54
UD
42822 * string/Makefile (strop-tests): Add strcasecmp.
42823 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42824 strcasecmp_l-nonascii.
42825 (gen-as-const-headers): Add locale-defines.sym.
42826 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42827 * sysdeps/x86_64/strcasecmp.S: New file.
42828 * sysdeps/x86_64/strcasecmp_l.S: New file.
42829 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42830 * sysdeps/x86_64/locale-defines.sym: New file.
42831 * string/test-strcasecmp.c: New file.
42832
fe36dd02
UD
42833 * string/test-strcasestr.c: Test both ends of the range of characters.
42834 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42835
48cbc0d6
RM
428362010-07-29 Roland McGrath <roland@redhat.com>
42837
76e6d6bc 42838 [BZ #11856]
48cbc0d6
RM
42839 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42840
880113d9
UD
428412010-07-27 Ulrich Drepper <drepper@redhat.com>
42842
42843 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42844 for ld.so.
42845
deb9cabb
AS
428462010-07-27 Andreas Schwab <schwab@redhat.com>
42847
42848 * manual/memory.texi (Malloc Tunable Parameters): Document
42849 M_PERTURB.
42850
1c7570ff
RM
428512010-07-26 Roland McGrath <roland@redhat.com>
42852
42853 [BZ #11840]
42854 * configure.in (-fgnu89-inline check): Set and substitute
42855 gnu89_inline, not libc_cv_gnu89_inline.
42856 * configure: Regenerated.
42857 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42858
24fb0f88
UD
428592010-07-26 Ulrich Drepper <drepper@redhat.com>
42860
42861 * string/test-strnlen.c: New file.
42862 * string/Makefile (strop-tests): Add strnlen.
42863 * string/tester.c (test_strnlen): Add a few more test cases.
42864 * string/tst-strlen.c: Better error reporting.
42865
42866 * sysdeps/x86_64/strnlen.S: New file.
42867
8e96b93a
UD
428682010-07-24 Ulrich Drepper <drepper@redhat.com>
42869
42870 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42871 lower-latency instructions.
42872
dbc676d4
UD
428732010-07-23 Ulrich Drepper <drepper@redhat.com>
42874
42875 * string/test-strcasestr.c: New file.
42876 * string/test-strstr.c: New file.
42877 * string/Makefile (strop-tests): Add strstr and strcasestr.
42878 * string/str-two-way.h: Don't undefine MAX.
42879 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42880
f6a31e0e
AS
428812010-07-21 Andreas Schwab <schwab@redhat.com>
42882
42883 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42884 strcasestr-nonascii.
42885 (CFLAGS-strcasestr-nonascii.c): Define.
42886 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42887 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42888 Remove unused attribute.
42889
5dbc3b6c
RM
428902010-07-20 Roland McGrath <roland@redhat.com>
42891
42892 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42893 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42894 ld.so.cache was broken. With it, there is no way to disable dsocaps
42895 like LD_HWCAP_MASK can disable hwcaps.
42896
23d101d8
EPM
428972010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42898
42899 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42900
cc9f2e47
UD
429012010-07-16 Ulrich Drepper <drepper@redhat.com>
42902
42903 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42904 call in strcasestr.
42905 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42906 __strcasestr_sse42_nonascii.
42907 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42908 strcasestr-nonascii.c.
42909 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42910
77c1b069
LM
429112010-06-15 Luis Machado <luisgpm@br.ibm.com>
42912
42913 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42914 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42915 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42916 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42917
440566c3
UD
429182010-07-09 Ulrich Drepper <drepper@redhat.com>
42919
42920 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42921 fcntl.
42922
5be9d05d
AS
429232010-07-06 Andreas Schwab <schwab@redhat.com>
42924
c30b7ee2 42925 [BZ #11577]
5be9d05d
AS
42926 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42927 dl_signal_cerror.
42928
8a492a67
UD
429292010-07-06 Ulrich Drepper <drepper@redhat.com>
42930
42931 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42932 _PC_PIPE_BUF using F_GETPIPE_SZ.
42933
713df3d5
RM
429342010-07-05 Roland McGrath <roland@redhat.com>
42935
42936 * manual/arith.texi (Rounding Functions): Fix rint description
42937 implicit in round description.
42938
702e8f14
UD
429392010-07-02 Ulrich Drepper <drepper@redhat.com>
42940
42941 * elf/Makefile: Fix linking for a few tests to make recent linker
42942 happy.
42943
52ed8be9
AS
429442010-06-30 Andreas Schwab <schwab@redhat.com>
42945
42946 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42947 $(common-objpfx)libc_nonshared.a.
42948
f47c9a11
LM
429492010-06-21 Luis Machado <luisgpm@br.ibm.com>
42950
42951 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42952 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42953 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42954 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42955 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42956 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42957 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42958 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42959 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42961 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42963 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42964 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42965 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42966 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42967 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42969 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42971 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42973 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42974 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42975 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42976 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42977 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42978 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
42979 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
42980 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
42981 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
42982 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
42983 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
42984 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
42985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
42986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
42987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
42988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
42989 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
42990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
42991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
42992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
42993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
42994 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
42995 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
42996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
42997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
42998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
42999
6fb8cbcb
L
430002010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43001
43002 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43003 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43004 * string/memmove.c (memmove): Renamed to ...
43005 (MEMMOVE): ...this. Default to memmove.
43006 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43007 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43008 (END_CHK): Define.
43009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43010 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43011 mempcpy-ssse3-back memmove-ssse3-back.
43012 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43013 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43014 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43015 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43016 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43017 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43018 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43019 * sysdeps/x86_64/multiarch/memmove.c: New file.
43020 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43021 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43022 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43023 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43024 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43025 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43026 Define.
43027 (index_Fast_Copy_Backward): Define.
43028 (HAS_ARCH_FEATURE): Define.
43029 (HAS_FAST_REP_STRING): Define.
43030 (HAS_FAST_COPY_BACKWARD): Define.
43031
4e733bac 430322010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43033
43034 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43035 Restore proper fallback handling.
43036
63c4ed22
UD
430372010-06-19 Ulrich Drepper <drepper@redhat.com>
43038
ac2b484c
UD
43039 [BZ #11701]
43040 * posix/group_member.c (__group_member): Correct checking loop.
43041
63c4ed22
UD
43042 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43043 OOM in getpwuid_r correctly. Return error number when the caller
43044 should return, otherwise -1.
43045 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43046 call returning > 0 value.
43047 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43048
765ade4b
AS
430492010-06-07 Andreas Schwab <schwab@redhat.com>
43050
43051 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43052 libc_nonshared.a from targets in modules-names.
43053
80da2e09
KS
430542010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43055
43056 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43057 requires it.
43058
158db122
LM
430592010-06-10 Luis Machado <luisgpm@br.ibm.com>
43060
43061 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43062 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43063 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43064 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43065
caa78cf8
AS
430662010-06-02 Andreas Schwab <schwab@redhat.com>
43067
43068 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43069
b2ef2c01
UD
430702010-06-14 Ulrich Drepper <drepper@redhat.com>
43071
43072 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43073 and F_GETPIPE_SZ.
43074 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43075 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43076 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43077 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43078 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43079 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43080
fbd643b6
RM
430812010-06-14 Roland McGrath <roland@redhat.com>
43082
43083 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43084
f32f2869
JJ
430852010-06-07 Jakub Jelinek <jakub@redhat.com>
43086
43087 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43088 __REDIRECT followed by __THROW.
43089 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43090 * posix/getopt.h (getopt): Likewise.
43091
2a50c078
EPM
430922010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43093
43094 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43095 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43096 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43097 in AT_FLAGS.
43098 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43099 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43100
eb5ad2eb
LM
431012010-05-28 Luis Machado <luisgpm@br.ibm.com>
43102
43103 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43104
3c88fe1e
L
431052010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43106
43107 [BZ #11640]
43108 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43109 Properly check family and model.
43110
d2f73151
TY
431112010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43112
43113 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43114
ebd2e13d
LM
431152010-05-24 Luis Machado <luisgpm@br.ibm.com>
43116
43117 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43118
b32b8b45
UD
431192010-05-21 Ulrich Drepper <drepper@redhat.com>
43120
43121 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43122 symbol reference.
43123
9acbe24d
AS
431242010-05-19 Andreas Schwab <schwab@redhat.com>
43125
43126 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43127 symbol reference.
43128
f0ccf6ea
AS
431292010-05-21 Andreas Schwab <schwab@redhat.com>
43130
3d04ff3a
AS
43131 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43132 and internal_recvmmsg.
43133 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43134 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43135 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43136 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43137
f0ccf6ea
AS
43138 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43139 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43140 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43141
5b08ac57
AS
431422010-05-20 Andreas Schwab <schwab@redhat.com>
43143
43144 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43145
4828935d
LM
431462010-05-17 Luis Machado <luisgpm@br.ibm.com>
43147
43148 POWER7 optimizations.
43149 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43150 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43151
373d545e
UD
431522010-05-19 Ulrich Drepper <drepper@redhat.com>
43153
43154 * version.h: Update for 2.13 development version.
43155
21a2b1ae
AS
431562010-05-12 Andrew Stubbs <ams@codesourcery.com>
43157
43158 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43159 exceptions. Return 0.
43160
3f7dcb2b
RM
431612010-05-07 Roland McGrath <roland@redhat.com>
43162
43163 * elf/ldconfig.c (main): Add a const.
43164
5f24d53a 431652010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43166
a160f8d8
UD
43167 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43168 (args_options): Add no-idn option.
43169 (ahosts_keys_int): Add idn_flags to ai_flags.
43170 (parse_option): Handle 'i' option to clear idn_flags.
43171
5f24d53a
UD
43172 * malloc/malloc.c (_int_free): Possible race in the most recently
43173 added check. Only act on the data if no current modification
43174 happened.
265bb1ce
UD
43175
43176See ChangeLog.17 for earlier changes.