]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
Regenerate sparc ULPs.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
809bd45f
DM
12014-04-13 David S. Miller <davem@davemloft.net>
2
3 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4
89e691f2
AM
52014-04-12 Allan McRae <allan@archlinux.org>
6
7 [BZ #16838]
8 * manual/string.texi (Collation Functions): Fix qsort argument
9 order in example.
10 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11
9c9daaeb
CM
122014-04-11 Chris Metcalf <cmetcalf@tilera.com>
13
14 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
15 Make the test a no-op if there are no exceptions defined.
16
95561fb9
PP
172014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
18
fe8d072c 19 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
20 enable-hardcoded-path-in-tests
21
970c602a
WN
222014-04-11 Will Newton <will.newton@linaro.org>
23
24 * benchtests/Makefile (extra-objs): Add json-lib.o.
25 (bench-func): Tidy up JSON output.
26 * benchtests/bench-skeleton.c: Include json-lib.h.
27 (main): Use JSON library functions to do output of
28 benchmark results.
29 * benchtests/bench-timing-type.c (main): Output the
30 timing type simply, leaving formatting to the user.
31 * benchtests/json-lib.c: New file.
32 * benchtests/json-lib.h: Likewise.
33
36875b06
TR
342014-04-11 Torvald Riegel <triegel@redhat.com>
35
36 [BZ #15215]
37 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
39 memory barriers. Add comments.
40 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
41 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
42 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
43 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
44 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
45 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
46
579db35a
SL
472014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
48
49 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
50 * sysdeps/s390/s390-64/configure.ac: ... this ...
51 * sysdeps/s390/configure.ac: ... to here.
52 * sysdeps/s390/s390-32/configure: Delete file.
53 * sysdeps/s390/s390-64/configure: Delete file.
54 * sysdeps/s390/configure: Regenerate.
55
c12e9f37
JAPH
562014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
57
58 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
59
439bda32
WN
602014-04-11 Will Newton <will.newton@linaro.org>
61
62 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
63 to zero if it is not defined elsewhere. (mtrim): Test
64 the value of MALLOC_DEBUG with #if rather than #ifdef.
65
6a5d6ea1
TR
662014-04-10 Torvald Riegel <triegel@redhat.com>
67
68 * benchtests/pthread_once-inputs: New file.
69 * benchtests/pthread_once-source.c: New file.
70 * benchtests/README: Update documentation.
71
a4c75cfd
IZ
722014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
73 H.J. Lu <hongjiu.lu@intel.com>
74
75 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
76 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
77 * sysdeps/x86_64/configure: Regenerated.
78 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
79 macro.
80 (REGISTER_SAVE_RAX): Likewise.
81 (REGISTER_SAVE_RCX): Likewise.
82 (REGISTER_SAVE_RDX): Likewise.
83 (REGISTER_SAVE_RSI): Likewise.
84 (REGISTER_SAVE_RDI): Likewise.
85 (REGISTER_SAVE_R8): Likewise.
86 (REGISTER_SAVE_R9): Likewise.
87 (REGISTER_SAVE_BND0): Likewise.
88 (REGISTER_SAVE_BND1): Likewise.
89 (REGISTER_SAVE_BND2): Likewise.
90 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
91 bound registers when calling _dl_fixup.
92
27822ce6
AZ
932014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
94
95 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
96 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
97 definition.
98 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
99 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
100 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
101 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
102 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
103 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
104 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
105
a88ddc90
PTB
1062014-04-09 Peter Brett <peter@peter-b.co.uk>
107
108 [BZ #15514]
109 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
110 pathconf(_PC_NAME_MAX).
111
01f8eac2
AZ
1122014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
113
114 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
115 Remove macro usage.
116 (__PTHREAD_SPINS): Move definition to ...
117 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
118 (__PTHREAD_SPINS): ... here.
119 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
120 (__PTHREAD_SPIN): Likewise.
121 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
122 (__PTHREAD_SPIN): Likewise.
123 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
124 (__PTHREAD_SPIN): Likewise.
125 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
126 (__PTHREAD_SPIN): Likewise.
127 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
128 (__PTHREAD_SPIN): Likewise.
129 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
130 (__PTHREAD_SPIN): Likewise.
131 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
132 (__PTHREAD_SPIN): Likewise.
133 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
134 (__PTHREAD_SPIN): Likewise.
135 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
136 (__PTHREAD_SPIN): Likewise.
137 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
138 (__PTHREAD_SPIN): Likewise.
139 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
140 (__PTHREAD_SPIN): Likewise.
141 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
142 (__PTHREAD_SPIN): Likewise.
143
de21c33c
AZ
1442014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
145
146 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
147 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
148 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
149 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
150 imply folder.
151 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
152 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
153 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
154 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
155 correct imply path.
156 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
157 strlen symbol for non multi-arch builds.
158 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
159 missing hidden_def and weak_alias.
160
862c472e
CD
1612014-04-08 Carlos O'Donell <carlos@redhat.com>
162
163 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
164
8667f90e
WN
1652014-04-07 Will Newton <will.newton@linaro.org>
166
167 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
168 and contents. [!_LIBC] Remove #ifndef and contents.
169 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
170 * string/memccpy.c (__memccpy): Use ANSI prototype.
171 * string/memfrob.c (memfrob): Likewise.
172 * string/strcoll.c (STRCOLL): Likewise.
173 * string/strlen.c (strlen): Likewise.
174 * string/strtok.c (STRTOK): Likewise.
175 * string/strcat.c: Remove unused #include of memcopy.h.
176 (strcat): Use ANSI prototype.
177 * string/strchr.c: Remove unused #include of memcopy.h.
178 (strchr): Use ANSI prototype.
179 * string/strcmp.c: Remove unused #include of memcopy.h.
180 (strcmp): Use ANSI prototype.
181 * string/strcpy.c: Remove unused #include of memcopy.h.
182 (strcpy): Use ANSI prototype.
183
7ffa9423
AZ
1842014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
185
186 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
187 * config.make.in (config-extra-cppflags): Set it from
188 libc_extra_cppflags.
189 * configure.ac (libc_extra_cflags): Make it accumulate over
190 configure fragments.
191 (libc_extra_cppflags): New flag.
192 * configure. Regenerate.
193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
194 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
195 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
197
8bd70862
AZ
1982014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
199
200 [BZ #16815]
201 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
202 result for FE_DOWNWARD rounding mode.
203 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
204 Likewise.
205 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
206
d42f3448
CM
2072014-04-04 Chris Metcalf <cmetcalf@tilera.com>
208
209 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
210 in function argument name.
211
1c21d115
DS
2122014-04-03 David Svoboda <svoboda@cert.org>
213
214 [BZ #5666]
215 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
216 explicitly.
217
fcccd512
RM
2182014-04-03 Roland McGrath <roland@hack.frob.com>
219
220 * elf/dl-unmap-segments.h: New file.
221 * sysdeps/generic/ldsodefs.h
222 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
223 * elf/dl-close.c: Include <dl-unmap-segments.h>.
224 * elf/dl-fptr.c: Likewise.
225 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
226 * sysdeps/aarch64/tlsdesc.c: Likewise.
227 * sysdeps/arm/tlsdesc.c: Likewise.
228 * sysdeps/i386/tlsdesc.c: Likewise.
229 * sysdeps/tile/dl-runtime.c: Likewise.
230 * sysdeps/x86_64/tlsdesc.c: Likewise.
231 * elf/dl-load.h: New file.
232 * elf/dl-load.c: Include it.
233 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
234 Macros moved to dl-load.h.
235 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
236 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
237 Use _dl_unmap_segments in place of __munmap.
238 Break out segment-mapping loop into ...
239 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
240
f6488e2b
WN
2412014-04-03 Will Newton <will.newton@linaro.org>
242
243 * elf/dl-lookup.c (do_lookup_x): Remove comment
244 referring to nested function and move variable
245 declarations down to before first use.
246
6f05bafe
JM
2472014-04-02 Joseph Myers <joseph@codesourcery.com>
248
a84e78c8
JM
249 [BZ #16799]
250 [BZ #16800]
251 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
252 with 0 numerator.
253 * math/s_catanf.c (__catanf): Likewise.
254 * math/s_catanh.c (__catanh): Likewise.
255 * math/s_catanhf.c (__catanhf): Likewise.
256 * math/s_catanhl.c (__catanhl): Likewise.
257 * math/s_catanl.c (__catanl): Likewise.
258 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
259 by positive zero when computing -Inf result.
260 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
261 (catanh_test): Likewise.
262 * sysdeps/i386/fpu/libm-test-ulps: Update.
263 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
264
6f05bafe
JM
265 [BZ #16789]
266 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
267 instead of using underflowing value in computing result.
268 * math/s_clog10.c (__clog10): Likewise.
269 * math/s_clog10f.c (__clog10f): Likewise.
270 * math/s_clog10l.c (__clog10l): Likewise.
271 * math/s_clogf.c (__clogf): Likewise.
272 * math/s_clogl.c (__clogl): Likewise.
273 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
274 (clog10_test): Likewise.
275 * sysdeps/i386/fpu/libm-test-ulps: Update.
276 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
277
b0abbc21
AM
2782014-04-02 Alan Modra <amodra@gmail.com>
279
280 [BZ #16739]
281 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
282 output when value is near a power of two. Use int64_t for lx and
283 remove casts. Use decimal rather than hex exponent constants.
284 Don't use long double multiplication when double will suffice.
285 * math/libm-test.inc (nextafter_test_data): Add tests.
286 * NEWS: Add 16739 and 16786 to bug list.
287
af6b1797
AM
2882014-04-02 Alan Modra <amodra@gmail.com>
289
290 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
291
483818d7
AM
2922014-04-02 Alan Modra <amodra@gmail.com>
293
294 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
295
f6c55796
WN
2962014-04-01 Will Newton <will.newton@linaro.org>
297
298 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
299 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
300
13f7fe35
FW
3012014-04-01 Florian Weimer <fweimer@redhat.com>
302
303 [BZ #13347]
304 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
305 * nptl/tst-setuid2.c: New file.
306 * nptl/Makefile (xtests): Add tst-setuid2.
307
c859b32e
AM
3082014-04-01 Alan Modra <amodra@gmail.com>
309
310 [BZ #16786]
311 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
312
54fa2475
JM
3132014-03-31 Joseph Myers <joseph@codesourcery.com>
314
8795b4a4
JM
315 [BZ #6803]
316 [BZ #6804]
317 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
318 set errno as appropriate.
319 * math/w_scalbf.c (__scalbf): Likewise.
320 * math/w_scalbl.c (__scalbl): Likewise.
321 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
322 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
323 * math/libm-test.inc (scalb_test_data): Add errno expectations.
324 Add more NaN tests.
325
54fa2475
JM
326 [BZ #16349]
327 * math/w_atan2.c: Include <errno.h>.
328 (__atan2): Set errno for result underflowing to zero.
329 * math/w_atan2f.c: Include <errno.h>.
330 (__atan2f): Set errno for result underflowing to zero.
331 * math/w_atan2l.c: Include <errno.h>.
332 (__atan2l): Set errno for result underflowing to zero.
333 * math/auto-libm-test-in: Don't allow missing errno for some atan2
334 tests.
335 * math/auto-libm-test-out: Regenerated.
336
757d9dd5
AZ
3372014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
338
339 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
340 Encode instruction correctly in little endian.
341 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
342 Likewise.
343 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
344 Likewise.
345 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
346 Likewise.
347 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
348 Likewise.
349
d7a68734
JM
3502014-03-31 Joseph Myers <joseph@codesourcery.com>
351
47c5adeb
JM
352 [BZ #9894]
353 * sysdeps/unix/sysv/linux/kernel-features.h
354 [__sparc__ && !__arch64__ && !__sparc_v9__]
355 (__ASSUME_SET_ROBUST_LIST): Do not define.
356 [__sparc__ && !__arch64__ && !__sparc_v9__]
357 (__ASSUME_FUTEX_LOCK_PI): Likewise.
358 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
359 Likewise.
360 * sysdeps/unix/sysv/linux/arm/kernel-features.h
361 (__ASSUME_FUTEX_LOCK_PI): Undefine.
362 (__ASSUME_REQUEUE_PI): Likewise.
363 (__ASSUME_SET_ROBUST_LIST): Likewise.
364 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
365 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
366 Undefine.
367 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
368 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
369 Likewise.
370 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
371 Likewise.
372 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
373 Likewise.
374 * sysdeps/unix/sysv/linux/mips/kernel-features.h
375 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
376 Undefine.
377 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
378 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
379 Likewise.
380
d7a68734
JM
381 [BZ #16648]
382 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
383 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
384 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
385
c760f5c2
WN
3862014-03-31 Will Newton <will.newton@linaro.org>
387
388 * benchtests/Makefile (bench): Add ffs and ffsll to list
389 of tests.
390 * benchtests/ffs-inputs: New file.
391 * benchtests/ffsll-inputs: Likewise.
392
ea6029b1
JM
3932014-03-29 Joseph Myers <joseph@codesourcery.com>
394
395 [BZ #16770]
396 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
397 too large before casting to int.
398 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
399 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
400 * math/libm-test.inc (scalb_test_data): Add more tests.
401
cf806aff
SP
4022014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
403
56737508
SP
404 * benchtests/Makefile (DETAILED_OPT): New make option.
405 (bench-func): Run benchmark program with -d if DETAILED_OPT is
406 set.
407 * benchtests/bench-skeleton.c: Include stdbool.h.
408 (main): Store and print timings per input.
409 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
410 member to each argument value.
411 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
412 (_print_arg_data): Initialize per-input timing to 0.
413
cb5e4aad
SP
414 * benchtests/Makefile (timing-type): New binary.
415 (bench-clean): Also remove bench-timing-type.
416 (bench): New target for timing-type.
417 (bench-func): Print output in JSON format.
418 * benchtests/bench-skeleton.c (main): Print output in JSON
419 format.
420 * benchtests/bench-timing-type.c: New file.
421 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
422 (TIMING_PRINT_STATS): Remove.
423 * benchtests/scripts/bench.py (_print_arg_data): Store variant
424 name separately.
425
cf806aff
SP
426 * benchtests/bench-modf.c: Remove.
427 * benchtests/modf-inputs: New inputs file.
428
289e0779
JM
4292014-03-28 Joseph Myers <joseph@codesourcery.com>
430
431 [BZ #16362]
432 * math/s_clog10.c (M_PI_LOG10E): New macro.
433 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
434 imaginary parts are 0.
435 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
436 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
437 imaginary parts are 0.
438 * math/s_clog10l.c (M_PI_LOG10El): New macro.
439 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
440 imaginary parts are 0.
441 * math/libm-test.inc (clog10_test_data): Update expected results
442 for when real and imaginary parts are 0.
443
277ae3f1
PP
4442014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
445
446 * elf/dl-load.c: Finish conversion of __builtin_expect into
447 __glibc_{un}likely.
448
03a7091f
JM
4492014-03-27 Joseph Myers <joseph@codesourcery.com>
450
451 [BZ #16348]
452 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
453 1+x for argument with exponent below -67.
454 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
455 Likewise.
456 * math/auto-libm-test-in: Add more tests of exp.
457 * math/auto-libm-test-out: Regenerated.
458
ea7d8b95
SP
4592014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
460
dd3022d7
SP
461 [BZ #16759]
462 * inet/getnetgrent_r.c (get_nonempty_val): New function.
463 (nscd_getnetgrent): Use it.
464
ea7d8b95
SP
465 [BZ #16760]
466 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
467 of stpcpy.
468
df5b85da
AK
4692014-03-27 Andi Kleen <ak@linux.intel.com>
470
471 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
472 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
473 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
474 Remove out of line section. Use cfi intrinsics.
475 (LLL_STUB_UNWIND_INFO*): Remove.
476 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
477 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
478 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
479 Remove out of line section. Use cfi intrinsics.
480 (LLL_STUB_UNWIND_INFO*): Remove.
481
fbd6b5a4
SP
4822014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
483
484 [BZ #16758]
485 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
486 blank values.
487
1b26b855
PP
4882014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
489
490 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
491
9be36fb8
JM
4922014-03-26 Joseph Myers <joseph@codesourcery.com>
493
494 [BZ #16198]
495 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
496 fnstenv.
497 * math/test-fenv-preserve.c: New file.
498 * math/Makefile (tests): Add test-fenv-preserve.
499
60a2f3c1
WN
5002014-03-26 Will Newton <will.newton@linaro.org>
501
502 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
503
a5e5f1e2
RM
5042014-03-25 Roland McGrath <roland@hack.frob.com>
505
506 * scripts/versionlist.awk: Partition the version sets and emit all
507 GLIBC_* (sorted) before all others (sorted).
508
00f4012a
JM
5092014-03-25 Joseph Myers <joseph@codesourcery.com>
510
511 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
512 GLIBC_2.2.5 version.
513
7bc5a741
AZ
5142014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
515
516 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
517 calls.
518
7578473b
AZ
5192014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
520
521 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
522 previous change.
523
f3f1dab3
AZ
5242014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
525
526 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
527
6da36183
AS
5282014-03-25 Andreas Schwab <schwab@suse.de>
529
530 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
531 label to be used after in6ailist is initialized.
532
f3f1dab3 5332014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 534
7578473b 535 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
536 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
537
046651c1
JM
5382014-03-25 Joseph Myers <joseph@codesourcery.com>
539
540 [BZ #16357]
541 [BZ #16599]
542 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
543 min_plus_half.
544 (fp_formats): Update initializers.
545 (init_fp_formats): Initialize new field.
546 (output_for_one_input_case): Allow underflow for results up to
547 min_plus_half.
548 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
549 * math/auto-libm-test-in: Don't mark some underflows from asin and
550 atanh as spurious.
551 * math/auto-libm-test-out: Regenerated.
552 * sysdeps/i386/fpu/libm-test-ulps: Update.
553 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
554
003e49ed
AS
5552014-03-25 Andreas Schwab <schwab@suse.de>
556
557 * libio/Makefile (tst-ftell-partial-wide-ENV)
558 (tst-ftell-active-handler-ENV): Define.
559
de031874
SL
5602014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
561
562 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
563
55a81e3b
PP
5642014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
565
566 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
567
f3426898
JM
5682014-03-24 Joseph Myers <joseph@codesourcery.com>
569
570 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
571 * sysdeps/x86_64/fpu/multiarch/e_exp.c
572 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
573
a42faf59
PP
5742014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
575
576 [BZ #16634]
a42faf59 577 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
578 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
579 (open_path): Change from boolean 'secure' to complete flag 'mode'
580 (_dl_map_object): Adjust.
a42faf59
PP
581 * elf/Makefile (tests): Add tst-dlopen-aout.
582 * elf/tst-dlopen-aout.c: New test.
583
50936127
SL
5842014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
585
586 [BZ #16714]
587 * sysdeps/unix/sysv/linux/s390/bits/stat.h
588 (struct stat): Rename member pad0 to __glibc_reserved0.
589
26011b5c
SL
5902014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
591
592 [BZ #16712]
593 * sysdeps/s390/s390-32/bits/wordsize.h
594 (__WORDSIZE32_SIZE_ULONG): New define.
595 * sysdeps/s390/s390-64/bits/wordsize.h
596 (__WORDSIZE32_SIZE_ULONG): Likewise.
597 * sysdeps/generic/stdint.h (SIZE_MAX):
598 Define as UL if __WORDSIZE32_SIZE_ULONG.
599
a2d86bf1
SL
6002014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
601
602 [BZ #16713]
603 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
604 (__glibc_reserved0): New variable.
605 (sa_flags): Change type to int.
606
78b6eebc
SL
6072014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
608
609 * posix/Makefile (before-compile): Use += before-compile instead
610 of a :=.
611
f1399b5a
SL
6122014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
613
614 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
615 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
616
a071766e
AS
6172014-03-20 Andreas Schwab <schwab@suse.de>
618
619 [BZ #16743]
620 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
621 non-matching result from nscd.
622
27c673b8
SP
6232014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
624
625 * scripts/bench.py: Moved to ...
626 * benchtests/scripts/bench.py: ... here.
627 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
628
44152e4b
AS
6292014-03-24 Andreas Schwab <schwab@suse.de>
630
631 [BZ #16002]
632 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
633 alloca_account and account alloca use for struct in6ailist.
634
b376a11a
JM
6352014-03-24 Joseph Myers <joseph@codesourcery.com>
636
637 [BZ #16284]
638 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
639 rounding mode to recompute results that overflow to infinity or
640 underflow to zero.
641 * math/auto-libm-test-in: Don't mark tests as expected to fail for
642 bug 16284.
643 * math/auto-libm-test-out: Regenerated.
644 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
645 (ccosh_test): Likewise.
646 (csin_test_data): Use plus_oflow.
647 (csin_test): Use ALL_RM_TEST.
648 (csinh_test_data): Use plus_oflow.
649 (csinh_test): Use ALL_RM_TEST.
650 * sysdeps/i386/fpu/libm-test-ulps: Update.
651 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
652
f7be7376
JM
6532014-03-21 Joseph Myers <joseph@codesourcery.com>
654
1ca2d03e
JM
655 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
656 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
657 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
658
f7be7376
JM
659 [BZ #16731]
660 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
661 when x - 1 is zero.
662 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
663 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
664 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
665 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
666 argument is 1.
667 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
668 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
669 zero.
670 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
671 * sysdeps/i386/fpu/libm-test-ulps: Update.
672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
673
fdf4534d
SP
6742014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
675
df26ea53
SP
676 * scripts/bench.pl: Remove file.
677 * scripts/bench.py: New benchmark script.
678 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
679 * benchtests/README: Mention python dependency.
680 * scripts/pylintrc: New file.
681 * scripts/pylint: New file.
682
fdf4534d
SP
683 * bits/mathdef.h: Use #ifdef instead of #if.
684 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
685 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
686 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
687 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
688 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
689 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
690
6f23d093
AZ
6912014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
692 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
693
694 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
695 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
696 and strpbrk-ppc64 objects.
697 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
698 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
699 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
700 multiarch strpbrk for POWER7.
701 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
702 multiarch strpbrk for PPC64.
703 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
704 ifunc selector.
705 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
706 strpbrk for POWER7.
707
8c92dfff
JM
7082014-03-20 Joseph Myers <joseph@codesourcery.com>
709
710 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
711 (atan_test): Likewise.
712 (atanh_test_data): Use NO_TEST_INLINE for two tests.
713 (atanh_test): Use ALL_RM_TEST.
714 (atan2_test_data): Likewise.
715 (cabs_test): Likewise.
716 (cacosh_test): Likewise.
717 (carg_test): Likewise.
718 (casin_test): Likewise.
719 (casinh_test): Likewise.
720 (cbrt_test): Likewise.
721 (csqrt_test): Likewise.
722 (erf_test): Likewise.
723 (erfc_test): Likewise.
724 (pow10_test): Likewise.
725 (exp2_test): Likewise.
726 (hypot_test): Likewise.
727 (j0_test): Likewise.
728 (j1_test): Likewise.
729 (lgamma_test): Likewise.
730 (gamma_test): Likewise.
731 (sincos_test): Likewise.
732 (tanh_test): Likewise.
733 (y0_test): Likewise.
734 (y1_test): Likewise.
735 * sysdeps/i386/fpu/libm-test-ulps: Update.
736 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
737
6eaf95cb
AZ
7382014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
739
a387428c
SP
740 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
741 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
742 and strcspn-ppc64 objects.
743 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
744 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
745 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
746 multiarch strcspn for POWER7.
747 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
748 multiarch strcspn for PPC64.
749 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
750 ifunc selector.
751 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
752 strcspn for POWER7.
753
ae3a5dff
JM
7542014-03-20 Joseph Myers <joseph@codesourcery.com>
755
756 * math/gen-libm-test.pl (generate_testfile): Expect only function
757 name as argument to AUTO_TESTS_* and pass results for all rounding
758 modes to parse_args.
759 (parse_auto_input): Separate inputs of automatic tests from
760 outputs before storing in %auto_tests.
761 * math/libm-test.inc (acos_test_data): Update call to
762 AUTO_TESTS_f_f.
763 (acos_test): Use ALL_RM_TEST.
764 (acos_tonearest_test_data): Remove.
765 (acos_test_tonearest): Likewise.
766 (acos_towardzero_test_data): Likewise.
767 (acos_test_towardzero): Likewise.
768 (acos_downward_test_data): Likewise.
769 (acos_test_downward): Likewise.
770 (acos_upward_test_data): Likewise.
771 (acos_test_upward): Likewise.
772 (acosh_test_data): Update call to AUTO_TESTS_f_f.
773 (asin_test_data): Likewise.
774 (asin_test): Use ALL_RM_TEST.
775 (asin_tonearest_test_data): Remove.
776 (asin_test_tonearest): Likewise.
777 (asin_towardzero_test_data): Likewise.
778 (asin_test_towardzero): Likewise.
779 (asin_downward_test_data): Likewise.
780 (asin_test_downward): Likewise.
781 (asin_upward_test_data): Likewise.
782 (asin_test_upward): Likewise.
783 (asinh_test_data): Update call to AUTO_TESTS_f_f.
784 (atan_test_data): Likewise.
785 (atanh_test_data): Likewise.
786 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
787 (cabs_test_data): Update call to AUTO_TESTS_c_f.
788 (carg_test_data): Likewise.
789 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
790 (ccos_test_data): Update call to AUTO_TESTS_c_c.
791 (ccosh_test_data): Likewise.
792 (cexp_test_data): Likewise.
793 (clog_test_data): Likewise.
794 (clog10_test_data): Likewise.
795 (cos_test_data): Update call to AUTO_TESTS_f_f.
796 (cos_test): Use ALL_RM_TEST.
797 (cos_tonearest_test_data): Remove.
798 (cos_test_tonearest): Likewise.
799 (cos_towardzero_test_data): Likewise.
800 (cos_test_towardzero): Likewise.
801 (cos_downward_test_data): Likewise.
802 (cos_test_downward): Likewise.
803 (cos_upward_test_data): Likewise.
804 (cos_test_upward): Likewise.
805 (cosh_test_data): Update call to AUTO_TESTS_f_f.
806 (cosh_test): Use ALL_RM_TEST.
807 (cosh_tonearest_test_data): Remove.
808 (cosh_test_tonearest): Likewise.
809 (cosh_towardzero_test_data): Likewise.
810 (cosh_test_towardzero): Likewise.
811 (cosh_downward_test_data): Likewise.
812 (cosh_test_downward): Likewise.
813 (cosh_upward_test_data): Likewise.
814 (cosh_test_upward): Likewise.
815 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
816 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
817 (ctan_test_data): Likewise.
818 (ctan_test): Use ALL_RM_TEST.
819 (ctan_tonearest_test_data): Remove.
820 (ctan_test_tonearest): Likewise.
821 (ctan_towardzero_test_data): Likewise.
822 (ctan_test_towardzero): Likewise.
823 (ctan_downward_test_data): Likewise.
824 (ctan_test_downward): Likewise.
825 (ctan_upward_test_data): Likewise.
826 (ctan_test_upward): Likewise.
827 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
828 (ctanh_test): Use ALL_RM_TEST.
829 (ctanh_tonearest_test_data): Remove.
830 (ctanh_test_tonearest): Likewise.
831 (ctanh_towardzero_test_data): Likewise.
832 (ctanh_test_towardzero): Likewise.
833 (ctanh_downward_test_data): Likewise.
834 (ctanh_test_downward): Likewise.
835 (ctanh_upward_test_data): Likewise.
836 (ctanh_test_upward): Likewise.
837 (erf_test_data): Update call to AUTO_TESTS_f_f.
838 (erfc_test_data): Likewise.
839 (exp_test_data): Likewise.
840 (exp_test): Use ALL_RM_TEST.
841 (exp_tonearest_test_data): Remove.
842 (exp_test_tonearest): Likewise.
843 (exp_towardzero_test_data): Likewise.
844 (exp_test_towardzero): Likewise.
845 (exp_downward_test_data): Likewise.
846 (exp_test_downward): Likewise.
847 (exp_upward_test_data): Likewise.
848 (exp_test_upward): Likewise.
849 (exp10_test_data): Update call to AUTO_TESTS_f_f.
850 (exp10_test): Use ALL_RM_TEST.
851 (exp10_tonearest_test_data): Remove.
852 (exp10_test_tonearest): Likewise.
853 (exp10_towardzero_test_data): Likewise.
854 (exp10_test_towardzero): Likewise.
855 (exp10_downward_test_data): Likewise.
856 (exp10_test_downward): Likewise.
857 (exp10_upward_test_data): Likewise.
858 (exp10_test_upward): Likewise.
859 (exp2_test_data): Update call to AUTO_TESTS_f_f.
860 (expm1_test_data): Likewise.
861 (expm1_test): Use ALL_RM_TEST.
862 (expm1_tonearest_test_data): Remove.
863 (expm1_test_tonearest): Likewise.
864 (expm1_towardzero_test_data): Likewise.
865 (expm1_test_towardzero): Likewise.
866 (expm1_downward_test_data): Likewise.
867 (expm1_test_downward): Likewise.
868 (expm1_upward_test_data): Likewise.
869 (expm1_test_upward): Likewise.
870 (fma_test_data): Update call to AUTO_TESTS_fff_f.
871 (fma_test): Use ALL_RM_TEST.
872 (fma_towardzero_test_data): Remove.
873 (fma_test_towardzero): Likewise.
874 (fma_downward_test_data): Likewise.
875 (fma_test_downward): Likewise.
876 (fma_upward_test_data): Likewise.
877 (fma_test_upward): Likewise.
878 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
879 (j0_test_data): Update call to AUTO_TESTS_f_f.
880 (j1_test_data): Likewise.
881 (jn_test_data): Update call to AUTO_TESTS_if_f.
882 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
883 (log_test_data): Update call to AUTO_TESTS_f_f.
884 (log10_test_data): Likewise.
885 (log1p_test_data): Likewise.
886 (log2_test_data): Likewise.
887 (pow_test_data): Update call to AUTO_TESTS_ff_f.
888 (pow_tonearest_test_data): Likewise.
889 (sin_test_data): Update call to AUTO_TESTS_f_f.
890 (sin_test): Use ALL_RM_TEST.
891 (sin_tonearest_test_data): Remove.
892 (sin_test_tonearest): Likewise.
893 (sin_towardzero_test_data): Likewise.
894 (sin_test_towardzero): Likewise.
895 (sin_downward_test_data): Likewise.
896 (sin_test_downward): Likewise.
897 (sin_upward_test_data): Likewise.
898 (sin_test_upward): Likewise.
899 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
900 (sinh_test_data): Update call to AUTO_TESTS_f_f.
901 (sinh_test): Use ALL_RM_TEST.
902 (sinh_tonearest_test_data): Remove.
903 (sinh_test_tonearest): Likewise.
904 (sinh_towardzero_test_data): Likewise.
905 (sinh_test_towardzero): Likewise.
906 (sinh_downward_test_data): Likewise.
907 (sinh_test_downward): Likewise.
908 (sinh_upward_test_data): Likewise.
909 (sinh_test_upward): Likewise.
910 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
911 (sqrt_test): Use ALL_RM_TEST.
912 (sqrt_tonearest_test_data): Remove.
913 (sqrt_test_tonearest): Likewise.
914 (sqrt_towardzero_test_data): Likewise.
915 (sqrt_test_towardzero): Likewise.
916 (sqrt_downward_test_data): Likewise.
917 (sqrt_test_downward): Likewise.
918 (sqrt_upward_test_data): Likewise.
919 (sqrt_test_upward): Likewise.
920 (tan_test_data): Update call to AUTO_TESTS_f_f.
921 (tan_test): Use ALL_RM_TEST.
922 (tan_tonearest_test_data): Remove.
923 (tan_test_tonearest): Likewise.
924 (tan_towardzero_test_data): Likewise.
925 (tan_test_towardzero): Likewise.
926 (tan_downward_test_data): Likewise.
927 (tan_test_downward): Likewise.
928 (tan_upward_test_data): Likewise.
929 (tan_test_upward): Likewise.
930 (tanh_test_data): Update call to AUTO_TESTS_f_f.
931 (tgamma_test_data): Likewise.
932 (y0_test_data): Likewise.
933 (y1_test_data): Likewise.
934 (yn_test_data): Update call to AUTO_TESTS_if_f.
935 (main): Do not call removed functions.
936
d71aeee8
JM
9372014-03-19 Joseph Myers <joseph@codesourcery.com>
938
939 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
940 (ldexp_test_data): Remove.
941 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
942 scalbn_test_data.
943 (scalb_test): Use ALL_RM_TEST.
944
baaf1ded
AS
9452014-03-19 Andreas Schwab <schwab@suse.de>
946
947 * nscd/nscd.service: Also invalidate netgroup cache on reload.
948
b1115e91
JM
9492014-03-19 Joseph Myers <joseph@codesourcery.com>
950
951 [BZ #16649]
952 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
953 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
954 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
955 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
956 (__ASSUME_PREADV): Undefine.
957 (__ASSUME_PWRITEV): Likewise.
958
0283ecca
RM
9592014-03-18 Roland McGrath <roland@hack.frob.com>
960
7d375303
RM
961 * bits/mman-linux.h: Add comment about non-Linux use.
962 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
963 bits/mman-linux.h resting place.
964
0283ecca
RM
965 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
966 * bits/mman-linux.h: ... here.
967
aebe1003
AZ
9682014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
969
970 * conform/conformtest.pl: Add standard definition when calling C
971 preprocessor on data files.
972 (checknamespace): Remove unused variable.
973
b29b6bb8
JM
9742014-03-18 Joseph Myers <joseph@codesourcery.com>
975
976 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
977 minus_oflow, plus_uflow and minus_uflow in expected results.
978 * math/libm-test.inc (scalbn_test_data): Add more tests of
979 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
980 minus_uflow.
981 (scalbn_test): Use ALL_RM_TEST.
982 (scalbln_test_data): Add more tests of negative arguments. Use
983 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
984 (scalbln_test): Use ALL_RM_TEST.
985
c8f8fa15
RM
9862014-03-18 Roland McGrath <roland@hack.frob.com>
987
988 * scripts/abilist.awk: Ignore symbols marked with .hidden.
989
fede7a5f
WN
9902014-03-18 Will Newton <will.newton@linaro.org>
991
992 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
993 inaccurate comment.
994
80cf0a58
JM
9952014-03-18 Joseph Myers <joseph@codesourcery.com>
996
997 * Makerules [!subdir] (check-abi): Exit with error status if a
998 test failed.
999
b3620862
JM
10002014-03-17 Joseph Myers <joseph@codesourcery.com>
1001
1002 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1003 for rint. Include results for all rounding modes.
1004 (nearbyint_test): Use ALL_RM_TEST.
1005 (rint_test_data): Include all tests used for nearbyint.
1006
788bba36
WN
10072014-03-17 Will Newton <will.newton@linaro.org>
1008
04ec140a
WN
1009 * nptl/sysdeps/pthread/pthread.h: Revert previous
1010 change.
1011
7579d8d5
WN
1012 * sysdeps/generic/ldsodefs.h: Revert previous
1013 change.
1014
c15cf13a
WN
1015 * libio/genops.c: Revert previous change.
1016 * libio/libioP.h: Likewise.
1017 * stdio-common/vfprintf.c: Likewise.
1018
d0ac1324
WN
1019 * sysdeps/generic/math_private.h: Revert previous
1020 change.
1021
9290130a
WN
1022 * sysdeps/generic/math_private.h: Check whether
1023 HAVE_RM_CTX is defined with #ifdef rather
1024 than #if.
1025
afb466fc
WN
1026 * argp/argp-fmtstream.h: Check whether
1027 __STRICT_ANSI__ is defined with #ifdef rather
1028 than #if.
1029 * argp/argp.h: Likewise.
1030
f7efd7c3
WN
1031 * libio/genops.c: Check whether
1032 _IO_JUMPS_OFFSET is defined with #ifdef rather
1033 than #if.
1034 * libio/libioP.h: Likewise.
1035 * stdio-common/vfprintf.c: Likewise.
1036
53f1bed3
WN
1037 * sysdeps/generic/ldsodefs.h: Check whether
1038 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1039 than #if.
1040
788bba36
WN
1041 * nptl/sysdeps/pthread/pthread.h: Check
1042 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1043 its value.
1044
fcd89ebe
SP
10452014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1046
ae42bbc5
SP
1047 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1048 setting O_APPEND.
1049 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1050 test case.
1051
ea33158c
SP
1052 [BZ #16680]
1053 * libio/fileops.c (_IO_file_open): Seek to end of file but
1054 don't cache the offset.
1055 (get_file_offset): Remove function.
1056 (do_ftell): Use cached offset when available.
1057 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1058 don't cache the offset.
1059 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1060 case.
1061 (do_one_test): Call it.
1062 (do_ftell_test): Fix up expected old offset for a+ mode.
1063 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1064 available.
1065
b1dbb426
SP
1066 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1067 up test status with function return status.
1068 (do_write_test): Likewise.
1069 (do_append_test): Likewise.
1070
fcd89ebe
SP
1071 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1072 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1073 Remove.
1074
9962a2d3
JM
10752014-03-17 Joseph Myers <joseph@codesourcery.com>
1076
1077 * math/gen-libm-test.pl (parse_args): Handle results specified for
1078 each rounding mode separately.
1079 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1080 tests and results from lrint_tonearest_test_data,
1081 lrint_towardzero_test_data, lrint_downward_test_data and
1082 lrint_upward_test_data.
1083 (lrint_test): Use ALL_RM_TEST.
1084 (lrint_tonearest_test_data): Remove.
1085 (lrint_test_tonearest): Likewise.
1086 (lrint_towardzero_test_data): Likewise.
1087 (lrint_test_towardzero): Likewise.
1088 (lrint_downward_test_data): Likewise.
1089 (lrint_test_downward): Likewise.
1090 (lrint_upward_test_data): Likewise.
1091 (lrint_test_upward): Likewise.
1092 (llrint_test_data): Merge in per-rounding-mode tests and results
1093 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1094 llrint_downward_test_data and llrint_upward_test_data.
1095 (llrint_test): Use ALL_RM_TEST.
1096 (llrint_tonearest_test_data): Remove.
1097 (llrint_test_tonearest): Likewise.
1098 (llrint_towardzero_test_data): Likewise.
1099 (llrint_test_towardzero): Likewise.
1100 (llrint_downward_test_data): Likewise.
1101 (llrint_test_downward): Likewise.
1102 (llrint_upward_test_data): Likewise.
1103 (llrint_test_upward): Likewise.
1104 (rint_test_data): Merge in per-rounding-mode tests and results
1105 from rint_tonearest_test_data, rint_towardzero_test_data,
1106 rint_downward_test_data and rint_upward_test_data. Add
1107 per-rounding-mode results for tests not in those arrays.
1108 (rint_test): Use ALL_RM_TEST.
1109 (rint_tonearest_test_data): Remove.
1110 (rint_test_tonearest): Likewise.
1111 (rint_towardzero_test_data): Likewise.
1112 (rint_test_towardzero): Likewise.
1113 (rint_downward_test_data): Likewise.
1114 (rint_test_downward): Likewise.
1115 (rint_upward_test_data): Likewise.
1116 (rint_test_upward): Likewise.
1117 (main): Don't call removed functions.
1118
5006148e
RM
11192014-03-14 Roland McGrath <roland@hack.frob.com>
1120
1121 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1122 "Compiled on ..." crapola. It is anti-useful.
1123
d6fe5e58
JM
11242014-03-14 Joseph Myers <joseph@codesourcery.com>
1125
1126 * scripts/evaluate-test.sh: Handle fourth argument to determine
1127 whether test run should stop on failure.
1128 * Makeconfig (stop-on-test-failure): New variable.
1129 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1130 $(stop-on-test-failure).
1131 * Makefile (tests): Give a summary of results from testing and
1132 exit with failure status if they include an ERROR or FAIL.
1133 (xtests): Likewise.
1134 * manual/install.texi (Configuring and compiling): Mention
1135 stop-on-test-failure=y.
1136 * INSTALL: Regenerated.
1137
498a2233
RM
11382014-03-14 Roland McGrath <roland@hack.frob.com>
1139
22dbc19d
RM
1140 * scripts/versionlist.awk: New file.
1141 * Makerules [$(build-shared) = yes]
1142 (postclean-generated): Add Versions.def, not Versions.def.v and
1143 Versions.def.v.i.
1144 ($(common-objpfx)Versions.def.v.i): Target removed.
1145 ($(common-objpfx)Versions.def): New target.
1146 ($(common-objpfx)Versions.all): Depend on that rather that
1147 $(common-objpfx)Versions.def.v.
1148 * Versions.def: File removed.
1149
498a2233
RM
1150 * Makeconfig (+gccwarn): Add -Wundef.
1151 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1152 a dl-sysdep.h breaking its contract.
1153 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1154 * include/stackinfo.h: New file.
1155 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1156 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1157 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1158 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1159 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1160 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1161 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1162 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1163 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1164 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1165 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1166 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1167 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1168 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1169 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1170
c7de5025
AZ
11712014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1172
1173 [BZ #16707]
1174 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1175 implementation.
1176 * math/libm-test.inc (round_test_data): Add more tests.
1177
98fb27a3
AZ
11782014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1179
1180 [BZ #16706]
1181 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1182 implementation.
1183 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1184
374f7f61
AZ
11852014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1186
1187 [BZ #16701]
1188 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1189 implementation.
1190 * math/libm-test.inc (ceil_test_data): Add more tests.
1191
4655c291
AZ
11922014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1193
1194 * math/libm-test.inc (trunc_test_data): Add more tests related to
1195 BZ#16414.
1196
d7329d4b
RM
11972014-03-14 Roland McGrath <roland@hack.frob.com>
1198
1199 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1200 with #if rather than #ifdef.
1201 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1202
aa4de9ce
L
12032014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1204
1205 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1206 first. Disable AVX-512 GCC support if assembler doesn't support
1207 it.
1208 * sysdeps/x86_64/configure: Regenerated.
1209
2e03fae7
CD
12102014-03-13 Carlos O'Donell <carlos@redhat.com>
1211
1212 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1213 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1214 (__old_pthread_attr_setstack): Likewise.
1215 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1216 [!_STACK_GROWS_DOWN]: Likewise.
1217
43ca83ec
MF
12182014-03-13 Mike Frysinger <vapier@gentoo.org>
1219
1220 * config.make.in (have-bash2): Delete.
1221 * configure.ac (libc_cv_have_bash2): Delete.
1222 * configure: Regenerate.
1223 * elf/Makefile (common-ldd-rewrite): Rename to ...
1224 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1225 (sh-ldd-rewrite): Delete.
1226 (bash-ldd-rewrite): Delete.
1227 (have-bash2): Delete checks.
1228 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1229
c66e48b4
MF
12302014-03-13 Mike Frysinger <vapier@gentoo.org>
1231
1232 * config.make.in (have-ksh): Delete.
1233 (KSH): Delete.
1234 * configure.ac (libc_cv_have_ksh): Delete.
1235 * configure: Regenerate.
1236
b93834ef
MF
12372014-03-13 Mike Frysinger <vapier@gentoo.org>
1238
1239 * elf/Makefile: Delete $(have-ksh) check.
1240 ($(objpfx)sotruss): Change KSH to BASH.
1241 * elf/sotruss.ksh: Rename to ...
1242 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1243 function style to match POSIX. Drop ksh vim mode setting.
1244
f3a4632a
MF
12452014-03-13 Mike Frysinger <vapier@gentoo.org>
1246
1247 * manual/time.texi (Specifying the Time Zone with TZ): Change
1248 Tuesday to Thursday.
1249
5896c8bd
MF
12502014-03-13 Mike Frysinger <vapier@gentoo.org>
1251
1252 * debug/tst-longjmp_chk2.c: Update header comment.
1253 (stackoverflow_handler): Add comment. Call assert on pass value.
1254
2d63a517
IZ
12552014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1256
1257 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1258 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1259 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1260 (La_x86_64_vector): Add zmm.
1261 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1262 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1263 ($(objpfx)tst-audit10): New target.
1264 ($(objpfx)tst-audit10.out): Likewise.
1265 (tst-audit10-ENV): New.
1266 (AVX512-CFLAGS): Likewise.
1267 (CFLAGS-tst-audit10.c): Likewise.
1268 (CFLAGS-tst-auditmod10a.c): Likewise.
1269 (CFLAGS-tst-auditmod10b.c): Likewise.
1270 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1271 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1272 * sysdeps/x86_64/configure: Regenerated.
1273 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1274 AVX-512 zmm register support.
1275 (_dl_x86_64_save_sse): Likewise.
1276 (_dl_x86_64_restore_sse): Likewise.
1277 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1278 size vector registers.
1279 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1280 (ZMM_SIZE): Likewise.
1281 * sysdeps/x86_64/tst-audit10.c: New file.
1282 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1283 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1284
44c4e5d5
RM
12852014-03-13 Roland McGrath <roland@hack.frob.com>
1286
1287 * configure.ac (HAVE_EHDR_START): New check.
1288 * configure: Regenerated.
1289 * config.h.in (HAVE_EHDR_START): New #undef.
1290 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1291 assuming the lowest-addressed segment maps the start of the file.
1292
acd6e389
JM
12932014-03-13 Joseph Myers <joseph@codesourcery.com>
1294
1295 * INSTALL: Regenerated.
1296
6f918f36
WN
12972014-03-13 Will Newton <will.newton@linaro.org>
1298
1299 * manual/setjmp.texi (System V contexts): Improve
1300 clarity and grammar of documentation.
1301
798212a0
PP
13022014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1303
1304 [BZ #16381]
798212a0 1305 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1306 (tests-pie): Add tst-pie2.
798212a0
PP
1307 * elf/tst-pie2.c: New file.
1308 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1309 for ET_EXEC.
1310 * elf/rtld.c (map_doit): Load executable as lt_executable.
1311 (dl_main): Likewise.
1312
abe6d90c
JM
13132014-03-12 Joseph Myers <joseph@codesourcery.com>
1314
1315 [BZ #16642]
1316 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1317 (__ASSUME_PSELECT): Undefine.
1318
dd3946c6
AZ
13192014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1320
1321 [BZ #16689]
1322 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1323 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1324 static build.
1325 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1326 selector for static builds.
1327
c44496df
SP
13282014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1329
1330 [BZ #16695]
1331 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1332 key in the buffer.
1333
27c7220a
AZ
13342014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1335
1336 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1337 selector for static builds.
1338
600fa361
JM
13392014-03-11 Joseph Myers <joseph@codesourcery.com>
1340
76c96cf7
JM
1341 * sysdeps/mips/math_private.h [__mips_hard_float]
1342 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1343 libc_feresetround_mips_ctx.
1344 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1345 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1346 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1347
600fa361
JM
1348 [BZ #16677]
1349 * math/s_nextafter.c (__nextafter): Do not return value from
1350 overflowing computation.
1351 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1352 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1353 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1354 Likewise.
1355 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1356 Likewise.
1357 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1358 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1359
d7706c32
RM
13602014-03-11 Roland McGrath <roland@hack.frob.com>
1361
1362 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1363 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1364 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1365 the new mov targetting sp.
1366
4facea47
AZ
13672014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1368
1369 [BZ #16683]
1370 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1371 Define it for static builds as well.
1372 (NO_BZERO_IMPL): Likewise.
1373
e65caf1f
VR
13742014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1375
1376 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1377 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1378 multiarch strspn for PPC64.
1379 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1380 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1381 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1382 (__libc_ifunc_impl_list): Likewise.
1383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1384 multiarch optimizations
1385 * string/strspn.c (strspn): Using macro to redefine symbol name.
1386
ba9cc071
AZ
13872014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1388 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1389
1390 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1391 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1392 multiarch strncat for PPC64.
1393 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1394 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1395 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1396 (__libc_ifunc_impl_list): Likewise.
1397 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1398 multiarch optimizations
1399
8b4ff974
SP
14002014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1401
1402 [BZ #16639]
1403 * nscd/nscd.service: Make service type forking.
1404
54b46a4b
AZ
14052014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1406
1407 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1408 sign in non default rounding modes.
1409 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1410
e9996ef7
JM
14112014-03-08 Joseph Myers <joseph@codesourcery.com>
1412
1413 * math/libm-test.inc (ALL_RM_TEST): New macro.
1414 (ceil_test): Use ALL_RM_TEST.
1415 (cimag_test): Likewise.
1416 (conj_test): Likewise.
1417 (copysign_test): Likewise.
1418 (cproj_test): Likewise.
1419 (creal_test): Likewise.
1420 (fabs_test): Likewise.
1421 (floor_test): Likewise.
1422 (fmax_test): Likewise.
1423 (fmin_test): Likewise.
1424 (fmod_test): Likewise.
1425 (fpclassify_test): Likewise.
1426 (frexp_test): Likewise.
1427 (ilogb_test): Likewise.
1428 (isfinite_test): Likewise.
1429 (finite_test): Likewise.
1430 (isgreater_test): Likewise.
1431 (isgreaterequal_test): Likewise.
1432 (isinf_test): Likewise.
1433 (isless_test): Likewise.
1434 (islessequal_test): Likewise.
1435 (islessgreater_test): Likewise.
1436 (isnan_test): Likewise.
1437 (isnormal_test): Likewise.
1438 (issignaling_test): Likewise.
1439 (isunordered_test): Likewise.
1440 (logb_test): Likewise.
1441 (logb_downward_test_data): Remove.
1442 (logb_test_downward): Likewise.
1443 (lround_test): Use ALL_RM_TEST.
1444 (llround_test): Likewise.
1445 (modf_test): Likewise.
1446 (nexttoward_test): Likewise.
1447 (remainder_test): Likewise.
1448 (drem_test): Likewise.
1449 (remainder_tonearest_test_data): Likewise.
1450 (remainder_test_tonearest): Likewise.
1451 (drem_test_tonearest): Likewise.
1452 (remainder_towardzero_test_data): Likewise.
1453 (remainder_test_towardzero): Likewise.
1454 (drem_test_towardzero): Likewise.
1455 (remainder_downward_test_data): Likewise.
1456 (remainder_test_downward): Likewise.
1457 (drem_test_downward): Likewise.
1458 (remainder_upward_test_data): Likewise.
1459 (remainder_test_upward): Likewise.
1460 (drem_test_upward): Likewise.
1461 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1462 (round_test): Use ALL_RM_TEST.
1463 (signbit_test): Likewise.
1464 (trunc_test): Likewise.
1465 (significand_test): Likewise.
1466 (main): Don't call removed functions.
1467
bc61d27c
JM
14682014-03-07 Joseph Myers <joseph@codesourcery.com>
1469
5c780849
JM
1470 [BZ #16674]
1471 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1472 || __USE_XOPEN2K8].
1473 (ILL_ILLOPN): Likewise.
1474 (ILL_ILLADR): Likewise.
1475 (ILL_ILLTRP): Likewise.
1476 (ILL_PRVOPC): Likewise.
1477 (ILL_PRVREG): Likewise.
1478 (ILL_COPROC): Likewise.
1479 (ILL_BADSTK): Likewise.
1480 (FPE_INTDIV): Likewise.
1481 (FPE_INTOVF): Likewise.
1482 (FPE_FLTDIV): Likewise.
1483 (FPE_FLTOVF): Likewise.
1484 (FPE_FLTUND): Likewise.
1485 (FPE_FLTRES): Likewise.
1486 (FPE_FLTINV): Likewise.
1487 (FPE_FLTSUB): Likewise.
1488 (SEGV_MAPERR): Likewise.
1489 (SEGV_ACCERR): Likewise.
1490 (BUS_ADRALN): Likewise.
1491 (BUS_ADRERR): Likewise.
1492 (BUS_OBJERR): Likewise.
1493 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1494 (TRAP_TRACE): Likewise.
1495 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1496 __USE_XOPEN2K8].
1497 (CLD_KILLED): Likewise.
1498 (CLD_DUMPED): Likewise.
1499 (CLD_TRAPPED): Likewise.
1500 (CLD_STOPPED): Likewise.
1501 (CLD_CONTINUED): Likewise.
1502 (POLL_IN): Likewise.
1503 (POLL_OUT): Likewise.
1504 (POLL_MSG): Likewise.
1505 (POLL_ERR): Likewise.
1506 (POLL_PRI): Likewise.
1507 (POLL_HUP): Likewise.
1508 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1509 Likewise.
1510 (ILL_ILLOPN): Likewise.
1511 (ILL_ILLADR): Likewise.
1512 (ILL_ILLTRP): Likewise.
1513 (ILL_PRVOPC): Likewise.
1514 (ILL_PRVREG): Likewise.
1515 (ILL_COPROC): Likewise.
1516 (ILL_BADSTK): Likewise.
1517 (FPE_INTDIV): Likewise.
1518 (FPE_INTOVF): Likewise.
1519 (FPE_FLTDIV): Likewise.
1520 (FPE_FLTOVF): Likewise.
1521 (FPE_FLTUND): Likewise.
1522 (FPE_FLTRES): Likewise.
1523 (FPE_FLTINV): Likewise.
1524 (FPE_FLTSUB): Likewise.
1525 (SEGV_MAPERR): Likewise.
1526 (SEGV_ACCERR): Likewise.
1527 (BUS_ADRALN): Likewise.
1528 (BUS_ADRERR): Likewise.
1529 (BUS_OBJERR): Likewise.
1530 (BUS_MCEERR_AR): Likewise.
1531 (BUS_MCEERR_AO): Likewise.
1532 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1533 (TRAP_TRACE): Likewise.
1534 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1535 __USE_XOPEN2K8].
1536 (CLD_KILLED): Likewise.
1537 (CLD_DUMPED): Likewise.
1538 (CLD_TRAPPED): Likewise.
1539 (CLD_STOPPED): Likewise.
1540 (CLD_CONTINUED): Likewise.
1541 (POLL_IN): Likewise.
1542 (POLL_OUT): Likewise.
1543 (POLL_MSG): Likewise.
1544 (POLL_ERR): Likewise.
1545 (POLL_PRI): Likewise.
1546 (POLL_HUP): Likewise.
1547 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1548 (ILL_ILLOPN): Likewise.
1549 (ILL_ILLADR): Likewise.
1550 (ILL_ILLTRP): Likewise.
1551 (ILL_PRVOPC): Likewise.
1552 (ILL_PRVREG): Likewise.
1553 (ILL_COPROC): Likewise.
1554 (ILL_BADSTK): Likewise.
1555 (FPE_INTDIV): Likewise.
1556 (FPE_INTOVF): Likewise.
1557 (FPE_FLTDIV): Likewise.
1558 (FPE_FLTOVF): Likewise.
1559 (FPE_FLTUND): Likewise.
1560 (FPE_FLTRES): Likewise.
1561 (FPE_FLTINV): Likewise.
1562 (FPE_FLTSUB): Likewise.
1563 (SEGV_MAPERR): Likewise.
1564 (SEGV_ACCERR): Likewise.
1565 (BUS_ADRALN): Likewise.
1566 (BUS_ADRERR): Likewise.
1567 (BUS_OBJERR): Likewise.
1568 (BUS_MCEERR_AR): Likewise.
1569 (BUS_MCEERR_AO): Likewise.
1570 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1571 (TRAP_TRACE): Likewise.
1572 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1573 __USE_XOPEN2K8].
1574 (CLD_KILLED): Likewise.
1575 (CLD_DUMPED): Likewise.
1576 (CLD_TRAPPED): Likewise.
1577 (CLD_STOPPED): Likewise.
1578 (CLD_CONTINUED): Likewise.
1579 (POLL_IN): Likewise.
1580 (POLL_OUT): Likewise.
1581 (POLL_MSG): Likewise.
1582 (POLL_ERR): Likewise.
1583 (POLL_PRI): Likewise.
1584 (POLL_HUP): Likewise.
1585 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1586 Likewise.
1587 (ILL_ILLOPN): Likewise.
1588 (ILL_ILLADR): Likewise.
1589 (ILL_ILLTRP): Likewise.
1590 (ILL_PRVOPC): Likewise.
1591 (ILL_PRVREG): Likewise.
1592 (ILL_COPROC): Likewise.
1593 (ILL_BADSTK): Likewise.
1594 (ILL_BADIADDR): Likewise.
1595 (ILL_BREAK): Likewise.
1596 (FPE_INTDIV): Likewise.
1597 (FPE_INTOVF): Likewise.
1598 (FPE_FLTDIV): Likewise.
1599 (FPE_FLTOVF): Likewise.
1600 (FPE_FLTUND): Likewise.
1601 (FPE_FLTRES): Likewise.
1602 (FPE_FLTINV): Likewise.
1603 (FPE_FLTSUB): Likewise.
1604 (FPE_DECOVF): Likewise.
1605 (FPE_DECDIV): Likewise.
1606 (FPE_DECERR): Likewise.
1607 (FPE_INVASC): Likewise.
1608 (FPE_INVDEC): Likewise.
1609 (SEGV_MAPERR): Likewise.
1610 (SEGV_ACCERR): Likewise.
1611 (SEGV_PSTKOVF): Likewise.
1612 (BUS_ADRALN): Likewise.
1613 (BUS_ADRERR): Likewise.
1614 (BUS_OBJERR): Likewise.
1615 (BUS_MCEERR_AR): Likewise.
1616 (BUS_MCEERR_AO): Likewise.
1617 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1618 (TRAP_TRACE): Likewise.
1619 (TRAP_BRANCH): Likewise.
1620 (TRAP_HWBKPT): Likewise.
1621 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1622 __USE_XOPEN2K8].
1623 (CLD_KILLED): Likewise.
1624 (CLD_DUMPED): Likewise.
1625 (CLD_TRAPPED): Likewise.
1626 (CLD_STOPPED): Likewise.
1627 (CLD_CONTINUED): Likewise.
1628 (POLL_IN): Likewise.
1629 (POLL_OUT): Likewise.
1630 (POLL_MSG): Likewise.
1631 (POLL_ERR): Likewise.
1632 (POLL_PRI): Likewise.
1633 (POLL_HUP): Likewise.
1634 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1635 (ILL_ILLOPN): Likewise.
1636 (ILL_ILLADR): Likewise.
1637 (ILL_ILLTRP): Likewise.
1638 (ILL_PRVOPC): Likewise.
1639 (ILL_PRVREG): Likewise.
1640 (ILL_COPROC): Likewise.
1641 (ILL_BADSTK): Likewise.
1642 (FPE_INTDIV): Likewise.
1643 (FPE_INTOVF): Likewise.
1644 (FPE_FLTDIV): Likewise.
1645 (FPE_FLTOVF): Likewise.
1646 (FPE_FLTUND): Likewise.
1647 (FPE_FLTRES): Likewise.
1648 (FPE_FLTINV): Likewise.
1649 (FPE_FLTSUB): Likewise.
1650 (SEGV_MAPERR): Likewise.
1651 (SEGV_ACCERR): Likewise.
1652 (BUS_ADRALN): Likewise.
1653 (BUS_ADRERR): Likewise.
1654 (BUS_OBJERR): Likewise.
1655 (BUS_MCEERR_AR): Likewise.
1656 (BUS_MCEERR_AO): Likewise.
1657 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1658 (TRAP_TRACE): Likewise.
1659 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1660 __USE_XOPEN2K8].
1661 (CLD_KILLED): Likewise.
1662 (CLD_DUMPED): Likewise.
1663 (CLD_TRAPPED): Likewise.
1664 (CLD_STOPPED): Likewise.
1665 (CLD_CONTINUED): Likewise.
1666 (POLL_IN): Likewise.
1667 (POLL_OUT): Likewise.
1668 (POLL_MSG): Likewise.
1669 (POLL_ERR): Likewise.
1670 (POLL_PRI): Likewise.
1671 (POLL_HUP): Likewise.
1672 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1673 (ILL_ILLOPN): Likewise.
1674 (ILL_ILLADR): Likewise.
1675 (ILL_ILLTRP): Likewise.
1676 (ILL_PRVOPC): Likewise.
1677 (ILL_PRVREG): Likewise.
1678 (ILL_COPROC): Likewise.
1679 (ILL_BADSTK): Likewise.
1680 (FPE_INTDIV): Likewise.
1681 (FPE_INTOVF): Likewise.
1682 (FPE_FLTDIV): Likewise.
1683 (FPE_FLTOVF): Likewise.
1684 (FPE_FLTUND): Likewise.
1685 (FPE_FLTRES): Likewise.
1686 (FPE_FLTINV): Likewise.
1687 (FPE_FLTSUB): Likewise.
1688 (SEGV_MAPERR): Likewise.
1689 (SEGV_ACCERR): Likewise.
1690 (BUS_ADRALN): Likewise.
1691 (BUS_ADRERR): Likewise.
1692 (BUS_OBJERR): Likewise.
1693 (BUS_MCEERR_AR): Likewise.
1694 (BUS_MCEERR_AO): Likewise.
1695 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1696 (TRAP_TRACE): Likewise.
1697 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1698 __USE_XOPEN2K8].
1699 (CLD_KILLED): Likewise.
1700 (CLD_DUMPED): Likewise.
1701 (CLD_TRAPPED): Likewise.
1702 (CLD_STOPPED): Likewise.
1703 (CLD_CONTINUED): Likewise.
1704 (POLL_IN): Likewise.
1705 (POLL_OUT): Likewise.
1706 (POLL_MSG): Likewise.
1707 (POLL_ERR): Likewise.
1708 (POLL_PRI): Likewise.
1709 (POLL_HUP): Likewise.
1710 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1711 (ILL_ILLOPN): Likewise.
1712 (ILL_ILLADR): Likewise.
1713 (ILL_ILLTRP): Likewise.
1714 (ILL_PRVOPC): Likewise.
1715 (ILL_PRVREG): Likewise.
1716 (ILL_COPROC): Likewise.
1717 (ILL_BADSTK): Likewise.
1718 (FPE_INTDIV): Likewise.
1719 (FPE_INTOVF): Likewise.
1720 (FPE_FLTDIV): Likewise.
1721 (FPE_FLTOVF): Likewise.
1722 (FPE_FLTUND): Likewise.
1723 (FPE_FLTRES): Likewise.
1724 (FPE_FLTINV): Likewise.
1725 (FPE_FLTSUB): Likewise.
1726 (SEGV_MAPERR): Likewise.
1727 (SEGV_ACCERR): Likewise.
1728 (BUS_ADRALN): Likewise.
1729 (BUS_ADRERR): Likewise.
1730 (BUS_OBJERR): Likewise.
1731 (BUS_MCEERR_AR): Likewise.
1732 (BUS_MCEERR_AO): Likewise.
1733 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1734 (TRAP_TRACE): Likewise.
1735 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1736 __USE_XOPEN2K8].
1737 (CLD_KILLED): Likewise.
1738 (CLD_DUMPED): Likewise.
1739 (CLD_TRAPPED): Likewise.
1740 (CLD_STOPPED): Likewise.
1741 (CLD_CONTINUED): Likewise.
1742 (POLL_IN): Likewise.
1743 (POLL_OUT): Likewise.
1744 (POLL_MSG): Likewise.
1745 (POLL_ERR): Likewise.
1746 (POLL_PRI): Likewise.
1747 (POLL_HUP): Likewise.
1748 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1749 (ILL_ILLOPN): Likewise.
1750 (ILL_ILLADR): Likewise.
1751 (ILL_ILLTRP): Likewise.
1752 (ILL_PRVOPC): Likewise.
1753 (ILL_PRVREG): Likewise.
1754 (ILL_COPROC): Likewise.
1755 (ILL_BADSTK): Likewise.
1756 (ILL_DBLFLT): Likewise.
1757 (ILL_HARDWALL): Likewise.
1758 (FPE_INTDIV): Likewise.
1759 (FPE_INTOVF): Likewise.
1760 (FPE_FLTDIV): Likewise.
1761 (FPE_FLTOVF): Likewise.
1762 (FPE_FLTUND): Likewise.
1763 (FPE_FLTRES): Likewise.
1764 (FPE_FLTINV): Likewise.
1765 (FPE_FLTSUB): Likewise.
1766 (SEGV_MAPERR): Likewise.
1767 (SEGV_ACCERR): Likewise.
1768 (BUS_ADRALN): Likewise.
1769 (BUS_ADRERR): Likewise.
1770 (BUS_OBJERR): Likewise.
1771 (BUS_MCEERR_AR): Likewise.
1772 (BUS_MCEERR_AO): Likewise.
1773 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1774 (TRAP_TRACE): Likewise.
1775 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1776 __USE_XOPEN2K8].
1777 (CLD_KILLED): Likewise.
1778 (CLD_DUMPED): Likewise.
1779 (CLD_TRAPPED): Likewise.
1780 (CLD_STOPPED): Likewise.
1781 (CLD_CONTINUED): Likewise.
1782 (POLL_IN): Likewise.
1783 (POLL_OUT): Likewise.
1784 (POLL_MSG): Likewise.
1785 (POLL_ERR): Likewise.
1786 (POLL_PRI): Likewise.
1787 (POLL_HUP): Likewise.
1788 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1789 (ILL_ILLOPN): Likewise.
1790 (ILL_ILLADR): Likewise.
1791 (ILL_ILLTRP): Likewise.
1792 (ILL_PRVOPC): Likewise.
1793 (ILL_PRVREG): Likewise.
1794 (ILL_COPROC): Likewise.
1795 (ILL_BADSTK): Likewise.
1796 (FPE_INTDIV): Likewise.
1797 (FPE_INTOVF): Likewise.
1798 (FPE_FLTDIV): Likewise.
1799 (FPE_FLTOVF): Likewise.
1800 (FPE_FLTUND): Likewise.
1801 (FPE_FLTRES): Likewise.
1802 (FPE_FLTINV): Likewise.
1803 (FPE_FLTSUB): Likewise.
1804 (SEGV_MAPERR): Likewise.
1805 (SEGV_ACCERR): Likewise.
1806 (BUS_ADRALN): Likewise.
1807 (BUS_ADRERR): Likewise.
1808 (BUS_OBJERR): Likewise.
1809 (BUS_MCEERR_AR): Likewise.
1810 (BUS_MCEERR_AO): Likewise.
1811 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1812 (TRAP_TRACE): Likewise.
1813 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1814 __USE_XOPEN2K8].
1815 (CLD_KILLED): Likewise.
1816 (CLD_DUMPED): Likewise.
1817 (CLD_TRAPPED): Likewise.
1818 (CLD_STOPPED): Likewise.
1819 (CLD_CONTINUED): Likewise.
1820 (POLL_IN): Likewise.
1821 (POLL_OUT): Likewise.
1822 (POLL_MSG): Likewise.
1823 (POLL_ERR): Likewise.
1824 (POLL_PRI): Likewise.
1825 (POLL_HUP): Likewise.
1826 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1827 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1828
bc61d27c
JM
1829 [BZ #16670]
1830 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1831 before #include of <time.h>.
1832 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1833 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1834 (test-xfail-UNIX98/sched.h/conform): Likewise.
1835
302949e2
MS
18362014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1837
1838 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1839 error absence of trapping exception support.
1840 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1841
a00f522a
JM
18422014-03-07 Joseph Myers <joseph@codesourcery.com>
1843
6f99f280
JM
1844 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1845 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1846 * timezone/Makefile (testdata): Move definition above include of
1847 Rules.
1848 (test-zones): New variable.
1849 (tests-special): Add zone files.
1850 (build-testdata): Use $(evaluate-test).
1851
0b20a9e8
JM
1852 * elf/Makefile (tests-special): Rename tests to end with .out.
1853 ($(objpfx)noload-mem): Likewise.
1854 ($(objpfx)tst-leaks1-mem): Likewise.
1855 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1856 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1857 $(objpfx)test-iconvconfig.out.
1858 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1859 set -e inside subshell and redirect output to file.
1860 * iconvdata/Makefile (generated): Rename tests to end with .out.
1861 Correct type.
1862 (tests-special): Rename tests to end with .out.
1863 ($(objpfx)mtrace-tst-loading): Likewise.
1864 * intl/Makefile (generated): Likewise.
1865 (tests-special): Likewise.
1866 ($(objpfx)mtrace-tst-gettext): Likewise.
1867 * misc/Makefile (generated): Likewise.
1868 (tests-special): Likewise.
1869 ($(objpfx)tst-error1-mem): Likewise.
1870 * nptl/Makefile (tests-special): Likewise.
1871 ($(objpfx)tst-stack3-mem): Likewise.
1872 (generated): Likewise.
1873 * posix/Makefile (generated): Likewise.
1874 (tests-special): Likewise.
1875 (xtests-special): Likewise.
1876 ($(objpfx)tst-fnmatch-mem): Likewise.
1877 ($(objpfx)bug-regex2-mem): Likewise.
1878 ($(objpfx)bug-regex14-mem): Likewise.
1879 ($(objpfx)bug-regex21-mem): Likewise.
1880 ($(objpfx)bug-regex31-mem): Likewise.
1881 ($(objpfx)tst-vfork3-mem): Likewise.
1882 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1883 ($(objpfx)tst-pcre-mem): Likewise.
1884 ($(objpfx)tst-boost-mem): Likewise.
1885 ($(objpfx)bug-ga2-mem): Likewise.
1886 ($(objpfx)bug-glob2-mem): Likewise.
1887 * resolv/Makefile (generate): Likewise.
1888 (tests-special): Likewise.
1889 (xtests-special): Likewise.
1890 (generated): Likewise.
1891 ($(objpfx)mtrace-tst-leaks): Likewise.
1892 ($(objpfx)mtrace-tst-leaks2): Likewise.
1893
265d52ab
JM
1894 * scripts/merge-test-results.sh: New file.
1895 * Makefile (tests-special-notdir): New variable.
1896 (tests): Run merge-test-results.sh.
1897 (xtests): Likewise.
1898 * Rules (tests-special-notdir): New variable.
1899 (xtests-special-notdir): Likewise.
1900 (tests): Run merge-test-results.sh
1901 (xtests): Likewise.
1902
54ee292d
JM
1903 * Makeconfig (test-xfail-name): New variable.
1904 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1905 compute variable name for expected failures.
1906 * conform/Makefile (conformtest-headers-data): New variable.
1907 (conformtest-standards): Likewise.
1908 (conformtest-headers-ISO): Likewise.
1909 (conformtest-headers-ISO99): Likewise.
1910 (conformtest-headers-ISO11): Likewise.
1911 (conformtest-headers-POSIX): Likewise.
1912 (conformtest-headers-XPG3): Likewise.
1913 (conformtest-headers-XPG4): Likewise.
1914 (conformtest-headers-UNIX98): Likewise.
1915 (conformtest-headers-XOPEN2K): Likewise.
1916 (conformtest-headers-POSIX2008): Likewise.
1917 (conformtest-headers-XOPEN2K8): Likewise.
1918 (conformtest-header-list-base): Likewise.
1919 (conformtest-header-list-tests): Likewise.
1920 (conformtest-header-base): Likewise.
1921 (conformtest-header-tests): Likewise.
1922 (tests-special): Add $(conformtest-header-list-tests). If
1923 [$(fast-check) && !$(cross-compiling)], add
1924 $(conformtest-header-tests) instead of
1925 $(objpfx)run-conformtest.out.
1926 (generated): Add $(conformtest-header-list-base). If
1927 [$(fast-check) && !$(cross-compiling)], add
1928 $(conformtest-header-base). Remove previous setting.
1929 ($(conformtest-header-list-tests)): New target.
1930 (test-xfail-run-conformtest): Remove variable.
1931 ($(objpfx)run-conformtest.out): Remove target.
1932 (test-xfail-ISO11/complex.h/conform): New variable.
1933 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1934 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1935 (test-xfail-XPG3/varargs.h/conform): Likewise.
1936 (test-xfail-XPG4/varargs.h/conform): Likewise.
1937 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1938 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1939 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1940 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1941 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1942 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1943 (test-xfail-XPG3/ftw.h/conform): Likewise.
1944 (test-xfail-XPG3/grp.h/conform): Likewise.
1945 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1946 (test-xfail-XPG3/limits.h/conform): Likewise.
1947 (test-xfail-XPG3/pwd.h/conform): Likewise.
1948 (test-xfail-XPG3/search.h/conform): Likewise.
1949 (test-xfail-XPG3/signal.h/conform): Likewise.
1950 (test-xfail-XPG3/stdio.h/conform): Likewise.
1951 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1952 (test-xfail-XPG3/string.h/conform): Likewise.
1953 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1954 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1955 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1956 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
1957 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
1958 (test-xfail-XPG3/sys/types.h/conform): Likewise.
1959 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
1960 (test-xfail-XPG3/termios.h/conform): Likewise.
1961 (test-xfail-XPG3/time.h/conform): Likewise.
1962 (test-xfail-XPG3/unistd.h/conform): Likewise.
1963 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
1964 (test-xfail-XPG4/fcntl.h/conform): Likewise.
1965 (test-xfail-XPG4/langinfo.h/conform): Likewise.
1966 (test-xfail-XPG4/netdb.h/conform): Likewise.
1967 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
1968 (test-xfail-XPG4/signal.h/conform): Likewise.
1969 (test-xfail-XPG4/stdio.h/conform): Likewise.
1970 (test-xfail-XPG4/stdlib.h/conform): Likewise.
1971 (test-xfail-XPG4/stropts.h/conform): Likewise.
1972 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
1973 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
1974 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
1975 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
1976 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
1977 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
1978 (test-xfail-XPG4/sys/time.h/conform): Likewise.
1979 (test-xfail-XPG4/sys/types.h/conform): Likewise.
1980 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
1981 (test-xfail-XPG4/termios.h/conform): Likewise.
1982 (test-xfail-XPG4/ucontext.h/conform): Likewise.
1983 (test-xfail-XPG4/unistd.h/conform): Likewise.
1984 (test-xfail-XPG4/utmpx.h/conform): Likewise.
1985 (test-xfail-POSIX/sched.h/conform): Likewise.
1986 (test-xfail-POSIX/signal.h/conform): Likewise.
1987 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1988 (test-xfail-POSIX/tar.h/conform): Likewise.
1989 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
1990 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
1991 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
1992 (test-xfail-UNIX98/netdb.h/conform): Likewise.
1993 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
1994 (test-xfail-UNIX98/sched.h/conform): Likewise.
1995 (test-xfail-UNIX98/signal.h/conform): Likewise.
1996 (test-xfail-UNIX98/stdio.h/conform): Likewise.
1997 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
1998 (test-xfail-UNIX98/stropts.h/conform): Likewise.
1999 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2000 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2001 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2002 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2003 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2004 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2005 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2006 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2007 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2008 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2009 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2010 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2011 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2012 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2013 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2014 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2015 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2016 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2017 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2018 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2019 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2020 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2021 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2022 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2023 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2024 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2025 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2026 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2027 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2028 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2029 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2030 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2031 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2032 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2033 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2034 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2035 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2036 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2037 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2038 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2039 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2040 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2041 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2042 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2043 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2044 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2045 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2046 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2047 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2048 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2049 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2050 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2051 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2052 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2053 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2054 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2055 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2056 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2057 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2058 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2059 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2060 (conformtest-cc-flags): Likewise.
2061 ($(conformtest-header-tests): New target.
2062 * conform/check-header-lists.sh: New file.
2063 * conform/run-conformtest.sh: Remove.
2064
a00f522a
JM
2065 * conform/conformtest.pl: Allow ' and \ in values given for
2066 constants.
2067 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2068 inclusion.
2069 [POSIX] (sys/types.h): Likewise.
2070 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2071 inclusion.
2072 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2073 inclusion.
2074 * conform/data/signal.h-data (SIGIO): Remove expectation.
2075 [XPG3] (SIGBUS): Do not expect.
2076 [POSIX || XPG3] (SIGPOLL): Likewise.
2077 [POSIX || XPG3] (SIGPROF): Likewise.
2078 [POSIX || XPG3] (SIGSYS): Likewise.
2079 [XPG3] (SIGTRAP): Likewise.
2080 [POSIX || XPG3] (SIGURG): Likewise.
2081 [POSIX || XPG3] (SIGVTALRM): Likewise.
2082 [POSIX || XPG3] (SIGXCPU): Likewise.
2083 [POSIX || XPG3] (SIGXFSZ): Likewise.
2084 [POSIX] (SA_SIGINFO): Expect.
2085 [XPG3] (siginfo_t): Do not expect type or contents.
2086 [POSIX] (si_pid): Do not expect element.
2087 [POSIX] (si_uid): Likewise.
2088 [POSIX] (si_addr): Likewise.
2089 [POSIX] (si_status): Likewise.
2090 [POSIX] (si_band): Likewise.
2091 [XPG4] (si_value): Likewise.
2092 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2093 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2094 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2095 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2096 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2097 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2098 [POSIX || XPG3] (ILL_COPROC): Likewise.
2099 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2100 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2101 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2102 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2103 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2104 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2105 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2106 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2107 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2108 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2109 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2110 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2111 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2112 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2113 [POSIX || XPG3] (CLD_EXITED): Likewise.
2114 [POSIX || XPG3] (CLD_KILLED): Likewise.
2115 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2116 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2117 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2118 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2119 [POSIX || XPG3] (POLL_IN): Likewise.
2120 [POSIX || XPG3] (POLL_OUT): Likewise.
2121 [POSIX || XPG3] (POLL_MSG): Likewise.
2122 [POSIX || XPG3] (POLL_ERR): Likewise.
2123 [POSIX || XPG3] (POLL_PRI): Likewise.
2124 [POSIX || XPG3] (POLL_HUP): Likewise.
2125 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2126 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2127 (SIG*): Do not allow.
2128 [XPG3] (si_*): Likewise.
2129 [XPG3] (SI_*): Likewise.
2130 [XPG3 || XPG4] (sigev_*): Likewise.
2131 [XPG3 || XPG4] (SIGEV_*): Likewise.
2132 [XPG3 || XPG4] (sival_*): Likewise.
2133 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2134 [POSIX || XPG3] (BUS_*): Likewise.
2135 [POSIX || XPG3] (CLD_*): Likewise.
2136 [POSIX || XPG3] (FPE_*): Likewise.
2137 [POSIX || XPG3] (ILL_*): Likewise.
2138 [POSIX || XPG3] (POLL_*): Likewise.
2139 [POSIX || XPG3] (SEGV_*): Likewise.
2140 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2141 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2142 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2143 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2144 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2145 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2146 Specify type and value.
2147 (TVERSLEN): Likewise.
2148 (REGTYPE): Likewise.
2149 (AREGTYPE): Likewise.
2150 (LNKTYPE): Likewise.
2151 (SYMTYPE): Likewise.
2152 (CHRTYPE): Likewise.
2153 (BLKTYPE): Likewise.
2154 (DIRTYPE): Likewise.
2155 (FIFOTYPE): Likewise.
2156 (CONTTYPE): Likewise.
2157 (TSUID): Likewise.
2158 (TSGID): Likewise.
2159 (TSVTX): Likewise.
2160 (TUREAD): Likewise.
2161 (TUWRITE): Likewise.
2162 (TUEXEC): Likewise.
2163 (TGREAD): Likewise.
2164 (TGWRITE): Likewise.
2165 (TGEXEC): Likewise.
2166 (TOREAD): Likewise.
2167 (TOWRITE): Likewise.
2168 (TOEXEC): Likewise.
2169 [POSIX] (TSVTX): Expect constant.
2170
aa97dee1
JM
21712014-03-06 Joseph Myers <joseph@codesourcery.com>
2172
f214606a
JM
2173 * Makefile (tests): Change dependencies to ....
2174 (tests-special): ... additions to this variable.
2175 (tests): Depend on $(tests-special).
2176 * Makerules (check-abi-list): New variable.
2177 (check-abi): Depend on $(check-abi-list).
2178 [$(subdir) = elf] (tests-special): Add
2179 $(objpfx)check-abi-libc.out.
2180 [$(build-shared) = yes && subdir] (tests-special): Add
2181 $(check-abi-list).
2182 [$(build-shared) = yes && subdir] (tests): Do not depend on
2183 check-abi.
2184 * Rules (tests): Depend on $(tests-special).
2185 (xtests): Depend on $(xtests-special).
2186 * catgets/Makefile (tests): Change dependencies to ....
2187 (tests-special): ... additions to this variable.
2188 * conform/Makefile (tests): Change dependencies to ....
2189 (tests-special): ... additions to this variable.
2190 * elf/Makefile (tests): Change dependencies to ....
2191 (tests-special): ... additions to this variable.
2192 * grp/Makefile (tests): Change dependencies to ....
2193 (tests-special): ... additions to this variable.
2194 * iconv/Makefile (xtests): Change dependencies to ....
2195 (xtests-special): ... additions to this variable.
2196 * iconvdata/Makefile (tests): Change dependencies to ....
2197 (tests-special): ... additions to this variable.
2198 * intl/Makefile (tests): Change dependencies to ....
2199 (tests-special): ... additions to this variable. Also add
2200 $(objpfx)tst-gettext.out.
2201 * io/Makefile (tests): Change dependencies to ....
2202 (tests-special): ... additions to this variable.
2203 * libio/Makefile (tests): Change dependencies to ....
2204 (tests-special): ... additions to this variable.
2205 * malloc/Makefile (tests): Change dependencies to ....
2206 (tests-special): ... additions to this variable.
2207 * misc/Makefile (tests): Change dependencies to ....
2208 (tests-special): ... additions to this variable.
2209 * nptl/Makefile (tests): Change dependencies to ....
2210 (tests-special): ... additions to this variable.
2211 * nptl_db/Makefile (tests): Change dependencies to ....
2212 (tests-special): ... additions to this variable.
2213 * posix/Makefile (tests): Change dependencies to ....
2214 (tests-special): ... additions to this variable.
2215 (xtests): Change dependencies to ....
2216 (xtests-special): ... additions to this variable.
2217 * resolv/Makefile (tests): Change dependencies to ....
2218 (tests-special): ... additions to this variable.
2219 (xtests): Change dependencies to ....
2220 (xtests-special): ... additions to this variable.
2221 * stdio-common/Makefile (tests): Change dependencies to ....
2222 (tests-special): ... additions to this variable.
2223 (do-tst-unbputc): Remove target.
2224 (do-tst-printf): Likewise.
2225 * stdlib/Makefile (tests): Change dependencies to ....
2226 (tests-special): ... additions to this variable.
2227 * string/Makefile (tests): Change dependencies to ....
2228 (tests-special): ... additions to this variable.
2229 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2230 (tests-special): ... additions to this variable.
2231
81700b53
JM
2232 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2233 whole file.
2234 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2235 whole file.
2236 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2237 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2238
2ea18461
JM
2239 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2240 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2241 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2242 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2243 * conform/data/libgen.h-data [XPG3]: Likewise.
2244 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2245 * conform/data/ndbm.h-data [XPG3]: Likewise.
2246 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2247 * conform/data/netdb.h-data [XPG3]: Likewise.
2248 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2249 * conform/data/poll.h-data [XPG3]: Likewise.
2250 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2251 * conform/data/strings.h-data [XPG3]: Likewise.
2252 * conform/data/stropts.h-data [XPG3]: Likewise.
2253 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2254 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2255 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2256 Likewise.
2257 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2258 * conform/data/sys/time.h-data [XPG3]: Likewise.
2259 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2260 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2261 * conform/data/sys/un.h-data [XPG3]: Likewise.
2262 * conform/data/syslog.h-data [XPG3]: Likewise.
2263 * conform/data/ucontext.h-data [XPG3]: Likewise.
2264 * conform/data/utmpx.h-data [XPG3]: Likewise.
2265 * conform/data/varargs.h-data [UNIX98]: Enable file.
2266
355bc986
JM
2267 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2268
215db402
JM
2269 * math/libm-test.inc (struct test_f_f_data): Move expected results
2270 into structure for each rounding mode.
2271 (struct test_ff_f_data): Likewise.
2272 (struct test_ff_f_data_nexttoward): Likewise.
2273 (struct test_fi_f_data): Likewise.
2274 (struct test_fl_f_data): Likewise.
2275 (struct test_if_f_data): Likewise.
2276 (struct test_fff_f_data): Likewise.
2277 (struct test_c_f_data): Likewise.
2278 (struct test_f_f1_data): Likewise.
2279 (struct test_fF_f1_data): Likewise.
2280 (struct test_ffI_f1_data): Likewise.
2281 (struct test_c_c_data): Likewise.
2282 (struct test_cc_c_data): Likewise.
2283 (struct test_f_i_data): Likewise.
2284 (struct test_ff_i_data): Likewise.
2285 (struct test_f_l_data): Likewise.
2286 (struct test_f_L_data): Likewise.
2287 (struct test_fFF_11_data): Likewise.
2288 (RM_): New macro.
2289 (RM_FE_DOWNWARD): Likewise.
2290 (RM_FE_TONEAREST): Likewise.
2291 (RM_FE_TOWARDZERO): Likewise.
2292 (RM_FE_UPWARD): Likewise.
2293 (RUN_TEST_LOOP_f_f): Update references to expected results.
2294 (RUN_TEST_LOOP_2_f): Likewise.
2295 (RUN_TEST_LOOP_fff_f): Likewise.
2296 (RUN_TEST_LOOP_c_f): Likewise.
2297 (RUN_TEST_LOOP_f_f1): Likewise.
2298 (RUN_TEST_LOOP_fF_f1): Likewise.
2299 (RUN_TEST_LOOP_fI_f1): Likewise.
2300 (RUN_TEST_LOOP_ffI_f1): Likewise.
2301 (RUN_TEST_LOOP_c_c): Likewise.
2302 (RUN_TEST_LOOP_cc_c): Likewise.
2303 (RUN_TEST_LOOP_f_i): Likewise.
2304 (RUN_TEST_LOOP_f_i_tg): Likewise.
2305 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2306 (RUN_TEST_LOOP_f_b): Likewise.
2307 (RUN_TEST_LOOP_f_b_tg): Likewise.
2308 (RUN_TEST_LOOP_f_l): Likewise.
2309 (RUN_TEST_LOOP_f_L): Likewise.
2310 (RUN_TEST_LOOP_fFF_11): Likewise.
2311 * math/gen-libm-test.pl (parse_args): Output four copies of
2312 expected results for each test.
2313
67737b8f
JM
2314 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2315 (__ASSUME_UTIMES): Remove.
2316 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2317 (__ASSUME_UTIMES): Likewise.
2318
aa97dee1
JM
2319 * math/gen-auto-libm-tests.c: Update comment on output format.
2320 (output_for_one_input_case): Generate before-rounding and
2321 after-rounding information as conditions on output flags not
2322 floating-point format.
2323 * math/auto-libm-test-out: Regenerated.
2324 * math/gen-libm-test.pl (cond_value): New function.
2325 (or_cond_value): Use cond_value.
2326 (generate_testfile): Handle conditional exceptions.
2327
e6b6a857
JM
23282014-03-05 Joseph Myers <joseph@codesourcery.com>
2329
2f0a0f44
JM
2330 * math/libm-test.inc (max_valid_error): New variable.
2331 (init_max_error): Take new argument specifying whether function
2332 results are exactly determined. Set max_valid_error and bound
2333 other variables for errors based on this argument.
2334 (set_max_error): Do not record results above max_valid_error.
2335 (check_float_internal): Only accept errors of up to 0.5ulps if
2336 also at most max_valid_error.
2337 (START): Take new argument EXACT and pass it to init_max_error.
2338 (acos_test): Update call to START.
2339 (acos_test_tonearest): Likewise.
2340 (acos_test_towardzero): Likewise.
2341 (acos_test_downward): Likewise.
2342 (acos_test_upward): Likewise.
2343 (acosh_test): Likewise.
2344 (asin_test): Likewise.
2345 (asin_test_tonearest): Likewise.
2346 (asin_test_towardzero): Likewise.
2347 (asin_test_downward): Likewise.
2348 (asin_test_upward): Likewise.
2349 (asinh_test): Likewise.
2350 (atan_test): Likewise.
2351 (atanh_test): Likewise.
2352 (atan2_test): Likewise.
2353 (cabs_test): Likewise.
2354 (cacos_test): Likewise.
2355 (cacosh_test): Likewise.
2356 (carg_test): Likewise.
2357 (casin_test): Likewise.
2358 (casinh_test): Likewise.
2359 (catan_test): Likewise.
2360 (catanh_test): Likewise.
2361 (cbrt_test): Likewise.
2362 (ccos_test): Likewise.
2363 (ccosh_test): Likewise.
2364 (ceil_test): Likewise.
2365 (cexp_test): Likewise.
2366 (cimag_test): Likewise.
2367 (clog_test): Likewise.
2368 (clog10_test): Likewise.
2369 (conj_test): Likewise.
2370 (copysign_test): Likewise.
2371 (cos_test): Likewise.
2372 (cos_test_tonearest): Likewise.
2373 (cos_test_towardzero): Likewise.
2374 (cos_test_downward): Likewise.
2375 (cos_test_upward): Likewise.
2376 (cosh_test): Likewise.
2377 (cosh_test_tonearest): Likewise.
2378 (cosh_test_towardzero): Likewise.
2379 (cosh_test_downward): Likewise.
2380 (cosh_test_upward): Likewise.
2381 (cpow_test): Likewise.
2382 (cproj_test): Likewise.
2383 (creal_test): Likewise.
2384 (csin_test): Likewise.
2385 (csinh_test): Likewise.
2386 (csqrt_test): Likewise.
2387 (ctan_test): Likewise.
2388 (ctan_test_tonearest): Likewise.
2389 (ctan_test_towardzero): Likewise.
2390 (ctan_test_downward): Likewise.
2391 (ctan_test_upward): Likewise.
2392 (ctanh_test): Likewise.
2393 (ctanh_test_tonearest): Likewise.
2394 (ctanh_test_towardzero): Likewise.
2395 (ctanh_test_downward): Likewise.
2396 (ctanh_test_upward): Likewise.
2397 (erf_test): Likewise.
2398 (erfc_test): Likewise.
2399 (exp_test): Likewise.
2400 (exp_test_tonearest): Likewise.
2401 (exp_test_towardzero): Likewise.
2402 (exp_test_downward): Likewise.
2403 (exp_test_upward): Likewise.
2404 (exp10_test): Likewise.
2405 (exp10_test_tonearest): Likewise.
2406 (exp10_test_towardzero): Likewise.
2407 (exp10_test_downward): Likewise.
2408 (exp10_test_upward): Likewise.
2409 (pow10_test): Likewise.
2410 (exp2_test): Likewise.
2411 (expm1_test): Likewise.
2412 (expm1_test_tonearest): Likewise.
2413 (expm1_test_towardzero): Likewise.
2414 (expm1_test_downward): Likewise.
2415 (expm1_test_upward): Likewise.
2416 (fabs_test): Likewise.
2417 (fdim_test): Likewise.
2418 (floor_test): Likewise.
2419 (fma_test): Likewise.
2420 (fma_test_towardzero): Likewise.
2421 (fma_test_downward): Likewise.
2422 (fma_test_upward): Likewise.
2423 (fmax_test): Likewise.
2424 (fmin_test): Likewise.
2425 (fmod_test): Likewise.
2426 (fpclassify_test): Likewise.
2427 (frexp_test): Likewise.
2428 (hypot_test): Likewise.
2429 (ilogb_test): Likewise.
2430 (isfinite_test): Likewise.
2431 (finite_test): Likewise.
2432 (isgreater_test): Likewise.
2433 (isgreaterequal_test): Likewise.
2434 (isinf_test): Likewise.
2435 (isless_test): Likewise.
2436 (islessequal_test): Likewise.
2437 (islessgreater_test): Likewise.
2438 (isnan_test): Likewise.
2439 (isnormal_test): Likewise.
2440 (issignaling_test): Likewise.
2441 (isunordered_test): Likewise.
2442 (j0_test): Likewise.
2443 (j1_test): Likewise.
2444 (jn_test): Likewise.
2445 (ldexp_test): Likewise.
2446 (lgamma_test): Likewise.
2447 (gamma_test): Likewise.
2448 (lrint_test): Likewise.
2449 (lrint_test_tonearest): Likewise.
2450 (lrint_test_towardzero): Likewise.
2451 (lrint_test_downward): Likewise.
2452 (lrint_test_upward): Likewise.
2453 (llrint_test): Likewise.
2454 (llrint_test_tonearest): Likewise.
2455 (llrint_test_towardzero): Likewise.
2456 (llrint_test_downward): Likewise.
2457 (llrint_test_upward): Likewise.
2458 (log_test): Likewise.
2459 (log10_test): Likewise.
2460 (log1p_test): Likewise.
2461 (log2_test): Likewise.
2462 (logb_test): Likewise.
2463 (logb_test_downward): Likewise.
2464 (lround_test): Likewise.
2465 (llround_test): Likewise.
2466 (modf_test): Likewise.
2467 (nearbyint_test): Likewise.
2468 (nextafter_test): Likewise.
2469 (nexttoward_test): Likewise.
2470 (pow_test): Likewise.
2471 (pow_test_tonearest): Likewise.
2472 (pow_test_towardzero): Likewise.
2473 (pow_test_downward): Likewise.
2474 (pow_test_upward): Likewise.
2475 (remainder_test): Likewise.
2476 (drem_test): Likewise.
2477 (remainder_test_tonearest): Likewise.
2478 (drem_test_tonearest): Likewise.
2479 (remainder_test_towardzero): Likewise.
2480 (drem_test_towardzero): Likewise.
2481 (remainder_test_downward): Likewise.
2482 (drem_test_downward): Likewise.
2483 (remainder_test_upward): Likewise.
2484 (drem_test_upward): Likewise.
2485 (remquo_test): Likewise.
2486 (rint_test): Likewise.
2487 (rint_test_tonearest): Likewise.
2488 (rint_test_towardzero): Likewise.
2489 (rint_test_downward): Likewise.
2490 (rint_test_upward): Likewise.
2491 (round_test): Likewise.
2492 (scalb_test): Likewise.
2493 (scalbn_test): Likewise.
2494 (scalbln_test): Likewise.
2495 (signbit_test): Likewise.
2496 (sin_test): Likewise.
2497 (sin_test_tonearest): Likewise.
2498 (sin_test_towardzero): Likewise.
2499 (sin_test_downward): Likewise.
2500 (sin_test_upward): Likewise.
2501 (sincos_test): Likewise.
2502 (sinh_test): Likewise.
2503 (sinh_test_tonearest): Likewise.
2504 (sinh_test_towardzero): Likewise.
2505 (sinh_test_downward): Likewise.
2506 (sinh_test_upward): Likewise.
2507 (sqrt_test): Likewise.
2508 (sqrt_test_tonearest): Likewise.
2509 (sqrt_test_towardzero): Likewise.
2510 (sqrt_test_downward): Likewise.
2511 (sqrt_test_upward): Likewise.
2512 (tan_test): Likewise.
2513 (tan_test_tonearest): Likewise.
2514 (tan_test_towardzero): Likewise.
2515 (tan_test_downward): Likewise.
2516 (tan_test_upward): Likewise.
2517 (tanh_test): Likewise.
2518 (tgamma_test): Likewise.
2519 (trunc_test): Likewise.
2520 (y0_test): Likewise.
2521 (y1_test): Likewise.
2522 (yn_test): Likewise.
2523 (significand_test): Likewise.
2524
e6b6a857
JM
2525 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2526 individual tests in comment.
2527 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2528 (prev_max_error): New variable.
2529 (prev_real_max_error): Likewise.
2530 (prev_imag_max_error): Likewise.
2531 (compare_ulp_data): Don't refer to test names in comment.
2532 (find_test_ulps): Remove function.
2533 (find_function_ulps): Likewise.
2534 (find_complex_function_ulps): Likewise.
2535 (init_max_error): Take function name as argument. Look up ulps
2536 for that function.
2537 (print_ulps): Remove function.
2538 (print_max_error): Use prev_max_error instead of calling
2539 find_function_ulps.
2540 (print_complex_max_error): Use prev_real_max_error and
2541 prev_imag_max_error instead of calling find_complex_function_ulps.
2542 (check_float_internal): Take max_ulp parameter instead of calling
2543 find_test_ulps. Don't call print_ulps.
2544 (check_float): Update call to check_float_internal.
2545 (check_complex): Update calls to check_float_internal.
2546 (START): Pass argument to init_max_error.
2547 * math/gen-libm-test.pl (%results): Don't include "kind"
2548 information.
2549 (parse_ulps): Don't handle ulps of individual tests.
2550 (print_ulps_file): Likewise.
2551 (output_ulps): Likewise.
2552 * math/README.libm-test: Update.
2553 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2554 individual tests.
2555 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2556 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2557 * sysdeps/arm/libm-test-ulps: Likewise.
2558 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2559 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2560 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2561 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2562 * sysdeps/microblaze/libm-test-ulps: Likewise.
2563 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2564 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2565 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2566 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2567 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2568 * sysdeps/sh/libm-test-ulps: Likewise.
2569 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2570 * sysdeps/tile/libm-test-ulps: Likewise.
2571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2572
45adef3c
JM
25732014-03-04 Joseph Myers <joseph@codesourcery.com>
2574
2575 * math/libm-test.inc (print_complex_max_error): Check separately
2576 whether real and imaginary errors are within allowed range and
2577 pass 0 to print_complex_function_ulps instead of value within
2578 allowed range.
2579
000232b9
SP
25802014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2581
d4b17258
SP
2582 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2583 formatting.
2584 (get_handles_fopen): Likewise.
2585 (do_write_test): Likewise.
2586
091eff71
SP
2587 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2588
fa3cd248
SP
2589 * libio/fileops.c (do_ftell): Use cached offset when
2590 available.
2591 * libio/iofwide.c (do_ftell_wide): Likewise.
2592 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2593 _IO_file_attach.
2594 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2595
000232b9
SP
2596 [BZ #16532]
2597 * libio/libioP.h (get_file_offset): New function.
2598 * libio/fileops.c (get_file_offset): Likewise.
2599 (do_ftell): Likewise.
2600 (_IO_new_file_seekoff): Split out ftell logic.
2601 * libio/wfileops.c (do_ftell_wide): Likewise.
2602 (_IO_wfile_seekoff): Split out ftell logic.
2603 * libio/tst-ftell-active-handler.c: New test case.
2604 * libio/Makefile (tests): Add it.
2605
116f4d1a
RM
26062014-03-03 Roland McGrath <roland@hack.frob.com>
2607
2608 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2609 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2610
532a6035
SP
26112014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2612
2613 [BZ #16639]
2614 * nscd/connections.c (nscd_init): Call do_exit.
2615 (start_threads): Call do_exit and notify_parent.
2616 (begin_drop_privileges): Call do_exit.
2617 (finish_drop_privileges): Likewise.
2618 * nscd/selinux.c (preserve_capabilities): Likewise.
2619 (install_real_capabilities): Likewise.
2620 (nscd_selinux_enabled): Likewise.
2621 (avc_create_thread): Likewise.
2622 (avc_alloc_lock): Likewise.
2623 (nscd_avc_init): Likewise.
2624 * nscd/nscd.c (parent_fd): New static variable.
2625 (main): Create a pipe between parent and child processes.
2626 Skip closing parent_fd.
2627 (monitor_child): New function.
2628 (do_exit): Likewise.
2629 (notify_parent): Likewise.
2630 * nscd/nscd.h (notify_parent): Likewise.
2631 (do_exit): Likewise.
2632
d6285c9f
CD
26332014-03-03 Carlos O'Donell <carlos@redhat.com>
2634
2635 * malloc/malloc.c (__libc_calloc): Revert last change.
2636
2b85d2a0
AZ
26372014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2638
2639 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2640
c7debbdf
RS
26412014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2642
2643 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2644 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2645 implementation.
2646 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2647 (__libc_ifunc_impl_list): Likewise.
2648 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2649 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2650 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2651 * string/strrchr.c: Define STRRCHR.
2652
235eed86
OB
26532014-02-28 Ondřej Bílka <neleai@seznam.cz>
2654
2655 * benchtest/bench-strtok.c (simple_strtok): Delete.
2656 (strtok_string): Use as benchmark.
2657 * string/strtok (STRTOK): New macro.
2658
8e25d1e7
CD
26592014-02-28 Carlos O'Donell <carlos@redhat.com>
2660
ef563f92
CD
2661 * manual/threads.texi: Add header and standard comments to all
2662 functions.
2663
8e25d1e7
CD
2664 * elf/dl-lookup.c (check_match): New function.
2665 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2666 (do_lookup_x): Remove nested function check_match. Use non-nested
2667 function check_match.
2668
ff71cc37
RM
26692014-02-28 Roland McGrath <roland@hack.frob.com>
2670
f08e9a26
RM
2671 * csu/Makefile (generated, before-compile): Use += rather than =.
2672 * catgets/Makefile (generated, generated-dirs): Likewise.
2673 * debug/Makefile (generated): Likewise.
2674 * dlfcn/Makefile (generated): Likewise.
2675 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2676 * iconvdata/Makefile (before-compile, generated): Likewise.
2677 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2678 * libio/Makefile (generated): Likewise.
2679 * malloc/Makefile (generated): Likewise.
2680 * manual/Makefile (generated, generated-dirs): Likewise.
2681 * misc/Makefile (generated): Likewise.
2682 * posix/Makefile (generated): Likewise.
2683 * resolv/Makefile (generated): Likewise.
2684 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2685 * timezone/Makefile (generated, generated-dirs): Likewise.
2686
ff71cc37
RM
2687 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2688
fe13a20c
AZ
26892014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2690
2691 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2692 implementation.
2693 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2694 POWER8 llround ifunc implementation.
2695 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2696 POWER8 implementation.
2697 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2698 POWER8 llround implementation.
2699
1ad8950a
AZ
27002014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2701
2702 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2703 implementation.
2704 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2705 POWER8 llrint ifunc implementation.
2706 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2707 POWER8 implementation.
2708 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2709 POWER8 llrint implementation.
2710
cac626d6
AZ
27112014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2712
2713 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2714 implementation.
2715 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2716 POWER8 finite ifunc implementation.
2717 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2718 POWER8 implementation.
2719 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2720 Likewise.
2721 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2722 POWER8 finite implementation.
2723 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2724
4393fc11
AZ
27252014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2726
2727 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2728 implementation.
2729 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2730 POWER8 isinf ifunc implementation.
2731 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2732 POWER8 implementation.
2733 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2734 Likewise.
2735 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2736 POWER8 isinf implementation.
2737 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2738
487972ae
AZ
27392014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2740
2741 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2742 Add hwcap2 initialization.
2743 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2744 implementation.
2745 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2746 POWER8 isnan ifunc implementation.
2747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2748 POWER8 implementation.
2749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2750 Likewise.
2751 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2752 POWER8 isnan implementation.
2753 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2754
7d92b787
JY
27552014-02-27 Joey Ye <joey.ye@arm.com>
2756
2757 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2758 (_FP_NANFRAC_Q): Set to zero.
2759
1cadc858
SP
27602014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2761
2762 [BZ #16623]
2763 * math/auto-libm-test-in: New test inputs.
2764 * math/auto-libm-test-out: Regenerate.
2765 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2766 and DA.
2767 (__cos): Likewise.
2768 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2769
f8c17e79
JM
27702014-02-27 Joseph Myers <joseph@codesourcery.com>
2771
2772 * scripts/evaluate-test.sh: Take new argument indicating whether
2773 failure is expected.
2774 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2775 indicating whether failure is expected.
2776 * conform/Makefile (test-xfail-run-conformtest): New variable.
2777 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2778 level.
2779 * posix/Makefile (test-xfail-annexc): New variable.
2780 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2781
a5f891ac
JM
27822014-02-26 Joseph Myers <joseph@codesourcery.com>
2783
2784 * argp/Makefile: Include Makeconfig immediately after defining
2785 subdir.
2786 * assert/Makefile: Likewise.
2787 * benchtests/Makefile: Likewise.
2788 * catgets/Makefile: Likewise.
2789 * conform/Makefile: Likewise.
2790 * crypt/Makefile: Likewise.
2791 * csu/Makefile: Likewise.
2792 (all): Remove target.
2793 * ctype/Makefile: Include Makeconfig immediately after defining
2794 subdir.
2795 * debug/Makefile: Likewise.
2796 * dirent/Makefile: Likewise.
2797 * dlfcn/Makefile: Likewise.
2798 * gmon/Makefile: Likewise.
2799 * gnulib/Makefile: Likewise.
2800 * grp/Makefile: Likewise.
2801 * gshadow/Makefile: Likewise.
2802 * hesiod/Makefile: Likewise.
2803 * hurd/Makefile: Likewise.
2804 (all): Remove target.
2805 * iconvdata/Makefile: Include Makeconfig immediately after
2806 defining subdir.
2807 * inet/Makefile: Likewise.
2808 * intl/Makefile: Likewise.
2809 * io/Makefile: Likewise.
2810 * libio/Makefile: Likewise.
2811 (all): Remove target.
2812 * locale/Makefile: Include Makeconfig immediately after defining
2813 subdir.
2814 * login/Makefile: Likewise.
2815 * mach/Makefile: Likewise.
2816 (all): Remove target.
2817 * malloc/Makefile: Include Makeconfig immediately after defining
2818 subdir.
2819 (all): Remove target.
2820 * manual/Makefile: Include Makeconfig immediately after defining
2821 subdir.
2822 * math/Makefile: Likewise.
2823 * misc/Makefile: Likewise.
2824 * nis/Makefile: Likewise.
2825 * nss/Makefile: Likewise.
2826 * po/Makefile: Likewise.
2827 (all): Remove target.
2828 * posix/Makefile: Include Makeconfig immediately after defining
2829 subdir.
2830 * pwd/Makefile: Likewise.
2831 * resolv/Makefile: Likewise.
2832 * resource/Makefile: Likewise.
2833 * rt/Makefile: Likewise.
2834 * setjmp/Makefile: Likewise.
2835 * shadow/Makefile: Likewise.
2836 * signal/Makefile: Likewise.
2837 * socket/Makefile: Likewise.
2838 * soft-fp/Makefile: Likewise.
2839 * stdio-common/Makefile: Likewise.
2840 * stdlib/Makefile: Likewise.
2841 * streams/Makefile: Likewise.
2842 * string/Makefile: Likewise.
2843 * sunrpc/Makefile: Likewise.
2844 (all): Remove target.
2845 * sysvipc/Makefile: Include Makeconfig immediately after defining
2846 subdir.
2847 * termios/Makefile: Likewise.
2848 * time/Makefile: Likewise.
2849 * timezone/Makefile: Likewise.
2850 (all): Remove target.
2851 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2852 subdir.
2853 * wctype/Makefile: Likewise.
2854
5b456e9d
SE
28552014-02-26 Steve Ellcey <sellcey@mips.com>
2856
2857 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2858 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2859 (libc_feholdexcept_setround_mips): Ditto.
2860 (libc_feholdsetround): New.
2861 (libc_feholdsetroundf): New.
2862 (libc_feholdsetroundl): New.
2863 (libc_feupdateenv_test_mips): New.
2864 (libc_feupdateenv_test): New.
2865 (libc_feupdateenv_testf): New.
2866 (libc_feupdateenv_testl): New.
2867 (libc_feresetround): New.
2868 (libc_feresetroundf): New.
2869 (libc_feresetroundl): New.
2870 (libc_fetestexcept_mips): New.
2871 (libc_fetestexcept): New.
2872 (libc_fetestexceptf): New.
2873 (libc_fetestexceptl): New.
2874 (HAVE_RM_CTX): New.
2875 (libc_feholdexcept_setround_mips_ctx): New.
2876 (libc_feholdexcept_setround_ctx): New.
2877 (libc_feholdexcept_setroundf_ctx): New.
2878 (libc_feholdexcept_setroundl_ctx): New.
2879 (libc_fesetenv_mips_ctx): New.
2880 (libc_fesetenv_ctx): New.
2881 (libc_fesetenv_ctxf): New.
2882 (libc_fesetenv_ctxl): New.
2883 (libc_feupdateenv_mips_ctx): New.
2884 (libc_feupdateenv_ctx): New.
2885 (libc_feupdateenvf_ctx): New.
2886 (libc_feupdateenvl_ctx): New.
2887 (libc_feholdsetround_mips_ctx): New.
2888 (libc_feholdsetround_ctx): New.
2889 (libc_feholdsetroundf_ctx): New.
2890 (libc_feholdsetroundl_ctx): New.
2891 (libc_feresetround_mips_ctx): New.
2892 (libc_feresetround_ctx): New.
2893 (libc_feresetroundf_ctx): New.
2894 (libc_feresetroundl_ctx): New.
2895
085d0e35
CD
28962014-02-26 Carlos O'Donell <carlos@redhat.com>
2897
f067bf1f
CD
2898 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2899
085d0e35
CD
2900 * manual/ipc.texi: New file.
2901 * manual/Makefile (chapters): Add ipc.
2902 * manual/job.texi: Add "Inter-Process Communication" to next.
2903 * manual/process.texi: Add "Inter-Process Communication" to prev.
2904
86e58c08
AZ
29052014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2906
2907 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2908
4248f0da
OB
29092014-02-26 Ondřej Bílka <neleai@seznam.cz>
2910
2911 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2912
cf822e3c
OB
2913 * manual/arith.texi: Fix spaces after sentences.
2914 * manual/charset.texi: Likewise.
2915 * manual/errno.texi: Likewise.
2916 * manual/install.texi: Likewise.
2917 * manual/llio.texi: Likewise.
2918 * manual/locale.texi: Likewise.
2919 * manual/maint.texi: Likewise.
2920 * manual/math.texi: Likewise.
2921 * manual/memory.texi: Likewise.
2922 * manual/message.texi: Likewise.
2923 * manual/probes.texi: Likewise.
2924 * manual/resource.texi: Likewise.
2925 * manual/signal.texi: Likewise.
2926 * manual/socket.texi: Likewise.
2927 * manual/stdio.texi: Likewise.
2928 * manual/string.texi: Likewise.
2929 * manual/time.texi: Likewise.
2930 * manual/users.texi: Likewise.
2931
ade40b10
CD
29322014-02-25 Carlos O'Donell <carlos@redhat.com>
2933
2934 [BZ #16632]
2935 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2936 _DEFAULT_SOURCE is defined.
2937
d0503676
CD
29382014-02-25 Ulrich Drepper <drepper@gmail.com>
2939 Carlos O'Donell <carlos@redhat.com>
2940
2941 [BZ #16613]
2942 * elf/dl-tls.c (_dl_count_modids): New function.
2943 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2944 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2945 audit library and increment generation counter.
2946 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2947 * elf/tst-audit9.c: New file.
2948 * elf/tst-auditmod9a.c: New file.
2949 * elf/tst-auditmod9b.c: New file.
2950 * elf/Makefile: Add rules to build and run tst-audit9.
2951
4cbf380c
FW
29522014-02-25 Florian Weimer <fweimer@redhat.com>
2953
2954 [BZ #15347]
2955 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2956
80a56cc3
WN
29572014-02-25 Will Newton <will.newton@linaro.org>
2958
2959 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
2960 (__longjmp): Restore sp and lr before restoring callee
2961 saved registers. Add longjmp and longjmp_target
2962 SystemTap probe point.
2963 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
2964 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
2965 Define to zero to match jmpbuf layout.
2966 * sysdeps/arm/setjmp.S: Include stap-probe.h.
2967 (__sigsetjmp): Save sp and lr before saving callee
2968 saved registers. Add setjmp SystemTap probe point.
2969
3ea0f74e
SL
29702014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
2971
2972 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
2973
b04acb26
AS
29742014-02-24 Andreas Schwab <schwab@suse.de>
2975
2976 [BZ #15804]
2977 * elf/pldd.c (wait_for_ptrace_stop): New function.
2978 (main): Call it after attaching.
2979
098ad55c
RM
29802014-02-22 Roland McGrath <roland@hack.frob.com>
2981
d4ec6ae1
RM
2982 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
2983 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
2984 Versions files is now verboten.
2985 * hurd/Versions (libc: GLIBC_2.0):
2986 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
2987 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
2988 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
2989 * mach/Versions: Likewise.
2990
098ad55c
RM
2991 * csu/Versions: Remove unused %include.
2992 * resolv/Versions: Likewise.
2993
acd7f096
JM
29942014-02-21 Joseph Myers <joseph@codesourcery.com>
2995
f0881698
JM
2996 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
2997 ($(objpfx)check-local-headers.out): Likewise.
2998 ($(objpfx)begin-end-check.out): Likewise.
2999 * Makerules (check-abi-%.out): Likewise.
3000 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3001 ($(objpfx)test2.cat): Likewise.
3002 ($(objpfx)de/libc.cat): Likewise.
3003 ($(objpfx)test-gencat.out): Likewise.
3004 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3005 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3006 ($(objpfx)noload-mem): Likewise.
3007 ($(objpfx)tst-pathopt.out): Likewise.
3008 ($(objpfx)tst-rtld-load-self.out): Likewise.
3009 ($(objpfx)tst-array1-cmp.out): Likewise.
3010 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3011 ($(objpfx)tst-array2-cmp.out): Likewise.
3012 ($(objpfx)tst-array3-cmp.out): Likewise.
3013 ($(objpfx)tst-array4-cmp.out): Likewise.
3014 ($(objpfx)tst-array5-cmp.out): Likewise.
3015 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3016 ($(objpfx)check-textrel.out): Likewise.
3017 ($(objpfx)check-execstack.out): Likewise.
3018 ($(objpfx)check-localplt.out): Likewise.
3019 ($(objpfx)order2-cmp.out): Likewise.
3020 ($(objpfx)tst-leaks1-mem): Likewise.
3021 ($(objpfx)tst-leaks1-static-mem): Likewise.
3022 ($(objpfx)tst-initorder-cmp.out): Likewise.
3023 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3024 ($(objpfx)tst-unused-dep.out): Likewise.
3025 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3026 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3027 * iconv/Makefile (test-iconvconfig): Likewise.
3028 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3029 ($(objpfx)iconv-test.out): Likewise.
3030 ($(objpfx)tst-tables.out): Likewise.
3031 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3032 ($(objpfx)tst-gettext.out): Likewise.
3033 ($(objpfx)tst-translit.out): Likewise.
3034 ($(objpfx)tst-gettext2.out): Likewise.
3035 ($(objpfx)tst-gettext4.out): Likewise.
3036 ($(objpfx)tst-gettext6.out): Likewise.
3037 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3038 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3039 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3040 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3041 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3042 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3043 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3044 ($(objpfx)wordexp-tst.out): Likewise.
3045 ($(objpfx)annexc.out): Likewise.
3046 ($(objpfx)tst-fnmatch-mem): Likewise.
3047 ($(objpfx)bug-regex2-mem): Likewise.
3048 ($(objpfx)bug-regex14-mem): Likewise.
3049 ($(objpfx)bug-regex21-mem): Likewise.
3050 ($(objpfx)bug-regex31-mem): Likewise.
3051 ($(objpfx)tst-vfork3-mem): Likewise.
3052 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3053 ($(objpfx)tst-pcre-mem): Likewise.
3054 ($(objpfx)tst-boost-mem): Likewise.
3055 ($(objpfx)tst-getconf.out): Likewise.
3056 ($(objpfx)bug-ga2-mem): Likewise.
3057 ($(objpfx)bug-glob2-mem): Likewise.
3058 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3059 ($(objpfx)mtrace-tst-leaks2): Likewise.
3060 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3061 ($(objpfx)tst-printf.out): Likewise.
3062 ($(objpfx)tst-setvbuf1.out): Likewise.
3063 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3064 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3065 ($(objpfx)tst-fmtmsg.out): Likewise.
3066 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3067 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3068
acd7f096
JM
3069 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3070 * bits/sigaction.h [__USE_MISC]: Likewise.
3071 * bits/waitstatus.h: Update #endif comments.
3072 * ctype/ctype.h: Likewise.
3073 * dirent/dirent.h: Likewise.
3074 [__USE_MISC]: Remove redundant conditionals.
3075 * grp/grp.h: Update #endif comments.
3076 [__USE_GNU]: Remove redundant conditionals.
3077 [__USE_MISC]: Likewise.
3078 * inet/netinet/in.h [__USE_GNU]: Likewise.
3079 * io/sys/stat.h [__USE_MISC]: Likewise.
3080 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3081 * libio/bits/stdio.h: Update #endif comments.
3082 [__USE_MISC]: Remove redundant conditionals.
3083 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3084 * libio/stdio.h: Update #endif comments.
3085 [__USE_MISC]: Remove redundant conditionals.
3086 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3087 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3088 * math/math.h: Update #else and #endif comments.
3089 [__USE_MISC]: Remove redundant conditionals.
3090 * misc/sys/uio.h: Update #endif comments.
3091 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3092 * posix/glob.h [__USE_MISC]: Likewise.
3093 * posix/sys/types.h: Update #endif comments.
3094 [__USE_MISC]: Remove redundant conditionals.
3095 * posix/sys/wait.h: Update #endif comments.
3096 [__USE_MISC]: Remove redundant conditionals.
3097 * posix/unistd.h: Update #endif comments.
3098 [__USE_MISC]: Remove redundant conditionals.
3099 * pwd/pwd.h [__USE_GNU]: Likewise.
3100 [__USE_MISC]: Likewise.
3101 * resolv/netdb.h [__USE_GNU]: Likewise.
3102 * signal/signal.h: Update #endif comments.
3103 [__USE_MISC]: Remove redundant conditionals.
3104 * stdlib/stdlib.h: Update #else and #endif comments.
3105 [__USE_MISC]: Remove redundant conditionals.
3106 [__USE_GNU]: Likewise.
3107 * string/bits/string2.h [__USE_MISC]: Likewise.
3108 * string/string.h: Update #endif comments.
3109 [__USE_MISC]: Remove redundant conditionals.
3110 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3111 Likewise.
3112 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3113 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3114 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3115 Likewise.
3116 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3117 Likewise.
3118 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3119 comments.
3120 [__USE_MISC]: Remove redundant conditionals.
3121 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3122 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3123 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3124 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3125 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3126 Likewise.
3127 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3128 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3129 Likewise.
3130 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3131 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3132 Likewise.
3133 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3134 Likewise.
3135 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3136 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3137 Likewise.
3138 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3139 Likewise.
3140 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3141 * sysdeps/x86/bits/string.h: Update #endif comments.
3142 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3143 conditionals.
3144 * time/sys/time.h: Update #endif comments.
3145 * time/time.h: Likewise.
3146 [__USE_MISC]: Remove redundant conditionals.
3147
a5d82e4e
YG
31482014-02-21 Yury Gribov <y.gribov@samsung.com>
3149
3150 [BZ #16600]
3151 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3152
9a80491d
AS
31532014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3154
3155 * Versions.def (librt): Add GLIBC_2.17.
3156
105fa381
AC
31572014-02-21 Adam Conrad <adconrad@0c3.net>
3158
3159 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3160 synonym for _SYS_AUXV_H to allow direct inclusion.
3161 * sysdeps/sparc/bits/hwcap.h: Likewise.
3162 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3163 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3164 * sysdeps/sparc/sysdep.h: Likewise.
3165
b8cd1c4e
SP
31662014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3167
3168 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3169
bd939d23
RS
31702014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3171
3172 * benchtests/bench-strrchr.c: Print length instead of position.
3173
5d7b57ca
JM
31742014-02-20 Joseph Myers <joseph@codesourcery.com>
3175
bc688c10
JM
3176 [BZ #16611]
3177 * sysdeps/unix/sysv/linux/kernel-features.h
3178 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3179 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3180 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3181 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3182 Likewise.
3183 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3184 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3185 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3186 (__ASSUME_SENDMMSG): Define instead of using previous
3187 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3188 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3189 (__ASSUME_SENDMMSG_SYSCALL): Define.
3190 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3191 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3192 Likewise.
3193 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3194 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3195 Likewise.
3196 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3197 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3198 Likewise.
3199 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3200 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3201 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3202 [__ASSUME_SENDMMSG]: Change conditionals to
3203 [__ASSUME_SENDMMSG_SOCKETCALL].
3204 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3205 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3206 Define.
3207 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3208 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3209 Likewise.
3210 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3211 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3212 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3213 [!__ASSUME_SENDMMSG]: Change conditional to
3214 [!__ASSUME_SENDMMSG_SOCKETCALL].
3215 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3216 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3217 Define.
3218
0e31b18c
JM
3219 [BZ #16610]
3220 * sysdeps/unix/sysv/linux/kernel-features.h
3221 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3222 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3223 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3224 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3225 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3226 [__i386__ || __sparc__]
3227 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3228 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3229 (__ASSUME_RECVMMSG): Define instead of using previous
3230 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3231 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3232 (__ASSUME_RECVMMSG_SYSCALL): Define.
3233 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3234 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3235 Likewise.
3236 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3237 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3238 Likewise.
3239 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3240 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3241 Likewise.
3242 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3243 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3244 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3245 [__ASSUME_RECVMMSG]: Change condition to
3246 [__ASSUME_RECVMMSG_SOCKETCALL].
3247 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3248 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3249 Define.
3250 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3251 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3252 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3253 Likewise.
3254 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3255 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3256 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3257 [!__ASSUME_RECVMMSG]: Change condition to
3258 [!__ASSUME_RECVMMSG_SOCKETCALL].
3259 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3260 (__ASSUME_RECVMMSG_SYSCALL): Define.
3261
dd481ccf
JM
3262 [BZ #16609]
3263 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3264 __powerpc__ || __s390__ || __sh__ || __sparc__]
3265 (__ASSUME_SOCKETCALL): Define.
3266 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3267 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3268 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3269 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3270 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3271 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3272 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3273 (__ASSUME_ACCEPT4): Define instead of using previous
3274 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3275 __powerpc__ || __sparc__ || __s390__)] condition.
3276 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3277 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3278 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3279 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3280 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3281 [!__ASSUME_ACCEPT4]: Change condition to
3282 [!__ASSUME_ACCEPT4_SOCKETCALL].
3283 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3284 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3285 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3286 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3287 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3288 __ASSUME_ACCEPT4_SYSCALL.
3289 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3290 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3291 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3292 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3293 __ASSUME_ACCEPT4_SYSCALL.
3294 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3295 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3296 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3297 [__ASSUME_ACCEPT4]: Change condition to
3298 [__ASSUME_ACCEPT4_SOCKETCALL].
3299 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3300 (__ASSUME_SOCKETCALL): Define.
3301 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3302 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3303 (__ASSUME_SOCKETCALL): Define.
3304 (__ASSUME_ACCEPT4): Remove.
3305 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3306 Define.
3307 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3308 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3309 Likewise.
3310 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3311 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3312
5d7b57ca
JM
3313 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3314 macro.
3315 (HWCAP_ARM_LPAE): Likewise.
3316 (HWCAP_ARM_EVTSTRM): Likewise.
3317 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3318 Add vpfd32, lpae and evtstrm.
3319 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3320 Increase to 22.
3321
63689d61
JM
33222014-02-19 Joseph Myers <joseph@codesourcery.com>
3323
3324 * math/auto-libm-test-in: Add tests of clog10.
3325 * math/auto-libm-test-out: Regenerated.
3326 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3327 * sysdeps/i386/fpu/libm-test-ulps: Update.
3328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3329
ab09bf61
AS
33302014-02-18 Andreas Schwab <schwab@suse.de>
3331
3332 [BZ #16574]
3333 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3334 Store non-zero if the second buffer was newly allocated.
3335 (send_dg): Likewise.
3336 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3337 to send_vc and send_dg.
3338 (res_nsend): Pass NULL for ansp2_malloced.
3339 * resolv/res_query.c (__libc_res_nquery): Add parameter
3340 answerp2_malloced and pass it down to __libc_res_nsend.
3341 (res_nquery): Pass additional NULL to __libc_res_nquery.
3342 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3343 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3344 second answer buffer if answerp2_malloced was set.
3345 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3346 (__libc_res_nquerydomain): Add parameter
3347 answerp2_malloced and pass it down to __libc_res_nquery.
3348 (res_nquerydomain): Pass additional NULL to
3349 __libc_res_nquerydomain.
3350 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3351 additional NULL to __libc_res_nsend and __libc_res_nquery.
3352 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3353 additional NULL to __libc_res_nsearch.
3354 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3355 parameter of __libc_res_nsearch to check for separately allocated
3356 second buffer.
3357 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3358 __libc_res_nquery.
3359 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3360 additional NULL to __libc_res_nquery.
3361 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3362 __libc_res_nsearch.
3363 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3364 * include/resolv.h: Update prototypes of __libc_res_nquery,
3365 __libc_res_nsearch, __libc_res_nsend.
3366
a4fb7861
JM
33672014-02-18 Joseph Myers <joseph@codesourcery.com>
3368
c6af2d89
JM
3369 * math/auto-libm-test-in: Add tests of fma.
3370 * math/auto-libm-test-out: Regenerated.
3371 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3372 (fma_towardzero_test_data): Likewise.
3373 (fma_downward_test_data): Likewise.
3374 (fma_upward_test_data): Likewise.
3375 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3376 mpc_mode.
3377 (rounding_modes): Add values for new field.
3378 (func_calc_method): Add value mpfr_fff_f.
3379 (func_calc_desc): Add mpfr_fff_f union field.
3380 (test_function): Add field exact_args.
3381 (FUNC): Add macro argument EXACT_ARGS.
3382 (FUNC_mpfr_f_f): Update call to FUNC.
3383 (FUNC_mpfr_f_f): Likewise.
3384 (FUNC_mpfr_ff_f): Likewise.
3385 (FUNC_mpfr_if_f): Likewise.
3386 (FUNC_mpc_c_f): Likewise.
3387 (FUNC_mpc_c_c): Likewise.
3388 (test_functions): Add fma. Update calls to FUNC.
3389 (handle_input_arg): Add argument exact_args.
3390 (add_test): Update call to handle_input_arg.
3391 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3392 (output_for_one_input_case): Update call to calc_generic_results.
3393 Recalculate exact zero results in each rounding mode.
3394
a4fb7861
JM
3395 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3396 non-negative before setting low bit.
3397 * math/auto-libm-test-in: Mark one asin test possibly having
3398 spurious underflow.
3399 * math/auto-libm-test-out: Regenerated.
3400 * sysdeps/i386/fpu/libm-test-ulps: Update.
3401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3402
ef114eaf
DH
34032014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3404
2b7f4f2c
SP
3405 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3406 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3407 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3408 * README: Add missing listing for microblaze*-*-linux-gnu.
3409
c70a4b1d
MF
34102014-02-16 Mike Frysinger <vapier@gentoo.org>
3411
3412 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3413 * sysdeps/unix/sysv/linux/ia64: Move directory from
3414 ports/sysdeps/unix/sysv/linux/ia64.
3415 * README: Update listing for ia64-*-linux-gnu.
3416
591aeaf7
TD
34172014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3418 Joseph Myers <joseph@codesourcery.com>
3419
3420 * Makeconfig (test-name): New variable.
3421 (evaluate-test): Likewise.
3422 * Makerules (do-test-clean): Remove .test-result files.
3423 (common-mostlyclean): Likewise.
3424 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3425 * scripts/evaluate-test.sh: New file.
3426
6e89caf1
JM
34272014-02-14 Joseph Myers <joseph@codesourcery.com>
3428
7f98f180
JM
3429 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3430 separate $(objpfx)tst-fopenloc-cmp.out and
3431 $(objpfx)tst-fopenloc-mem.out targets.
3432 (tests): Update dependencies.
3433 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3434 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3435 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3436 (tst-rxspencer-no-utf8-ARGS): New variable.
3437 (tst-rxspencer-no-utf8-ENV): Likewise.
3438 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3439 instead of $(objpfx)tst-rxspencer-mem.
3440 ($(objpfx)tst-rxspencer-mem): Change target to
3441 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3442 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3443 * posix/tst-rxspencer-no-utf8.c: New file.
3444
6e89caf1
JM
3445 * elf/Makefile ($(objpfx)order.out): Remove rule.
3446 [$(run-built-tests) = yes] (tests): Depend on
3447 $(objpfx)order-cmp.out.
3448 ($(objpfx)order-cmp.out): New rule.
3449 [$(run-built-tests) = yes] (tests): Depend on
3450 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3451 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3452 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3453 $(objpfx)tst-array5-static-cmp.out.
3454 ($(objpfx)tst-array1.out): Remove rule.
3455 ($(objpfx)tst-array1-cmp.out): New rule.
3456 ($(objpfx)tst-array1-static.out): Remove rule.
3457 ($(objpfx)tst-array1-static-cmp.out): New rule.
3458 ($(objpfx)tst-array2.out): Remove rule.
3459 ($(objpfx)tst-array2-cmp.out): New rule.
3460 ($(objpfx)tst-array3.out): Remove rule.
3461 ($(objpfx)tst-array3-cmp.out): New rule.
3462 ($(objpfx)tst-array4.out): Remove rule.
3463 ($(objpfx)tst-array4-cmp.out): New rule.
3464 ($(objpfx)tst-array5.out): Remove rule.
3465 ($(objpfx)tst-array5-cmp.out): New rule.
3466 ($(objpfx)tst-array5-static.out): Remove rule.
3467 ($(objpfx)tst-array5-static-cmp.out): New rule.
3468 [$(run-built-tests) = yes] (tests): Depend on
3469 $(objpfx)order2-cmp.out.
3470 ($(objpfx)order2.out): Remove rule.
3471 ($(objpfx)order2-cmp.out): New rule.
3472 ($(objpfx)tst-initorder.out): Remove rule.
3473 [$(run-built-tests) = yes] (tests): Depend on
3474 $(objpfx)tst-initorder-cmp.out.
3475 ($(objpfx)tst-initorder-cmp.out): New rule.
3476 ($(objpfx)tst-initorder2.out): Remove rule.
3477 [$(run-built-tests) = yes] (tests): Depend on
3478 $(objpfx)tst-initorder2-cmp.out.
3479 ($(objpfx)tst-initorder2-cmp.out): New rule.
3480 [$(run-built-tests) = yes] (tests): Depend on
3481 $(objpfx)tst-unused-dep-cmp.out.
3482 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3483 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3484 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3485 on $(objpfx)tst-setvbuf1-cmp.out.
3486 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3487 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3488 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3489 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3490 ($(objpfx)tst-svc.out): Remove rule.
3491 ($(objpfx)tst-svc-cmp.out): New rule.
3492
ed9a38e2
JM
34932014-02-13 Joseph Myers <joseph@codesourcery.com>
3494
3495 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3496 * ctype/ctype.h [__USE_MISC]: Likewise.
3497 * dirent/dirent.h [__USE_MISC]: Likewise.
3498 * grp/grp.h [__USE_MISC]: Likewise.
3499 * io/fcntl.h [__USE_MISC]: Likewise.
3500 * io/sys/stat.h [__USE_MISC]: Likewise.
3501 * libio/stdio.h [__USE_MISC]: Likewise.
3502 * posix/unistd.h [__USE_MISC]: Likewise.
3503 * pwd/pwd.h [__USE_MISC]: Likewise.
3504 * stdlib.h [__USE_MISC]: Likewise.
3505 * string/bits/string2.h [__USE_MISC]: Likewise.
3506 * string/string.h [__USE_MISC]: Likewise.
3507 * time/time.h [__USE_MISC]: Likewise.
3508
d6680619
AS
35092014-02-13 Andreas Schwab <schwab@suse.de>
3510
3511 [BZ #16574]
3512 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3513 second answer buffer if it was separately allocated.
3514
ace614b8
JM
35152014-02-12 Joseph Myers <joseph@codesourcery.com>
3516
743151ae
JM
3517 * sysdeps/mips/math-tests.h: Include <features.h>.
3518 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3519 (ROUNDING_TESTS_long_double): Do not define.
3520 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3521 (EXCEPTION_TESTS_long_double): Likewise.
3522 * sysdeps/mips/mips64/libm-test-ulps: Update.
3523
498afc54
JM
3524 * include/features.h (__USE_BSD): Remove macro definitions.
3525 (__USE_SVID): Likewise.
3526 (_BSD_SOURCE): Likewise.
3527 (_SVID_SOURCE): Likewise.
3528 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3529 from definition of _DEFAULT_SOURCE.
3530 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3531 [_DEFAULT_SOURCE].
3532 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3533 * bits/mman.h [__USE_BSD]: Likewise.
3534 * bits/termios.h [__USE_BSD]: Likewise.
3535 * bits/waitstatus.h [__USE_BSD]: Likewise.
3536 * ctype/ctype.h [__USE_SVID]: Likewise.
3537 * dirent/dirent.h [__USE_BSD]: Likewise.
3538 * grp/grp.h [__USE_SVID]: Likewise.
3539 [__USE_BSD]: Likewise.
3540 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3541 * io/fcntl.h [__USE_BSD]: Likewise.
3542 * io/ftw.h [__USE_BSD]: Likewise.
3543 * io/sys/stat.h [__USE_BSD]: Likewise.
3544 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3545 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3546 * libio/stdio.h [__USE_SVID]: Likewise.
3547 [__USE_BSD]: Likewise.
3548 * math/math.h [__USE_SVID]: Likewise.
3549 [__USE_BSD]: Likewise.
3550 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3551 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3552 * misc/search.h [__USE_SVID]: Likewise.
3553 * misc/sys/mman.h [__USE_BSD]: Likewise.
3554 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3555 * misc/sys/uio.h [__USE_BSD]: Likewise.
3556 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3557 * posix/glob.h [__USE_BSD]: Likewise.
3558 * posix/regex.h [__USE_BSD]: Likewise.
3559 * posix/sys/types.h [__USE_BSD]: Likewise.
3560 [__USE_SVID]: Likewise.
3561 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3562 * posix/sys/wait.h [__USE_BSD]: Likewise.
3563 [__USE_SVID]: Likewise.
3564 * posix/unistd.h [__USE_BSD]: Likewise.
3565 [__USE_SVID]: Likewise.
3566 * pwd/pwd.h [__USE_SVID]: Likewise.
3567 * resolv/netdb.h [__USE_BSD]: Likewise.
3568 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3569 * signal/signal.h [__USE_BSD]: Likewise.
3570 [__USE_SVID]: Likewise.
3571 * socket/sys/socket.h [__USE_BSD]: Likewise.
3572 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3573 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3574 [__USE_SVID]: Likewise.
3575 * string/bits/string2.h [__USE_BSD]: Likewise.
3576 [__USE_SVID]: Likewise.
3577 * string/bits/string3.h [__USE_BSD]: Likewise.
3578 * string/endian.h [__USE_BSD]: Likewise.
3579 * string/string.h [__USE_SVID]: Likewise.
3580 [__USE_BSD]: Likewise.
3581 * string/strings.h [__USE_BSD]: Likewise.
3582 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3583 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3584 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3585 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3586 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3587 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3588 Likewise.
3589 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3590 Likewise.
3591 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3592 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3593 Likewise.
3594 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3595 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3596 Likewise.
3597 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3598 Likewise.
3599 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3600 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3601 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3602 Likewise.
3603 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3604 Likewise.
3605 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3606 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3607 * termios/termios.h [__USE_BSD]: Likewise.
3608 * time/sys/time.h [__USE_BSD]: Likewise.
3609 * time/time.h [__USE_BSD]: Likewise.
3610 [__USE_SVID]: Likewise.
3611
dd7b064c
JM
3612 * Makefile (subdir_targets): Remove subdir_lint.out.
3613
a2c4c199
JM
3614 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3615 (do-tst-printf): Likewise.
3616 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3617 $(objpfx)tst-printf.out.
3618
8756f740
JM
3619 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3620
1b6dd3f1
JM
3621 * Makerules (check-abi-%): Change target to
3622 $(objpfx)check-abi-%.out.
3623 (check-abi target): Update dependencies.
3624 (check-abi-pattern variable): Redirect output of diff to $@.
3625 (check-abi variable): Likewise.
3626 * elf/Makefile (check-abi): Update dependencies.
3627
ace614b8
JM
3628 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3629 unused.
3630 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3631 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3632 subnormal range.
3633 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3634 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3635 value has largest subnormal exponent.
3636 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3637 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3638 * sysdeps/aarch64/soft-fp/sfp-machine.h
3639 (_FP_TININESS_AFTER_ROUNDING): New macro.
3640 * sysdeps/alpha/soft-fp/sfp-machine.h
3641 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3642 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3643 Likewise.
3644 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3645 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3646 * sysdeps/mips/soft-fp/sfp-machine.h
3647 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3648 * sysdeps/powerpc/soft-fp/sfp-machine.h
3649 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3650 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3651 Likewise.
3652 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3653 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3654 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3655 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3656 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3657 Likewise.
3658
fbfdf9cb
DAS
36592014-02-12 Dylan Alex Simon <dylan@dylex.net>
3660
3661 [BZ #16545]
3662 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3663 model 1.
3664
68b7efaa
RH
36652014-02-12 Richard Henderson <rth@redhat.com>
3666
c70a4b1d 3667 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3668 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3669 * sysdeps/unix/sysv/linux/alpha: Move directory from
3670 ports/sysdeps/unix/sysv/linux/alpha.
3671 * README: Update listing for alpha-*-linux-gnu.
3672
cb4a2928
JM
36732014-02-11 Joseph Myers <joseph@codesourcery.com>
3674
c941736c
JM
3675 * include/features.h: Update comment documenting feature test
3676 macros.
3677 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3678 _DEFAULT_SOURCE.
3679 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3680 (_SVID_SOURCE): Likewise.
3681 (_DEFAULT_SOURCE): Update description of default features.
3682 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3683 with _GNU_SOURCE.
3684 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3685 (S_ISVTX): Likewise.
3686 * manual/math.texi (Mathematical Constants): Likewise.
3687 * manual/signal.texi (Interrupted Primitives): Likewise.
3688 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3689 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3690 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3691 Don't refer to _SVID_SOURCE in warning text.
3692
e8d8d7ec
JM
3693 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3694
cb4a2928
JM
3695 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3696 already defined.
3697 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3698 * sysdeps/mips/dl-lookup.c: Remove.
3699 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3700
7e6424e3
AK
37012014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3702
3703 [BZ #16447]
3704 * math/auto-libm-test-in: Add testcase for expl.
3705 * math/auto-libm-test-out: Regenerate.
3706 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3707 calculation of unsafe.
3708 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3709
75eff3fe
MS
37102014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3711
3712 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3713 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3714 ports/sysdeps/unix/sysv/linux/aarch64.
3715 * README: Update listing for aarch64*-*-linux-gnu.
3716
d35f1e80
WN
37172014-02-11 Will Newton <will.newton@linaro.org>
3718
3719 * manual/probes.texi (Mathematical Function Probes): Use
3720 "triggered" instead of "hit".
3721
7b3436d4
WN
37222014-02-11 Will Newton <will.newton@linaro.org>
3723
3724 * manual/probes.texi (Internal Probes): Add documentation
3725 of setjmp, longjmp and longjmp_target probes.
3726
b4f12ca3
WN
37272014-02-11 Will Newton <will.newton@linaro.org>
3728
3729 * include/stap-probe.h: Add comment about probe argument
3730 format.
3731
c13a72b7
WN
37322014-02-11 Will Newton <will.newton@linaro.org>
3733
3734 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3735 definition. (tr_where, tr_freehook, tr_mallochook,
3736 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3737
195b8165
DM
37382014-02-11 David S. Miller <davem@davemloft.net>
3739
3740 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3741 processing int_tests.
3742
2ad7600b
JM
37432014-02-10 Joseph Myers <joseph@codesourcery.com>
3744
3745 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3746 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3747 * sysdeps/unix/sysv/linux/mips: Move directory from
3748 ports/sysdeps/unix/sysv/linux/mips.
3749 * README: Update listing for mips-*-linux-gnu and
3750 mips64-*-linux-gnu.
3751
73588a72
AS
37522014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3753
3754 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3755 * sysdeps/unix/sysv/linux/m68k: Move directory from
3756 ports/sysdeps/unix/sysv/linux/m68k.
3757 * README: Update listing for m68k-*-linux-gnu.
3758
4372980f
CM
37592014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3760
3761 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3762 * sysdeps/unix/sysv/linux/generic: Move directory from
3763 ports/sysdeps/unix/sysv/linux/generic.
3764 * sysdeps/unix/sysv/linux/tile: Move directory from
3765 ports/sysdeps/unix/sysv/linux/tile.
3766 * README: Update listing for tile*-*-linux-gnu.
3767
a1ffb40e
OB
37682014-02-10 Ondřej Bílka <neleai@seznam.cz>
3769
3770 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3771 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3772 * catgets/open_catalog.c (__open_catalog): Likewise.
3773 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3774 * debug/confstr_chk.c: Likewise.
3775 * debug/fread_chk.c (__fread_chk): Likewise.
3776 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3777 * debug/getgroups_chk.c: Likewise.
3778 * debug/mbsnrtowcs_chk.c: Likewise.
3779 * debug/mbsrtowcs_chk.c: Likewise.
3780 * debug/mbstowcs_chk.c: Likewise.
3781 * debug/memcpy_chk.c: Likewise.
3782 * debug/memmove_chk.c: Likewise.
3783 * debug/mempcpy_chk.c: Likewise.
3784 * debug/memset_chk.c: Likewise.
3785 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3786 * debug/strcat_chk.c (__strcat_chk): Likewise.
3787 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3788 * debug/strncat_chk.c (__strncat_chk): Likewise.
3789 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3790 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3791 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3792 * debug/wcpncpy_chk.c: Likewise.
3793 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3794 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3795 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3796 * debug/wcsncpy_chk.c: Likewise.
3797 * debug/wcsnrtombs_chk.c: Likewise.
3798 * debug/wcsrtombs_chk.c: Likewise.
3799 * debug/wcstombs_chk.c: Likewise.
3800 * debug/wmemcpy_chk.c: Likewise.
3801 * debug/wmemmove_chk.c: Likewise.
3802 * debug/wmempcpy_chk.c: Likewise.
3803 * debug/wmemset_chk.c: Likewise.
3804 * dirent/scandirat.c (SCANDIRAT): Likewise.
3805 * dlfcn/dladdr1.c (dladdr1): Likewise.
3806 * dlfcn/dladdr.c (dladdr): Likewise.
3807 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3808 * dlfcn/dlerror.c (__dlerror): Likewise.
3809 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3810 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3811 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3812 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3813 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3814 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3815 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3816 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3817 Likewise.
3818 * elf/dl-conflict.c: Likewise.
3819 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3820 * elf/dl-dst.h: Likewise.
3821 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3822 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3823 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3824 * elf/dl-init.c (call_init, _dl_init): Likewise.
3825 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3826 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3827 _dl_map_object_from_fd, open_verify, open_path,
3828 _dl_map_object): Likewise.
3829 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3830 Likewise.
3831 * elf/dl-minimal.c (__libc_memalign): Likewise.
3832 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3833 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3834 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3835 * elf/dl-sym.c (do_sym): Likewise.
3836 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3837 _dl_tls_get_addr_soft): Likewise.
3838 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3839 * elf/dl-writev.h (_dl_writev): Likewise.
3840 * elf/ldconfig.c (search_dir): Likewise.
3841 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3842 dl_main): Likewise.
3843 * elf/setup-vdso.h (setup_vdso): Likewise.
3844 * grp/compat-initgroups.c (compat_call): Likewise.
3845 * grp/fgetgrent.c (fgetgrent): Likewise.
3846 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3847 * grp/putgrent.c (putgrent): Likewise.
3848 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3849 Likewise.
3850 * hurd/hurdinit.c: Likewise.
3851 * iconvdata/8bit-gap.c (struct): Likewise.
3852 * iconvdata/ansi_x3.110.c : Likewise.
3853 * iconvdata/big5.c : Likewise.
3854 * iconvdata/big5hkscs.c : Likewise.
3855 * iconvdata/cp1255.c: Likewise.
3856 * iconvdata/cp1258.c : Likewise.
3857 * iconvdata/cp932.c : Likewise.
3858 * iconvdata/euc-cn.c: Likewise.
3859 * iconvdata/euc-jisx0213.c : Likewise.
3860 * iconvdata/euc-jp.c: Likewise.
3861 * iconvdata/euc-jp-ms.c : Likewise.
3862 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3863 * iconvdata/gb18030.c : Likewise.
3864 * iconvdata/gbbig5.c (const): Likewise.
3865 * iconvdata/gbgbk.c: Likewise.
3866 * iconvdata/gbk.c : Likewise.
3867 * iconvdata/ibm1364.c : Likewise.
3868 * iconvdata/ibm930.c : Likewise.
3869 * iconvdata/ibm932.c: Likewise.
3870 * iconvdata/ibm933.c : Likewise.
3871 * iconvdata/ibm935.c : Likewise.
3872 * iconvdata/ibm937.c : Likewise.
3873 * iconvdata/ibm939.c : Likewise.
3874 * iconvdata/ibm943.c: Likewise.
3875 * iconvdata/iso_11548-1.c: Likewise.
3876 * iconvdata/iso-2022-cn.c : Likewise.
3877 * iconvdata/iso-2022-cn-ext.c : Likewise.
3878 * iconvdata/iso-2022-jp-3.c: Likewise.
3879 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3880 * iconvdata/iso-2022-kr.c : Likewise.
3881 * iconvdata/iso646.c (gconv_end): Likewise.
3882 * iconvdata/iso_6937-2.c : Likewise.
3883 * iconvdata/iso_6937.c : Likewise.
3884 * iconvdata/iso8859-1.c: Likewise.
3885 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3886 * iconvdata/shift_jisx0213.c : Likewise.
3887 * iconvdata/sjis.c : Likewise.
3888 * iconvdata/t.61.c : Likewise.
3889 * iconvdata/tcvn5712-1.c : Likewise.
3890 * iconvdata/tscii.c: Likewise.
3891 * iconvdata/uhc.c : Likewise.
3892 * iconvdata/unicode.c (gconv_end): Likewise.
3893 * iconvdata/utf-16.c (gconv_end): Likewise.
3894 * iconvdata/utf-32.c (gconv_end): Likewise.
3895 * iconvdata/utf-7.c (base64): Likewise.
3896 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3897 * iconv/gconv_close.c (__gconv_close): Likewise.
3898 * iconv/gconv_open.c (__gconv_open): Likewise.
3899 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3900 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3901 internal_ucs4le_loop_single, ucs4le_internal_loop,
3902 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3903 * iconv/iconv.c (iconv): Likewise.
3904 * iconv/iconv_close.c: Likewise.
3905 * iconv/loop.c (SINGLE): Likewise.
3906 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3907 * include/atomic.h: Likewise.
3908 * inet/inet6_option.c (option_alloc): Likewise.
3909 * intl/bindtextdom.c (set_binding_values): Likewise.
3910 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3911 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3912 * intl/localealias.c (read_alias_file): Likewise.
3913 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3914 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3915 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3916 * libio/fmemopen.c (fmemopen): Likewise.
3917 * libio/iofgets.c (_IO_fgets): Likewise.
3918 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3919 * libio/iofgetws.c (fgetws): Likewise.
3920 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3921 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3922 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3923 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3924 * locale/findlocale.c (_nl_find_locale): Likewise.
3925 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3926 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3927 Likewise.
3928 * locale/setlocale.c (setlocale): Likewise.
3929 * login/programs/pt_chown.c (main): Likewise.
3930 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3931 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3932 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3933 mmap, mmap64, mremap, munmap): Likewise.
3934 * math/e_exp2l.c: Likewise.
3935 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3936 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3937 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3938 * math/s_catan.c (__catan): Likewise.
3939 * math/s_catanf.c (__catanf): Likewise.
3940 * math/s_catanh.c (__catanh): Likewise.
3941 * math/s_catanhf.c (__catanhf): Likewise.
3942 * math/s_catanhl.c (__catanhl): Likewise.
3943 * math/s_catanl.c (__catanl): Likewise.
3944 * math/s_ccosh.c (__ccosh): Likewise.
3945 * math/s_ccoshf.c (__ccoshf): Likewise.
3946 * math/s_ccoshl.c (__ccoshl): Likewise.
3947 * math/s_cexp.c (__cexp): Likewise.
3948 * math/s_cexpf.c (__cexpf): Likewise.
3949 * math/s_cexpl.c (__cexpl): Likewise.
3950 * math/s_clog10.c (__clog10): Likewise.
3951 * math/s_clog10f.c (__clog10f): Likewise.
3952 * math/s_clog10l.c (__clog10l): Likewise.
3953 * math/s_clog.c (__clog): Likewise.
3954 * math/s_clogf.c (__clogf): Likewise.
3955 * math/s_clogl.c (__clogl): Likewise.
3956 * math/s_csin.c (__csin): Likewise.
3957 * math/s_csinf.c (__csinf): Likewise.
3958 * math/s_csinh.c (__csinh): Likewise.
3959 * math/s_csinhf.c (__csinhf): Likewise.
3960 * math/s_csinhl.c (__csinhl): Likewise.
3961 * math/s_csinl.c (__csinl): Likewise.
3962 * math/s_csqrt.c (__csqrt): Likewise.
3963 * math/s_csqrtf.c (__csqrtf): Likewise.
3964 * math/s_csqrtl.c (__csqrtl): Likewise.
3965 * math/s_ctan.c (__ctan): Likewise.
3966 * math/s_ctanf.c (__ctanf): Likewise.
3967 * math/s_ctanh.c (__ctanh): Likewise.
3968 * math/s_ctanhf.c (__ctanhf): Likewise.
3969 * math/s_ctanhl.c (__ctanhl): Likewise.
3970 * math/s_ctanl.c (__ctanl): Likewise.
3971 * math/w_pow.c: Likewise.
3972 * math/w_powf.c: Likewise.
3973 * math/w_powl.c: Likewise.
3974 * math/w_scalb.c (sysv_scalb): Likewise.
3975 * math/w_scalbf.c (sysv_scalbf): Likewise.
3976 * math/w_scalbl.c (sysv_scalbl): Likewise.
3977 * misc/error.c (error_tail): Likewise.
3978 * misc/pselect.c (__pselect): Likewise.
3979 * nis/nis_callback.c (__nis_create_callback): Likewise.
3980 * nis/nis_call.c (__nisfind_server): Likewise.
3981 * nis/nis_creategroup.c (nis_creategroup): Likewise.
3982 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
3983 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
3984 * nis/nis_getservlist.c (nis_getservlist): Likewise.
3985 * nis/nis_lookup.c (nis_lookup): Likewise.
3986 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
3987 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
3988 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
3989 * nis/nis_xdr.c (xdr_endpoint): Likewise.
3990 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
3991 internal_getgrgid_r): Likewise.
3992 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
3993 Likewise.
3994 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
3995 internal_getpwuid_r): Likewise.
3996 * nis/nss_compat/compat-spwd.c (getspent_next_file,
3997 internal_getspnam_r): Likewise.
3998 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
3999 _nss_nis_getaliasbyname_r): Likewise.
4000 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4001 _nss_nis_getntohost_r): Likewise.
4002 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4003 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4004 Likewise.
4005 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4006 internal_nis_gethostent_r, internal_gethostbyname2_r,
4007 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4008 _nss_nis_gethostbyname4_r): Likewise.
4009 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4010 initgroups_netid): Likewise.
4011 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4012 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4013 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4014 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4015 _nss_nis_getprotobynumber_r): Likewise.
4016 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4017 _nss_nis_getsecretkey): Likewise.
4018 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4019 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4020 Likewise.
4021 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4022 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4023 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4024 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4025 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4026 _nss_nis_getspnam_r): Likewise.
4027 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4028 Likewise.
4029 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4030 _nss_nisplus_getntohost_r): Likewise.
4031 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4032 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4033 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4034 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4035 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4036 Likewise.
4037 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4038 _nss_nisplus_getnetbyaddr_r): Likewise.
4039 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4040 _nss_nisplus_getprotobynumber_r): Likewise.
4041 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4042 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4043 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4044 Likewise.
4045 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4046 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4047 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4048 _nss_nisplus_getspnam_r): Likewise.
4049 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4050 * nscd/aicache.c (addhstaiX): Likewise.
4051 * nscd/cache.c (cache_search, prune_cache): Likewise.
4052 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4053 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4054 * nscd/grpcache.c (addgrbyX): Likewise.
4055 * nscd/hstcache.c (addhstbyX): Likewise.
4056 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4057 * nscd/mem.c (gc, mempool_alloc): Likewise.
4058 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4059 Likewise.
4060 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4061 Likewise.
4062 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4063 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4064 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4065 Likewise.
4066 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4067 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4068 * nscd/nscd_helper.c (__readvall, open_socket,
4069 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4070 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4071 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4072 * nscd/pwdcache.c (addpwbyX): Likewise.
4073 * nscd/selinux.c (preserve_capabilities): Likewise.
4074 * nscd/servicescache.c (addservbyX): Likewise.
4075 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4076 * posix/fnmatch.c (fnmatch): Likewise.
4077 * posix/getopt.c (_getopt_internal_r): Likewise.
4078 * posix/glob.c (glob, glob_in_dir): Likewise.
4079 * posix/wordexp.c (exec_comm_child): Likewise.
4080 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4081 gaih_getanswer_slice): Likewise.
4082 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4083 * resolv/res_init.c: Likewise.
4084 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4085 * resolv/res_query.c (__libc_res_nquery): Likewise.
4086 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4087 Likewise.
4088 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4089 * stdio-common/perror.c (perror): Likewise.
4090 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4091 * stdio-common/tmpnam.c (tmpnam): Likewise.
4092 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4093 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4094 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4095 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4096 * stdlib/putenv.c (putenv): Likewise.
4097 * stdlib/setenv.c (__add_to_environ): Likewise.
4098 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4099 * stdlib/strtol_l.c (INTERNAL): Likewise.
4100 * string/memmem.c (memmem): Likewise.
4101 * string/strerror.c (strerror): Likewise.
4102 * string/strnlen.c (__strnlen): Likewise.
4103 * string/test-memmem.c (simple_memmem): Likewise.
4104 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4105 * sunrpc/pm_getport.c (__get_socket): Likewise.
4106 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4107 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4108 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4109 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4110 Likewise.
4111 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4112 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4113 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4114 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4115 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4116 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4117 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4118 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4119 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4120 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4121 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4122 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4124 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4125 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4126 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4127 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4128 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4129 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4130 Likewise.
4131 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4132 Likewise.
4133 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4134 Likewise.
4135 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4136 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4137 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4138 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4139 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4140 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4141 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4142 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4143 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4144 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4145 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4146 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4147 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4148 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4149 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4150 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4151 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4152 Likewise.
4153 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4154 Likewise.
4155 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4156 Likewise.
4157 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4158 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4159 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4160 Likewise.
4161 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4162 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4163 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4164 * sysdeps/posix/sleep.c: Likewise.
4165 * sysdeps/posix/tempname.c: Likewise.
4166 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4167 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4168 Likewise.
4169 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4170 elf_machine_rela): Likewise.
4171 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4172 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4173 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4174 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4175 Likewise.
4176 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4177 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4178 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4179 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4180 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4181 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4182 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4183 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4184 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4185 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4186 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4187 elf_machine_lazy_rel): Likewise.
4188 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4189 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4190 elf_machine_lazy_rel): Likewise.
4191 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4192 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4193 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4194 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4195 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4196 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4197 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4198 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4199 Likewise.
4200 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4201 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4202 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4203 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4204 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4205 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4206 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4207 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4208 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4209 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4210 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4211 Likewise.
4212 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4213 (__posix_fallocate64_l64): Likewise.
4214 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4215 (posix_fallocate): Likewise.
4216 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4217 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4218 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4219 getifaddrs_internal): Likewise.
4220 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4221 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4222 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4223 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4224 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4225 (__posix_fallocate64_l64): Likewise.
4226 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4227 Likewise.
4228 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4229 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4230 Likewise.
4231 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4232 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4233 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4234 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4235 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4236 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4237 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4238 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4239 Likewise.
4240 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4241 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4242 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4243 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4244 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4245 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4246 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4247 Likewise.
4248 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4249 (posix_fallocate): Likewise.
4250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4251 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4252 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4253 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4254 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4255 Likewise.
4256 * time/asctime.c (asctime_internal): Likewise.
4257 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4258 * time/tzset.c (__tzset_parse_tz): Likewise.
4259 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4260 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4261 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4262 * wcsmbs/wcsmbsload.h: Likewise.
4263
f3d338c9
OB
42642014-02-10 Ondřej Bílka <neleai@seznam.cz>
4265
4266 [BZ #15894]
4267 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4268
bdfe308a
OB
42692014-02-10 Ondřej Bílka <neleai@seznam.cz>
4270
4271 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4272 arena_get2): Remove THREAD_STATS conditionals.
4273 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4274 __malloc_stats, int): Likewise.
4275
d674667c
MF
42762014-02-08 Mike Frysinger <vapier@gentoo.org>
4277
4278 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4279 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4280
6349768c
MF
42812014-02-08 Mike Frysinger <vapier@gentoo.org>
4282
4283 * manual/setjmp.texi: Fix typos/grammar errors.
4284
0b7c7473
MF
42852014-02-08 Mike Frysinger <vapier@gentoo.org>
4286
4287 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4288 Only return early when n is <= 0. Delete unused return statement.
4289
ac8cc9e3
MF
42902014-02-08 Mike Frysinger <vapier@gentoo.org>
4291
4292 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4293 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4294 * debug/tst-longjmp_chk3.c: New file.
4295
c5bb8e23
MF
42962014-02-08 Mike Frysinger <vapier@gentoo.org>
4297
4298 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4299 (test_main): Replace code with set_fortify_handler call.
4300 * debug/test-strcpy_chk.c: Likewise.
4301 * debug/tst-chk1.c: Likewise.
4302 * debug/tst-longjmp_chk.c: Likewise.
4303 * test-skeleton.c: Include fcntl.h & paths.h
4304 (set_fortify_handler): Define.
4305
10444e42
MF
43062014-02-08 Mike Frysinger <vapier@gentoo.org>
4307
4308 * debug/tst-longjmp_chk.c: Add header comment and include
4309 ../test-skeleton.c.
4310 (do_test): Mark static.
4311 (TEST_FUNCTION): Define.
4312
1e805e8d
MF
43132014-02-08 Mike Frysinger <vapier@gentoo.org>
4314
4315 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4316 (IP_PMTUDISC_INTERFACE): Likewise.
4317 (IP_MULTICAST_IF): Likewise.
4318 (IP_MULTICAST_TTL): Likewise.
4319 (IP_MULTICAST_LOOP): Likewise.
4320 (IP_ADD_MEMBERSHIP): Likewise.
4321 (IP_DROP_MEMBERSHIP): Likewise.
4322 (IP_UNBLOCK_SOURCE): Likewise.
4323 (IP_BLOCK_SOURCE): Likewise.
4324 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4325 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4326 (IP_MSFILTER): Likewise.
4327 (MCAST_JOIN_GROUP): Likewise.
4328 (MCAST_BLOCK_SOURCE): Likewise.
4329 (MCAST_UNBLOCK_SOURCE): Likewise.
4330 (MCAST_LEAVE_GROUP): Likewise.
4331 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4332 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4333 (MCAST_MSFILTER): Likewise.
4334 (IP_MULTICAST_ALL): Likewise.
4335 (IP_UNICAST_IF): Likewise.
4336
73f79bb7
MF
43372014-02-08 Mike Frysinger <vapier@gentoo.org>
4338
4339 * timezone/Makefile: Delete $(have-ksh) check.
4340 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4341 * timezone/tzselect.ksh: Add +x mode bits.
4342
8da79b60
MF
43432014-02-08 Mike Frysinger <vapier@gentoo.org>
4344
4345 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4346 (ANON_INODE_FS_MAGIC): Likewise.
4347 (BDEVFS_MAGIC): Likewise.
4348 (BINFMTFS_MAGIC): Likewise.
4349 (BTRFS_TEST_MAGIC): Likewise.
4350 (CRAMFS_MAGIC_WEND): Likewise.
4351 (DEBUGFS_MAGIC): Likewise.
4352 (ECRYPTFS_SUPER_MAGIC): Likewise.
4353 (EXT3_SUPER_MAGIC): Likewise.
4354 (EXT4_SUPER_MAGIC): Likewise.
4355 (FUTEXFS_SUPER_MAGIC): Likewise.
4356 (HOSTFS_SUPER_MAGIC): Likewise.
4357 (HUGETLBFS_MAGIC): Likewise.
4358 (MINIX3_SUPER_MAGIC): Likewise.
4359 (MTD_INODE_FS_MAGIC): Likewise.
4360 (NILFS_SUPER_MAGIC): Likewise.
4361 (OPENPROM_SUPER_MAGIC): Likewise.
4362 (PIPEFS_MAGIC): Likewise.
4363 (PSTOREFS_MAGIC): Likewise.
4364 (QNX6_SUPER_MAGIC): Likewise.
4365 (RAMFS_MAGIC): Likewise.
4366 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4367 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4368 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4369 (SECURITYFS_MAGIC): Likewise.
4370 (SELINUX_MAGIC): Likewise.
4371 (SMACK_MAGIC): Likewise.
4372 (SOCKFS_MAGIC): Likewise.
4373 (SQUASHFS_MAGIC): Likewise.
4374 (STACK_END_MAGIC): Likewise.
4375 (TMPFS_MAGIC): Likewise.
4376 (USBDEVICE_SUPER_MAGIC): Likewise.
4377 (V9FS_MAGIC): Likewise.
4378 (XENFS_SUPER_MAGIC): Likewise.
4379 (CRAMFS_MAGIC): Fix typo in comment.
4380 (EXT2_SUPER_MAGIC): Update comment.
4381 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4382
464263cc
JM
43832014-02-08 Joseph Myers <joseph@codesourcery.com>
4384
c6bfe5c4
JM
4385 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4386 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4387 * sysdeps/unix/sysv/linux/arm: Move directory from
4388 ports/sysdeps/unix/sysv/linux/arm.
4389 * README: Update listing for arm-*-linux-gnueabi.
4390
464263cc
JM
4391 * README: Remove mention of am33.
4392
32749f6c
RM
43932014-02-07 Roland McGrath <roland@hack.frob.com>
4394
4395 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4396 than the comma operator, to avoid "rhs of comma has no effect"
4397 compiler warnings.
4398 (__sigfillset, __sigandset, __sigorset): Likewise.
4399 * include/signal.h (__sigemptyset): Likewise.
4400 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4401
d5b396c1
AM
44022014-02-07 Allan McRae <allan@archlinux.org>
4403
4404 * version.h (RELEASE): Set to "development".
4405 (VERSION): Set to "2.19.90"
4406 * NEWS: Add 2.20 section.
4407
3bfff2ed
CD
44082014-02-06 Carlos O'Donell <carlos@redhat.com>
4409
4410 [BZ #16529]
4411 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4412
ee7cc385
SP
44132014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4414
4415 * manual/contrib.texi: Update entry for Carlos O'Donell,
4416 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4417
f877c4f2
CD
44182014-02-05 Carlos O'Donell <carlos@rehdat.com>
4419
27e839f6
CD
4420 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4421
f877c4f2
CD
4422 * sysdeps/unix/sysv/linux/kernel-features.h
4423 [__LINUX_KERNEL_VERSION >= 0x020621]
4424 (__ASSUME_PROC_PID_TASK_COMM): Define.
4425
68159946
SP
44262014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4427
ba17cdbd
SP
4428 [BZ #16398]
4429 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4430 conversion when destination buffer does not have enough space.
4431 * libio/tst-ftell-partial-wide.c: New test case.
4432 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4433
68159946
SP
4434 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4435 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4436 Leonard and Allan McRae.
4437
2b528732
DM
44382014-02-04 David S. Miller <davem@davemloft.net>
4439
4440 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4441 32-bit.
4442
0ff82463
AZ
44432014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4444
c01603f7
AZ
4445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4446 file
4447 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4448 New file
4449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4450 file.
4451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4452 file.
4453 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4454 New file.
4455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4456 file.
4457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4458 file.
4459 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4460 New file.
4461 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4462 New file.
4463 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4464 New file.
4465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4466 New file.
4467 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4468 New file.
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4470 New file.
4471
44722014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4473
0ff82463
AZ
4474 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4475 * shlib-versions: Likewise.
4476
1695c773
AZ
44772014-02-04 Roland McGrath <roland@hack.frob.com>
4478 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4479
4480 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4481 (abilist-pattern): New variable, set to %-le.abilist.
4482
4483 * Makerules (abilist-pattern): New variable.
4484 (vpath): Use $(abilist-pattern) in place of %.abilist.
4485 (check-abi-% pattern rule): Likewise.
4486 (check-abi, update-abi): Likewise.
4487
6c0ce4b4
EW
44882014-02-04 Eric Wong <normalperson@yhbt.net>
4489
4490 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4491
dc98b8f5
EW
44922014-02-04 Eric Wong <normalperson@yhbt.net>
4493
4494 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4495
481e3524
CD
44962014-02-03 Carlos O'Donell <carlos@redhat.com>
4497
4498 * manual/startup.texi: Add next, previous, and top entries for
4499 the `Program Arguments' and `Environment Variables' nodes.
4500
375592d3
AO
45012014-02-03 Alexandre Oliva <aoliva@redhat.com>
4502
4503 * manual/macros.texi: Add comments before MTASC-safety macros.
4504
f54838ba
AO
4505 * manual/users.texi: Document MTASC-safety properties.
4506
909e12ad
AO
4507 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4508 pthread_getspecific, pthread_setspecific): Format with
4509 @deftypefun, and add @safety note.
4510 * manual/signal.texi: Move comments that analyze the above
4511 functions to their home place.
4512
fd3daba4
AM
45132014-02-03 Allan McRae <allan@archlinux.org>
4514
4515 * po/sl.po: Update Slovenian translation from translation project.
4516
597636d7
AO
45172014-02-02 Alexandre Oliva <aoliva@redhat.com>
4518
4519 * manual/time.texi (timegm): Add missing blank after @c.
4520 Reported by Joseph Myers <joseph@codesourcery.com>.
4521
ee196e3c
AO
45222014-02-01 Alexandre Oliva <aoliva@redhat.com>
4523
4524 * manual/check-safety.sh: New.
4525 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4526
f8d529d5
AO
4527 * manual/terminal.texi: Document MTASC-safety properties.
4528
de55fdf4
AO
4529 * manual/filesys.texi: Document MTASC-safety properties.
4530
c3299c08
AO
4531 * manual/errno.texi: Document MTASC-safety properties.
4532
06e90b14
AO
4533 * manual/intro.texi: Document safety identifiers and
4534 conditionals.
4535
1acd4371
AO
4536 * manual/string.texi (wcstok): Fix prototype.
4537 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4538
23e5b8cb
AO
4539 * manual/time.texi: Document MTASC-safety properties.
4540
11087373
AO
4541 * manual/string.texi: Document MTASC-safety properties.
4542
5da2c93d
AO
4543 * manual/threads.texi: Document MTASC-safety properties.
4544
171e9210
AO
4545 * manual/stdio.texi: Document MTASC-safety properties.
4546
d9e02532
AO
4547 * manual/syslog.texi: Document MTASC-safety properties.
4548
6af8bab7
AO
4549 * manual/sysinfo.texi: Document MTASC-safety properties.
4550
663b02d7
AO
4551 * manual/startup.texi: Document MTASC-safety properties.
4552
973f180b
AO
4553 * manual/socket.texi: Document MTASC-safety properties.
4554
8f3c25c8
AO
4555 * manual/signal.texi: Document MTASC-safety properties.
4556
542210fb
AO
45572014-01-31 Alexandre Oliva <aoliva@redhat.com>
4558
4559 * manual/setjmp.texi: Document MTASC-safety properties.
4560
433c45a2
AO
4561 * manual/search.texi: Document MTASC-safety properties.
4562
c8ce789c
AO
4563 * manual/resource.texi: Document MTASC-safety properties.
4564
19f5d29c
AO
4565 * manual/process.texi: Document MTASC-safety properties.
4566
e2dfb7f4
AO
4567 * manual/platform.texi: Document MTASC-safety properties.
4568
8c1413f5
AO
4569 * manual/pipe.texi: Document MTASC-safety properties.
4570
03483ada
AO
4571 * manual/pattern.texi: Document MTASC-safety properties.
4572
29e7e2df
AO
4573 * manual/message.texi: Document MTASC-safety properties.
4574
9f529d7c
AO
4575 [BZ #12751]
4576 * manual/memory.texi: Document MTASC-safety properties.
4577
27aaa791
AO
4578 * manual/math.texi: Document MTASC-safety properties.
4579
f2d58726
AO
4580 * manual/locale.texi: Document MTASC-safety properties.
4581
2cc3615c
AO
4582 * manual/llio.texi: Document MTASC-safety properties.
4583
d9f0ec97
AO
4584 * manual/libdl.texi: New.
4585
e7c4409a
AO
4586 * manual/lang.texi: Document MTASC-safety properties.
4587
27bdc63c
AO
4588 * manual/job.texi: Document MTASC-safety properties.
4589
a7b90ea9
AO
4590 * manual/getopt.texi: Document MTASC-safety properties.
4591
c49130e3
AO
4592 * manual/ctype.texi: Document MTASC-safety properties.
4593
0d23a5c1
MR
45942014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4595
4596 [BZ #16046]
4597 * csu/libc-tls.c (static_map): Remove variable.
4598 (__libc_setup_tls): Use main executable's link map for TLS data.
4599 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4600 casing for LM_ID_BASE and GL(dl_nns).
4601 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4602 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4603 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4604 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4605 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4606 member.
4607 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4608 l_phnum members.
4609
0037bb60
AO
46102014-01-30 Alexandre Oliva <aoliva@redhat.com>
4611
4612 * manual/debug.texi: Document MTASC-safety properties.
4613
409e00bd
L
46142014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4615
4616 [BZ #16510]
4617 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4618 of __x86_64__ when disabling x87 inline functions.
4619
86e60666
AO
46202014-01-29 Alexandre Oliva <aoliva@redhat.com>
4621
4622 * manual/charset.texi: Document MTASC-safety properties.
4623
76167637
AO
4624 * manual/crypt.texi: Document MTASC-safety properties.
4625
e567f2a0
AO
4626 * manual/conf.texi: Document MTASC-safety properties.
4627
b719dafd
AO
4628 * manual/arith.texi: Document MTASC-safety properties.
4629
4a16c662
AO
4630 * manual/argp.texi: Document MTASC-safety properties.
4631
0a57b83e
AO
4632 * manual/macros.texi: Introduce macros to document multi
4633 thread, asynchronous signal and asynchronous cancellation
4634 safety properties.
4635 * manual/intro.texi: Introduce the properties themselves.
4636
feab2397
KK
46372014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4638
4639 * sysdeps/sh/sh4/Makefile: New file.
4640
1c0d11bc
AS
46412014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4642
4643 * math/gen-libm-test.pl ($srcdir): New variable.
4644 ($auto_input): Use it.
4645
af37a8a3
SP
46462014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4647
d7b00f98
SP
4648 [BZ #16506]
4649 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4650 access beyond array bounds when parsing netgroups file.
4651
af37a8a3
SP
4652 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4653 the old buffer before realloc.
4654
0c00f062
AM
46552014-01-27 Allan McRae <allan@archlinux.org>
4656
4657 * po/fr.po: Update French translation from translation project.
4658
7d69a1b0
KK
46592014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4660
4661 * sysdeps/sh/libm-test-ulps: Regenerate.
4662
6e697ff7
DM
46632014-01-24 David S. Miller <davem@davemloft.net>
4664
4665 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4666
9cadb35c
KK
46672014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4668
4669 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4670 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4671
5d41dadf
SP
46722013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4673
4674 [BZ #16474]
4675 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4676 string pointers after reallocation.
4677
0bad441c
KK
46782014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4679
4680 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4681 __SH4A__ instead of __SH_FPU_ANY__.
4682
7007c661
KK
46832014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4684
4685 * sysdeps/sh/fpu_control.h: New file.
4686 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4687 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4688 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4689 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4690 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4691 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4692 * sysdeps/sh/sys/ucontext.h: Remove.
4693 * sysdeps/sh/sys: Remove directory.
4694
0f0c35e4
AK
46952014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4696
4697 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4698 s390/sys/ucontext.h.
4699 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4700 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4701
4959e284
L
47022014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4703
4704 [BZ #15605]
4705 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4706
d98720e0
AZ
47072014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4708
4709 [BZ#16431]
4710 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4711 Adjust the vDSO correctly for internal calls.
4712 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4713
91cbd0bc
AM
47142014-01-20 Allan McRae <allan@archlinux.org>
4715
4716 * po/ca.po: Update Catalan translation from translation project.
4717
7a02cfad
MF
47182014-01-16 Mike Frysinger <vapier@gentoo.org>
4719
4720 * sysdeps/s390/sotruss-lib.c: New file.
4721
736c304a
AZ
47222014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4723
4724 [BZ#16430]
6e077ee5 4725 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4726 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4727 local calls issues by not having a PLT stub required for IFUNC calls.
4728 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4729
94d0cea0
JM
47302014-01-16 Joseph Myers <joseph@codesourcery.com>
4731
4732 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4733 * math/test-fpucw-static.c: Likewise.
4734
980cb518
SP
47352013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4736
4737 [BZ #16453]
4738 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4739
2393fc01
AZ
47402014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4741
4742 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4743 implementation for powerpc.
4744
d359bcc2
OB
47452014-01-15 Ondřej Bílka <neleai@seznam.cz>
4746
4747 [BZ #14782]
4748 * sysdeps/posix/system.c (__libc_system): Do not enable
4749 asynchronous cancellation.
4750
7beb48cb
AK
47512014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4752
4753 [BZ #16427]
4754 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4755 handling only for numbers special also in the IEEE case.
4756
c20d5bf5
AK
47572014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4758
4759 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4760
e83bd4ee
AM
47612014-01-11 Allan McRae <allan@archlinux.org>
4762
76d0ea69
AM
4763 * po/bg.po: Update Bulgarian translation from translation project.
4764
e83bd4ee
AM
4765 * po/de.po: Update German translation from translation project.
4766
bc2ba20a
RM
47672014-01-10 Roland McGrath <roland@hack.frob.com>
4768
4769 * sysdeps/generic/gcc-compat.h: New file.
4770
649ecea2
SP
47712014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4772
4773 * benchtests/asin-inputs: Correct slow inputs.
4774 * benchtests/acos-inputs: Likewise.
4775
1b19c006
AM
47762014-01-10 Allan McRae <allan@archlinux.org>
4777
a46dab08
AM
4778 * po:sv.po: Update Swedish translation from translation project.
4779
421df74a
AM
4780 * po/vi.po: Update Vietnamese translation from translation project.
4781
d61c51a7
AM
4782 * po/eo.po: Update Esperanto translation from translation project.
4783
0339a319
AM
4784 * po/cs.po: Update Czech translation from translation project.
4785
94ad3e99
AM
4786 * po/nl.po: Update Dutch translation from translation project.
4787
e349ca71
AM
4788 * po/pl.po: Update Polish translation from translation project.
4789
ddf930c1
AM
4790 * po/ru.po: Update Russian translation from translation project.
4791
1b19c006
AM
4792 * po/uk.po: Update Ukrainian translation from translation project.
4793
9f236c49
BM
47942014-01-08 Brooks Moses <bmoses@google.com>
4795
4796 * elf/dl-load.c: Fix comment typo.
4797
cd6701cf
CD
47982014-01-08 Carlos O'Donell <carlos@redhat.com>
4799
4800 * po/header.pot: Rename to...
4801 * po/pot.header: ... this.
4802 * po/Makefile: Use pot.header.
4803
66671c84
YK
48042014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4805 Maxim Kuvyrkov <maxim@kugelworks.com>
4806
4807 [BZ #16394]
cd6701cf
CD
4808 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4809 SRC and DEST against LEN.
66671c84 4810
38f34581
AZ
48112014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4812
4813 [BZ #16414]
4814 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4815 implementation.
4816 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4817
48182014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4819
4820 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4821
4c327f2a
JM
48222014-01-08 Joseph Myers <joseph@codesourcery.com>
4823
4824 [BZ #16408]
4825 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4826 for large positive arguments.
4827
b821f414
JM
48282014-01-07 Joseph Myers <joseph@codesourcery.com>
4829
1f0f2067
JM
4830 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4831
a5a326f6
JM
4832 * math/auto-libm-test-in: Mark various tests with
4833 xfail-rounding:ldbl-128ibm.
4834 * math/auto-libm-test-out: Regenerated.
4835
b821f414
JM
4836 [BZ #16407]
4837 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4838 Increase overflow threshold.
4839
94c8a4bc
OB
48402014-01-07 Ondřej Bílka <neleai@seznam.cz>
4841
4842 [BZ #14286]
4843 * stdio-common/vfprintf.c: Check for integer overflow.
4844
87ded0c3
AK
48452014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4846
4847 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4848 the first argument and return value of __tls_get_addr_internal.
4849
c5eebdd0
AK
48502014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4851
4852 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4853 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4854
05d138ef
AK
48552014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4856
4857 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4858 * sysdeps/s390/rtld-global-offsets.sym: New file.
4859 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4860 GLIBC_2.19 symbol.
4861 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4862 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4863 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4864 ... this.
4865 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4866 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4867 ... this.
4868 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4869 Regenerate.
4870 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4871 Regenerate.
4872 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4873 halfs of GPRs for high_gprs contexts.
4874 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4875 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4876 field.
4877 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4878 uc_flags field.
4879 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4880 64 bit versions:
4881 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4882 for high GPRs (uc_high_gprs) and for future extensions
4883 (__reserved).
4884 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4885 for future extensions (__reserved).
4886 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4887 64 bit versions:
4888 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4889 SC_HIGHGPRS offset definition.
4890 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4891 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4892
93a45ff1
AK
48932014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4894
4895 * Versions.def: Add GLIBC_2.19 for libpthread.
4896 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4897 siglongjmp for libpthread with GLIBC_2.19 symver.
4898 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4899 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4900 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4901 * sysdeps/s390/__longjmp.c: New file.
4902 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4903 * sysdeps/s390/longjmp.c: New file.
4904 * sysdeps/s390/setjmp.S: New file.
4905 * sysdeps/s390/sigjmp.S: New file.
4906 * sysdeps/s390/v1-longjmp.c: New file.
4907 * sysdeps/s390/v1-setjmp.h: New file.
4908 * sysdeps/s390/v1-sigjmp.c: New file.
4909 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4910 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4911 GLIBC_2.19 version.
4912 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4913 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4914 versioned symbols for ____longjmp_chk.
4915 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4916 Likewise.
4917 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4918 Regenerate.
4919 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4920 Regenerate.
4921 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4922 Regenerate.
4923 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4924 Regenerate.
4925 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4926 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4927 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4928 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4929 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4930 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4931 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4932 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4933 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4934 * sysdeps/s390/rtld-__longjmp.c: New file.
4935 * sysdeps/s390/rtld-setjmp.S: New file.
4936
eb3fc44b
JM
49372014-01-06 Joseph Myers <joseph@codesourcery.com>
4938
4939 [BZ #16400]
4940 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4941 Return -__logl (x) for small positive arguments without evaluating
4942 a polynomial.
4943
9341dde4
MF
49442014-01-06 Mike Frysinger <vapier@gentoo.org>
4945
4946 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4947 Rename to ...
4948 (__ptrace_peeksiginfo_args): ... this.
4949 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4950 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4951 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4952
4cff0293
AM
49532014-01-06 Allan McRae <allan@archlinux.org>
4954
4955 * inet/netinet/in.h: Fix typo in comment.
4956
75595dcf
AJ
49572014-01-05 Andreas Jaeger <aj@suse.de>
4958
4959 * sysdeps/i386/fpu/libm-test-ulps: Update.
4960
79c1e109
AM
49612014-01-05 Allan McRae <allan@archlinux.org>
4962
dd804818
AM
4963 * po/libc.pot: Regenerated.
4964
79c1e109
AM
4965 * malloc/memusagestat.c: Fix gettext call formatting.
4966
0c813d1f
SK
49672014-01-04 Sami Kerola <kerolasa@iki.fi>
4968
4969 * nscd/nscd.c: Improve usage() output.
4970
20f4a8d9
MF
49712014-01-04 Mike Frysinger <vapier@gentoo.org>
4972
4973 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
4974 * sysdeps/unix/sysv/linux/configure: Regenerated.
4975 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
4976 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
4977
22562bb2
JM
49782014-01-03 Joseph Myers <joseph@codesourcery.com>
4979
4980 [BZ #16390]
4981 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
4982 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
4983
d7ad2d9b
AZ
49842014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4985
4986 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
4987 extra tokens at end of #undef directive.
4988 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
4989 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
4990 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4991
7dd009d8
JM
49922014-01-03 Joseph Myers <joseph@codesourcery.com>
4993
24db925a
JM
4994 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4995
7dd009d8
JM
4996 * math/auto-libm-test-in: Mark various tests with
4997 xfail-rounding:ldbl-128ibm.
4998 * math/auto-libm-test-out: Regenerated.
4999
396e3ecf
JM
50002014-01-02 Joseph Myers <joseph@codesourcery.com>
5001
819e5d50
JM
5002 [BZ #16386]
5003 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5004 numbers with subnormal high part when calculating exponent.
5005
90b6a1e5
JM
5006 [BZ #16385]
5007 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5008 fabs.
5009
396e3ecf
JM
5010 [BZ #16384]
5011 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5012 M_LN2l.
5013 (__ieee754_acoshl): Use __log1pl not __log1p.
5014
6c8dbf00
OB
50152013-01-02 Ondřej Bílka <neleai@seznam.cz>
5016
5017 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5018 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5019 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5020 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5021 Convert to GNU style.
5022 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5023 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5024 memalign_check, __malloc_set_state): Likewise.
5025 * malloc/mallocbug.c (main): Likewise.
5026 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5027 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5028 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5029 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5030 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5031 * malloc/malloc.h: Likewise.
5032 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5033 memalignhook, reallochook, mabort): Likewise.
5034 * malloc/mcheck.h: Likewise.
5035 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5036 mmap64, mremap, munmap, dest): Likewise.
5037 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5038 * malloc/morecore.c (__default_morecore): Likewise.
5039 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5040 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5041 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5042 print_and_abort): Likewise.
5043 * malloc/obstack.h: Likewise.
5044 * malloc/set-freeres.c (__libc_freeres): Likewise.
5045 * malloc/tst-mallocstate.c (main): Likewise.
5046 * malloc/tst-mtrace.c (main): Likewise.
5047 * malloc/tst-realloc.c (do_test): Likewise.
5048
d4124212
SP
50492013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5050
9a3c6a6f
SP
5051 [BZ #16366]
5052 * nscd/netgroupcache.c (do_notfound): New function.
5053 (addgetnetgrentX): Use it.
5054
d4124212
SP
5055 [BZ # 16365]
5056 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5057 NSS_STATUS_NOTFOUND.
5058
97b9a009
JM
50592014-01-01 Joseph Myers <joseph@codesourcery.com>
5060
5061 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5062 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5063
d4697bc9
AM
50642014-01-01 Allan McRae <allan@archlinux.org>
5065
ddb3687f
AM
5066 * scripts/update-copyrights: Update configure input file suffix.
5067
88726d48
AM
5068 * NEWS: Update copyright year.
5069 * catgets/gencat.c: Likewise.
5070 * csu/version.c: Likewise.
5071 * debug/catchsegv.sh: Likewise.
5072 * debug/pcprofiledump.c: Likewise.
5073 * debug/xtrace.sh: Likewise.
5074 * elf/ldconfig.c: Likewise.
5075 * elf/ldd.bash.in: Likewise.
5076 * elf/pldd.c: Likewise.
5077 * elf/sotruss.ksh: Likewise.
5078 * elf/sprof.c: Likewise.
5079 * iconv/iconv_prog.c: Likewise.
5080 * iconv/iconvconfig.c: Likewise.
5081 * locale/programs/locale.c: Likewise.
5082 * locale/programs/localedef.c: Likewise.
5083 * login/programs/pt_chown.c: Likewise.
5084 * malloc/memusage.sh: Likewise.
5085 * malloc/memusagestat.c: Likewise.
5086 * malloc/mtrace.pl: Likewise.
5087 * manual/libc.texinfo: Likewise.
5088 * nscd/nscd.c: Likewise.
5089 * nss/getent.c: Likewise.
5090 * nss/makedb.c: Likewise.
5091 * posix/getconf.c: Likewise.
5092 * scripts/test-installation.pl: Likewise.
5093
d4697bc9
AM
5094 * All files with FSF copyright notices: Update copyright dates
5095 using scripts/update-copyrights.
5096 * intl/plural.c: Regenerated.
5097 * locale/programs/charmap-kw.h: Likewise.
5098 * locale/programs/locfile-kw.h: Likewise.
5099
c8590f9d
MF
51002013-12-31 Mike Frysinger <vapier@gentoo.org>
5101
5102 * sysdeps/unix/sysv/linux/configure: Regenerated.
5103 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5104 the linux/fanotify.h header.
5105 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5106 HAVE_LINUX_FANOTIFY_H is defined.
5107
b19221b9
SP
51082013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5109
dd1d85e5
SP
5110 * benchtests/cos-inputs: New inputs.
5111 * benchtests/sin-inputs: Likewise.
5112
1acbb90f
SP
5113 * benchtests/atan-inputs: New inputs. Fix name of multiple
5114 precision fallback inputs.
5115
4c012ed3
SP
5116 * benchtests/atanh-inputs: New inputs.
5117 * benchtests/tanh-inputs: Likewise.
5118
eff98324
SP
5119 * benchtests/acosh-inputs: New inputs.
5120 * benchtests/asinh-inputs: Likewise.
5121
ce641152
SP
5122 * benchtests/cosh-inputs: New inputs.
5123 * benchtests/sinh-inputs: Likewise.
5124
b19221b9
SP
5125 * benchtests/acos-inputs: Add more inputs.
5126 * benchtests/asin-inputs: Likewise.
5127
030a4976 51282013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5129
030a4976 5130 [BZ #16375]
9dcc8f11
VS
5131 * manual/arith.texi: Fix spelling.
5132 * manual/charset.texi: Likewise.
5133 * manual/errno.texi: Likewise.
5134 * manual/filesys.texi: Likewise.
5135 * manual/lang.texi: Likewise.
5136 * manual/llio.texi: Likewise.
5137 * manual/locale.texi: Likewise.
5138 * manual/message.texi: Likewise.
5139 * manual/resource.texi: Likewise.
5140 * manual/search.texi: Likewise.
5141 * manual/setjmp.texi: Likewise.
5142 * manual/stdio.texi: Likewise.
5143 * manual/string.texi: Likewise.
5144 * manual/sysinfo.texi: Likewise.
5145 * manual/time.texi: Likewise.
5146
11520a57
CD
51472013-12-27 Carlos O'Donell <carlos@redhat.com>
5148
5149 * po/sl.po: New file.
5150
471103ae
MF
51512013-12-27 Mike Frysinger <vapier@gentoo.org>
5152
5153 * .gitignore: Add core/.gdbinit/.gdb_history.
5154
6c9642ed
AM
51552013-12-27 Allan McRae <allan@archlinux.org>
5156
5157 [BZ #16369]
5158 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5159 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5160
3f637079
BM
51612013-12-24 Brooks Moses <bmoses@google.com>
5162
5163 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5164 all compilers that claim C++98 compliance, not just GCC.
5165 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5166 Likewise.
5167
abc26e99
MK
51682013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5169
5170 * NEWS: Restore accidentally deleted bug-fix entries.
5171
362b47fe
MK
51722013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5173 Ondřej Bílka <neleai@seznam.cz>
5174
5175 [BZ #15073]
5176 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5177 have_lock.
362b47fe 5178
b9bcbbcb
OB
51792013-12-23 Ondřej Bílka <neleai@seznam.cz>
5180
5181 [BZ #12986]
5182 * manual/stdio.texi (String Input Conversions): Clarify that character
5183 classes are not supported.
5184
fb55fcd2
AZ
51852013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5186
5187 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5188
ef7344f0
JM
51892013-12-22 Joseph Myers <joseph@codesourcery.com>
5190
4f40e4b3
JM
5191 [BZ #16337]
5192 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5193 Calculate results for small negative arguments directly rather
5194 than using reflection formula with special underflow handling.
5195
ef7344f0
JM
5196 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5197 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5198 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5199 (fchflags): Likewise.
5200 (revoke): Likewise.
5201 (setlogin): Likewise.
5202 (sigaltstack): Likewise.
5203 (wait4): Likewise.
5204 (sigblock): Remove.
5205 (sigsetmask): Likewise.
5206 (wait3): Likewise.
5207 (waitpid): Likewise.
5208 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5209 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5210 file.
5211 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5212 * sysdeps/unix/bsd/Makefile: ... here.
5213 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5214 * sysdeps/unix/bsd/Versions: ... here.
5215 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5216 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5217 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5218 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5219 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5220 * sysdeps/unix/bsd/sigblock.c: ... here.
5221 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5222 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5223 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5224 * sysdeps/unix/bsd/sigvec.c: ... here.
5225 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5226 * sysdeps/unix/bsd/tcdrain.c: ... here.
5227 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5228 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5229 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5230 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5231 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5232 * sysdeps/unix/bsd/wait.c: ... here.
5233 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5234 * sysdeps/unix/bsd/wait3.c: ... here.
5235 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5236 * sysdeps/unix/bsd/waitpid.c: ... here.
5237
5b0626b9
JM
52382013-12-21 Joseph Myers <joseph@codesourcery.com>
5239
5240 [BZ #16356]
5241 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5242 round-to-nearest for [!USE_AS_EXPM1L].
5243 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5244 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5245 more tests of exp and exp10. Expect some exp10 tests to miss
5246 exceptions or fail in directed rounding modes.
5247 * math/auto-libm-test-out: Regenerated.
5248 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5249 (exp10_test_tonearest): New function.
5250 (exp10_towardzero_test_data): New array.
5251 (exp10_test_towardzero): New function.
5252 (exp10_downward_test_data): New array.
5253 (exp10_test_downward): New function.
5254 (exp10_upward_test_data): New array.
5255 (exp10_test_upward): New function.
5256 (main): Call the new functions.
5257 * sysdeps/i386/fpu/libm-test-ulps: Update.
5258 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5259
7fda5682
JM
52602013-12-20 Joseph Myers <joseph@codesourcery.com>
5261
31e3a405
JM
5262 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5263 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5264 * math/auto-libm-test-out: Regenerated.
5265 * math/libm-test.inc (acosh_test_data): Add more tests.
5266 (atanh_test_data): Likewise.
5267 (ceil_test_data): Likewise.
5268 (copysign_test_data): Likewise.
5269 * sysdeps/i386/fpu/libm-test-ulps: Update.
5270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5271
85bff96a
JM
5272 * timezone/checktab.awk: Update from tzcode 2013i.
5273 * timezone/private.h: Likewise.
5274 * timezone/scheck.c: Likewise.
5275 * timezone/tzfile.h: Likewise.
5276 * timezone/tzselect.ksh: Likewise.
5277 * timezone/zdump.c: Likewise.
5278 * timezone/zic.c: Likewise.
5279
b7867a3b
JM
5280 * math/auto-libm-test-in: Add tests of cpow.
5281 * math/auto-libm-test-out: Regenerated.
5282 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5283 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5284 mpc_cc_c.
5285 (func_calc_desc): Add mpc_cc_c union field.
5286 (test_functions): Add cpow.
5287 (special_fill_2pi): New function.
5288 (special_real_inputs): Add 2pi.
5289 (calc_generic_results): Handle mpc_cc_c.
5290 * sysdeps/i386/fpu/libm-test-ulps: Update.
5291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5292
7fda5682
JM
5293 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5294 csqrt, ctan and ctanh.
5295 * math/auto-libm-test-out: Regenerated.
5296 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5297 (TEST_COND_x86): Likewise.
5298 (ccos_test_data): Use AUTO_TESTS_c_c.
5299 (ccosh_test_data): Likewise.
5300 (cexp_test_data): Likewise.
5301 (clog_test_data): Likewise.
5302 (csqrt_test_data): Likewise.
5303 (ctan_test_data): Likewise.
5304 (ctan_tonearest_test_data): Likewise.
5305 (ctan_towardzero_test_data): Likewise.
5306 (ctan_downward_test_data): Likewise.
5307 (ctan_upward_test_data): Likewise.
5308 (ctanh_test_data): Likewise.
5309 (ctanh_tonearest_test_data): Likewise.
5310 (ctanh_towardzero_test_data): Likewise.
5311 (ctanh_downward_test_data): Likewise.
5312 (ctanh_upward_test_data): Likewise.
5313 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5314 mpc_c_c.
5315 (func_calc_desc): Add mpc_c_c union field.
5316 (FUNC_mpc_c_c): New macro.
5317 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5318 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5319 ctanh.
5320 (special_fill_min_subnorm_p120): New function.
5321 (special_real_inputs): Add min_subnorm_p120.
5322 (calc_generic_results): Handle mpc_c_c.
5323 * sysdeps/i386/fpu/libm-test-ulps: Update.
5324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5325
5ff8d60e
SP
53262013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5327
392dd2de
SP
5328 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5329 do_sin_slow): New functions.
5330 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5331 cslow2, csloww1, csloww2): Use the new functions.
5332
84ba214c
SP
5333 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5334 Use M to change sign of result instead of X. Assume X is
5335 positive.
5336 (csloww1): Likewise.
5337 (__sin): Adjust.
5338 (__cos): Adjust.
5339
975195e4
SP
5340 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5341 arguments A and DA.
5342 (__sin): Adjust.
5343 (__cos): Likewise.
5344
5ff8d60e
SP
5345 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5346 (__cos): Likewise.
5347 (sloww1): Don't adjust sign of DX.
5348 (csloww1): Likewise.
5349 (sloww2): Use X directly and don't adjust sign of DX.
5350 (csloww2): Likewise.
5351
eb983568
JM
53522013-12-19 Joseph Myers <joseph@codesourcery.com>
5353
64a17f1a
JM
5354 * math/auto-libm-test-in: Add tests of cabs and carg.
5355 * math/auto-libm-test-out: Regenerated.
5356 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5357 (carg_test_data): Likewise.
5358 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5359 mpc_c_f.
5360 (func_calc_desc): Add mpc_c_f union field.
5361 (test_functions): Add cabs and carg.
5362 (calc_generic_results): Handle mpc_c_f.
5363
eb983568
JM
5364 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5365 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5366 as a macro and a compat symbol.
5367 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5368 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5369 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5370 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5371 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5372 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5373 not use .hidden.
5374 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5375 Likewise.
5376 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5377 Likewise.
5378 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5379 Likewise.
5380 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5381 Likewise.
5382 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5383 Likewise.
5384 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5385 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5386 from GLIBC_2.3.2.
5387
6eeb678a
AZ
53882013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5389
5390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5391
6f6fc482
JM
53922013-12-19 Joseph Myers <joseph@codesourcery.com>
5393
21fea2e2
JM
5394 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5395 trailing whitespace removed.
5396 * scripts/config.guess: Update to version 2013-11-29.
5397 * scripts/config.sub: Update to version 2013-10-01.
5398
6f6fc482
JM
5399 * math/auto-libm-test-in: Add tests of sincos.
5400 * math/auto-libm-test-out: Regenerated.
5401 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5402 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5403 mpfr_f_11.
5404 (func_calc_desc): Add mpfr_f_11 union field.
5405 (test_functions): Add sincos.
5406 (calc_generic_results): Handle mpfr_f_11.
5407 * sysdeps/i386/fpu/libm-test-ulps: Update.
5408 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5409
83f5c32d
AS
54102013-12-19 Andreas Schwab <schwab@suse.de>
5411
5412 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5413 CALL_MCOUNT.
5414 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5415 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5416 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5417
c688b419
JM
54182013-12-19 Joseph Myers <joseph@codesourcery.com>
5419
335ee092
JM
5420 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5421 * sysdeps/i386/fpu/libm-test-ulps: Update.
5422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5423
f88acd39
JM
5424 [BZ #16293]
5425 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5426 round-to-nearest mode when using frndint.
5427 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5428 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5429 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5430 Likewise.
5431 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5432 sinh test to fail.
5433 * math/auto-libm-test-out: Regenerated.
5434 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5435 (TEST_COND_x86): Likewise.
5436 (expm1_tonearest_test_data): New array.
5437 (expm1_test_tonearest): New function.
5438 (expm1_towardzero_test_data): New array.
5439 (expm1_test_towardzero): New function.
5440 (expm1_downward_test_data): New array.
5441 (expm1_test_downward): New function.
5442 (expm1_upward_test_data): New array.
5443 (expm1_test_upward): New function.
5444 (main): Run the new test functions.
5445 * sysdeps/i386/fpu/libm-test-ulps: Update.
5446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5447
c688b419
JM
5448 * include/features.h: Update comment documenting feature test
5449 macros. Mention _DEFAULT_SOURCE in comment.
5450 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5451 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5452 _BSD_SOURCE and _SVID_SOURCE.
5453 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5454 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5455 !_SVID_SOURCE]: Likewise.
5456 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5457 (__USE_POSIX_IMPLICITLY): Define.
5458 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5459 (_POSIX_SOURCE): Undefine and redefine.
5460 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5461 (_POSIX_C_SOURCE): Likewise.
5462 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5463 (Feature Test Macros): Update documentation of default features.
5464
9f6e964c
RS
54652013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5466
5467 * benchtests/Makefile: Add bench-strtok.
5468 * benchtests/bench-strtok.c: New file: strtok benchtest.
5469
ee0a148a
AM
54702013-12-19 Allan McRae <allan@archlinux.org>
5471
5472 * manual/install.texi: Suppress menu for plain text output.
5473 * INSTALL: Regenerated.
5474
b9ab448f
BM
54752013-12-18 Brooks Moses <bmoses@google.com>
5476
5477 [BZ #15846]
5478 * misc/getauxval.c: Include errno.h.
5479 (__getauxval): Set errno to ENOENT if the requested type is not
5480 found.
5481 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5482 don't declare with __attribute_const__.
5483 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5484 * manual/startup.texi: Document that getauxval sets errno.
5485
23776487
JM
54862013-12-18 Joseph Myers <joseph@codesourcery.com>
5487
f889953b
JM
5488 * math/auto-libm-test-in: Add tests of jn and yn.
5489 * math/auto-libm-test-out: Regenerated.
5490 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5491 (yn_test_data): Likewise.
5492 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5493 mpfr_if_f.
5494 (func_calc_desc): Add mpfr_if_f union field.
5495 (FUNC_mpfr_if_f): New macro.
5496 (test_functions): Add jn and yn.
5497 (calc_generic_results): Assert type of second input for
5498 mpfr_ff_f. Handle mpfr_if_f.
5499 (output_for_one_input_case): Disable all checking for arguments
5500 fitting floating-point types in case of an integer argument.
5501 * sysdeps/i386/fpu/libm-test-ulps: Update.
5502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5503
23776487
JM
5504 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5505 Don't expect fegetround reference in libm.so.
5506
cb756c6d
MS
55072013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5508
5509 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5510 $(config-cflags-nofma).
5511
2dec468f
JM
55122013-12-18 Joseph Myers <joseph@codesourcery.com>
5513
5953eb3a
JM
5514 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5515 * math/auto-libm-test-out: Regenerated.
5516
2dec468f
JM
5517 [BZ #16338]
5518 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5519 to determine exponent and adjust argument to have exponent of -1.
5520 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5521 log2.
5522 * math/auto-libm-test-out: Regenerated.
5523 * sysdeps/i386/fpu/libm-test-ulps: Update.
5524 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5525
4d84e6ad
OB
55262013-12-18 Ondřej Bílka <neleai@seznam.cz>
5527
5528 * manual/probes.texi: Remove cases when per-thread arenas are
5529 disabled.
5530
1818483b
AS
55312013-12-18 Andreas Schwab <schwab@suse.de>
5532
5533 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5534 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5535 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5536 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5537 * sysdeps/i386/i686/multiarch/Makefile: Update.
5538 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5539
25de95bf
JM
55402013-12-17 Joseph Myers <joseph@codesourcery.com>
5541
5542 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5543 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5544
674762d9
PE
55452013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5546
ed27ed83 5547 [BZ #15968]
0748546f
PE
5548 Support TZ transition times < 00:00:00.
5549 This is needed for version-3 tz-format files; it supports time
5550 stamps past 2037 for America/Godthab (the only entry in the tz
5551 database for which this change is relevant).
5552 * manual/time.texi (TZ Variable): Document transition times
5553 from -167:59:59 through -00:00:01.
5554 * time/tzset.c (tz_rule): Time of day is now signed.
5555 (__tzset_parse_tz): Parse negative time of day.
5556
4480e934
PE
5557 Document TZ transition times >= 25:00:00.
5558 * manual/time.texi (TZ Variable): Document transition times from
5559 25:00:00 through 167:59:59. These are already supported, and this
5560 support will help with version-3 tz-format files.
5561
69947401
PE
5562 * manual/time.texi (TZ Variable): Modernize North America example
5563 to reflect current (i.e., 2007-and-later) daylight saving rules.
5564
674762d9
PE
5565 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5566
7011c262
JM
55672013-12-17 Joseph Myers <joseph@codesourcery.com>
5568
2fc6557e
JM
5569 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5570 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5571 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5572 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5573 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5574 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5575 * sysdeps/unix/bsd/clock.c: Likewise.
5576 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5577 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5578 * sysdeps/unix/bsd/init-posix.c: Likewise.
5579 * sysdeps/unix/bsd/poll.c: Likewise.
5580 * sysdeps/unix/bsd/ptsname.c: Likewise.
5581 * sysdeps/unix/bsd/seekdir.c: Likewise.
5582 * sysdeps/unix/bsd/setegid.c: Likewise.
5583 * sysdeps/unix/bsd/seteuid.c: Likewise.
5584 * sysdeps/unix/bsd/setgid.c: Likewise.
5585 * sysdeps/unix/bsd/setrgid.c: Likewise.
5586 * sysdeps/unix/bsd/setruid.c: Likewise.
5587 * sysdeps/unix/bsd/setsid.c: Likewise.
5588 * sysdeps/unix/bsd/setuid.c: Likewise.
5589 * sysdeps/unix/bsd/sigaction.c: Likewise.
5590 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5591 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5592 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5593 * sysdeps/unix/bsd/telldir.c: Likewise.
5594 * sysdeps/unix/bsd/times.c: Likewise.
5595 * sysdeps/unix/bsd/usleep.c: Likewise.
5596
029c7b25
JM
5597 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5598 ($(objpfx)libbsd-compat.a): Remove rule.
5599
7011c262
JM
5600 * include/features.h (__FAVOR_BSD): Do not define.
5601 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5602 features conflicting with POSIX.
5603 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5604 (_BSD_SOURCE): Remove description of not being a subset of other
5605 feature test macros.
5606 * manual/job.texi (getpgrp): Do not document BSD version.
5607 (getpgid): Do not document by reference to BSD getpgrp.
5608 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5609 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5610 * signal/signal.h [__FAVOR_BSD]: Likewise.
5611 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5612 instead of making contents conditional on [__FAVOR_BSD].
5613 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5614
affb6f78
AZ
56152013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5616
5617 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5618
c88769dd
JM
56192013-12-17 Joseph Myers <joseph@codesourcery.com>
5620
6432a540
JM
5621 [BZ #16314]
5622 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5623 values below 2**-450, not 2**-500.
5624 * math/auto-libm-test-in: Don't allow spurious underflow from
5625 hypot.
5626 * math/auto-libm-test-out: Regenerated.
5627
c88769dd
JM
5628 [BZ #16316]
5629 [BZ #16330]
5630 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5631 values of ha and hb and sort them after adjusting subnormal
5632 arguments.
5633 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5634 Likewise.
5635 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5636 values of ea and eb and sort them after adjusting subnormal
5637 arguments.
5638 * math/auto-libm-test-in: Do not expect some hypot tests of
5639 subnormals to fail. Add more hypot tests.
5640 * math/auto-libm-test-out: Regenerated.
5641
29618f6b
KK
56422013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5643
5644 [BZ #13304]
5645 * sysdeps/sh/s_fma.c: New file.
5646 * sysdeps/sh/s_fmaf.c: New file.
5647 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5648 version.
5649 * sysdeps/sh/Implies: Add sh/soft-fp.
5650
eacfdfbf
RM
56512013-12-16 Roland McGrath <roland@hack.frob.com>
5652
5653 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5654 level of indirection to members `objname', `errstring', `malloced'.
5655 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5656 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5657 it as the __longjmp argument (just pass 1 instead).
5658 (_dl_catch_error): Initialize C with argument pointers and address of
5659 volatile local ERRCODE rather than copying values out of C at return.
5660
ff362e5b
JM
56612013-12-16 Joseph Myers <joseph@codesourcery.com>
5662
5663 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5664 * math/auto-libm-test-out: Regenerated.
5665 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5666 (hypot_test_data): Likewise.
5667 (pow_test_data): Likewise.
5668 (pow_tonearest_test_data): Likewise.
5669 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5670 mpfr_ff_f.
5671 (func_calc_desc): Add mpfr_ff_f union field.
5672 (FUNC_mpfr_ff_f): New macro.
5673 (test_functions): Add atan2, hypot and pow.
5674 (special_fill_min): New function.
5675 (special_fill_minus_min): Likewise.
5676 (special_fill_min_subnorm): Likewise.
5677 (special_fill_minus_min_subnorm): Likewise.
5678 (special_real_inputs): Add min, -min, min_subnorm and
5679 -min_subnorm.
5680 (calc_generic_results): Handle mpfr_ff_f.
5681 * sysdeps/i386/fpu/libm-test-ulps: Update.
5682 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5683
5764c27f
WN
56842013-12-16 Will Newton <will.newton@linaro.org>
5685
5686 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5687 (Aligned Memory Blocks): Add documentation for aligned_alloc
5688 and suggest it as an alternative to posix_memalign.
5689 (Hooks for Malloc): Document __memalign_hook is also called
5690 for aligned_alloc. (Summary of Malloc): Add summary for
5691 aligned alloc. Document __memalign_hook is also called
5692 for aligned_alloc.
5693
0a096e44
WN
56942013-12-16 Will Newton <will.newton@linaro.org>
5695
5696 * manual/memory.texi (Malloc Examples): Clarify default
5697 alignment documentation. Suggest posix_memalign rather
5698 than memalign or valloc.
5699 (Aligned Memory Blocks): Remove suggestion to use memalign
5700 or valloc. Remove obsolete comment about BSD.
5701 Document memalign errno values and mark the function obsolete.
5702 Document posix_memalign returned error codes. Mark valloc
5703 as obsolete. (Hooks for Malloc): __memalign_hook is also
5704 called for posix_memalign and valloc.
5705 (Summary of Malloc): Add posix_memalign to function summary.
5706 __memalign_hook is also called for posix_memalign and valloc.
5707
8d561986
SP
57082013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5709
5710 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5711 TAYLOR_SIN.
5712 (__sin): Adjust.
5713 (__cos): Likewise.
5714 (sloww): Use mynumber union. Expand ternary operator into
5715 if-else statements.
5716 (cslow): use mynumber union.
5717
73616a74
AM
57182013-12-16 Allan McRae <allan@archlinux.org>
5719
9e8ac24b
AM
5720 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5721 * configure: Regenerated.
5722
6f8e37eb
AM
5723 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5724
8894bad3
AM
5725 [BZ #14120]
5726 * configure.ac: Added --enable-maintainer-mode. Check for
5727 autoconf when enabled.
5728 * configure: Regenerated.
5729
73616a74
AM
5730 * nscd/nscd.service: New file.
5731 * nscd/nscd.tmpfiles: New file.
5732
584b18eb
OB
57332013-12-14 Ondřej Bílka <neleai@seznam.cz>
5734
5735 [BZ #12100]
5736 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5737 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5738 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5739 (strstr): Add __strstr_sse2_unaligned ifunc.
5740 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5741 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5742 (strcasestr): Remove __strcasestr_sse42 ifunc.
5743 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5744 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5745 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5746
8a5c7897
KK
57472013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5748
5749 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5750 * sysdeps/sh/bits/fenv.h: ... here.
5751 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5752
fd712ef3
AZ
57532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5754
5755 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5756
42fcb46c
AZ
57572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5758
5759 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5760 hypotf multiarch implementations.
5761 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5762 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5763 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5764 multiarch hypot for PPC64.
5765 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5766 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5767 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5768 multiarch hypotf for PPC64.
5769
83efded4
AZ
57702013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5771
5772 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5773 modff multiarch implementations.
5774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5775 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5777 multiarch modf for PPC64.
5778 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5779 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5780 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5781 multiarch modff for PPC64.
5782
43e246d2
AZ
57832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5784
5785 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5786 and logl multiarch implementations.
5787 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5789 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5790 multiarch logb for PPC64.
5791 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5793 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5794 multiarch logb for PPC64.
5795 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5796 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5797 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5798 multiarch logb for PPC64.
5799
8fdad123
AZ
58002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5801
5802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5803 isinff multiarch implementation.
5804 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5805 file.
5806 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5807 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5808 multiarch isinf for PPC64.
5809 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5810 file.
5811 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5812 multiarch isinff for PPC64.
5813
1481d706
AZ
58142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5815
5816 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5817 finitef multiarch implementation.
5818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5819 file.
5820 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5822 multiarch finite for PPC64.
5823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5824 file.
5825 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5826 multiarch finitef for PPC64.
5827
5ccd5fc8
AZ
58282013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5829
5830 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5831 lrint multiarch implementation.
5832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5833 file.
5834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5836 multiarch llrint for PPC64.
5837 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5838 multiarch lrint for PPC64.
5839
2568f3fa
AZ
58402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5841
5842 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5843 copysignf multiarch implementation.
5844 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5845 file.
5846 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5847 file.
5848 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5849 multiarch copysign for PPC64.
5850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5851 multiarch copysignf for PPC64.
5852
1cb341fd
AZ
58532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5854
5855 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5856 multiarch implementation.
5857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5858 file.
5859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5860 file.
5861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5862 file.
5863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5864 file.
5865 multiarch llround for PPC64.
5866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5867 multiarch trunc for PPC64.
5868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5869 multiarch truncf for PPC64.
5870
59a3e194
AZ
58712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5872
5873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5874 multiarch implementation.
5875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5876 file.
5877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5878 file.
5879 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5880 file.
5881 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5882 file.
5883 multiarch llround for PPC64.
5884 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5885 multiarch round for PPC64.
5886 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5887 multiarch roundf for PPC64.
5888
357fd3b4
AZ
58892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5890
5891 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5892 multiarch implementation.
5893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5894 file.
5895 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5896 file.
5897 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5898 file.
5899 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5900 file.
5901 multiarch llround for PPC64.
5902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5903 multiarch floor for PPC64.
5904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5905 multiarch floorf for PPC64.
5906
96770f12
AZ
59072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5908
5909 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5910 multiarch implementation.
5911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5912 file.
5913 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5914 file.
5915 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5916 file.
5917 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5918 file.
5919 multiarch llround for PPC64.
5920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5921 multiarch ceil for PPC64.
5922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5923 multiarch ceilf for PPC64.
5924
c3627f6e
AZ
59252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5926
5927 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5928 multiarch implementation.
5929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5930 file.
5931 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5932 file.
5933 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5934 file.
5935 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5936 multiarch llround for PPC64.
5937 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5938 multiarch lround for PPC64.
5939
b2284ad7
AZ
59402013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5941
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5943 multiarch implementation.
5944 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5946 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5947 file.
5948 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5949 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5950 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5951 multiarch isnan for PPC64.
5952 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5953 multiarch isnanf for PPC64.
5954
69bbc63d
AZ
59552013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5956
5957 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
5958 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
5959 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
5960 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
5961 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
5962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
5963
c24517c9
AZ
59642013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5965
5966 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
5967 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
5968 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
5969 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
5970
a52374e8
AZ
59712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5972
5973 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
5974 multiarch implementations.
5975 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5976 (__libc_ifunc_impl_list): Likewise.
5977 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
5978 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
5979 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
5980 multiarch stpcpy for PPC64.
5981
7f5ec113
AZ
59822013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5983
5984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
5985 multiarch implementations.
5986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5987 (__libc_ifunc_impl_list): Likewise.
5988 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
5989 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
5990 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
5991 multiarch strcpy for PPC64.
5992
e28bcd42
AZ
59932013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5994
5995 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
5996 redefine function name.
5997 (_wordcopy_fwd_dest_aligned): Likewise.
5998 (_wordcopy_bwd_aligned): Likewise.
5999 (_wordcopy_bwd_dest_aligned): Likewise.
6000 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6001 multiarch implementations.
6002 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6003 (__libc_ifunc_impl_list): Likewise.
6004 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6005 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6006 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6007 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6008 multiarch wcscpy for PPC64.
6009
92cacfce
AZ
60102013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6011
6012 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6013 multiarch implementations.
6014 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6015 (__libc_ifunc_impl_list): Likewise.
6016 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6017 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6018 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6019 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6020 multiarch wcscpy for PPC64.
6021
7b714620
AZ
60222013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6023
6024 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6025 multiarch implementations.
6026 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6027 (__libc_ifunc_impl_list): Likewise.
6028 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6029 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6030 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6031 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6032 multiarch wcsrchr for PPC64.
6033
16fd2ae3
AZ
60342013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6035
6036 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6037 multiarch implementations.
6038 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6039 (__libc_ifunc_impl_list): Likewise.
6040 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6041 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6042 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6043 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6044 multiarch wcschr for PPC64.
6045
9ee2969b
AZ
60462013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6047
6048 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6049 multiarch implementations.
6050 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6051 (__libc_ifunc_impl_list): Likewise.
6052 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6053 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6054 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6055 multiarch strchrnul for PPC64.
6056
372dc060
AZ
60572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6058
6059 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6060 implementations.
6061 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6062 (__libc_ifunc_impl_list): Likewise.
6063 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6064 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6065 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6066 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6067 strchr for PPC64.
6068
24c2c3b9
AZ
60692013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6070
6071 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6072 implementations.
6073 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6074 (__libc_ifunc_impl_list): Likewise.
6075 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6076 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6077 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6078 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6079 strncmp for PPC64.
6080
1c92d9a0
AZ
60812013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6082
6083 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6084 multiarch implementations.
6085 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6086 (__libc_ifunc_impl_list): Likewise.
6087 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6088 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6089 strncasecmp for PPC64.
6090 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6091 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6092 multiarch strncasecmp_l for PPC64.
6093
17de3ee3
AZ
60942013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6095
6096 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6097 multiarch implementations.
6098 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6099 (__libc_ifunc_impl_list): Likewise.
6100 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6101 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6102 multiarch strcasecmp for PPC64.
6103 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6104 file.
6105 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6106 multiarch strcasecmp_l for PPC64.
6107
62982bf9
AZ
61082013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6109
6110 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6111 implementations.
6112 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6113 (__libc_ifunc_impl_list): Likewise.
6114 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6115 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6116 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6117 strnlen for PPC64.
6118
a65f4904
AZ
61192013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6120
6121 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6122 implementations.
6123 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6124 (__libc_ifunc_impl_list): Likewise.
6125 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6126 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6127 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6128 strlen for PPC64.
6129
1fd005ad
AZ
61302013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6131
6132 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6133 implementations.
6134 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6135 (__libc_ifunc_impl_list): Likewise.
6136 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6137 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6138 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6139 rawmemrchr for PPC64.
6140
cd05ba91
AZ
61412013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6142
6143 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6144 implementation.
6145 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6146 (__libc_ifunc_impl_list): Likewise.
6147 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6148 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6149 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6150 memrchr for PPC64.
6151
870f8676
AZ
61522013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6153
6154 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6155 implementation.
6156 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6157 (__libc_ifunc_impl_list): Likewise.
6158 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6159 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6160 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6161 memchr for PPC64.
6162
f00be62b
AZ
61632013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6164
6165 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6166 implementation.
6167 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6168 (__libc_ifunc_impl_list): Likewise.
6169 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6170 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6171 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6172 mempcpy for PPC64.
6173
8a29a3d0
AZ
61742013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6175
6176 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6177 avoid cretion of __bzero symbol.
6178 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6179 Likewise.
6180 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6181 Likewise.
6182 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6183 Likewise.
6184 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6185 multiarch implementations.
6186 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6187 (__libc_ifunc_impl_list): Likewise.
6188 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6189 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6190 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6191 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6192 bzero for PPC32.
6193 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6194 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6195 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6196 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6197 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6198 memset for PPC64.
6199 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6200
07253fcf
AZ
62012013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6202
6203 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6204 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6205 implementations.
6206 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6207 (__libc_ifunc_impl_list): Likewise.
6208 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6209 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6210 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6211 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6212 memcmp for PPC64.
6213
b5beafbc
AZ
62142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6215
6216 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6217 multiarch for POWER/PPC64.
6218 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6219 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6220 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6221 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6222 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6223 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6224 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6225 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6226 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6227 memcpy for PPC64.
6228
5e6a4d4b
AZ
62292013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6230
6231 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6232 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6233 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6234 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6235 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6236 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6237 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6238 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6239 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6240 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6241 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6242 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6243 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6244 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6245 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6247 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6248 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6249 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6252 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6253
ddfab6dc
KK
62542013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6255
6256 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6257
19b5525e
SP
62582013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6259
6260 * benchtests/Makefile (bench): Add exp2 and log2.
6261 (LDLIBS-bench-exp2): Add -lm.
6262 (LDLIBS-bench-log2): Likewise.
6263 * benchtests/exp2-inputs: New inputs file.
6264 * benchtests/log2-inputs: New inputs file.
6265 * benchtests/log-inputs: Add new inputs.
6266 * benchtests/tan-inputs: Likewise.
6267
196f7f5d
SP
62682013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6269
7a74607f
SP
6270 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6271 definition...
6272 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6273 csloww1, csloww2): ... from here.
6274
196f7f5d
SP
6275 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6276 instead of structures.
6277 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6278 (POLYNOMIAL): Likewise.
6279 (TAYLOR_SLOW): Likewise.
6280 (__sin): Likewise.
6281 (__cos): Likewise.
6282 (slow1): Likewise.
6283 (slow2): Likewise.
6284 (sloww): Likewise.
6285 (sloww1); Likewise.
6286 (sloww2): Likewise.
6287 (bsloww1): Likewise.
6288 (bsloww2): Likewise.
6289 (cslow2): Likewise.
6290 (csloww): Likewise.
6291 (csloww1): Likewise.
6292 (csloww2): Likewise.
6293
0dfa665c
OB
62942013-12-10 Ondřej Bílka <neleai@seznam.cz>
6295
6296 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6297 (__malloc_assert, __libc_realloc, __libc_calloc,
6298 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6299 memcpy and memset.
6300 * malloc/hooks.c (realloc_check): Likewise.
6301
5782a80f
OB
63022013-12-10 Ondřej Bílka <neleai@seznam.cz>
6303
6304 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6305 * malloc/arena.c: Remove PER_THREAD conditional.
6306 [!PER_THREAD]: Remove code.
6307 (ptmalloc_unlock_all2): Likewise.
6308 (ptmalloc_init): Likewise.
6309 (_int_new_arena): Likewise.
6310 (arena_get2): Likewise.
6311 * malloc/hooks.c (__malloc_get_state): Likewise.
6312 (__malloc_set_state): Likewise.
6313 * malloc/malloc.c: Likewise.
6314 (struct malloc_state): Likewise.
6315 (struct malloc_par): Likewise.
6316 (__libc_realloc): Likewise.
6317 (__libc_mallopt): Likewise.
6318
aeb95445
AZ
63192013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6320
6321 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6322
e8349efd
OB
63232013-12-09 Ondřej Bílka <neleai@seznam.cz>
6324
6325 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6326 macro to a function. Check for zero perturb_byte.
6327 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6328
f3eeb3fc
OB
63292013-12-09 Ondřej Bílka <neleai@seznam.cz>
6330
6331 * malloc/malloc.c: (force_reg): Remove.
6332 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6333 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6334 force_reg by atomic_forced_read.
6335 * malloc/arena.c (ptmalloc_init): Likewise.
6336 * malloc/hooks.c (top_check): Likewise.
6337
be2f9009
AZ
63382013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6339
6340 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6341
e7b914bd
MT
63422013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6343
6344 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6345
9f0be4f8
JM
63462013-12-08 Joseph Myers <joseph@codesourcery.com>
6347
6348 * math/auto-libm-test-in: Add tests of lgamma.
6349 * math/auto-libm-test-out: Regenerated.
6350 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6351 (M_LOG_2_SQRT_PIl): Likewise.
6352 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6353 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6354 mpfr_f_f1.
6355 (func_calc_desc): Add mpfr_f_f1 union field.
6356 (ARGS1): New macro.
6357 (ARGS2): Likewise.
6358 (ARGS3): Likewise.
6359 (ARGS4): Likewise.
6360 (RET1): Likewise.
6361 (RET2): Likewise.
6362 (CALC): Likewise.
6363 (FUNC): Likewise.
6364 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6365 (test_functions): Add lgamma.
6366 (calc_generic_results): Handle mpfr_f_f1.
6367 * sysdeps/i386/fpu/libm-test-ulps: Update.
6368 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6369
24eeafdb
AZ
63702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6371
6372 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6373 __mpn_add_n for PowerPC64/POWER7.
6374 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6375 __mpn_sub_n for PowerPC64/POWER7.
6376
4a2c0fd4
AZ
63772013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6378
6379 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6380 __mpn_addmul_1 for PowerPC64.
6381 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6382 __mpn_submul_1 for PowerPC64.
6383 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6384 for PowerPC64.
6385 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6386 for PowerPC64.
6387
4b5b548c
FS
63882013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6389
6390 [BZ #15089]
6391 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6392
0a3ac0aa
AZ
63932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6394
6395 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6396
ccdc8438
AZ
63972013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6398
6399 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6400 add multiarch folders.
6401 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6402 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6403 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6404 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6405 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6406 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6407 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6408 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6409 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6410 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6411 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6417 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6418
2e973d99
AZ
64192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6420
6421 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6422 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6423 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6424 New file.
6425 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6426 New file.
6427 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6428 multiarch __ieee754_hypot for PowerPC32.
6429 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6430 New file.
6431 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6432 New file.
6433 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6434 multiarch __ieee754_hypotf for PowerPC32.
6435
2d9470b2
AZ
64362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6437
6438 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6439 long_double_symbol only if __logbl is defined.
6440 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6441 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6442 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6443 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6444 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6445 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6446 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6447 path for implementation.
6448 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6449 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6450 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6451 logb, and logbl multiarch implementations for PowerPC32.
6452 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6453 file.
6454 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6455 file.
6456 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6457 multiarch logb for PowerPC32.
6458 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6459 file.
6460 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6461 file.
6462 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6463 multiarch logbf for PowerPC32.
6464 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6465 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6466 file.
6467 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6468 multiarch logbl implementation for PowerPC32.
6469
5212ffce
AZ
64702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6471
6472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6473 and modff multiarch implementations.
6474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6475 New file.
6476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6477 New file.
6478 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6479 multiarch modf for PowerPC32.
6480 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6481 New file.
6482 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6483 New file.
6484 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6485 multiarch modff for PowerPC32.
6486
79dccf31
AZ
64872013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6488
6489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6490 and lrintf multiarch implementations.
6491 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6492 New file.
6493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6494 New file.
6495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6496 multiarch lrint for PowerPC32.
6497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6498 file: multiarch lrintf for PowerPC32.
6499
deb66480
AZ
65002013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6501
6502 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6503 and lroundf multiarch implementations.
6504 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6505 New file.
6506 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6507 New file.
6508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6509 New file.
6510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6511 multiarch lround for PowerPC32.
6512 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6513 file: multiarch lroundf for PowerPC32.
6514
264b036b
AZ
65152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6516
6517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6518 copysign and copysignf multiarch implementations.
6519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6520 New file.
6521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6522 New file.
6523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6524 file: multiarch copysign for PowerPC32.
6525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6526 file: multiarch copysignf for PowerPC32.
6527
d47db6c9
AZ
65282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6529
6530 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6531 and truncf multiarch implementations.
6532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6533 New file.
6534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6535 file.
6536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6537 multiarch trunc for PowerPC32.
6538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6539 New file.
6540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6541 New file.
6542 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6543 multiarch truncf for PowerPC32.
6544
ddb60b5a
AZ
65452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6546
6547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6548 and roundf multiarch implementations.
6549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6550 New file.
6551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6552 file.
6553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6554 multiarch round for PowerPC32.
6555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6556 New file.
6557 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6558 New file.
6559 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6560 multiarch roundf for PowerPC32.
6561
bedcf49b
AZ
65622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6563
6564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6565 and floorf multiarch implementations.
6566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6567 New file.
6568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6569 file.
6570 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6571 multiarch floor for PowerPC32.
6572 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6573 New file.
6574 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6575 New file.
6576 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6577 multiarch floorf for PowerPC32.
6578
35ae5b40
AZ
65792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6580
6581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6582 and ceilf multiarch implementations.
6583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6584 New file.
6585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6586 file.
6587 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6588 multiarch ceil for PowerPC32.
6589 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6590 New file.
6591 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6592 file.
6593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6594 multiarch ceilf for PowerPC32.
6595
ae1a4cd9
AZ
65962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6597
6598 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6599 is defined.
6600 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6601 FINITEF is defined.
6602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6603 and finitef multiarch implementations.
6604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6605 New file.
6606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6607 file.
6608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6609 multiarch finite for PowerPC32.
6610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6611 New file.
6612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6613 file: multiarch finitef for PowerPC32.
6614
64fffd65
AZ
66152013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6616
6617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6618 and isinff multiarch implementations.
6619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6620 file.
6621 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6622 file.
6623 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6624 multiarch isinf for PowerPC32.
6625 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6626 New file.
6627 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6628 multiarch isinff for PowerPC32.
6629
8e4e7ba2
AZ
66302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6631
6632 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6633 alias when __isnan is defined.
6634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6635 and isnanf multiarch implementations.
6636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6637 file.
6638 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6639 file.
6640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6641 file.
6642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6643 file.
6644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6645 multiarch isnan for PowerPC32.
6646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6647 New file.
6648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6649 New file.
6650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6651 multiarch isnanf for PowerPC32.
6652
ddba588e
AZ
66532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6654
6655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6656 and sqrtf multiarch implementations.
6657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6658 file.
6659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6660 file.
6661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6662 multiarch sqrt for PowerPC32.
6663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6664 file.
6665 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6666 file.
6667 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6668 multiarch sqrtf for PowerPC32.
6669
0f96a2f0
AZ
66702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6671
6672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6673 and llroundf multiarch implementations.
6674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6675 New file.
6676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6677 New file.
6678 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6679 New file.
6680 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6681 file: multiarch llround for PowerPC32.
6682 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6683 file: multiarch llroundf for PowerPC32.
6684
c9b5d79e
AZ
66852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6686
6687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6688 multiarch PowerPC32 fpu implementations.
6689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6690 New file.
6691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6692 New file.
6693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6694 multiarch llrint for PowerPC32.
6695 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6696 New file.
6697 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6698 New file.
6699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6700 file.
6701
9cbb3aab
AZ
67022013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6703
6704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6705
ea5a72f8
AZ
67062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6707
6708 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6709 file.
6710 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6711 file.
6712 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6713 file.
6714 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6715 multiarch wordcopy for PPC32.
6716 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6717 wordcopy objects.
6718 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6719 (__libc_ifunc_impl_list): Likewise.
6720 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6721 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6722 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6723 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6724 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6725 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6726
93be09e7
AZ
67272013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6728
6729 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6730 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6731 file.
6732 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6733 file.
6734 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6735 file.
6736 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6737 multiarch wcscpy for PPC32.
6738 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6739 multiarch objects.
6740 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6741 (__libc_ifunc_impl_list): Likewise.
6742 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6743 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6744 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6745 sysdeps/powerpc/power6/wcscpy.c.
6746
bb04e529
AZ
67472013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6748
6749 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6750 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6751 file.
6752 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6753 file.
6754 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6755 file.
6756 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6757 multiarch wcsrchr for PPC32.
6758 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6759 multiarch objects.
6760 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6761 (__libc_ifunc_impl_list): Likewise.
6762 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6763 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6764 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6765 sysdeps/powerpc/power6/wcsrchr.c.
6766
05b5cd1c
AZ
67672013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6768
6769 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6770 file.
6771 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6772 file.
6773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6774 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6775 multiarch wcschr for PPc32.
6776 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6777 multiarch objects.
6778 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6779 (__libc_ifunc_impl_list): Likewise.
6780 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6781 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6782 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6783 sysdeps/powerpc/power6/wcschr.c.
6784
ba964147
AZ
67852013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6786
6787 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6788 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6789 file.
6790 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6791 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6792 file: multiarch strchr for PPC32.
6793 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6794 multiarch objects.
6795 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6796 (__libc_ifunc_impl_list): Likewise.
6797
31c81aaa
AZ
67982013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6799
6800 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6801 name.
6802 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6803 file.
6804 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6805 file.
6806 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6807 multiarch strchrnul for PPC32.
6808 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6809 multiarch objects.
6810 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6811 (__libc_ifunc_impl_list): Likewise.
6812
0d0607d9
AZ
68132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6814
6815 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6816 file.
6817 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6818 multiarch strncasecmp for PPC32.
6819 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6820 file.
6821 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6822 multiarch strncasecmp_l for PPC32.
6823 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6824 strncasecmp multiarch objects.
6825 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6826 (__libc_ifunc_impl_list): Likewise.
6827
4dfd5c86
AZ
68282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6829
6830 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6831 file.
6832 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6833 multiarch strncasecmp for PPC32.
6834 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6835 New file.
6836 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6837 multiarch strcasecmp_l for PPC32.
6838 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6839 multiarch objects.
6840 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6841 (__libc_ifunc_impl_list): Likewise.
6842
a19e01a3
AZ
68432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6844
6845 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6846 file.
6847 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6848 file.
6849 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6850 multiarch strncmp for PPC32.
6851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6852 multiarch objects.
6853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6854 (__libc_ifunc_impl_list): Likewise.
6855
ae9cf7a2
AZ
68562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6857
6858 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6859 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6860 file.
6861 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6862 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6864 multiarch objects.
6865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6866 (__libc_ifunc_impl_list): Likewise.
6867
3148bb7d
AZ
68682013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6869
6870 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6871 file.
6872 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6873 file.
6874 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6875 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6876 multiarch objects.
6877 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6878 (__libc_ifunc_impl_list): Likewise.
6879
7af8b946
AZ
68802013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6881
6882 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6883 file.
6884 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6885 file.
6886 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6887 multiarch rawmemchr for PPC32.
6888 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6889 multiarch objects.
6890 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6891 (__libc_ifunc_impl_list): Likewise.
6892
03a6aa6a
AZ
68932013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6894
6895 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6896 file.
6897 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6898 file.
6899 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6900 file: memrchr multiarch for PPC32.
6901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6902 multiarch objects.
6903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6904 (__libc_ifunc_impl_list): Likewise.
6905
1c62e6d9
AZ
69062013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6907
6908 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6909 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6910 file.
6911 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6912 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6913 multiarch memchr for PPC32.
6914 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6915 multiarch objects.
6916 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6917 (__libc_ifunc_impl_list): Likewise.
6918
87da8bdb
AZ
69192013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6920
6921 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6922 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6923 file.
6924 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6925 file.
6926 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6927 file: multiarch mempcpy for PPC32.
6928 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6929 multiarch objects.
6930 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6931 (__libc_ifunc_impl_list): Likewise.
6932
20ed4714
AZ
69332013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6934
6935 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6936 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6937 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6938 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6939 multiarch bzero for PPC32.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6941 file.
6942 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6943 file.
6944 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6945 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6946 file: multiarch memset for PPC32.
6947 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6948 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6949 memset multiarch objects.
6950 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6951 (__libc_ifunc_impl_list): Likewise.
6952
ab3e3a46
AZ
69532013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6954
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6956 file.
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
6958 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
6959 memcmp for PPC32.
6960 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
6961 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
6962 multiarch objects.
6963 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6964 (__libc_ifunc_impl_list): Likewise.
6965
930de6f0
AZ
69662013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6967
6968 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
6969 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
6970 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
6971 file.
6972 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
6973 file.
6974 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
6975 file.
6976 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
6977 multiarch memcpy for PPC32.
6978 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
6979 multiarch objects.
6980 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6981 (__libc_ifunc_impl_list): Likewise.
6982
4c628e00
AZ
69832013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6984
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
6986 support multiarch for POWER/PPC32.
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
6988 Likewise.
6989 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
6990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
6991 Implies file to make multiarch folder appers before the fpu and
6992 default folder for power4 configuration.
6993
f4479220
SP
69942013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
6995
6996 * scripts/bench.pl: Append volatile keyword to type.
6997
8517800f
KK
69982013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6999
7000 * sysdeps/sh/sotruss-lib.c: New file.
7001 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7002
180138f1
AZ
70032013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7004
7005 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7006
bbf37bdc
JM
70072013-12-05 Joseph Myers <joseph@codesourcery.com>
7008
e47cc4e0
JM
7009 [BZ #6810]
7010 * math/w_tgamma.c: Include <errno.h>.
7011 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7012 * math/w_tgammaf.c: Include <errno.h>.
7013 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7014 * math/w_tgammal.c: Include <errno.h>.
7015 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7016 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7017 underflow. Add more tgamma tests.
7018 * math/auto-libm-test-out: Regenerated.
7019 * sysdeps/i386/fpu/libm-test-ulps: Update.
7020 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7021
bbf37bdc
JM
7022 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7023 sin, sinh, tan, tanh, tgamma, y0 and y1.
7024 * math/auto-libm-test-out: Regenerated.
7025 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7026 (TEST_COND_x86): Likewise.
7027 (M_E2l): Remove macro.
7028 (M_E3l): Likewise.
7029 (M_2_SQRT_PIl): Likewise.
7030 (M_SQRT_PIl): Likewise.
7031 (M_1_DIV_El): Likewise.
7032 (log_test_data): Use AUTO_TESTS_f_f.
7033 (log10_test_data): Likewise.
7034 (log1p_test_data): Likewise.
7035 (log2_test_data): Likewise.
7036 (sin_test_data): Likewise.
7037 (sin_tonearest_test_data): Likewise.
7038 (sin_towardzero_test_data): Likewise.
7039 (sin_downward_test_data): Likewise.
7040 (sin_upward_test_data): Likewise.
7041 (sinh_test_data): Likewise.
7042 (sinh_tonearest_test_data): Likewise.
7043 (sinh_towardzero_test_data): Likewise.
7044 (sinh_downward_test_data): Likewise.
7045 (sinh_upward_test_data): Likewise.
7046 (tan_test_data): Likewise.
7047 (tan_tonearest_test_data): Likewise.
7048 (tan_towardzero_test_data): Likewise.
7049 (tan_downward_test_data): Likewise.
7050 (tan_upward_test_data): Likewise.
7051 (tanh_test_data): Likewise.
7052 (tgamma_test_data): Likewise.
7053 (y0_test_data): Likewise.
7054 (y1_test_data): Likewise.
7055 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7056 (special_real_inputs): Add pi/4.
7057 * sysdeps/i386/fpu/libm-test-ulps: Update.
7058 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7059
eb5ad6b9
AZ
70602013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7061
7062 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7063 "longjmp_target" static probes.
7064 (__longjmp): Rename to __longjmp_symbol.
7065 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7066 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7067 on which longjmp to generate.
7068 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7069 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7070 probe.
7071 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7072 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7073 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7074 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7075 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7076 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7077 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7078 __longjmp_symbol based on which __longjmp to generate.
7079 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7080 probe.
7081 (setjmp): Rename to setjmp_symbol.
7082 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7083 (_setjmp): Rename to _setjmp_symbol.
7084 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7085 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7086 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7087 which setjmp to generate.
7088 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7089 "longjmp_target" static probes.
7090
d136c6dc
SP
70912013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7092
9298ecba
SP
7093 * benchtests/README: Add note about output arguments.
7094 * benchtests/bench-sincos.c: Remove file.
7095 * benchtests/sincos-inputs: New file.
7096 * scripts/bench.pl: Identify output arguments and define
7097 static variables for them.
7098
232983e9
SP
7099 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7100
d136c6dc
SP
7101 [BZ #15941]
7102 * Makefile (INSTALL): Add install-plain.texi as the primary
7103 dependency.
7104 * manual/install-plain.texi: New file.
7105 * manual/install.texi: Include node directive only for
7106 non-plaintext output.
7107
699ff837
JM
71082013-12-04 Joseph Myers <joseph@codesourcery.com>
7109
ab07cea8
JM
7110 * stdlib/longlong.h: Update from GCC.
7111
699ff837
JM
7112 [BZ #6807]
7113 [BZ #15901]
7114 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7115 * math/w_j0f.c (y0f): Likewise.
7116 * math/w_j0l.c (__y0l): Likewise.
7117 * math/w_j1.c (y1): Likewise.
7118 * math/w_j1f.c (y1f): Likewise.
7119 * math/w_j1l.c (__y1l): Likewise
7120 * math/w_jn.c (yn): Likewise.
7121 * math/w_jnf.c (ynf): Likewise.
7122 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7123 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7124 value for Bessel function domain errors outside _SVID_ mode.
7125 Adjust sign of return value for yn (negative integer, 0).
7126 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7127 by zero in return for negative x and set sign appropriately for
7128 negative n.
7129 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7130 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7131 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7132 expectations in error cases.
7133 (y1_test_data): Likewise.
7134 (yn_test_data): Likewise.
7135 * sysdeps/i386/fpu/libm-test-ulps: Update.
7136 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7137
5b118558
UW
71382013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7139
7140 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7141 "64" to "64-v1". Add "64-v2".
7142 (abi-64-options): Rename to ...
7143 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7144 (abi-64-condition): Rename to ...
7145 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7146 (abi-64-ld-soname): Rename to ...
7147 (abi-64-v1-ld-soname): ... this.
7148 (abi-64-v2-options): Define.
7149 (abi-64-v2-condition): Likewise.
7150 (abi-64-v2-ld-soname): Likewise.
7151 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7152 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7156
61cd8fe4
UW
71572013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7158 Alan Modra <amodra@gmail.com>
7159
7160 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7161 New versions for use with the ELFv2 ABI.
7162 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7163 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7164 declaration.
7165 (struct La_ppc64v2_retval): Likewise.
7166 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7167 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7168 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7169 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7170 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7171 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7172 Do not save or restore CR.
7173 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7174 (_dl_profile_resolve): Do no save or restore CR. Support extended
7175 return values for ELFv2 ABI. Fix location of FPR return registers.
7176 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7177 updated values for _CALL_ELF == 2.
7178 (La_regs, La_retval, int_retval): Likewise.
7179
8b8a692c
UW
71802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7181
7182 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7183 (FRAME_MIN_SIZE_PARM): Likewise.
7184 (FRAME_BACKCHAIN): Likewise.
7185 (FRAME_CR_SAVE): Likewise.
7186 (FRAME_LR_SAVE): Likewise.
7187 (FRAME_TOC_SAVE): Likewise.
7188 (FRAME_PARM_SAVE): Likewise.
7189 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7190 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7191 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7192 (call_mcount_parm_offset): New macro.
7193 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7194 (PROF): Use symbolic stack frame offsets.
7195 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7196 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7197 Redefine in terms of FRAME_MIN_SIZE.
7198 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7199 (_dl_profile_resolve): Likewise. Update comment.
7200 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7201 symbols stack frame offsets.
7202 (__sigsetjmp): Likewise.
7203 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7204 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7205 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7206 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7207
7208 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7209 (FRAME_BACKCHAIN): Remove.
7210 (FRAME_CR_SAVE): Likewise.
7211 (FRAME_LR_SAVE): Likewise.
7212 (FRAME_COMPILER_DW): Likewise.
7213 (FRAME_LINKER_DW): Likewise.
7214 (FRAME_TOC_SAVE): Likewise.
7215 (FRAME_PARM_SAVE): Likewise.
7216 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7217 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7218 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7220 (CHECK_SP): Use symbolic stack frame offsets.
7221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7222 zone" instead of caller's parameter save area for temp storage.
7223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7224 Likewise. Also, use symbolic stack frame offsets.
7225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7226 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7227 our own stack frame instead of the caller's.
7228 (__socket): Use symbolic stack frame offsets.
7229
122b66de
UW
72302013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7231 Alan Modra <amodra@gmail.com>
7232
7233 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7234 Define.
7235 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7236 PPC64_LOCAL_ENTRY_OFFSET): Define.
7237 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7238 New function.
7239 (elf_machine_fixup_plt): Call it.
7240 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7241 reloc arguments.
7242 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7243 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7244 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7245 r2 before calling target.
7246
696caf1d
UW
72472013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7248 Alan Modra <amodra@gmail.com>
7249
7250 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7251 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7252 versions of macros to support ELFv2 ABI.
7253 (LOCALENTRY): New macro.
7254 (ENTRY, EALIGN): Use it.
7255 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7256 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7257 fall through into ENTRY entry point.
7258 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7259 Only define if _CALL_ELF != 2.
7260
7261 (elf_machine_matches_host): Verify ABI version matches.
7262 (RTLD_START): Use LOCALENTRY.
7263 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7264 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7265 (PLT_ENTRY_WORDS): New macro.
7266 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7267 (elf_machine_runtime_setup): Support ELFv2 ABI.
7268 (elf_machine_fixup_plt): Likewise.
7269 (elf_machine_plt_conflict): Likewise.
7270 (resolve_ifunc): Likewise.
7271 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7272 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7273 Likewise.
7274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7275 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7277 (makecontext): Support ELFv2 ABI.
7278 * elf/elf.h (EF_PPC64_ABI): Define.
7279
d31beafa
UW
72802013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7281
7282 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7283 New assembler macro.
7284 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7285 [ASSEMBLER] (ENTRY): ... but instead here ...
7286 [ASSEMBLER] (EALIGN): ... and here.
7287 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7288 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7289 [!ASSEMBLER] (ENTRY_2): Use it.
7290 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7291 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7292 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7293 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7294 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7296 Use PPC64_LOAD_FUNCPTR.
7297
b525166b
UW
72982013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7299
7300 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7301
7ec07d9a
AM
73022013-12-04 Alan Modra <amodra@gmail.com>
7303
7304 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7305 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7306 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7307 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7308
7309 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7310 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7311 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7312 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7313 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7314 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7315
5162e7dd
UW
73162013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7317
7318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7319 (__makecontext): Fix incorrect CFI when backtracing out of
7320 context created via makecontext.
7321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7322 (__setcontext): Fix incorrect CFI during switch to new context.
7323 (__novec_setcontext): Likewise.
7324
19e3372b
OB
73252013-12-04 Ondřej Bílka <neleai@seznam.cz>
7326
7327 [BZ #4772]
7328 * time/strptime_l.c (__strptime_internal): Allow modifiers
7329 in strptime.
7330 * time/tst-strptime.c (day_tests): Add testcase.
7331
7332
ecaf142d
SP
73332013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7334
7335 * scripts/bench.pl: Skip over blank lines.
7336
fbf964ae
PE
73372013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7338
7339 [BZ #926]
7340 * manual/time.texi (Calendar Time): Clarify what timezone functions
7341 use.
7342
fa60a674
AZ
73432013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7344
7345 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7346
d674f0ef
OB
73472013-12-04 Ondřej Bílka <neleai@seznam.cz>
7348
7349 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7350 implementation.
7351 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7352 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7353 * debug/memset_chk.c (__memset_chk): Likewise.
7354 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7355 * debug/strncpy_chk.c: Likewise.
7356
17dea188
JM
73572013-12-03 Joseph Myers <joseph@codesourcery.com>
7358
749008ff
JM
7359 [BZ #15268]
7360 [BZ #15425]
7361 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7362 (__ieee754_exp): For possibly underflowing results, check size of
7363 result and force underflow exception if required.
7364 * math/auto-libm-test-in: Add more tests of exp.
7365 * math/auto-libm-test-out: Regenerated.
7366 * sysdeps/i386/fpu/libm-test-ulps: Update.
7367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7368
17dea188
JM
7369 [BZ #16283]
7370 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7371 * math/w_exp2f.c (__exp2f): Likewise.
7372 * math/w_exp2l.c (__exp2l): Likewise.
7373 * math/auto-libm-test-in: Do not allow missing errno on exp2
7374 underflow.
7375 * math/auto-libm-test-out: Regenerated.
7376
b20de2c3
OB
73772013-12-03 Ondřej Bílka <neleai@seznam.cz>
7378
7379 [BZ #16274]
7380 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7381 handle filename validation.
7382 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7383 (do_open): Delete.
7384
d8e2dbe3
JM
73852013-12-03 Joseph Myers <joseph@codesourcery.com>
7386
34e16df5
JM
7387 [BZ #6786]
7388 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7389 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7390 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7391 <float.h>.
7392 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7393 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7394 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7395 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7396 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7397 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7398 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7399 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7400 Add more erfc tests.
7401 * math/auto-libm-test-out: Regenerated.
7402 * sysdeps/i386/fpu/libm-test-ulps: Update.
7403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7404
d8e2dbe3
JM
7405 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7406 exp2, expm1, j0 and j1.
7407 * math/auto-libm-test-out: Regenerated.
7408 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7409 (erfc_test_data): Likewise.
7410 (exp_test_data): Likewise.
7411 (exp_tonearest_test_data): Likewise.
7412 (exp_towardzero_test_data): Likewise.
7413 (exp_downward_test_data): Likewise.
7414 (exp_upward_test_data): Likewise.
7415 (exp10_test_data): Likewise.
7416 (exp2_test_data): Likewise.
7417 (expm1_test_data): Likewise.
7418 (j0_test_data): Likewise.
7419 (j1_test_data): Likewise.
7420 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7421 (input_flag_type): Add flag_xfail_rounding.
7422 (input_flags): Add xfail-rounding.
7423 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7424 (output_for_one_input_case): Handle flag_xfail_rounding.
7425 * sysdeps/i386/fpu/libm-test-ulps: Update.
7426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7427
18d14251
AJ
74282013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7429
3d2e6075 7430 [BZ #16289]
18d14251
AJ
7431 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7432 division by 0.
7433
520d437b
SP
74342013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7435
7436 [BZ #16195]
7437 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7438 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7439 (STAP_PROBE0): New macro.
7440 (STAP_PROBE1): Likewise.
7441 (STAP_PROBE2): Likewise.
7442 (STAP_PROBE3): Likewise.
7443 (STAP_PROBE4): Likewise.
7444
416e0145
OB
74452013-12-02 Ondřej Bílka <neleai@seznam.cz>
7446
7447 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7448
9d17796a
SE
74492013-12-02 Steve Ellcey <sellcey@mips.com>
7450
7451 * benchtests/Makefile (bench): Add sqrt.
7452 (LDLIBS-bench-sqrt): New.
7453 * benchtests/sqrt-input: New.
7454
f524d6a8
PS
74552013-12-02 Pavel Simerda <psimerda@redhat.com>
7456
639a0ef8
PS
7457 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7458 (GAIH_EAI): Likewise.
7459 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7460 (gaih_inet): Likewise.
7461 (getaddrinfo): Don't use GAIH_EAI.
7462
f524d6a8
PS
7463 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7464 (struct gaih): Remove definition.
7465
df3aedaf
SP
74662013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7467
7468 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7469 Use HERRNOP directly.
7470
1ab19dec
AZ
74712013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7472
b42ad38d 7473 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7474
176b0c79
JM
74752013-11-30 Joseph Myers <joseph@codesourcery.com>
7476
7477 * math/gen-auto-libm-tests.c (test_functions): Add more
7478 single-argument functions.
7479 (special_fill_pi_2): New function.
7480 (special_fill_minus_pi_2): Likewise.
7481 (special_fill_pi_6): Likewise.
7482 (special_fill_minus_pi_6): Likewise.
7483 (special_fill_pi_3): Likewise.
7484 (special_fill_2pi_3): Likewise.
7485 (special_fill_e): Likewise.
7486 (special_fill_1_e): Likewise.
7487 (special_fill_e_minus_1): Likewise.
7488 (special_real_inputs): Add more special inputs.
7489 (output_for_one_input_case): Do not require ERANGE on underflow to
7490 zero if round-to-nearest result does not underflow to zero, unless
7491 exact results required.
7492 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7493 atan, atanh, cbrt, cos and cosh.
7494 * math/auto-libm-test-out: Regenerated.
7495 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7496 (acos_tonearest_test_data): Likewise.
7497 (acos_towardzero_test_data): Likewise.
7498 (acos_downward_test_data): Likewise.
7499 (acos_upward_test_data): Likewise.
7500 (acosh_test_data): Likewise.
7501 (asin_test_data): Likewise.
7502 (asin_tonearest_test_data): Likewise.
7503 (asin_towardzero_test_data): Likewise.
7504 (asin_upward_test_data): Likewise.
7505 (asinh_test_data): Likewise.
7506 (atan_test_data): Likewise.
7507 (atanh_test_data): Likewise.
7508 (cbrt_test_data): Likewise.
7509 (cos_test_data): Likewise.
7510 (cos_tonearest_test_data): Likewise.
7511 (cos_towardzero_test_data): Likewise.
7512 (cos_downward_test_data): Likewise.
7513 (cos_upward_test_data): Likewise.
7514 (cosh_test_data): Likewise.
7515 (cosh_tonearest_test_data): Likewise.
7516 (cosh_towardzero_test_data): Likewise.
7517 (cosh_downward_test_data): Likewise.
7518 (cosh_upward_test_data): Likewise.
7519 * sysdeps/i386/fpu/libm-test-ulps: Update.
7520 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7521
ffb536d0
JM
75222013-11-29 Joseph Myers <joseph@codesourcery.com>
7523
2a77a467
JM
7524 [BZ #6787]
7525 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7526 * math/w_exp10f.c (__exp10f): Likewise.
7527 * math/w_exp10l.c (__exp10l): Likewise.
7528 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7529 errno settings in existing tests.
7530
ea3bc4e8
JM
7531 [BZ #14032]
7532 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7533 precision control set to double precision.
7534 * sysdeps/i386/fpu/w_sqrt.c: New file.
7535 * math/auto-libm-test-in: Add more tests.
7536 * math/auto-libm-test-out: Update.
7537
0712c9d8
JM
7538 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7539 (sqrt_test_tonearest): New function.
7540 (sqrt_towardzero_test_data): New variable.
7541 (sqrt_test_towardzero): New function.
7542 (sqrt_downward_test_data): New variable.
7543 (sqrt_test_downward): New function.
7544 (sqrt_upward_test_data): New variable.
7545 (sqrt_test_upward): New function.
7546 (main): Call the new functions.
7547
ffb536d0
JM
7548 * math/gen-auto-libm-tests.c: New file.
7549 * math/auto-libm-test-in: Likewise.
7550 * math/auto-libm-test-out: New generated file.
7551 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7552 variables.
7553 (%beautify): Add generated representations of zero.
7554 (top level): Set $auto_input and call parse_auto_input.
7555 (beautify): Remove trailing "f" from hex float constants.
7556 (parse_args): Handle XFAIL_TEST.
7557 (convert_condition): New function.
7558 (or_value): Likewise.
7559 (or_cond_value): Likewise.
7560 (generate_testfile): Handle AUTO_TESTS_* lines.
7561 (parse_auto_input): New function.
7562 * math/libm-test.inc (XFAIL_TEST): New macro.
7563 (ERRNO_UNCHANGED): Update value.
7564 (ERRNO_EDOM): Likewise.
7565 (ERRNO_ERANGE): Likewise.
7566 (IGNORE_RESULT): Likewise.
7567 (TEST_COND_flt_32): New macro.
7568 (TEST_COND_dbl_64): Likewise.
7569 (TEST_COND_ldbl_96_intel): Likewise.
7570 (TEST_COND_ldbl_96_m68k): Likewise.
7571 (TEST_COND_ldbl_128): Likewise.
7572 (TEST_COND_ldbl_128ibm): Likewise.
7573 (TEST_COND_long32): Likewise.
7574 (TEST_COND_long64): Likewise.
7575 (TEST_COND_before_rounding): Likewise.
7576 (TEST_COND_after_rounding): Likewise.
7577 (enable_test): Handle XFAIL_TEST flag.
7578 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7579 with finite results.
7580 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7581 auto-libm-test-out.
7582
acd98a8e
AK
75832013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7584 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7585
7586 [BZ #16214]
7587 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7588 __tls_get_addr_internal instead of __tls_get_offset in order to
7589 avoid GOT pointer dependency. Make rtld export
7590 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7591 __tls_get_addr since we are a __tls_get_offset platform.
7592 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7593 GOT pointer being set up before.
7594 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7595
3c1c46a6
JM
75962013-11-28 Joseph Myers <joseph@codesourcery.com>
7597
7475aef5
JM
7598 * manual/math.texi (Errors in Math Functions): Document accuracy
7599 goals.
7600
8bca7cd8
JM
7601 [BZ #15004]
7602 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7603 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7604 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7605 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7606 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7607 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7608 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7609 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7610 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7611 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7612 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7613 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7614 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7615 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7616 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7617 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7618
91a1f3fe
JM
7619 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7620 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7621 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7622 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7623 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7624 Likewise.
7625 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7626 Likewise.
7627 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7628 Likewise.
7629 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7630 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7631 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7632 atomic-feupdateenv and flt-rounds.
7633 * sysdeps/powerpc/nofpu/Versions (libc): Add
7634 __atomic_feholdexcept, __atomic_feclearexcept,
7635 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7636 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7637 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7638 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7639 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7640 here.
7641 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7642 Update.
7643
c5df7609
JM
7644 * manual/arith.texi (FP Exceptions): Document that exceptions may
7645 not be raised when matherr is used.
7646 (Math Error Reporting): Document overflow in directed rounding
7647 modes. Document that errno may not be set when finite values are
7648 returned on overflow. Document intent to set errno on underflow
7649 only for underflow to zero.
7650
3c1c46a6
JM
7651 [BZ #16271]
7652 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7653 round-to-nearest then adjust result for other rounding modes.
7654 * include/fenv.h (fegetround): Use libm_hidden_proto.
7655 * math/fegetround.c (fegetround): Use libm_hidden_def.
7656 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7657 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7658 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7659 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7660 Likewise.
7661 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7662 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7663 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7664 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7665
5a4c6d53
SP
76662013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7667
7668 [BZ #16077]
7669 * nss/Versions (libnss_files): Add
7670 _nss_files_gethostbyname3_r.
7671 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7672 New function.
7673 (HOST_DB_LOOKUP): Remove macro.
7674 (_nss_files_gethostbyname_r): Implement function without the
7675 HOST_DB_LOOKUP macro.
7676 (_nss_files_gethostbyname2_r): Likewise.
7677
897b98ba
OB
76782013-11-28 Ondřej Bílka <neleai@seznam.cz>
7679
7680 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7681
6f476861
UB
76822013-11-26 Uros Bizjak <ubizjak@gmail.com>
7683
7684 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7685 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7686 warning.
7687
bd12ab55
AZ
76882013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7689
7690 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7691 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7692 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7693 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7694 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7695 __fe_nomask_env_priv and attribute_hidden.
7696 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7697 (libc_feupdateenv_test_ppc): Likewise.
7698 (libc_feresetround_ppc): Likewise.
7699 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7700 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7701 compat_symbol macro.
7702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7703 (__fe_nomask_env): Likewise.
7704 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7705
52bb6543
OB
77062013-11-26 Ondřej Bílka <neleai@seznam.cz>
7707
7708 * string/Makefile: Remove ifunc tests.
7709 * string/test-string.h: Define TEST_IFUNC.
7710 * string/test-bcopy-ifunc.c: Remove.
7711 * string/test-bzero-ifunc.c: Likewise.
7712 * string/test-memccpy-ifunc.c: Likewise.
7713 * string/test-memchr-ifunc.c: Likewise.
7714 * string/test-memcmp-ifunc.c: Likewise.
7715 * string/test-memcpy-ifunc.c: Likewise.
7716 * string/test-memmem-ifunc.c: Likewise.
7717 * string/test-memmove-ifunc.c: Likewise.
7718 * string/test-mempcpy-ifunc.c: Likewise.
7719 * string/test-memrchr-ifunc.c: Likewise.
7720 * string/test-memset-ifunc.c: Likewise.
7721 * string/test-rawmemchr-ifunc.c: Likewise.
7722 * string/test-stpcpy-ifunc.c: Likewise.
7723 * string/test-stpncpy-ifunc.c: Likewise.
7724 * string/test-strcasecmp-ifunc.c: Likewise.
7725 * string/test-strcasestr-ifunc.c: Likewise.
7726 * string/test-strcat-ifunc.c: Likewise.
7727 * string/test-strchr-ifunc.c: Likewise.
7728 * string/test-strchrnul-ifunc.c: Likewise.
7729 * string/test-strcmp-ifunc.c: Likewise.
7730 * string/test-strcpy-ifunc.c: Likewise.
7731 * string/test-strcspn-ifunc.c: Likewise.
7732 * string/test-strlen-ifunc.c: Likewise.
7733 * string/test-strncasecmp-ifunc.c: Likewise.
7734 * string/test-strncat-ifunc.c: Likewise.
7735 * string/test-strncmp-ifunc.c: Likewise.
7736 * string/test-strncpy-ifunc.c: Likewise.
7737 * string/test-strnlen-ifunc.c: Likewise.
7738 * string/test-strpbrk-ifunc.c: Likewise.
7739 * string/test-strrchr-ifunc.c: Likewise.
7740 * string/test-strspn-ifunc.c: Likewise.
7741 * string/test-strstr-ifunc.c: Likewise.
7742
ab260039 77432013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7744
7745 * benchtests/Makefile: Remove ifunc tests.
7746 * benchtests/bench-string.h: Define TEST_IFUNC.
7747 * benchtests/bench-bcopy-ifunc.c: Remove.
7748 * benchtests/bench-bzero-ifunc.c: Likewise.
7749 * benchtests/bench-memccpy-ifunc.c: Likewise.
7750 * benchtests/bench-memchr-ifunc.c: Likewise.
7751 * benchtests/bench-memcmp-ifunc.c: Likewise.
7752 * benchtests/bench-memcpy-ifunc.c: Likewise.
7753 * benchtests/bench-memmem-ifunc.c: Likewise.
7754 * benchtests/bench-memmove-ifunc.c: Likewise.
7755 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7756 * benchtests/bench-memrchr-ifunc.c: Likewise.
7757 * benchtests/bench-memset-ifunc.c: Likewise.
7758 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7759 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7760 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7761 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7762 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7763 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7764 * benchtests/bench-strcat-ifunc.c: Likewise.
7765 * benchtests/bench-strchr-ifunc.c: Likewise.
7766 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7767 * benchtests/bench-strcmp-ifunc.c: Likewise.
7768 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7769 * benchtests/bench-strcpy-ifunc.c: Likewise.
7770 * benchtests/bench-strcspn-ifunc.c: Likewise.
7771 * benchtests/bench-strlen-ifunc.c: Likewise.
7772 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7773 * benchtests/bench-strncat-ifunc.c: Likewise.
7774 * benchtests/bench-strncmp-ifunc.c: Likewise.
7775 * benchtests/bench-strncpy-ifunc.c: Likewise.
7776 * benchtests/bench-strnlen-ifunc.c: Likewise.
7777 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7778 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7779 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7780 * benchtests/bench-strspn-ifunc.c: Likewise.
7781 * benchtests/bench-strstr-ifunc.c: Likewise.
7782
77832013-11-26 Ondřej Bílka <neleai@seznam.cz>
7784
ab260039
OB
7785 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7786
d1d9eaf4 77872013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7788
d1d9eaf4
OB
7789 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7790 * rt/aio.h: Likewise.
7791 * sysdeps/gnu/bits/utmp.h: Likewise.
7792 * sysdeps/gnu/bits/utmpx.h: Likewise.
7793 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7794 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7795 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7796 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7797 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7798 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7799 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7800 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7801 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7802 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7803 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7804 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7805 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7807 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7808 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7809 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7810 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7811 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7812 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7813 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7814 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7815 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7816 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7817 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7818 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7819 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7820 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7821 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7822 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7823 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7824 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7825 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7826 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7827 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7828 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7829 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7830 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7831 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7832 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7833 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7834 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7835
a7624ed9
CD
78362013-11-25 Carlos O'Donell <carlos@redhat.com>
7837
7838 [BZ #16245]
7839 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7840 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7841
63cfe52b
JM
78422013-11-25 Joseph Myers <joseph@codesourcery.com>
7843
7844 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7845 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7846 Likewise.
7847
41e8926a
AZ
78482013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7849
7850 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7851 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7852 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7853 (__fesetround): Remove define.
7854 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7855 rounding and exceptions handling.
7856 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7857 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7858 (__fe_nomask_env): Likewise.
7859 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7860 __fegetround instead of fegetround.
7861 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7862 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7863
6851bd4d
RM
78642013-11-21 Roland McGrath <roland@hack.frob.com>
7865
070906ff
RM
7866 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7867 it's there.
7868
6851bd4d
RM
7869 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7870
84ae135d
MI
78712013-11-21 Meador Inge <meadori@codesourcery.com>
7872
7873 [BZ #11157]
7874 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7875 (encrypt_r): Likewise.
7876 * malloc/obstack.h (obstack_free): Likewise.
7877 * posix/unistd.h (encrypt): Likewise.
7878
daf75146
GM
78792013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7880
7881 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7882 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7883 DL_CALL_DT_FINI() that call the functions directly.
7884 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7885 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7886 * elf/dl-fini.c: Likewise.
7887
10ad46bc
OB
78882013-11-20 Ondřej Bílka <neleai@seznam.cz>
7889
7890 * malloc/hooks.c (memalign_check): Add alignment rounding.
7891 * malloc/malloc.c (_mid_memalign): New function.
7892 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7893 Implement by calling _mid_memalign.
7894 * manual/probes.texi (Memory Allocation Probes): Remove
7895 memory_valloc_retry and memory_pvalloc_retry.
7896
f3fd2628
SP
78972013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7898
4712799f
SP
7899 * locale/programs/locarchive.c (open_archive): Add const
7900 qualifier to ARCHIVEFNAME and copy default fname to
7901 DEFAULT_FNAME.
7902
0417b20f
SP
7903 [BZ #15601]
7904 * libio/tst-widetext.input: Rename Oriya to Odia.
7905 * locale/iso-639.def: Likewise.
7906
f3fd2628
SP
7907 * manual/probes.texi (Mathematical Function Probes): Add
7908 documentation for sin, cos, asin and acos probes.
7909 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7910 (__sin32): Add slowasin probe.
7911 (__cos32): Add slowacos probe.
7912 (__mpsin): Add slowsin probe.
7913 (__mpcos): Add slowcos probe.
7914
73c1ce4f
JM
79152013-11-19 Joseph Myers <joseph@codesourcery.com>
7916
7917 [BZ #15483]
7918 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7919 thread-local __sim_exceptions_thread and global
7920 __sim_exceptions_global.
7921 (__sim_disabled_exceptions): Change to thread-local
7922 __sim_disabled_exceptions_thread and global
7923 __sim_disabled_exceptions_global.
7924 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7925 and global __sim_round_mode_global.
7926 (__simulate_exceptions): Use thread-local floating-point state and
7927 set global state from it as needed.
7928 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7929 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7930 __sim_round_mode_thread.
7931 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7932 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7933 and global __sim_exceptions_global.
7934 (__sim_disabled_exceptions): Change to thread-local
7935 __sim_disabled_exceptions_thread and global
7936 __sim_disabled_exceptions_global.
7937 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7938 and global __sim_round_mode_global.
7939 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7940 (SIM_SET_GLOBAL): Likewise.
7941 * sysdeps/powerpc/soft-fp/sfp-machine.h
7942 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7943 __sim_round_mode_thread.
7944 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7945 __sim_disabled_exceptions_thread.
7946 (__sim_exceptions): Change to __sim_exceptions_thread.
7947 (__sim_disabled_exceptions): Change to
7948 __sim_disabled_exceptions_thread.
7949 (__sim_round_mode): Change to __sim_round_mode_thread.
7950 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7951 thread-local floating-point state and set global state from it as
7952 needed.
7953 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7954 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7955 (__sim_disabled_exceptions): Remove extern declaration.
7956 (feenableexcept): Use thread-local floating-point state and set
7957 global state from it as needed.
7958 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
7959 extern declaration.
7960 (__sim_disabled_exceptions): Likewise.
7961 (__sim_round_mode): Likewise.
7962 (__fegetenv): Use thread-local floating-point state.
7963 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
7964 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7965 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
7966 floating-point state and set global state from it as needed.
7967 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
7968 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
7969 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
7970 Likewise.
7971 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
7972 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
7973 Likewise.
7974 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
7975 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
7976 Use __sim_round_mode_thread.
7977 * math/test-fenv-tls.c: New file.
7978 * math/Makefile (tests): Add test-fenv-tls.
7979 ($(objpfx)test-fenv-tls): Depend on
7980 $(common-objpfx)nptl/libpthread.so.
7981
b5449b12
AS
79822013-11-19 Andreas Schwab <schwab@suse.de>
7983
7984 * locale/programs/locale.c (show_info): Decode wordarray elements.
7985 * locale/categories.def (LC_MONETARY): Add element for
7986 _NL_MONETARY_CRNCYSTR.
7987 * locale/C-monetary.c (conversion_rate): New variable.
7988 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
7989 element.
7990
e186536b
CM
79912013-11-18 Chris Metcalf <cmetcalf@tilera.com>
7992
7993 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
7994 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
7995
5c349950
PP
79962013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
7997
7998 * elf/Makefile (tst-auxv): New test.
7999 * elf/tst-auxv.c: New
8000 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8001
699df45b
JM
80022013-11-18 Joseph Myers <joseph@codesourcery.com>
8003
8004 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8005 (hidden_proto): Caller changed.
8006 (hidden_tls_proto): New macro.
8007 (libc_hidden_tls_proto): Likewise.
8008 (rtld_hidden_tls_proto): Likewise.
8009 (libm_hidden_tls_proto): Likewise.
8010 (libresolv_hidden_tls_proto): Likewise.
8011 (librt_hidden_tls_proto): Likewise.
8012 (libdl_hidden_tls_proto): Likewise.
8013 (libnss_files_hidden_tls_proto): Likewise.
8014 (libnsl_hidden_tls_proto): Likewise.
8015 (libnss_nisplus_hidden_tls_proto): Likewise.
8016 (libutil_hidden_tls_proto): Likewise.
8017
b7589107
OB
80182013-11-18 Ondřej Bílka <neleai@seznam.cz>
8019
8020 [BZ #10253]
8021 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8022 (decompose_rpath): Defer expansion to fillin_rpath.
8023 (_dl_init_paths): Pass linkmap to fillin_rpath.
8024
250c23bd
RS
80252013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8026
8027 * benchtests/Makefile: Add strsep.
8028 * benchtests/bench-strsep.c: New file: strsep benchtest.
8029 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8030
a7931fcf
AS
80312013-11-18 Andreas Schwab <schwab@suse.de>
8032
8033 * locale/programs/locale.c (show_info) [case byte]: Check for
8034 '\377' instead of '\177'.
8035 * locale/C-monetary.c (not_available): Always use "\377".
8036 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8037 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8038 detect unavailable sign_posn locale elements.
8039 * locale/localeconv.c (__localeconv): For grouping and
8040 mon_grouping handle "\177" and "\377" like no grouping.
8041 (INT_ELEM): New macro. Use it to set all numeric members.
8042 * locale/programs/ld-monetary.c (monetary_read)
8043 <tok_mon_grouping>: Normalize single -1 to the empty string.
8044 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8045 Likewise.
8046
728dab0e
OB
80472013-11-07 Ondřej Bílka <neleai@seznam.cz>
8048
8049 [BZ #16055]
8050 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8051 when we match (nil).
8052 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8053
66294491
JM
80542013-11-16 Joseph Myers <joseph@codesourcery.com>
8055
ce665817
JM
8056 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8057 (NO_TEST_INLINE): Update value.
8058 (ERRNO_UNCHANGED): Likewise.
8059 (ERRNO_EDOM): Likewise.
8060 (ERRNO_ERANGE): Likewise.
8061 (IGNORE_RESULT): Likewise.
8062 (check_float_internal): Check signs of NaN results if
8063 TEST_NAN_SIGN used.
8064 (check_complex): Pass TEST_NAN_SIGN flag through to second
8065 check_float_internal call.
8066 (copysign_test_data): Add tests with quiet NaNs as second
8067 argument. Use TEST_NAN_SIGN.
8068 (fabs_test_data): Add test of negative quiet NaN argument. Use
8069 TEST_NAN_SIGN.
8070 (signbit_test_data): Add tests of quiet NaN argument.
8071 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8072
ee1466a9
JM
8073 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8074 $ignore_result.
8075 (parse_args): Handle function results specified as IGNORE.
8076 * math/libm-test.inc (IGNORE_RESULT): New macro.
8077 (check_float_internal): Do not check numerical result if flag
8078 IGNORE_RESULT set.
8079 (check_complex): Pass through IGNORE_RESULT to second
8080 check_float_internal call.
8081 (check_int): Do not check numerical result if flag IGNORE_RESULT
8082 set.
8083 (check_long): Likewise.
8084 (check_bool): Likewise.
8085 (check_longlong): Likewise.
8086 (lrint_test_data): Add tests of infinite and NaN arguments.
8087 (lrint_tonearest_test_data): Likewise.
8088 (lrint_towardzero_test_data): Likewise.
8089 (lrint_downward_test_data): Likewise.
8090 (lrint_upward_test_data): Likewise.
8091 (llrint_test_data): Likewise.
8092 (llrint_tonearest_test_data): Likewise.
8093 (llrint_towardzero_test_data): Likewise.
8094 (llrint_downward_test_data): Likewise.
8095 (llrint_upward_test_data): Likewise.
8096 (lround_test_data): Likewise.
8097 (llround_test_data): Likewise.
8098
14407b7e
JM
8099 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8100 (ERRNO_UNCHANGED): Update value.
8101 (ERRNO_EDOM): Likewise.
8102 (ERRNO_ERANGE): Likewise.
8103 (NO_TEST_INLINE_FLOAT): New macro.
8104 (NO_TEST_INLINE_DOUBLE): Likewise.
8105 (enable_test): New function.
8106 (RUN_TEST_f_f): Check enable_test before running test.
8107 (RUN_TEST_2_f): Likewise.
8108 (RUN_TEST_fff_f): Likewise.
8109 (RUN_TEST_c_f): Likewise.
8110 (RUN_TEST_f_f1): Likewise.
8111 (RUN_TEST_fF_f1): Likewise.
8112 (RUN_TEST_fI_f1): Likewise.
8113 (RUN_TEST_ffI_f1): Likewise.
8114 (RUN_TEST_c_c): Likewise.
8115 (RUN_TEST_cc_c): Likewise.
8116 (RUN_TEST_f_i): Likewise.
8117 (RUN_TEST_f_i_tg): Likewise.
8118 (RUN_TEST_ff_i_tg): Likewise.
8119 (RUN_TEST_f_b): Likewise.
8120 (RUN_TEST_f_b_tg): Likewise.
8121 (RUN_TEST_f_l): Likewise.
8122 (RUN_TEST_f_L): Likewise.
8123 (RUN_TEST_fFF_11): Likewise.
8124 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8125 conditionals.
8126 (cosh_test_data): Likewise.
8127 (exp_test_data): Likewise.
8128 (expm1_test_data): Likewise.
8129 (hypot_test_data): Likewise.
8130 (pow_test_data): Likewise.
8131 (sinh_test_data): Likewise.
8132 (tanh_test_data): Likewise.
8133 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8134 flags argument.
8135
ca07f197
JM
8136 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8137 tests with quiet NaN input and output.
8138 (acosh_test_data): Likewise.
8139 (asin_test_data): Likewise.
8140 (asinh_test_data): Likewise.
8141 (atan_test_data): Likewise.
8142 (atanh_test_data): Likewise.
8143 (atan2_test_data): Likewise.
8144 (cbrt_test_data): Likewise.
8145 (cos_test_data): Likewise.
8146 (cosh_test_data): Likewise.
8147 (erf_test_data): Likewise.
8148 (erfc_test_data): Likewise.
8149 (exp_test_data): Likewise.
8150 (exp10_test_data): Likewise.
8151 (exp2_test_data): Likewise.
8152 (expm1_test_data): Likewise.
8153 (hypot_test_data): Likewise.
8154 (j0_test_data): Likewise.
8155 (j1_test_data): Likewise.
8156 (jn_test_data): Likewise.
8157 (lgamma_test_data): Likewise.
8158 (log_test_data): Likewise.
8159 (log10_test_data): Likewise.
8160 (log1p_test_data): Likewise.
8161 (log2_test_data): Likewise.
8162 (pow_test_data): Likewise.
8163 (scalb_test_data): Likewise.
8164 (sin_test_data): Likewise.
8165 (sincos_test_data): Likewise.
8166 (sinh_test_data): Likewise.
8167 (tan_test_data): Likewise.
8168 (tanh_test_data): Likewise.
8169 (tgamma_test_data): Likewise.
8170 (y0_test_data): Likewise.
8171 (y1_test_data): Likewise.
8172 (yn_test_data): Likewise.
8173
66294491
JM
8174 [BZ #16167]
8175 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8176 argument being NaN and avoid computations with second argument in
8177 that case.
8178 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8179 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8180 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8181
1820b143
CL
81822013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8183
8184 * locale/iso-639.def: Add Chitwani Tharu (the).
8185
714bd261
AS
81862013-11-14 Andreas Schwab <schwab@suse.de>
8187
8188 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8189 word instead of empty string.
8190
7ab44563
AZ
81912013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8192
8193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8194 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8196 (__fe_nomask_env): Likewise.
8197
e8470ea2
SE
81982013-11-13 Steve Ellcey <sellcey@mips.com>
8199
8200 * benchtests/bench-timing.h: Include time.h.
8201
17c1d9f0
L
82022013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8203
8204 [BZ #15997]
8205 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8206 to 3.4.0 for x32.
8207 * sysdeps/unix/sysv/linux/configure: Regenerated.
8208
9310c284
JM
82092013-11-13 Joseph Myers <joseph@codesourcery.com>
8210
8211 [BZ #16151]
8212 * stdlib/strtod_l.c (round_and_return): Do not consider
8213 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8214 exponent one less than half the least subnormal exponent.
8215 * stdlib/test-strtod-round-data: Add more tests.
8216 * stdlib/tst-strtod-round.c (tests): Regenerated.
8217
7a2ad8cf
AZ
82182013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8219
8220 [BZ #14143]
8221 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8222 (__fe_mask_env): Likewise.
8223 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8224 libm_hidden_proto and add function prototype.
8225 (__fe_mask_env): Add function prototype.
8226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8227 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8229 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8230 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8231 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8232
50727aa7
MS
82332013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8234
b2f386c1 8235 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8236 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8237
a615be46
MS
82382013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8239
8240 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8241 of htab_find_slot().
8242
7ddace62
DM
82432013-11-11 David S. Miller <davem@davemloft.net>
8244
8245 [BZ #16150]
8246 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8247 symbol in the non-vis3 case in static builds.
8248 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8249 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8250 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8251 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8252
9182aa67
JK
82532013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8254
8255 [BZ #387]
8256 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8257 it is empty.
8258
450a2e2d
AZ
82592013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8260
b2f386c1
SP
8261 * benchtests/Makefile: Add bench-strtod.
8262 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8263
8ec3f656
AS
82642013-11-11 Andreas Schwab <schwab@suse.de>
8265
8266 [BZ #16153]
8267 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8268 terminating NUL in key length.
8269
76a9b998
AZ
82702013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8271
8272 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8273 Add artificial ODP entry for vDSO symbol for PPC64.
8274 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8275 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8276
e4368156
OB
82772013-11-07 Ondřej Bílka <neleai@seznam.cz>
8278
8279 [BZ #15374]
8280 * nss/getent.c (services_keys): Recognize services starting with digit.
8281
8d6bb57c
DM
82822013-11-06 David S. Miller <davem@davemloft.net>
8283
8284 [BZ #15985]
8285 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8286 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8287
e256c421
WN
82882013-11-06 Will Newton <will.newton@linaro.org>
8289
8290 * manual/memory.texi (Malloc Examples): Remove register
8291 keyword from examples.
8292
f6e12daa 82932013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8294
f6e12daa 8295 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8296
9d880655
AS
82972013-11-04 Joseph Myers <joseph@codesourcery.com>
8298
fd2f9486 8299 [BZ #6981]
9d880655
AS
8300 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8301 depending on [__GCC_IEC_559 > 0].
8302 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8303 depending on [__GCC_IEC_559_COMPLEX > 0].
8304
ae129d3c
CL
83052013-11-03 Chris Leonard <cjl@sugarlabs.org>
8306
8307 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8308 to iso-639.def.
8309
4a15c2a4 83102013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8311
8312 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8313
8b35e35d
OB
83142013-11-01 Ondřej Bílka <neleai@seznam.cz>
8315
8316 [BZ #16112]
8317 * malloc/malloc (malloc_info): Do not handle first bin as
8318 special case.
8319
1d70fd6c
CL
83202013-11-01 Chris Leonard <cjl@sugarlabs.org>
8321
8322 * locale/iso-639.def: Add Central Nahuatl (nhn).
8323
8c5c2600
BH
83242013-11-01 Bruno Haible <bruno@clisp.org>
8325
8326 [BZ #7003]
8327 * manual/math.texi (BSD Random): Specify range upper bound as
8328 in POSIX.
8329
da5579c2
CL
83302013-10-31 Chris Leonard <cjl@sugarlabs.org>
8331
8332 * locale/iso-639.def: Add Meadow Mari (mhr).
8333
5d30d853
OB
83342013-10-31 Ondřej Bílka <neleai@seznam.cz>
8335
8336 [BZ #14752], [BZ #15763]
8337 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8338 Validate name.
8339 * rt/tst_shm.c: Add test for escaping directory.
8340
a4966c61
AS
83412013-10-31 Andreas Schwab <schwab@suse.de>
8342
8a43e768 8343 [BZ #15917]
a4966c61
AS
8344 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8345 followed by 'x' as part of digit sequence.
8346 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8347
28d708c4
MAP
83482013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8349
8350 [BZ #16037]
8351 * configure.ac: allow GNU Make 4.0 and greater.
8352 * configure: Regenerated.
8353
a56ee40b
WN
83542013-10-30 Will Newton <will.newton@linaro.org>
8355
8356 [BZ #16038]
8357 * malloc/hooks.c (memalign_check): Limit alignment to the
8358 maximum representable power of two.
8359 * malloc/malloc.c (__libc_memalign): Likewise.
8360 * malloc/tst-memalign.c (do_test): Add test for very
8361 large alignment values.
8362 * malloc/tst-posix_memalign.c (do_test): Likewise.
8363
c6e4925d
OB
83642013-10-30 Ondřej Bílka <neleai@seznam.cz>
8365
8366 [BZ #11087]
8367 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8368 (munmap_chunk): Likewise.
8369 (mremap_chunk): Likewise.
8370
83712013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8372
8a43e768 8373 [BZ #15799]
bbea82f7
OB
8374 * stdlib/div.c (div): Remove obsolete code.
8375 * stdlib/ldiv.c (ldiv): Likewise.
8376 * stdlib/lldiv.c (lldiv): Likewise.
8377
977f4b31
SP
83782013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8379
8380 [BZ #16071]
8381 * nss/nss_files/files-XXX.c (get_contents_ret): New
8382 enumerator.
8383 (get_contents): New function.
8384 (internal_getent): Use it. Expand size of LINEBUFLEN.
8385
cb8a6dbd
MF
83862013-10-30 Mike Frysinger <vapier@gentoo.org>
8387
8388 * configure.in: Moved to ...
8389 * configure.ac: ... here. Change reference to configure.in
8390 to configure.ac.
8391 * sysdeps/arm/preconfigure.ac: ... here.
8392 configure.in to configure.ac.
8393 * sysdeps/gnu/configure.in: Moved to ...
8394 * sysdeps/gnu/configure.ac: ... here.
8395 * sysdeps/i386/configure.in: Moved to ...
8396 * sysdeps/i386/configure.ac: ... here.
8397 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8398 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8399 * sysdeps/mach/configure.in: Moved to ...
8400 * sysdeps/mach/configure.ac: ... here.
8401 * sysdeps/mach/hurd/configure.in: Moved to ...
8402 * sysdeps/mach/hurd/configure.ac: ... here.
8403 * sysdeps/powerpc/configure.in: Moved to ...
8404 * sysdeps/powerpc/configure.ac: ... here.
8405 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8406 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8407 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8408 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8409 * sysdeps/s390/s390-32/configure.in: Moved to ...
8410 * sysdeps/s390/s390-32/configure.ac: ... here.
8411 * sysdeps/s390/s390-64/configure.in: Moved to ...
8412 * sysdeps/s390/s390-64/configure.ac: ... here.
8413 * sysdeps/sh/configure.in: Moved to ...
8414 * sysdeps/sh/configure.ac: ... here.
8415 * sysdeps/sparc/configure.in: Moved to ...
8416 * sysdeps/sparc/configure.ac: ... here.
8417 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8418 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8419 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8420 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8421 * sysdeps/x86_64/configure.in: Moved to ...
8422 * sysdeps/x86_64/configure.ac: ... here.
8423 * sysdeps/x86_64/preconfigure.in: Moved to ...
8424 * sysdeps/x86_64/preconfigure.ac: ... here.
8425 * aclocal.m4: Change reference to configure.in to configure.ac.
8426 * config.h.in: Likewise.
8427 * manual/install.texi: Likewise.
8428 * manual/maint.texi: Likewise.
8429 * Makefile: Likewise.
8430 * malloc/Makefile: Likewise.
8431 * nscd/Makefile: Likewise.
8432 * Makeconfig: Change reference to configure.in and
8433 preconfigure.in to configure.ac and preconfigure.ac
8434 respectively.
8435 * INSTALL: Regenerated.
8436 * configure: Likewise.
8437 * sysdeps/gnu/configure: Likewise.
8438 * sysdeps/i386/configure: Likewise.
8439 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8440 * sysdeps/mach/configure: Likewise.
8441 * sysdeps/mach/hurd/configure: Likewise.
8442 * sysdeps/powerpc/configure: Likewise.
8443 * sysdeps/powerpc/powerpc32/configure: Likewise.
8444 * sysdeps/powerpc/powerpc64/configure: Likewise.
8445 * sysdeps/s390/s390-32/configure: Likewise.
8446 * sysdeps/s390/s390-64/configure: Likewise.
8447 * sysdeps/sh/configure: Likewise.
8448 * sysdeps/sparc/configure: Likewise.
8449 * sysdeps/unix/sysv/linux/configure: Likewise.
8450 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8451 * sysdeps/x86_64/configure: Likewise.
8452 * sysdeps/x86_64/preconfigure: Likewise.
8453
36a4953a
AS
84542013-10-29 Andreas Schwab <schwab@suse.de>
8455
8456 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8457
c79a1204
SP
84582013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8459
dfa1b402
SP
8460 * benchtests/pow-inputs: Add new inputs.
8461
54f73d9c
SP
8462 * benchtests/exp-inputs: Add new inputs.
8463
c79a1204
SP
8464 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8465 conditional check for return value.
8466 (__cos32): Likewise.
8467
67beb545 84682013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8469
8470 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8471 to provide a boost for large inputs with word alignment.
8472 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8473 implementation based on optimized PPC64 strcpy.
8474 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8475 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8476 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8477 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8478
151659f6
OB
84792013-10-25 Ondřej Bílka <neleai@seznam.cz>
8480
482a077e 8481 [BZ #2801]
151659f6
OB
8482 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8483
10b0f26b
OB
84842013-10-25 Ondřej Bílka <neleai@seznam.cz>
8485
8486 [BZ #14876]
8487 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8488 * time/tst-strptime.c (day_tests): Add testcase.
8489
ca42d35e
OB
84902013-10-25 Ondřej Bílka <neleai@seznam.cz>
8491
482a077e 8492 [BZ #14029]
ca42d35e
OB
8493 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8494
52e6d801
FB
84952013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8496
8497 [BZ #16074]
8498 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8499 MAP_FAILED on error.
8500
7cbcdb36
SP
85012013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8502
8503 [BZ #16072]
8504 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8505 heap for large requests.
8506
894f3f10
AM
85072013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8508
8509 [BZ #9954]
8510 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8511 result if the result has no associated interface.
8512 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8513 interface for all 127.X.Y.Z addresses.
8514
b85545a6
CL
85152013-10-24 Chris Leonard <cjl@sugarlabs.org>
8516
8517 * locale/iso-639.def: Add Ligurian (lij)
8518
d1f23d46
OB
85192013-10-21 Ondřej Bílka <neleai@seznam.cz>
8520
8521 [BZ #15825]
8522 * sunrpc/rpc_main.c: Document rpcgen -5.
8523
4db5b08f
MS
85242013-10-19 Michael Stahl <mstahl@redhat.com>
8525
8526 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8527
a471e96a
OB
85282013-10-19 Ondřej Bílka <neleai@seznam.cz>
8529
d1f23d46 8530 [BZ #10278]
a471e96a
OB
8531 * posix/glob.c: Match only directories when trailing slash is present.
8532 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8533 (main): Add testcase.
8534
45c30c61
OB
85352013-10-19 Ondřej Bílka <neleai@seznam.cz>
8536
8537 [BZ #15670]
8538 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8539
484c12fb
CD
85402013-10-18 Carlos O'Donell <carlos@redhat.com>
8541
3d7dc513
CD
8542 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8543 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8544 AUTH_DES and cindex for FIPS 140-2.
8545 (DES Encryption): Add cindex FIPS 46-3.
8546
484c12fb
CD
8547 * locale/locarchive.h (struct locarhandle): Add fname.
8548 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8549 if an optional argument was specified to --list-archive,
8550 otherwise NULL.
8551 * locale/programs/locarchive.c (show_archive_content): Take new
8552 argument fname and pass it via ah.fname to open_archive.
8553 * locale/programs/localedef.h: Update decl.
8554 (open_archive): If AH->fname is non-null, open that file
8555 rather than the default file name, and don't ignore ENOENT.
8556 (create_archive): Set AH.fname to NULL.
8557 (delete_locales_from_archive): Likewise.
8558 (add_locales_to_archive): Likewise.
8559 * locale/programs/locfile.c (write_all_categories): Likewise.
8560
3c8325fb
JM
85612013-10-18 Joseph Myers <joseph@codesourcery.com>
8562 Aldy Hernandez <aldyh@redhat.com>
8563
8564 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8565 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8566 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8567 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8568 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8569 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8570 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8571 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8572 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8573 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8574 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8575 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8576 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8577 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8578 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8579 Likewise.
8580 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8581 Likewise.
8582 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8583 Likewise.
8584 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8585 Likewise.
8586 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8587 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8588 Likewise.
8589 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8590 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8591 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8592 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8593 Likewise.
8594 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8595 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8596 * sysdeps/powerpc/preconfigure: Likewise.
8597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8598 Likewise.
8599 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8600 Replace contents of file by #include of <fenv_libc.h>.
8601 * sysdeps/powerpc/soft-fp/sfp-machine.h
8602 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8603 and <sys/prctl.h>.
8604 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8605 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8606 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8607 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8608 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8609 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8610 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8611 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8612 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8613 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8614 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8615 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8617 Allow copysignl PLT reference to be missing.
8618
5abe0682
RS
86192013-10-18 Richard Sandiford <richard@codesourcery.com>
8620 Joseph Myers <joseph@codesourcery.com
8621
8622 [BZ #15948]
8623 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8624 single character.
8625 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8626
c7738d08
SP
86272013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8628
8629 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8630 * elf/tst-tls1.c: Likewise.
8631 * elf/tst-tls10.h: Likewise.
8632 * elf/tst-tls14.c: Likewise.
8633 * elf/tst-tls2.c: Likewise.
8634 * elf/tst-tls3.c: Likewise.
8635 * elf/tst-tls4.c: Likewise.
8636 * elf/tst-tls5.c: Likewise.
8637 * elf/tst-tls6.c: Likewise.
8638 * elf/tst-tls7.c: Likewise.
8639 * elf/tst-tls8.c: Likewise.
8640 * elf/tst-tls9.c: Likewise.
8641 * elf/tst-tlsmod1.c: Likewise.
8642 * elf/tst-tlsmod13.c: Likewise.
8643 * elf/tst-tlsmod13a.c: Likewise.
8644 * elf/tst-tlsmod14a.c: Likewise.
8645 * elf/tst-tlsmod16a.c: Likewise.
8646 * elf/tst-tlsmod16b.c: Likewise.
8647 * elf/tst-tlsmod2.c: Likewise.
8648 * elf/tst-tlsmod3.c: Likewise.
8649 * elf/tst-tlsmod4.c: Likewise.
8650 * elf/tst-tlsmod5.c: Likewise.
8651 * elf/tst-tlsmod6.c: Likewise.
8652
0bfcf2c7
OB
86532013-10-18 Ondřej Bílka <neleai@seznam.cz>
8654
8655 [BZ #12486]
8656 * malloc/malloc.c: remove checks for statistics.
8657
264aad1e
OB
86582013-10-17 Ondřej Bílka <neleai@seznam.cz>
8659
8660 [BZ #15277]
8661 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8662 * inet/tst-network.c: Add testcase.
8663
b957ced8
AS
86642013-10-17 Andreas Schwab <schwab@suse.de>
8665
8666 [BZ #15218]
8667 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8668 to determine canonical name.
8669
c5d5d574
OB
86702013-10-17 Ondřej Bílka <neleai@seznam.cz>
8671
8672 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8673 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8674 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8675 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8676 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8696 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8697 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8699 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8700 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8701 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8702 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8703 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8704 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8705 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8706 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8707 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8708 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8709 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8710 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8711 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8712 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8713 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8714 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8715 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8716 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8717 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8719 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8730
e5c2c2d0
JM
87312013-10-17 Joseph Myers <joseph@codesourcery.com>
8732
8733 [BZ #16041]
8734 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8735 make result into a quiet NaN.
8736
51ca9e29
JM
87372013-10-16 Joseph Myers <joseph@codesourcery.com>
8738
8739 * soft-fp/adddf3.c: Fix horizontal whitespace.
8740 * soft-fp/addsf3.c: Likewise.
8741 * soft-fp/addtf3.c: Likewise.
8742 * soft-fp/divdf3.c: Likewise.
8743 * soft-fp/divsf3.c: Likewise.
8744 * soft-fp/divtf3.c: Likewise.
8745 * soft-fp/double.h: Likewise.
8746 * soft-fp/eqdf2.c: Likewise.
8747 * soft-fp/eqsf2.c: Likewise.
8748 * soft-fp/eqtf2.c: Likewise.
8749 * soft-fp/extenddftf2.c: Likewise.
8750 * soft-fp/extended.h: Likewise.
8751 * soft-fp/extendsfdf2.c: Likewise.
8752 * soft-fp/extendsftf2.c: Likewise.
8753 * soft-fp/extendxftf2.c: Likewise.
8754 * soft-fp/fixdfdi.c: Likewise.
8755 * soft-fp/fixdfsi.c: Likewise.
8756 * soft-fp/fixdfti.c: Likewise.
8757 * soft-fp/fixsfdi.c: Likewise.
8758 * soft-fp/fixsfsi.c: Likewise.
8759 * soft-fp/fixsfti.c: Likewise.
8760 * soft-fp/fixtfdi.c: Likewise.
8761 * soft-fp/fixtfsi.c: Likewise.
8762 * soft-fp/fixtfti.c: Likewise.
8763 * soft-fp/fixunsdfdi.c: Likewise.
8764 * soft-fp/fixunsdfsi.c: Likewise.
8765 * soft-fp/fixunsdfti.c: Likewise.
8766 * soft-fp/fixunssfdi.c: Likewise.
8767 * soft-fp/fixunssfsi.c: Likewise.
8768 * soft-fp/fixunssfti.c: Likewise.
8769 * soft-fp/fixunstfdi.c: Likewise.
8770 * soft-fp/fixunstfsi.c: Likewise.
8771 * soft-fp/fixunstfti.c: Likewise.
8772 * soft-fp/floatdidf.c: Likewise.
8773 * soft-fp/floatdisf.c: Likewise.
8774 * soft-fp/floatditf.c: Likewise.
8775 * soft-fp/floatsidf.c: Likewise.
8776 * soft-fp/floatsisf.c: Likewise.
8777 * soft-fp/floatsitf.c: Likewise.
8778 * soft-fp/floattidf.c: Likewise.
8779 * soft-fp/floattisf.c: Likewise.
8780 * soft-fp/floattitf.c: Likewise.
8781 * soft-fp/floatundidf.c: Likewise.
8782 * soft-fp/floatundisf.c: Likewise.
8783 * soft-fp/floatunditf.c: Likewise.
8784 * soft-fp/floatunsidf.c: Likewise.
8785 * soft-fp/floatunsisf.c: Likewise.
8786 * soft-fp/floatunsitf.c: Likewise.
8787 * soft-fp/floatuntidf.c: Likewise.
8788 * soft-fp/floatuntisf.c: Likewise.
8789 * soft-fp/floatuntitf.c: Likewise.
8790 * soft-fp/fmadf4.c: Likewise.
8791 * soft-fp/fmasf4.c: Likewise.
8792 * soft-fp/fmatf4.c: Likewise.
8793 * soft-fp/gedf2.c: Likewise.
8794 * soft-fp/gesf2.c: Likewise.
8795 * soft-fp/getf2.c: Likewise.
8796 * soft-fp/ledf2.c: Likewise.
8797 * soft-fp/lesf2.c: Likewise.
8798 * soft-fp/letf2.c: Likewise.
8799 * soft-fp/muldf3.c: Likewise.
8800 * soft-fp/mulsf3.c: Likewise.
8801 * soft-fp/multf3.c: Likewise.
8802 * soft-fp/negdf2.c: Likewise.
8803 * soft-fp/negsf2.c: Likewise.
8804 * soft-fp/negtf2.c: Likewise.
8805 * soft-fp/op-1.h: Likewise.
8806 * soft-fp/op-2.h: Likewise.
8807 * soft-fp/op-4.h: Likewise.
8808 * soft-fp/op-8.h: Likewise.
8809 * soft-fp/op-common.h: Likewise.
8810 * soft-fp/quad.h: Likewise.
8811 * soft-fp/single.h: Likewise.
8812 * soft-fp/soft-fp.h: Likewise.
8813 * soft-fp/sqrtdf2.c: Likewise.
8814 * soft-fp/sqrtsf2.c: Likewise.
8815 * soft-fp/sqrttf2.c: Likewise.
8816 * soft-fp/subdf3.c: Likewise.
8817 * soft-fp/subsf3.c: Likewise.
8818 * soft-fp/subtf3.c: Likewise.
8819 * soft-fp/truncdfsf2.c: Likewise.
8820 * soft-fp/trunctfdf2.c: Likewise.
8821 * soft-fp/trunctfsf2.c: Likewise.
8822 * soft-fp/trunctfxf2.c: Likewise.
8823 * soft-fp/unorddf2.c: Likewise.
8824 * soft-fp/unordsf2.c: Likewise.
8825 * soft-fp/unordtf2.c: Likewise.
8826
9ebb0332
JM
88272013-10-15 Joseph Myers <joseph@codesourcery.com>
8828
8829 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8830 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8831
4b1a6d8b
OB
88322013-10-15 Ondřej Bílka <neleai@seznam.cz>
8833
8834 * elf/dl-libc.c: Clear initfini list after freeing.
8835
1e145589
JM
88362013-10-14 Joseph Myers <joseph@codesourcery.com>
8837
8838 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8839 * soft-fp/addsf3.c: Likewise.
8840 * soft-fp/addtf3.c: Likewise.
8841 * soft-fp/divdf3.c: Likewise.
8842 * soft-fp/divsf3.c: Likewise.
8843 * soft-fp/divtf3.c: Likewise.
8844 * soft-fp/double.h: Likewise.
8845 * soft-fp/eqdf2.c: Likewise.
8846 * soft-fp/eqsf2.c: Likewise.
8847 * soft-fp/eqtf2.c: Likewise.
8848 * soft-fp/extenddftf2.c: Likewise.
8849 * soft-fp/extended.h: Likewise.
8850 * soft-fp/extendsfdf2.c: Likewise.
8851 * soft-fp/extendsftf2.c: Likewise.
8852 * soft-fp/extendxftf2.c: Likewise.
8853 * soft-fp/fixdfdi.c: Likewise.
8854 * soft-fp/fixdfsi.c: Likewise.
8855 * soft-fp/fixdfti.c: Likewise.
8856 * soft-fp/fixsfdi.c: Likewise.
8857 * soft-fp/fixsfsi.c: Likewise.
8858 * soft-fp/fixsfti.c: Likewise.
8859 * soft-fp/fixtfdi.c: Likewise.
8860 * soft-fp/fixtfsi.c: Likewise.
8861 * soft-fp/fixtfti.c: Likewise.
8862 * soft-fp/fixunsdfdi.c: Likewise.
8863 * soft-fp/fixunsdfsi.c: Likewise.
8864 * soft-fp/fixunsdfti.c: Likewise.
8865 * soft-fp/fixunssfdi.c: Likewise.
8866 * soft-fp/fixunssfsi.c: Likewise.
8867 * soft-fp/fixunssfti.c: Likewise.
8868 * soft-fp/fixunstfdi.c: Likewise.
8869 * soft-fp/fixunstfsi.c: Likewise.
8870 * soft-fp/fixunstfti.c: Likewise.
8871 * soft-fp/floatdidf.c: Likewise.
8872 * soft-fp/floatdisf.c: Likewise.
8873 * soft-fp/floatditf.c: Likewise.
8874 * soft-fp/floatsidf.c: Likewise.
8875 * soft-fp/floatsisf.c: Likewise.
8876 * soft-fp/floatsitf.c: Likewise.
8877 * soft-fp/floattidf.c: Likewise.
8878 * soft-fp/floattisf.c: Likewise.
8879 * soft-fp/floattitf.c: Likewise.
8880 * soft-fp/floatundidf.c: Likewise.
8881 * soft-fp/floatundisf.c: Likewise.
8882 * soft-fp/floatunsidf.c: Likewise.
8883 * soft-fp/floatunsisf.c: Likewise.
8884 * soft-fp/floatuntidf.c: Likewise.
8885 * soft-fp/floatuntisf.c: Likewise.
8886 * soft-fp/floatuntitf.c: Likewise.
8887 * soft-fp/fmadf4.c: Likewise.
8888 * soft-fp/fmasf4.c: Likewise.
8889 * soft-fp/fmatf4.c: Likewise.
8890 * soft-fp/gedf2.c: Likewise.
8891 * soft-fp/gesf2.c: Likewise.
8892 * soft-fp/getf2.c: Likewise.
8893 * soft-fp/ledf2.c: Likewise.
8894 * soft-fp/lesf2.c: Likewise.
8895 * soft-fp/letf2.c: Likewise.
8896 * soft-fp/muldf3.c: Likewise.
8897 * soft-fp/mulsf3.c: Likewise.
8898 * soft-fp/multf3.c: Likewise.
8899 * soft-fp/negdf2.c: Likewise.
8900 * soft-fp/negsf2.c: Likewise.
8901 * soft-fp/negtf2.c: Likewise.
8902 * soft-fp/op-1.h: Likewise.
8903 * soft-fp/op-2.h: Likewise.
8904 * soft-fp/op-4.h: Likewise.
8905 * soft-fp/op-8.h: Likewise.
8906 * soft-fp/op-common.h: Likewise.
8907 * soft-fp/quad.h: Likewise.
8908 * soft-fp/single.h: Likewise.
8909 * soft-fp/soft-fp.h: Likewise.
8910 * soft-fp/sqrtdf2.c: Likewise.
8911 * soft-fp/sqrtsf2.c: Likewise.
8912 * soft-fp/sqrttf2.c: Likewise.
8913 * soft-fp/subdf3.c: Likewise.
8914 * soft-fp/subsf3.c: Likewise.
8915 * soft-fp/subtf3.c: Likewise.
8916 * soft-fp/truncdfsf2.c: Likewise.
8917 * soft-fp/trunctfdf2.c: Likewise.
8918 * soft-fp/trunctfsf2.c: Likewise.
8919 * soft-fp/trunctfxf2.c: Likewise.
8920 * soft-fp/unorddf2.c: Likewise.
8921 * soft-fp/unordsf2.c: Likewise.
8922 * soft-fp/unordtf2.c: Likewise.
8923
17c48a60
OB
89242013-10-14 Ondřej Bílka <neleai@seznam.cz>
8925
8926 [BZ #15672]
8927 * misc/error.c (error_tail): Fix possible buffer overflow.
8928
cabba934
OB
89292013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8930
8931 [BZ #13028]
8932 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8933 address.
8934
94bf958a
PM
89352013-10-14 P. J. McDermott <pj@pehjota.net>
8936
8937 [BZ #832]
8938 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8939 testing pipefail option.
8940
71b4dea7
JM
89412013-10-12 Joseph Myers <joseph@codesourcery.com>
8942
8943 * soft-fp/double.h: Indent preprocessor directives inside #if.
8944 * soft-fp/extended.h: Likewise.
8945 * soft-fp/op-2.h: Likewise.
8946 * soft-fp/op-4.h: Likewise.
8947 * soft-fp/op-common.h: Likewise.
8948 * soft-fp/quad.h: Likewise.
8949 * soft-fp/single.h: Likewise.
8950 * soft-fp/soft-fp.h: Likewise.
8951
55602758
YC
89522013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8953
8954 * iconv/iconv_prog.c: Fix typos.
8955 * stdio-common/psiginfo-data.h: Likewise.
8956
9cd83302
RT
89572013-10-12 Reuben Thomas <rrt@sc3d.org>
8958
8959 [BZ #15764]
8960 * locale/setlocale.c: Fix typo.
8961
99fd9f47
JM
89622013-10-12 Joseph Myers <joseph@codesourcery.com>
8963
b7ea74f0
JM
8964 [BZ #16036]
8965 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
8966 signaling NaN arguments.
8967 * soft-fp/unordsf2.c (__unordsf2): Likewise.
8968 * soft-fp/unordtf2.c (__unordtf2): Likewise.
8969
8a509447
JM
8970 [BZ #14910]
8971 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
8972 unordered operands.
8973 * soft-fp/gesf2.c (__gesf2): Likewise.
8974 * soft-fp/getf2.c (__getf2): Likewise.
8975 * soft-fp/ledf2.c (__ledf2): Likewise.
8976 * soft-fp/lesf2.c (__lesf2): Likewise.
8977 * soft-fp/letf2.c (__letf2): Likewise.
8978
98998e9f
JM
8979 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
8980 * soft-fp/eqsf2.c (__eqsf2): Likewise.
8981 * soft-fp/eqtf2.c (__eqtf2): Likewise.
8982 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
8983 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
8984 * soft-fp/fixdfti.c (__fixdfti): Likewise.
8985 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
8986 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
8987 * soft-fp/fixsfti.c (__fixsfti): Likewise.
8988 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
8989 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
8990 * soft-fp/fixtfti.c (__fixtfti): Likewise.
8991 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
8992 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
8993 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
8994 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
8995 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
8996 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
8997 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
8998 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
8999 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9000 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9001 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9002 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9003 * soft-fp/floattidf.c (__floattidf): Likewise.
9004 * soft-fp/floattisf.c (__floattisf): Likewise.
9005 * soft-fp/floattitf.c (__floattitf): Likewise.
9006 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9007 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9008 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9009 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9010 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9011 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9012 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9013 * soft-fp/gesf2.c (__gesf2): Likewise.
9014 * soft-fp/getf2.c (__getf2): Likewise.
9015 * soft-fp/ledf2.c (__ledf2): Likewise.
9016 * soft-fp/lesf2.c (__lesf2): Likewise.
9017 * soft-fp/letf2.c (__letf2): Likewise.
9018
8edc4a11
JM
9019 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9020 Undefine and redefine.
9021 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9022 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9023 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9024 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9025 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9026 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9027 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9028 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9029 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9030 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9031 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9032 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9033 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9034 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9035 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9036
8399acaf
JM
9037 [BZ #16032]
9038 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9039 without decrementing exponent if mantissa >= that for the
9040 denominator, not >.
9041 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9042 denominator, not >. Decrement exponent in < case instead of
9043 incrementing in >= case.
9044 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9045 without decrementing exponent if mantissa >= that for the
9046 denominator, not >.
9047
99fd9f47
JM
9048 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9049 computing saturated result for unsigned overflow.
9050
10e1cf6b
SP
90512013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9052 Jeff Law <law@redhat.com>
9053
9054 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9055 (atan2Mp): Add systemtap probe marker.
9056 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9057 (__ieee754_log): Add systemtap probe marker.
9058 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9059 (atanMp): Add systemtap probe marker.
9060 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9061 (tanMp): Add systemtap probe marker.
9062 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9063 (__slowexp): Add systemtap probe marker.
9064 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9065 (__slowpow): Add systemtap probe marker.
9066 * manual/probes.texi: Document probes.
9067
3d110c7c
EB
90682013-10-11 Eric Biggers <ebiggers3@gmail.com>
9069
9070 [BZ #15362]
9071 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9072 written.
9073 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9074 written.
9075 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9076 written to buffer but not flushed.
9077 * libio/iofwrite_u.c: Likewise.
9078 * libio/iopadn.c: Return bytes returned even if EOF was
9079 encountered.
9080 * libio/iowpadn.c: Likewise.
9081 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9082 if _IO_padn does not write the whole buffer.
9083 [!COMPILE_WPRINTF] (PAD): Likewise.
9084
75b4202a
DM
90852013-10-10 David S. Miller <davem@davemloft.net>
9086
9087 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9088 directory block.
9089
6c6352e6
JM
90902013-10-10 Joseph Myers <joseph@codesourcery.com>
9091
33b853c3
JM
9092 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9093 instead of FSF address.
9094 * soft-fp/fixdfti.c: Likewise.
9095 * soft-fp/fixsfti.c: Likewise.
9096 * soft-fp/fixtfti.c: Likewise.
9097 * soft-fp/fixunsdfti.c: Likewise.
9098 * soft-fp/fixunssfti.c: Likewise.
9099 * soft-fp/fixunstfti.c: Likewise.
9100 * soft-fp/floattidf.c: Likewise.
9101 * soft-fp/floattisf.c: Likewise.
9102 * soft-fp/floattitf.c: Likewise.
9103 * soft-fp/floatuntidf.c: Likewise.
9104 * soft-fp/floatuntisf.c: Likewise.
9105 * soft-fp/floatuntitf.c: Likewise.
9106 * soft-fp/trunctfxf2.c: Likewise.
9107
6c6352e6
JM
9108 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9109 * soft-fp/fixdfti.c: Likewise.
9110 * soft-fp/fixsfti.c: Likewise.
9111 * soft-fp/fixtfti.c: Likewise.
9112 * soft-fp/fixunsdfti.c: Likewise.
9113 * soft-fp/fixunssfti.c: Likewise.
9114 * soft-fp/fixunstfti.c: Likewise.
9115 * soft-fp/floattidf.c: Likewise.
9116 * soft-fp/floattisf.c: Likewise.
9117 * soft-fp/floattitf.c: Likewise.
9118 * soft-fp/floatuntidf.c: Likewise.
9119 * soft-fp/floatuntisf.c: Likewise.
9120 * soft-fp/floatuntitf.c: Likewise.
9121 * soft-fp/trunctfxf2.c: Likewise.
9122
3bf78b71
DM
91232013-10-10 David S. Miller <davem@davemloft.net>
9124
9125 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9126
6f10289e
JM
91272013-10-10 Joseph Myers <joseph@codsourcery.com>
9128
bd878fc0
JM
9129 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9130 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9131 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9132 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9133 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9134 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9135 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9136
6f10289e
JM
9137 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9138 for NaNs before doing comparisons on argument.
9139 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9140 Likewise.
9141
321e2684
WN
91422013-10-10 Will Newton <will.newton@linaro.org>
9143
9144 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9145 passed to _int_memalign does not overflow.
9146
40fefba1
TR
91472013-10-10 Torvald Riegel <triegel@redhat.com>
9148
9149 * scripts/bench.pl: Add include-sources directive.
9150 * benchtests/README: Update documentation.
9151
2ae21ed2
JM
91522013-10-10 Joseph Myers <joseph@codesourcery.com>
9153
dcc2dd3f
JM
9154 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9155 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9156 instead of FP_INIT_ROUNDMODE.
9157 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9158 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9159
2ae21ed2
JM
9160 [BZ #16034]
9161 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9162 copy class of input value.
9163 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9164 not handle exceptions.
9165 * soft-fp/negsf2.c (__negsf2): Likewise.
9166 * soft-fp/negtf2.c (__negtf2): Likewise.
9167 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9168
cb8f9562
JM
91692013-10-09 Joseph Myers <joseph@codesourcery.com>
9170
9171 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9172 semicolon. From Linux kernel.
9173
5b60c59d
AB
91742013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9175
9176 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9177
b86835ca
YC
91782013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9179
9180 [BZ #156]
9181 * manual/socket.texi: Added statement about buffer
9182 for gethostbyname2_r.
9183
e7044ea7
OB
91842013-10-08 Ondřej Bílka <neleai@seznam.cz>
9185
9186 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9187 Use .p2align directive instead, throughout.
9188 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9189 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9190 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9191 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9192 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9193 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9194 * sysdeps/x86_64/strchr.S: Likewise.
9195 * sysdeps/x86_64/strrchr.S: Likewise.
9196
09544cbc
SP
91972013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9198
88576635
SP
9199 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9200
e7b2d1dd
SP
9201 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9202
09544cbc
SP
9203 * sysdeps/generic/math_private.h (__mpsin1): Remove
9204 declaration.
9205 (__mpcos1): Likewise.
9206 (__mpsin): New argument __range_reduce.
9207 (__mpcos): Likewise.
9208 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9209 (slow): Use __mpsin and __mpcos.
9210 (slow1): Likewise.
9211 (slow2): Likewise.
9212 (sloww): Likewise.
9213 (sloww1): Likewise.
9214 (sloww2): Likewise.
9215 (bsloww): Likewise.
9216 (bsloww1): Likewise.
9217 (bsloww2): Likewise.
9218 (cslow2): Likewise.
9219 (csloww): Likewise.
9220 (csloww1): Likewise.
9221 (csloww2): Likewise.
9222 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9223 range_reduce. Merge in __mpsin1.
9224 (__mpcos): Likewise.
9225 (__mpsin1): Remove.
9226 (__mpcos1): Likewise.
9227
7602d070
JM
92282013-10-07 Joseph Myers <joseph@codesourcery.com>
9229
9230 * locale/loadlocale.c (_nl_intern_locale_data): Use
9231 LOCFILE_ALIGNED_P.
9232 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9233 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9234 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9235 obstack data is appropriately aligned.
9236 (obstack_int32_grow_fast): Likewise.
9237 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9238 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9239 (add_locale_uint32_array): Likewise.
9240
a357259b
SP
92412013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9242
9243 * benchtests/Makefile: Remove ARGLIST and RET variables.
9244 ($(objpfx)bench-%.c): Pass only function name to the script.
9245 * benchtests/README: Update documentation.
9246 * benchtests/acos-inputs: Add new directives.
9247 * benchtests/acosh-inputs: Likewise.
9248 * benchtests/asin-inputs: Likewise.
9249 * benchtests/asinh-inputs: Likewise.
9250 * benchtests/atan-inputs: Likewise.
9251 * benchtests/atanh-inputs: Likewise.
9252 * benchtests/cos-inputs: Likewise.
9253 * benchtests/cosh-inputs: Likewise.
9254 * benchtests/exp-inputs: Likewise.
9255 * benchtests/log-inputs: Likewise.
9256 * benchtests/pow-inputs: Likewise.
9257 * benchtests/rint-inputs: Likewise.
9258 * benchtests/sin-inputs: Likewise.
9259 * benchtests/sinh-inputs: Likewise.
9260 * benchtests/tan-inputs: Likewise.
9261 * benchtests/tanh-inputs: Likewise.
9262 * scripts/bench.pl: Add support for new directives.
9263
9ec1b13d
AM
92642013-10-07 Alan Modra <amodra@gmail.com>
9265
9266 * README: Fix careless merge.
9267
8b7d57cd
AM
92682013-10-05 Alan Modra <amodra@gmail.com>
9269
9270 * NEWS: Mention powerpc64le support and bugs fixed.
9271 * README: Both big-endian and little-endian powerpc64 supported.
9272
7b7bab13
ST
92732013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9274
9275 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9276 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9277 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9278 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9279
d39baad1
RA
92802013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9281
9282 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9283 match prototype.
9284
cd78f7e7
JM
92852013-10-04 Joseph Myers <joseph@codesourcery.com>
9286
29d73d86
JM
9287 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9288 Move -mhard-float appending from
9289 ports/sysdeps/powerpc/powerpc32/Makefile.
9290 [$(with-fp) = yes] (ASFLAGS): Likewise.
9291 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9292 * sysdeps/powerpc/nofpu: Move directory from
9293 ports/sysdeps/powerpc/nofpu.
9294 * sysdeps/powerpc/soft-fp: Move directory from
9295 ports/sysdeps/powerpc/soft-fp.
9296 * sysdeps/powerpc/powerpc32/405: Move directory from
9297 ports/sysdeps/powerpc/powerpc32/405.
9298 * sysdeps/powerpc/powerpc32/440: Move directory from
9299 ports/sysdeps/powerpc/powerpc32/440.
9300 * sysdeps/powerpc/powerpc32/464: Move directory from
9301 ports/sysdeps/powerpc/powerpc32/464.
9302 * sysdeps/powerpc/powerpc32/476: Move directory from
9303 ports/sysdeps/powerpc/powerpc32/476.
9304 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9305 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9306 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9307 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9309 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9310 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9311 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9312 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9313 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9314 * README: Update for powerpc-*-linux-gnu software floating point
9315 support in libc.
9316
e246b347
JM
9317 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9318 case to powerpc/powerpc32*.
9319 * sysdeps/unix/sysv/linux/configure: Regenerated.
9320
89c2003e
JM
9321 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9322 (_FPU_MASK_OM): Define as 0x04.
9323 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9324 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9325 0x00c10080.
9326 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9327 0x0000003c.
9328 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9329
cd78f7e7
JM
9330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9331 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9332 getcontext_e500.
9333 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9334 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9335 setcontext_e500.
9336 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9337 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9338 and setcontext_e500.
9339
c755294d
CL
93402013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9341
9342 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9343
e16d221c
SP
93442013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9345
9346 * manual/threads.texi (Default Thread Attributes): Fix typo.
9347
215c7d43
WN
93482013-10-04 Will Newton <will.newton@linaro.org>
9349
9350 * malloc/Makefile: Add tst-memalign.
9351 * malloc/tst-memalign.c: New file.
9352
27d0461b
WN
9353 * malloc/tst-posix_memalign.c: Add comments.
9354 (do_test): Add comments and call free on all potentially
9355 allocated pointers. Add space after cast.
9356
1bc92709
WN
9357 * malloc/tst-pvalloc.c: Add comments.
9358 (do_test): Add comments and call free on all potentially
9359 allocated pointers. Remove duplicate check for NULL pointer.
9360 Add space after cast.
9361
66a9be9d
WN
9362 * malloc/tst-valloc.c: Add comments.
9363 (do_test): Add comments and call free on all potentially
9364 allocated pointers. Remove duplicate check for NULL pointer.
9365 Add space after cast.
9366
4cb81307
AM
93672013-10-04 Alan Modra <amodra@gmail.com>
9368
9369 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9370 Use stdint types in rather than __attribute__((mode())).
9371 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9372
f8e3e9f3
AM
93732013-10-04 Alan Modra <amodra@gmail.com>
9374
9375 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9376 Correct handling of unaligned relocs for little-endian.
9377 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9378
8f9ebb08
AM
93792013-10-04 Alan Modra <amodra@gmail.com>
9380
9381 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9382 * configure: Regenerate.
9383 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9384 * shlib-versions: Likewise.
9385
0edf96c2
AM
93862013-10-04 Alan Modra <amodra@gmail.com>
9387
9388 * string/tester.c (test_memrchr): Increment reported test cycle.
9389
e0f7a380
AM
93902013-10-04 Alan Modra <amodra@gmail.com>
9391
9392 * string/test-memcpy.c (do_one_test): When reporting errors, print
9393 string address and don't overrun end of string.
9394
466b0393
AM
93952013-10-04 Alan Modra <amodra@gmail.com>
9396
9397 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9398 insrdi. Make better use of reg selection to speed exit slightly.
9399 Schedule entry path a little better. Remove useless "are we done"
9400 checks on entry to main loop. Handle wrapping around zero address.
9401 Correct main loop count. Handle single left-over word from main
9402 loop inline rather than by using loop_small. Remove extra word
9403 case in loop_small caused by wrong loop count. Add little-endian
9404 support.
9405 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9406 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9407 cache hint.
9408 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9409 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9410 support. Avoid rlwimi.
9411 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9412
3be87c77
AM
94132013-10-04 Alan Modra <amodra@gmail.com>
9414
9415 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9416 insrdi. Formatting.
3be87c77
AM
9417 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9418 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9419 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9420 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9421 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9422 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9423
759cfef3
AM
94242013-10-04 Alan Modra <amodra@gmail.com>
9425
9426 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9427 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9428 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9429 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9430 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9431 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9432 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9433 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9434 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9435 use of regs. Use power7 mtocrf. Tidy function tails.
9436
fe6e95d7
AM
94372013-10-04 Alan Modra <amodra@gmail.com>
9438
9439 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9440 Formatting. Consistently use rXXX register defines or rN defines.
9441 Use early exit labels that avoid restoring unused non-volatile regs.
9442 Make cr field use more consistent with rWORDn compares. Rename
9443 regs used as shift registers for unaligned loop, using rN defines
9444 for short lifetime/multiple use regs.
9445 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9446 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9447 addi 1,1,64 to pop stack frame. Simplify return value code.
9448 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9449
664318c3
AM
94502013-10-04 Alan Modra <amodra@gmail.com>
9451
9452 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9453 support. Correct typos, formatting. Optimize tail. Use insrdi
9454 rather than rlwimi.
9455 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9456 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9457 little-endian support. Correct typos.
9458 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9459 rather than rlwimi.
9460 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9461 in loop and entry code to keep "and." results.
9462 (strchr): Add little-endian support. Comment. Move cntlzd
9463 earlier in tail.
9464 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9465
43b84013
AM
94662013-10-04 Alan Modra <amodra@gmail.com>
9467
9468 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9469 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9470 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9471 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9472
8a7413f9
AM
94732013-10-04 Alan Modra <amodra@gmail.com>
9474
9475 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9476 (rTMP): Define as r11.
9477 (strcmp): Add little-endian support. Optimise tail.
9478 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9479 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9480 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9481 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9482 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9483 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9484 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9485
33ee81de
AM
94862013-10-04 Alan Modra <amodra@gmail.com>
9487
9488 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9489 little-endian support. Remove unnecessary "are we done" tests.
9490 Handle "s" wrapping around zero and extremely large "size".
9491 Correct main loop count. Handle single left-over word from main
9492 loop inline rather than by using small_loop. Correct comments.
9493 Delete "zero" tail, use "end_max" instead.
9494 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9495
db9b4570
AM
94962013-10-04 Alan Modra <amodra@gmail.com>
9497
9498 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9499 support. Don't branch over align.
9500 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9501 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9502 support. Rearrange tmp reg use to suit. Comment.
9503 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9504
f7c399cf
AM
95052013-10-04 Alan Modra <amodra@gmail.com>
9506
9507 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9508
0b2c2ace
AM
95092013-10-04 Alan Modra <amodra@gmail.com>
9510
9511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9512 conditional form of branch and link when obtaining pc.
9513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9514
02f04a6c
AM
95152013-10-04 Alan Modra <amodra@gmail.com>
9516
9517 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9518 HIWORD/LOWORD.
9519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9521
9b874b2f
AM
95222013-10-04 Alan Modra <amodra@gmail.com>
9523
9524 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9525 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9526 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9527 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9528 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9529 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9530 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9531 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9532 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9533 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9534
be1e5d31
AB
95352013-10-04 Anton Blanchard <anton@au1.ibm.com>
9536 Alistair Popple <alistair@ozlabs.au.ibm.com>
9537 Alan Modra <amodra@gmail.com>
9538
9539 [BZ #15723]
9540 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9541 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9542 _dl_hwcap access for little-endian.
9543 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9544 destroy vmx regs when saving unaligned.
9545 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9546 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9547 destroy vmx regs when saving unaligned.
9548
fef13a78
AM
95492013-10-04 Alan Modra <amodra@gmail.com>
9550
9551 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9552 Don't use a union to pack hi/low value.
9553
76a66d51
AB
95542013-10-04 Anton Blanchard <anton@au1.ibm.com>
9555
9556 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9557 for little-endian.
9558 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9559 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9560 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9561 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9562 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9563
6a31fe7f
AM
95642013-10-04 Alan Modra <amodra@gmail.com>
9565
9566 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9567 constants to usual value for .cst8 section, and remove redundant
9568 high address load.
9569 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9570 constant for 0x1p52. Load little-endian words of double from
9571 correct stack offsets.
9572
7b88401f
AM
95732013-10-04 Alan Modra <amodra@gmail.com>
9574
9575 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9576 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9577 words of double from correct stack offsets.
9578 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9579 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9580 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9581 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9582 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9583 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9584 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9585 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9586 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9587 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9588 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9589 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9590 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9591 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9592 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9593 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9594 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9595
9c008155
AM
95962013-10-04 Alan Modra <amodra@gmail.com>
9597
9598 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9599 64-bit int/double union.
9600 (_FPU_SETCW): Likewise.
9601 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9602 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9603
da13146d
AM
96042013-10-04 Alan Modra <amodra@gmail.com>
9605
9606 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9607 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9608
603e8410
AM
96092013-10-04 Alan Modra <amodra@gmail.com>
9610
9611 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9612 use vector int constants.
9613 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9614
4a28b3ca
AB
96152013-10-04 Anton Blanchard <anton@au1.ibm.com>
9616
9617 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9618 array with long long.
9619 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9620 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9621 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9622 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9623 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9624 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9625 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9626 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9627 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9628 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9629 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9630 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9631 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9632
2ca85d2b
AB
96332013-10-04 Anton Blanchard <anton@au1.ibm.com>
9634
9635 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9636 (__signbit): Likewise. Correct for little-endian.
9637 (__signbitl): Call __signbit.
9638 (lrint): Correct for little-endian.
9639 (lrintf): Call lrint.
9640
62a728ae
AM
96412013-10-04 Alan Modra <amodra@gmail.com>
9642
9643 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9644 union 32-bit int array member with 64-bit int array.
9645 (t515, tm256): Double rather than long double.
9646 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9647
32c301df
AM
96482013-10-04 Alan Modra <amodra@gmail.com>
9649
9650 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9651 Delete.
9652 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9653 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9654 version of math_ldbl.h.
9655
650ef4bd
AM
96562013-10-04 Alan Modra <amodra@gmail.com>
9657
9658 [BZ #15734], [BZ #15735]
9659 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9660 all uses of ieee875 long double macros and unions. Simplify test
9661 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9662 ldbl_extract_mantissa value for ix,iy exponents. Properly
9663 normalize after ldbl_extract_mantissa, and don't add hidden bit
9664 already handled. Don't treat low word of ieee854 mantissa like
9665 low word of IBM long double and mask off bit when testing for
9666 zero.
9667 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9668 all uses of ieee875 long double macros and unions. Simplify tests
9669 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9670 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9671 two1022, instead use their values. Recognise that tests for large
9672 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9673 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9674 Rewrite all uses of ieee875 long double macros and unions. Simplify
9675 test for 0.0L and nan. Correct negation.
9676 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9677 ieee875 long double macros and unions. Correct output for large
9678 magnitude x. Correct absolute value calculation.
9679 (__erfcl): Likewise.
9680 * math/libm-test.inc: Add tests for errors discovered in IBM long
9681 double versions of fmodl, remainderl, erfl and erfcl.
9682
765714ca
AM
96832013-10-04 Alan Modra <amodra@gmail.com>
9684
9685 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9686 all uses of ieee854 long double macros and unions. Simplify tests
9687 for long doubles that are fully specified by the high double.
9688 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9689 Likewise.
9690 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9691 Remove dead code too.
9692 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9693 (__ieee754_ynl): Likewise.
9694 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9695 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9696 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9697 Remove dead code too.
9698 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9699 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9700 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9701 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9702 Simplify.
9703 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9704 Simplify.
9705 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9706 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9707 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9708 Comment on variable precision.
9709 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9710 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9711 Likewise.
9712 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9713 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9714 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9715 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9716 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9717
4ebd120c
AM
97182013-10-04 Alan Modra <amodra@gmail.com>
9719
9720 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9721 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9722 all uses of ieee854 long double macros and unions.
9723 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9724 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9725 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9726 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9727 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9728 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9729 Likewise.
9730 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9731 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9732 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9733 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9734 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9735 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9736 Simplify sign and nan test too.
9737 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9739 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9740 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9741 Likewise.
9742 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9743 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9744 Likewise.
9745 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9746 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9747 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9748 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9749 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9750 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9751
1b6adf88
AM
97522013-10-04 Alan Modra <amodra@gmail.com>
9753
9754 * stdio-common/printf_size.c (__printf_size): Don't use
9755 union ieee854_long_double in fpnum union.
9756 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9757 signbit macro to retrieve sign from long double.
9758 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9759 retrieve sign from long double.
9760 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9761 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9762 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9763 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9764 * math/test-misc.c (main): Don't use union ieee854_long_double.
9765
4cf69995
AM
97662013-10-04 Alan Modra <amodra@gmail.com>
9767
9768 [BZ #15680]
9769 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9770 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9771 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9772 calculation. Remove unnecessary test for denormal exponent.
9773 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9774 Correct handling of denormals. Avoid undefined shift behaviour.
9775 Correct normalisation of low mantissa when low double is denormal.
9776 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9777 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9778 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9779 Correct normalisation of low mantissa. Test for overflow of high
9780 mantissa and normalise.
9781 (ldbl_nearbyint): Use more readable constant for two52.
9782 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9783 (__mpn_construct_long_double): Fix test for overflow of high
9784 mantissa and correct normalisation. Avoid undefined shift.
9785
9605ca6c
AM
97862013-10-04 Alan Modra <amodra@gmail.com>
9787
9788 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9789 (union ibm_extended_long_double): Define as an array of ieee754_double.
9790 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9791 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9792 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9793 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9794 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9795 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9796 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9797 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9798 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9799 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9800 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9801
975569d0
JM
98022013-10-03 Joseph Myers <joseph@codesourcery.com>
9803
d3d23756
JM
9804 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9805 page size instead of calling getpagesize.
9806
975569d0
JM
9807 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9808 (LOCFILE_ALIGN_MASK): Likewise.
9809 (LOCFILE_ALIGN_UP): Likewise.
9810 (LOCFILE_ALIGNED_P): Likewise.
9811 * locale/programs/ld-collate.c (collate_output): Use the new
9812 macros instead of __alignof__ (int32_t).
9813 * locale/weight.h (findidx): Likewise.
9814
b1fe1f2b
OB
98152013-10-03 Ondřej Bílka <neleai@seznam.cz>
9816
9817 [BZ #431]
9818 * manual/string.texi: Fix strncat and wcsncat.
9819
5f855e35
BM
98202013-10-03 Brooks Moses <bmoses@google.com>
9821
9822 [BZ #15915]
9823 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9824 * Makerules: ...here, and adjust associated comments.
9825
3cef6009
WN
98262013-10-02 Will Newton <will.newton@linaro.org>
9827
9828 * malloc/Makefile: Add tst-pvalloc.
9829 * malloc/tst-pvalloc.c: New file.
9830
7815420b
WN
98312013-10-02 Will Newton <will.newton@linaro.org>
9832
9833 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9834 improve test coverage.
9835
4868b204
WN
98362013-10-02 Will Newton <will.newton@linaro.org>
9837
9838 * malloc/Makefile: Add tst-posix_memalign.
9839 * malloc/tst-posix_memalign.c: New file.
9840
29c793b3
EB
98412013-10-01 Eric Blake <eblake@redhat.com>
9842
9843 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9844 Use __THROWNL rather than __THROW on static functions.
9845
fd967522
PM
98462013-09-30 Petr Machata <pmachata@redhat.com>
9847
9848 * elf/elf.h (R_AARCH64_ABS16): New macro.
9849 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9850 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9851 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9852 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9853 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9854 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9855 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9856 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9857 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9858 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9859 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9860 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9861 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9862 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9863 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9864 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9865 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9866 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9867 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9868 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9869 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9870 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9871 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9872 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9873 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9874 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9875 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9876 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9877 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9878 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9879 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9880 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9881 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9882 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9883 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9884 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9885 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9886 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9887 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9888 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9889 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9890 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9891 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9892 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9893 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9894 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9895 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9896 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9897 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9898 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9899 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9900 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9901 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9902 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9903 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9904 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9905 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9906 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9907 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9908 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9909 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9910 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9911 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9912 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9913 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9914 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9915 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9916 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9917 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9918 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9919 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9920 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9921 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9922 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9923 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9924 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9925 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9926 (R_AARCH64_TLSDESC_LDR): Likewise.
9927 (R_AARCH64_TLSDESC_ADD): Likewise.
9928 (R_AARCH64_TLSDESC_CALL): Likewise.
9929
b2179107
AS
99302013-09-30 Andreas Schwab <schwab@suse.de>
9931
9932 [BZ #15048]
9933 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9934 the nss database lookup.
9935 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9936 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9937
47f28d0a
MF
99382013-09-28 Mike Frysinger <vapier@gentoo.org>
9939
9940 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9941
99422013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9943
9944 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9945 ${Bash-specific parameter/pattern/string} parameter expansion.
9946 * sysdeps/unix/make-syscalls.sh: Likewise.
9947
f4518a17
KK
99482013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9949
9950 * sysdeps/sh/stackguard-macros.h: New file.
9951
dc1a95c7
OB
99522013-09-26 Ondřej Bílka <neleai@seznam.cz>
9953
9954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9955 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9956 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
9957 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
9958 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
9959 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
9960
5ebbff8f
AZ
99612013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9962
9963 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
9964 Fix thread ID register.
9965
4fd2cf9f
JM
99662013-09-25 Joseph Myers <joseph@codesourcery.com>
9967
9968 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
9969 [POSIX || UNIX98]: Require rather than permitting all symbols from
9970 <time.h>.
9971 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
9972 element of struct sched_param.
9973 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
9974 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
9975 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
9976 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
9977 constant.
9978
12c22bc4
OL
99792013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
9980
9981 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
9982 argument calculation.
9983
a03d8ea7
JM
99842013-09-24 Joseph Myers <joseph@codesourcery.com>
9985
9986 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
9987 Expect macro.
9988 [POSIX] (pthread_attr_t): Do not require type.
9989 [POSIX] (pthread_cond_t): Likewise.
9990 [POSIX] (pthread_condattr_t): Likewise.
9991 [POSIX] (pthread_key_t): Likewise.
9992 [POSIX] (pthread_mutex_t): Likewise.
9993 [POSIX] (pthread_mutexattr_t): Likewise.
9994 [POSIX] (pthread_once_t): Likewise.
9995 [POSIX] (pthread_t): Likewise.
9996 [POSIX-based standards] (pthread_atfork): Expect function.
9997
6055173a
JM
99982013-09-24 Joseph Myers <joseph@codesourcery.com>
9999 Richard Sandiford <richard@codesourcery.com>
10000
10001 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10002 (swap_endianness_p): New extern variable.
10003 (set_big_endian): New inline function.
10004 (maybe_swap_uint32): Likewise.
10005 (maybe_swap_uint32_array): Likewise.
10006 (maybe_swap_uint32_obstack): Likewise.
10007 * locale/programs/locfile.c: Include <stdbool.h>.
10008 (swap_endianness_p): New variable.
10009 (add_locale_uint32): Call maybe_swap_uint32.
10010 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10011 (write_locale_data): Call maybe_swap_uint32_array.
10012 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10013 maybe_swap_uint32.
10014 (obstack_int32_grow_fast): Likewise.
10015 (output_weightwc): Call maybe_swap_uint32_obstack.
10016 (collate_output): Likewise.
10017 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10018 (OPT_LITTLE_ENDIAN): Likewise.
10019 (options): Add --little-endian and --big-endian options.
10020 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10021 * locale/programs/locarchive.c: Include "locfile.h".
10022 (GET): New macro.
10023 (SET): Likewise.
10024 (INC): Likewise.
10025 (create_archive): Use the new macros to access fields of
10026 structures directly mapped from or written to locale archives.
10027 (oldlocrecentcmp): Likewise.
10028 (enlarge_archive): Likewise.
10029 (insert_name): Likewise.
10030 (add_alias): Likewise.
10031 (add_locale): Likewise.
10032 (delete_locales_from_archive): Likewise.
10033 (show_archive_content): Likewise.
10034 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10035 locale data.
10036
39bf0bb4
RM
100372013-09-24 Roland McGrath <roland@hack.frob.com>
10038
10039 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10040 http://www.gnu.org/doc/freemanuals.texi.
10041 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10042
f02eed10
WN
100432013-09-24 Will Newton <will.newton@linaro.org>
10044
10045 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10046 macro.
10047
a3a6c312
JM
100482013-09-23 Joseph Myers <joseph@codesourcery.com>
10049
10050 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10051 unsigned char.
10052
107375ac
MR
100532013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10054
10055 * manual/threads.texi (POSIX Threads): Fix a typo.
10056
141f3a77
SP
100572013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10058
303e567a
SP
10059 [BZ #14547]
10060 * string/tst-strcoll-overflow.c: New test case.
10061 * string/Makefile (xtests): Add tst-strcoll-overflow.
10062 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10063 cache if string sizes may cause integer overflow.
10064
141f3a77
SP
10065 [BZ #14547]
10066 * string/strcoll_l.c (coll_seq): New members rule, idx,
10067 save_idx and back_us.
10068 (get_next_seq_nocache): New function.
10069 (do_compare_nocache): New function.
10070 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10071 when malloc fails.
10072
c61b4d41
CD
100732013-09-23 Carlos O'Donell <carlos@redhat.com>
10074
0b1f8e35
CD
10075 [BZ #15754]
10076 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10077 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10078 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10079
c61b4d41
CD
10080 [BZ #15754]
10081 * elf/Makefile (tests): Add tst-ptrguard1.
10082 (tests-static): Add tst-ptrguard1-static.
10083 (tst-ptrguard1-ARGS): Define.
10084 (tst-ptrguard1-static-ARGS): Define.
10085 * elf/tst-ptrguard1.c: New file.
10086 * elf/tst-ptrguard1-static.c: New file.
10087 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10088 * sysdeps/i386/stackguard-macros.h: Likewise.
10089 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10090 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10091 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10092 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10093 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10094 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10095
100962013-09-23 Hector Marco <hecmargi@upv.es>
10097 Ismael Ripoll <iripoll@disca.upv.es>
10098 Carlos O'Donell <carlos@redhat.com>
10099
10100 [BZ #15754]
10101 * sysdeps/generic/stackguard-macros.h: Define
10102 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10103 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10104 Define __pointer_chk_guard_local.
10105 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10106 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10107
f5f4e7b4
VV
101082013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10109
10110 [BZ #15859]
10111 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10112
5bb43a43
AS
101132013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10114
10115 * include/string.h (__ffs): Declare as hidden.
10116 * string/ffs.c (__ffs): Define as hidden.
10117 * sysdeps/i386/ffs.c (__ffs): Likewise.
10118 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10119 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10120 * sysdeps/s390/ffs.c (__ffs): Likewise.
10121 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10122
3ea5be54
AO
101232013-09-20 Alexandre Oliva <aoliva@redhat.com>
10124
ffb89e53
AO
10125 * NEWS: Mention malloc probes.
10126
322dea08
AO
10127 * malloc/arena.c (new_heap): New memory_heap_new probe.
10128 (grow_heap): New memory_heap_more probe.
10129 (shrink_heap): New memory_heap_less probe.
10130 (heap_trim): New memory_heap_free probe.
10131 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10132 (systrim): New memory_sbrk_less probe.
10133 * manual/probes.texi: Document them.
10134
655673f3
AO
10135 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10136 * manual/probes.texi: Document it.
10137
35fed6f1
AO
10138 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10139 (__libc_realloc): Add memory_realloc_retry probe.
10140 (__libc_memalign): Add memory_memalign_retry probe.
10141 (__libc_valloc): Add memory_valloc_retry probe.
10142 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10143 (__libc_calloc): Add memory_calloc_retry probe.
10144 * manual/probes.texi: Document them.
10145
6999d38c
AO
10146 * malloc/arena.c (get_free_list): Add probe
10147 memory_arena_reuse_free_list.
10148 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10149 and memory_arena_reuse.
10150 (arena_get2) [!PER_THREAD]: Likewise.
10151 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10152 memory_arena_reuse_realloc.
10153 * manual/probes.texi: Document them.
10154
0653427f
AO
10155 * malloc/malloc.c (__libc_free): Add
10156 memory_mallopt_free_dyn_thresholds probe.
10157 (__libc_mallopt): Add multiple memory_mallopt probes.
10158 * manual/probes.texi: Document them.
10159
3ea5be54
AO
10160 * malloc/malloc.c: Include stap-probe.h.
10161 (__libc_mallopt): Add memory_mallopt probe.
10162 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10163 * manual/probes.texi: New.
10164 * manual/Makefile (chapters): Add probes.
10165 * manual/threads.texi: Set next node.
10166
e35696c3 101672013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10168
e35696c3
CL
10169 [BZ #15963, #13985]
10170 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10171 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10172 Add `Chinese' to `nan' entry name.
10173
4aafb73c
SP
101742013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10175
10176 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10177 (POLYNOMIAL): Likewise.
10178 (TAYLOR_SINCOS): Likewise.
10179 (TAYLOR_SLOW): Likewise.
10180 (__sin): Use TAYLOR_SINCOS.
10181 (__cos): Likewise.
10182 (slow): Use TAYLOR_SLOW.
10183 (sloww): Likewise.
10184 (bsloww): Likewise.
10185 (csloww): Likewise.
10186
d84f25c7
LD
101872013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10188
10189 * stdlib/strtod_l.c: Fix buffer overrun.
10190
5eea0404
SP
101912013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10192
7849ff93
SP
10193 * benchtests/Makefile (bench): Add sincos.
10194 * benchtests/bench-sincos.c: New file.
10195
cfa3c886
SP
10196 * math/libm-test.inc (cos_test_data): New test inputs.
10197 (sin_test_data): Likewise.
10198
b348e1e3
SP
10199 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10200 macro.
10201 (__sin): Use it.
10202 (__cos): Likewise.
10203 (slow1): Likewise.
10204 (slow2): Likewise.
10205 (sloww1): Likewise.
10206 (sloww2): Likewise.
10207 (bsloww1): Likewise.
10208 (bsloww2): Likewise.
10209 (cslow2): Likewise.
10210 (csloww1): Likewise.
10211 (csloww2): Likewise.
10212
6cce25f8
SP
10213 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10214 function.
10215 (__sin): Use it.
10216 (__cos): Likewise.
10217
5eea0404
SP
10218 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10219 gotos.
10220 (__cos): Likewise.
10221
9c21573c
MR
102222013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10223
10224 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10225 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10226 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10227 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10228 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10229 * elf/cache.c (print_entry): Handle the new cache flags.
10230
24d22e65
JM
102312013-09-18 Joseph Myers <joseph@codesourcery.com>
10232 Aldy Hernandez <aldyh@redhat.com>
10233
10234 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10235 Change condition to [_SOFT_FLOAT].
10236 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10237 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10238 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10239 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10240 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10241 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10242 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10243 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10244 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10245 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10246 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10247 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10248 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10249 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10250 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10251 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10252 declaration.
10253
d13ef066
JM
102542013-09-18 Joseph Myers <joseph@codesourcery.com>
10255
2e071de0
JM
10256 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10257 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10258 (__longjmp): Use LOAD_GP to load saved GPRs.
10259 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10260 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10261 (__sigsetjmp): Use SAVE_GP to save GPRs.
10262
d13ef066
JM
10263 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10264 Do not append -msoft-float.
10265 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10266
97a0650b
SP
102672013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10268
10269 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10270
11ca09e9
JM
102712013-09-17 Joseph Myers <joseph@codesourcery.com>
10272
10273 [BZ #15966]
10274 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10275 (_FPU_GETCW): Use initial "__" on variable and field names but not
10276 on macro parameter name.
10277 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10278 parentheses around reference to macro parameter.
10279
08ffcf34
RS
102802013-09-13 Richard Sandiford <richard@codesourcery.com>
10281
10282 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10283 prototype.
10284 (ctype_startup): Use uint32_t in cast and sizeof for
10285 ctype->charnames.
10286
ae7080d3
JL
102872013-09-11 Jia Liu <proljc@gmail.com>
10288
10289 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10290 __daddr_t_defined.
10291 [__FreeBSD__]: Likewise.
10292
5905e7b3
OB
102932013-09-11 Ondřej Bílka <neleai@seznam.cz>
10294
10295 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10296 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10297 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10298 (strchr): Remove __strchr_sse42 ifunc selection.
10299 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10300 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10301
b987c776
WN
103022013-09-11 Will Newton <will.newton@linaro.org>
10303
10304 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10305 parameter to RES. Remove hardcoded 1000 value.
10306 * benchtests/bench-skeleton.c (main): Pass RES parameter
10307 to TIMING_INIT and multiply result by 1000.
10308
ddf985af
AZ
103092013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10310
10311 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10312
ffdd3181
AS
103132013-09-11 Andreas Schwab <schwab@suse.de>
10314
10315 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10316 if not defined.
10317 (O_TMPFILE) [__USE_GNU]: Define.
10318 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10319 Define.
10320
b73ed247
WN
103212013-09-11 Will Newton <will.newton@linaro.org>
10322
10323 [BZ #15857]
10324 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10325 does not overflow.
10326
55e17aad
WN
103272013-09-11 Will Newton <will.newton@linaro.org>
10328
10329 [BZ #15856]
10330 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10331 does not overflow.
10332
1159a193
WN
103332013-09-11 Will Newton <will.newton@linaro.org>
10334
10335 [BZ #15855]
10336 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10337 does not overflow.
10338
5905e7b3 103392013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10340
10341 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10342 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10343 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10344 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10345 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10346
cdfc721b
AM
103472013-09-10 Allan McRae <allan@archlinux.org>
10348
aa04af00
AM
10349 [BZ #15748]
10350 * manual/arith.texi (Parsing of Floats): Clarify
10351 cross-reference.
10352
cdfc721b
AM
10353 [BZ #15849]
10354 * manual/install.texi (Running make install): Mention
10355 --enable-pt-chown.
10356 * INSTALL: Regenerated.
10357
95e7cf29
MR
103582013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10359
10360 * csu/init-first.c (_init): Remove the !SHARED condition around
10361 FPU control word initialization.
10362 * elf/dl-support.c (_dl_fpu_control): New variable.
10363 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10364 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10365 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10366 * math/test-fpucw-static.c: New file.
10367 * math/test-fpucw-ieee.c: New file.
10368 * math/test-fpucw-ieee-static.c: New file.
10369 * math/Makefile (tests): Add `test-fpucw-ieee' and
10370 `$(tests-static)'.
10371 (tests-static): New variable.
10372 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10373 dependency to...
10374 [($(build-shared),yes)]
10375 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10376 ... this.
10377 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10378 New dependency.
10379
83e43bf0
AM
103802013-09-09 Allan McRae <allan@archlinux.org>
10381
a9f5ce09
AM
10382 [BZ #15939]
10383 * manual/string.texi (Collation Functions): Fix typo in
10384 strcoll example.
10385 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10386
34829bc2
AM
10387 [BZ #15893]
10388 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10389
3932737d
AM
10390 [BZ #15892]
10391 * libio/memstream.c (open_memstream): Fix memory leak.
10392 * libio/wmemstream.c (open_wmemstream): Likewise.
10393
83e43bf0
AM
10394 [BZ #15895]
10395 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10396
0c66b8e9
WN
103972013-09-09 Will Newton <will.newton@linaro.org>
10398
10399 * malloc/Makefile: Add tst-realloc to tests.
10400 * malloc/tst-realloc.c: New file.
10401
f6b00fd1
AM
104022013-09-09 Allan McRae <allan@archlinux.org>
10403
10404 [BZ #15844]
10405 * COPYING: Update from GNU website to fix FSF address.
10406 * COPYING.LIB: Likewise.
10407
eec55e16
DM
104082013-09-06 David S. Miller <davem@davemloft.net>
10409
10410 * po/zh_TW.po: Update Chinese (traditional) translation from
10411 translation project.
10412
1ecbb381
RS
104132013-09-06 Richard Sandiford <richard@codesourcery.com>
10414 Joseph Myers <joseph@codesourcery.com>
10415
10416 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10417 "localeinfo.h".
10418 (obstack_chunk_alloc): New macro.
10419 (obstack_chunk_free): Likewise.
10420 (record_offset): New function.
10421 (init_locale_data): Likewise.
10422 (align_locale_data): Likewise.
10423 (add_locale_empty): Likewise.
10424 (add_locale_raw_data): Likewise.
10425 (add_locale_raw_obstack): Likewise.
10426 (add_locale_string): Likewise.
10427 (add_locale_wstring): Likewise.
10428 (add_locale_uint32): Likewise.
10429 (add_locale_uint32_array): Likewise.
10430 (add_locale_char): Likewise.
10431 (start_locale_structure): Likewise.
10432 (end_locale_structure): Likewise.
10433 (start_locale_prelude): Likewise.
10434 (end_locale_prelude): Likewise.
10435 (write_locale_data): Take locale_file structure rather than an
10436 iovec.
10437 * locale/programs/locfile.h: Include "obstack.h".
10438 (struct locale_file): Change to store locale file contents instead
10439 of header.
10440 (init_locale_data): New prototype.
10441 (align_locale_data): Likewise.
10442 (add_locale_empty): Likewise.
10443 (add_locale_raw_data): Likewise.
10444 (add_locale_raw_obstack): Likewise.
10445 (add_locale_string): Likewise.
10446 (add_locale_wstring): Likewise.
10447 (add_locale_uint32): Likewise.
10448 (add_locale_uint32_array): Likewise.
10449 (add_locale_char): Likewise.
10450 (start_locale_structure): Likewise.
10451 (end_locale_structure): Likewise.
10452 (start_locale_prelude): Likewise.
10453 (end_locale_prelude): Likewise.
10454 (write_locale_data): Update prototype.
10455 * locale/programs/3level.h (struct TABLE): Remove result field.
10456 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10457 Use new locale_file interface.
10458 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10459 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10460 * locale/programs/ld-address.c (address_output): Use new
10461 locale_file interface.
10462 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10463 NO_ADD_LOCALE.
10464 (collate_finish): Don't call collseq_table_finalize.
10465 (collate_output): Use new locale_file interface.
10466 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10467 in file.
10468 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10469 (TABLE): Move defines earlier in file.
10470 (ELEMENT): Likewise.
10471 (DEFAULT): Likewise.
10472 (wctrans_table_add): Move macro and inline function earlier in
10473 file.
10474 (struct wctype_table): Move type earlier in file.
10475 (add_locale_wctype_table): New static prototype.
10476 (struct locale_ctype_t): Use logical types instead of struct iovec
10477 pointers for members.
10478 (ctype_output): Use new locale_file interface.
10479 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10480 new locale_file interface.
10481 (allocate_arrays): Update for use of new locale_file interface.
10482 * locale/programs/ld-identification.c (identification_output): Use
10483 new locale_file interface.
10484 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10485 * locale/programs/ld-messages.c (messages_output): Likewise.
10486 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10487 * locale/programs/ld-name.c (name_output): Likewise.
10488 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10489 * locale/programs/ld-paper.c (paper_output): Likewise.
10490 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10491 * locale/programs/ld-time.c (time_output): Likewise.
10492
e029e2e5
AZ
104932013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10494
10495 * benchtests/Makefile: Add memrchr benchmark.
10496 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10497 benchmark as memrchr.
10498 * benchtests/bench-memrchr-ifunc.c: New file.
10499 * benchtests/bench-memrchr.c: New file.
10500
bbf6e8e4
WN
105012013-09-06 Will Newton <will.newton@linaro.org>
10502
10503 * benchtests/Makefile (string-bench): Add memcpy.
10504
6c82a2f8
CD
105052013-09-05 Carlos O'Donell <carlos@redhat.com>
10506 Cong Wang <amwang@redhat.com>
10507
e732c5f0 10508 [BZ #15850]
6c82a2f8
CD
10509 * sysdeps/unix/sysv/linux/bits/in.h
10510 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10511 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10512 before __USE_KERNEL_IPV6_DEFS uses.
10513 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10514 IPPROTO_BEETPH.
10515 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10516 sockaddr_in6, or ipv6_mreq.
10517
5430fc65
AZ
105182013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10519
10520 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10521 memory access for final bytes in some large inputs.
10522 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10523
4660856c
AZ
105242013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10525
10526 * string/test-memrchr.c: New file.
10527 * string/test-memrchr-ifunc.c: New file.
10528 * string/Makefile: Add new memrchr testcase.
10529
bb8ea713
MF
105302013-09-05 Mike Frysinger <vapier@gentoo.org>
10531
10532 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10533 fanotify_init returns EPERM.
10534
b92a20b5
JM
105352013-09-04 Joseph Myers <joseph@codesourcery.com>
10536
10537 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10538 errors.
10539 (top level): Treat second token from macro or constant entries for
10540 allowed headers as allowed.
10541 * include/complex.h: Condition internal declarations on
10542 [!_ISOMAC].
10543 * include/fenv.h: Condition include of <stdbool.h> and internal
10544 declarations on [!_ISOMAC].
7447ccd9
CL
10545
105462013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10547
3e181dda 10548 [BZ #15923]
7447ccd9
CL
10549 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10550
3f2e46a4
JM
105512013-09-04 Joseph Myers <joseph@codesourcery.com>
10552
10553 * configure.in (--enable-versioning): Remove configure option.
10554 (libc_cv_asm_symver_directive): Remove configure test.
10555 (libc_cv_ld_version_script_option): Likewise.
10556 (VERSIONING): Remove variable and AC_SUBST.
10557 (DO_VERSIONING): Remove AC_DEFINE.
10558 * configure: Regenerated.
10559 * config.h.in (DO_VERSIONING): Remove macro.
10560 * Makerules [$(versioning) = yes]: Change conditionals to
10561 [$(build-shared) = yes].
10562 * config.make.in (versioning): Remove variable.
10563 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10564 [$(build-shared) = yes].
10565 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10566 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10567 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10568 [$(build-shared) = yes].
10569 * extra-lib.mk [$(versioning) = yes]: Likewise.
10570 * hurd/Makefile [$(versioning) = yes]: Likewise.
10571 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10572 [SHARED].
10573 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10574 [SHARED].
10575 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10576 [SHARED && !NO_HIDDEN].
10577 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10578 [SHARED].
10579 [SHARED && DO_VERSIONING]: Likewise..
10580 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10581 [$(build-shared) = yes].
10582 * manual/install.texi (--disable-versioning): Remove
10583 documentation.
10584 * INSTALL: Regenerated.
10585 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10586 to [SHARED].
10587 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10588 [$(build-shared) = yes].
10589 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10590 * sysdeps/i386/i686/multiarch/strstr-c.c
10591 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10592 [SHARED && !NO_HIDDEN].
10593 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10594 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10595 * sysdeps/powerpc/powerpc32/dl-machine.c
10596 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10597 * sysdeps/powerpc/powerpc32/sysdep.h
10598 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10599 to [SHARED && PIC && !NO_HIDDEN].
10600 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10601 conditional to [SHARED].
10602
44558701
WN
106032013-09-04 Will Newton <will.newton@linaro.org>
10604
10605 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10606 * benchtests/bench-string.h: Include bench-timing.h instead
10607 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10608 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10609 call to HP_TIMING_DIFF_INIT.
10610 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10611 instead of hp-timing.h macros.
10612 * benchtests/bench-memchr.c: Likewise.
10613 * benchtests/bench-memcmp.c: Likewise.
10614 * benchtests/bench-memcpy.c: Likewise.
10615 * benchtests/bench-memmem.c: Likewise.
10616 * benchtests/bench-memmove.c: Likewise.
10617 * benchtests/bench-memset.c: Likewise.
10618 * benchtests/bench-rawmemchr.c: Likewise.
10619 * benchtests/bench-strcasecmp.c: Likewise.
10620 * benchtests/bench-strcasestr.c: Likewise.
10621 * benchtests/bench-strcat.c: Likewise.
10622 * benchtests/bench-strchr.c: Likewise.
10623 * benchtests/bench-strcmp.c: Likewise.
10624 * benchtests/bench-strcpy.c: Likewise.
10625 * benchtests/bench-strcpy_chk.c: Likewise.
10626 * benchtests/bench-strlen.c: Likewise.
10627 * benchtests/bench-strncasecmp.c: Likewise.
10628 * benchtests/bench-strncat.c: Likewise.
10629 * benchtests/bench-strncmp.c: Likewise.
10630 * benchtests/bench-strncpy.c: Likewise.
10631 * benchtests/bench-strnlen.c: Likewise.
10632 * benchtests/bench-strpbrk.c: Likewise.
10633 * benchtests/bench-strrchr.c: Likewise.
10634 * benchtests/bench-strspn.c: Likewise.
10635 * benchtests/bench-strstr.c: Likewise.
10636
cae16d66
WN
106372013-09-04 Will Newton <will.newton@linaro.org>
10638
10639 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10640
ffa3cd7f
JM
106412013-09-03 Joseph Myers <joseph@codesourcery.com>
10642
10643 [BZ #15427]
10644 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10645 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10646 * math/libm-test.inc (lgamma_test_data): Add more tests.
10647 * sysdeps/i386/fpu/libm-test-ulps: Update.
10648 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10649
8f02859f
OB
106502013-09-03 Ondřej Bílka <neleai@seznam.cz>
10651
10652 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10653 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10654 Add ifunc.
10655 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10656 Add strcmp-sse2-unaligned
10657 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10658
18d43716
MF
106592013-09-02 Mike Frysinger <vapier@gentoo.org>
10660
10661 * Versions.def (libc): Add GLIBC_2.19.
10662
ac444012
MF
106632013-09-02 Mike Frysinger <vapier@gentoo.org>
10664
10665 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10666 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10667
b7835e32
JM
106682013-09-02 Joseph Myers <joseph@codesourcery.com>
10669
10670 [BZ #14155]
10671 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10672 intermediate calculations in recurrence.
10673 (__ieee754_ynf): Likewise.
10674 * math/libm-test.inc (jn_test_data): Do not allow spurious
10675 underflow exception. Add more tests.
10676 (yn_test_data): Add more tests.
10677 * sysdeps/i386/fpu/libm-test-ulps: Update.
10678 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10679
8220f4f0
OB
106802013-09-02 Ondřej Bílka <neleai@seznam.cz>
10681
10682 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10683
f24a6d08
OB
106842013-08-30 Ondřej Bílka <neleai@seznam.cz>
10685
10686 * csu/init-first.c: Fix then/than typos.
10687 * locale/programs/ld-collate.c: Likewise.
10688 * locale/programs/linereader.h: Likewise.
10689 * manual/charset.texi: Likewise.
10690 * manual/filesys.texi: Likewise.
10691 * manual/stdio.texi: Likewise.
10692 * manual/string.texi: Likewise.
10693 * stdlib/fmtmsg.c: Likewise.
10694 * sysdeps/i386/stpncpy.S: Likewise.
10695 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10696 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10697 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10698 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10699
382466e0
OB
107002013-08-30 Ondřej Bílka <neleai@seznam.cz>
10701
10702 * elf/dl-open.c: Fix typos.
10703 * iconvdata/gbbig5.c: Likewise.
10704 * iconvdata/iso-2022-jp.c: Likewise.
10705 * iconv/gconv_int.h: Likewise.
10706 * iconv/loop.c: Likewise.
10707 * nis/rpcsvc/nis.h: Likewise.
10708 * resolv/ns_name.c: Likewise.
10709 * stdio-common/vfscanf.c: Likewise.
10710 * streams/stropts.h: Likewise.
10711 * sunrpc/rpc_thread.c: Likewise.
10712 * sysdeps/i386/strpbrk.S: Likewise.
10713 * sysdeps/ieee754/k_standard.c: Likewise.
10714 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10715 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10716 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10717 * sysdeps/mach/hurd/profil.c: Likewise.
10718 * sysdeps/s390/dl-procinfo.h: Likewise.
10719 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10720 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10721 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10722 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10723 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10724
0186c6e9
OB
107252013-08-30 Ondřej Bílka <neleai@seznam.cz>
10726
10727 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10728 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10729
d4e16af1
OB
107302013-08-29 Ondřej Bílka <neleai@seznam.cz>
10731
10732 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10733 aix specific files.
10734 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10735 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10736 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10737 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10738 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10739 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10740 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10741 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10742
88335980
TS
107432013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10744 Roland McGrath <roland@hack.frob.com>
10745
10746 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10747 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10748
ed479b02
ST
107492013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10750
10751 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10752 __executable_start symbol instead of _start.
10753
f1cc4c86
TS
107542013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10755
d821f07c
TS
10756 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10757 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10758 Move macros to...
10759 * sysdeps/gnu/ldsodefs.h: ... this new file.
10760
c54290cf
TS
10761 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10762 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10763 instead of ELFOSABI_LINUX.
10764
0007fc9b 10765 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10766 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10767 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10768 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10769 Likewise.
10770 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10771 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10772 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10773 Likewise.
10774 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10775 (ibm_extended_long_double): Add ieee_nan member.
10776 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10777 (do_test): New function.
10778
f1cc4c86
TS
10779 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10780 TEST_TRUNC.
10781 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10782 functions, renamed from truncdfsf_test, trunctfsf_test,
10783 trunctfdf_test.
10784 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10785 functions.
10786 (do_test): Run all these.
10787
6f65e668
OB
107882013-08-29 Ondřej Bílka <neleai@seznam.cz>
10789
10790 * argp/argp-help.c: Fix typos.
10791 * argp/argp-parse.c: Likewise.
10792 * debug/backtracesyms.c: Likewise.
10793 * elf/elf.h: Likewise.
10794 * malloc/malloc.c: Likewise.
10795 * nis/nis_print.c: Likewise.
10796 * resolv/res_comp.c: Likewise.
10797 * stdlib/stdlib.h: Likewise.
10798 * sunrpc/clnt_tcp.c: Likewise.
10799 * sunrpc/clnt_udp.c: Likewise.
10800 * sunrpc/clnt_unix.c: Likewise.
10801 * sysdeps/unix/bsd/ptsname.c: Likewise.
10802 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10803 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10805 Likewise.
10806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10807 Likewise.
10808 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10809 Likewise.
6f65e668
OB
10810 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10811
3a309239
SP
108122013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10813
10814 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10815 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10816
3b813b29
MF
108172013-08-27 Mike Frysinger <vapier@gentoo.org>
10818
10819 [BZ #15897]
10820 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10821 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10822 ($(objpfx)bug-dl-leaf): New rule.
10823 ($(objpfx)bug-dl-leaf.so): Likewise.
10824 ($(objpfx)bug-dl-leaf.out): Likewise.
10825 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10826 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10827 * dlfcn/bug-dl-leaf.c: New test.
10828 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10829 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10830 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10831 (dlclose): Likewise.
10832 (dlmopen): Likewise.
10833
8cc3269f
RM
108342013-08-27 Roland McGrath <roland@hack.frob.com>
10835
7f9d0034
RM
10836 * include/netdb.h [!_ISOMAC]:
10837 Don't include <tls.h>.
10838 (h_errno, __libc_h_errno): Move declaration and macros out of
10839 [_LIBC_REENTRANT].
10840
fb431262
RM
10841 * include/resolv.h [_RESOLV_H_]:
10842 Don't include <tls.h>.
10843 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10844 * resolv/res_libc.c: Don't include <tls.h>.
10845 (_res): Use __attribute__ ((nocommon)) in place of
10846 __attribute__ ((section (".bss"))).
10847
bd81123a
RM
10848 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10849 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10850
c4e42566
RM
10851 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10852
f890a59b
RM
10853 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10854 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10855
10856 * resolv/res_mkquery.c: Include <sys/time.h>.
10857
5d1f0a09
RM
10858 * inet/ifreq.c: Moved to ...
10859 * sysdeps/unix/ifreq.c: ... here.
10860 * inet/ifreq.c: New file, true stub version.
10861
6fcf28b3
RM
10862 * socket/sa_len.c: New file.
10863 * socket/Makefile (aux): Add it.
10864 * sysdeps/unix/sysv/linux/Makefile
10865 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10866 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10867 and #include <socket/sa_len.c>.
10868 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10869 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10870
e041fb8b
RM
10871 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10872 * bits/socket.h: ... here.
10873
8cc3269f
RM
10874 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10875 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10876 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10877
5d228a43
AS
108782013-08-27 Andreas Schwab <schwab@suse.de>
10879
45b8accc
AS
10880 [BZ #15736]
10881 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10882 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10883 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10884 * string/test-strcasecmp.c (test_main): Run tests in several
10885 locales.
10886 * string/test-strncasecmp.c (test_main): Likewise.
10887
5d228a43
AS
10888 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10889 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10890 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10891 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10892 (__strncasecmp_ssse3) [PIC]: Likewise.
10893
59d112a4
RM
108942013-08-26 Roland McGrath <roland@hack.frob.com>
10895
53234cc3
RM
10896 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10897
59d112a4
RM
10898 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10899 instead of explicitly declaring xdecrypt.
10900 * nis/nss_nis/nis-publickey.c: Likewise.
10901
595aba70
SP
109022013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10903
10904 [BZ #15890]
10905 * nscd/aicache.c: Include res_hconf.h.
10906 (addhstaiX): Initialize res_hconf.
10907
ffabd393
AS
109082013-08-26 Andreas Schwab <schwab@suse.de>
10909
10910 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10911 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10912
e0a69f5c
SP
109132013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10914
10915 * nscd/aicache.c (addhstaiX): Fix indentation.
10916
8c12f01d
MF
109172013-08-25 Mike Frysinger <vapier@gentoo.org>
10918
10919 * configure.ac: Quote $build_pt_chown test.
10920 * configure: Regenerated.
10921
8fe89494
JM
109222013-08-23 Joseph Myers <joseph@codesourcery.com>
10923
10924 [BZ #15532]
10925 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10926 * math/s_cexpf.c (__cexpf): Likewise.
10927 * math/s_cexpl.c (__cexpl): Likewise.
10928 * math/libm-test.inc (cexp_test_data): Correct expected return
10929 value for NaN + i0. Add another test.
10930
75b181d6
DM
109312013-08-22 David S. Miller <davem@davemloft.net>
10932
10933 * po/ca.po: Update Catalan translation from translation project.
936241e4 10934 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10935
acd06bb1
JM
109362013-08-21 Joseph Myers <joseph@codesourcery.com>
10937
10938 [BZ #15797]
10939 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10940 is infinite, not alongside NaN test.
10941 * math/s_fdimf.c (__fdimf): Likewise.
10942 * math/s_fdiml.c (__fdiml): Likewise.
10943 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10944 errno is unchanged.
10945
c0c3f78a
OB
109462013-08-21 Ondřej Bílka <neleai@seznam.cz>
10947
10948 * argp/argp-help.c: Fix typos.
10949 * crypt/speeds.c: Likewise.
10950 * csu/check_fds.c: Likewise.
10951 * elf/dl-load.c: Likewise.
10952 * elf/dl-open.c: Likewise.
10953 * elf/reldep3.c: Likewise.
10954 * elf/reldep.c: Likewise.
10955 * elf/sprof.c: Likewise.
10956 * iconv/iconv_charmap.c: Likewise.
10957 * iconv/skeleton.c: Likewise.
10958 * iconv/strtab.c: Likewise.
10959 * io/lockf64.c: Likewise.
10960 * libio/libioP.h: Likewise.
10961 * resolv/gai_notify.c: Likewise.
10962 * resolv/ns_name.c: Likewise.
10963 * resolv/ns_samedomain.c: Likewise.
10964 * resolv/res_send.c: Likewise.
10965 * stdlib/random.c: Likewise.
10966 * sunrpc/rpc/xdr.h: Likewise.
10967 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
10968 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
10969 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
10970 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
10971 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
10972 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
10973 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
10974 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
10975 * sysdeps/mach/hurd/check_fds.c: Likewise.
10976 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
10977 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
10978 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
10979 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
10980 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
10981 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
10982 * sysdeps/pthread/aio_notify.c: Likewise.
10983 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
10984 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
10985 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
10986 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
10987 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
10988
46ed1038
LD
109892013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10990
10991 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
10992 version if bit_Slow_SSE4_2 is set.
10993 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
10994 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
10995
d400dcac
AZ
109962013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10997
10998 [BZ #15867]
10999 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11000 trampoline stack frame information.
11001 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11002 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11003 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11004 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11005 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11006 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11007 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11008 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11009 sa_flags value.
11010 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11011 interrupting a syscall and set with option SA_SIGINFO.
11012
42c8fdd8
JM
110132013-08-20 Joseph Myers <joseph@codesourcery.com>
11014
c980f2f4
JM
11015 [BZ #15531]
11016 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11017 argument is infinite.
11018 * math/s_cprojf.c (__cprojf): Likewise.
11019 * math/s_cprojl.c (__cprojl): Likewise.
11020 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11021 * math/libm-test.inc (cproj_test_data): Add more tests.
11022
0716c4fc
JM
11023 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11024
42c8fdd8
JM
11025 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11026 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11027 size. Use __ffs to determine corresponding shift.
11028
b31469d0
JM
110292013-08-20 Joseph Myers <joseph@codesourcery.com>
11030 Roland McGrath <roland@hack.frob.com>
11031
11032 * Makefile (INSTALL): Remove trailing blank lines from output of
11033 makeinfo.
11034
4e39af6e
AK
110352013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11036
11037 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11038 Align 32 bit compat elf_greg to 8 bytes.
11039
f315524e
AA
110402013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11041
11042 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11043
1326ba1a
SP
110442013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11045
11046 * string/strcoll_l.c (coll_seq): New structure.
11047 (get_next_seq_cached): New function.
11048 (get_next_seq): New function.
11049 (do_compare): New function.
11050 (STRCOLL): Use GNU style definition. Simplify implementation
11051 by using get_next_seq, get_next_seq_cached and do_compare.
11052
91ce4085
FW
110532013-08-16 Florian Weimer <fweimer@redhat.com>
11054
11055 [BZ #14699]
11056 CVE-2013-4237
11057 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11058 member.
11059 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11060 member.
11061 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11062 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11063 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11064 conditional.
11065 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11066 GETDENTS_64BIT_ALIGNED.
11067 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11068 * manual/filesys.texi (Reading/Closing Directory): Document
11069 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11070 strongly.
11071 * manual/conf.texi (Limits for Files): Add portability note to
11072 NAME_MAX, PATH_MAX.
11073 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11074
ca0a6bc4
AS
110752013-08-13 Andreas Schwab <schwab@suse.de>
11076
11077 [BZ #15749]
11078 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11079 of fabs.
11080 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11081 LDBL_MAX_EXP >= 16384]: Add tests for it.
11082
6c1fd795
DM
110832013-08-12 David S. Miller <davem@davemloft.net>
11084
11085 * version.h (RELEASE): Set to "development".
11086 (VERSION): Set to "2.18.90".
11087 * NEWS: Add 2.19 section.
11088
31ad488d
DM
110892013-08-03 David S. Miller <davem@davemloft.net>
11090
11091 * po/ko.po: Update Korean translation from translation project.
11092
db24e684
DM
110932013-08-01 David S. Miller <davem@davemloft.net>
11094
11095 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11096 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11097 Bilka.
11098
f723285b
DM
110992013-07-30 David S. Miller <davem@davemloft.net>
11100
11101 * po/fr.po: Update French translation from translation project.
11102
3cbc52db
DM
111032013-07-28 David S. Miller <davem@davemloft.net>
11104
30bbc0cc
DM
11105 * po/cs.po: Update Czech translation from translation project.
11106
3cbc52db
DM
11107 * po/sv.po: Update Swedish translation from translation project.
11108
d492e6d0
DM
111092013-07-27 David S. Miller <davem@davemloft.net>
11110
f1a7f492
DM
11111 * po/eo.po: Update Esperanto translation from translation project.
11112
90e62a4a
DM
11113 * po/vi.po: Update Vietnamese translation from translation project.
11114
d492e6d0
DM
11115 * po/de.po: Update German translation from translation project.
11116
d4baa62d
DM
111172013-07-26 David S. Miller <davem@davemloft.net>
11118
641aa7b4
DM
11119 * po/bg.po: Update Bulgarian translation from translation project.
11120
d4baa62d
DM
11121 * po/nl.po: Update Dutch translation from translation project.
11122 * po/pl.po: Update Polish translation from translation project.
11123 * po/ru.po: Update Russian translation from translation project.
11124
61a9dcb9
DM
111252013-07-24 David S. Miller <davem@davemloft.net>
11126
11127 * po/libc.pot: Update.
11128
7b1f8b58
AZ
111292013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11130
11131 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11132 variable page size.
11133 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11134 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11135 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11136
a8fc7a03
AK
111372013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11138
11139 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11140
e4608715
CD
111412013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11142 Andreas Schwab <schwab@suse.de>
11143 Roland McGrath <roland@hack.frob.com>
11144 Joseph Myers <joseph@codesourcery.com>
11145 Carlos O'Donell <carlos@redhat.com>
11146
11147 [BZ #15755]
11148 * config.h.in: Define HAVE_PT_CHOWN.
11149 * config.make.in (build-pt-chown): New variable.
11150 * configure.in (--enable-pt_chown): New configure option.
11151 * configure: Regenerate.
11152 * login/Makefile: Include Makeconfig. Build pt_chown only if
11153 build-pt-chown is enabled.
11154 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11155 pt_chown to fix pty ownership.
11156 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11157 CLOSE_ALL_FDS.
11158 * manual/install.texi (Configuring and compiling): Mention
11159 --enable-pt_chown. Add @findex for grantpt.
11160 * INSTALL: Regenerate.
11161
da2d62df
DM
111622013-07-20 David S. Miller <davem@davemloft.net>
11163
11164 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11165 difference between 32-bit and 64-bit.
11166
d7e06450
CD
111672013-07-15 Carlos O'Donell <carlos@redhat.com>
11168
11169 [BZ #15711]
11170 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11171 Avoid system header dependency with -ffreestanding.
11172 ($(objpfx)bits/syscall%d): Likewise.
11173
f959cfd7
DM
111742013-07-13 David S. Miller <davem@davemloft.net>
11175
11176 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11177 underflows from atanl/atan2l due to bug 15319.
11178 (casinh_test_data): Likewise.
11179
c61f8513
DM
111802013-07-07 David S. Miller <davem@davemloft.net>
11181
11182 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11183
72c90ed0
JA
111842013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11185
11186 * sysdeps/i386/fpu/libm-test-ulps: Update.
11187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11188
52dfbe13
SP
111892013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11190
11191 * configure.in (--enable-lock-elision): Fix message text.
11192 * INSTALL: Regenerate.
11193 * configure: Regenerate.
11194
3f169543
AZ
111952013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11196
11197 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11198
521c6785
AJ
111992013-07-03 Andreas Jaeger <aj@suse.de>
11200
11201 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11202 define.
11203 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11204 (ptrace_peeksiginfo_args): Add.
11205 (__ptrace_peeksiginfo_flags): Add.
11206 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11207 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11208 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11209
d2cc15cb
AM
112102013-07-03 Allan McRae <allan@archlinux.org>
11211
11212 * sysdeps/i386/fpu/libm-test-ulps: Update.
11213
3aaeeca7
DM
112142013-07-02 David S. Miller <davem@davemloft.net>
11215
11216 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11217
5314ed1a
MT
112182013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11219
11220 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11221
67338156
JM
112222013-07-02 Joseph Myers <joseph@codesourcery.com>
11223
11224 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11226
1717da59
AK
112272013-07-02 Andi Kleen <ak@linux.intel.com>
11228
11229 * config.h.in (ENABLE_LOCK_ELISION): Add.
11230 * configure.in (--enable-lock-elision): Add option.
11231 * manual/install.texi: Document --enable lock elision.
11232 * configure: Regenerate
11233 * INSTALL: Regenerate.
11234
1c81621c
L
112352013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11236
11237 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11238 SSE4.2 strcasecmp for libc.a.
11239 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11240
77f01ab5
JM
112412013-07-02 Joseph Myers <joseph@codesourcery.com>
11242
11243 [BZ #13304]
11244 * soft-fp/op-common.h (_FP_FMA): New macro.
11245 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11246 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11247 (_FP_MUL_MEAT_1_imm): ... here.
11248 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11249 (_FP_MUL_MEAT_1_wide): ... here.
11250 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11251 (_FP_MUL_MEAT_1_hard): ... here.
11252 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11253 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11254 (_FP_MUL_MEAT_2_wide): ... here.
11255 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11256 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11257 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11258 (_FP_MUL_MEAT_2_gmp): ... here.
11259 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11260 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11261 (_FP_MUL_MEAT_4_wide): ... here.
11262 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11263 (_FP_MUL_MEAT_4_gmp): ... here.
11264 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11265 (_FP_WFRACBITS_DW_S): Likewise.
11266 (_FP_WFRACXBITS_DW_S): Likewise.
11267 (_FP_HIGHBIT_DW_S): Likewise.
11268 (FP_FMA_S): Likewise.
11269 (_FP_FRAC_HIGH_DW_S): Likewise.
11270 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11271 (_FP_WFRACBITS_DW_D): Likewise.
11272 (_FP_WFRACXBITS_DW_D): Likewise.
11273 (_FP_HIGHBIT_DW_D): Likewise.
11274 (FP_FMA_D): Likewise.
11275 (_FP_FRAC_HIGH_DW_D): Likewise.
11276 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11277 (_FP_WFRACBITS_DW_E): Likewise.
11278 (_FP_WFRACXBITS_DW_E): Likewise.
11279 (_FP_HIGHBIT_DW_E): Likewise.
11280 (FP_FMA_E): Likewise.
11281 (_FP_FRAC_HIGH_DW_E): Likewise.
11282 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11283 (_FP_WFRACBITS_DW_Q): Likewise.
11284 (_FP_WFRACXBITS_DW_Q): Likewise.
11285 (_FP_HIGHBIT_DW_Q): Likewise.
11286 (FP_FMA_Q): Likewise.
11287 (_FP_FRAC_HIGH_DW_Q): Likewise.
11288 * soft-fp/fmasf4.c: New file.
11289 * soft-fp/fmadf4.c: Likewise.
11290 * soft-fp/fmatf4.c: Likewise.
11291
6308fd9a
LD
112922013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11293
11294 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11295 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11296 Silvermont.
11297 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11298 macro.
11299 (index_Slow_SSE4_2): Likewise.
11300 (index_Prefer_PMINUB_for_stringop): Likewise.
11301 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11302 bit_Slow_SSE4_2 is set.
11303 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11304 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11305
89cd9569
RA
113062013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11307
11308 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11309 rtld_global._dl_hwcap2.
11310 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11311 POWER8.
11312 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11313 POWER8 feature descriptions defined in _dl_hwcap2.
11314 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11315 string handling for POWER8 feature bits.
11316 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11317 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11318 _dl_powerpc_cap_flags.
11319 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11320 * sysdeps/powerpc/rtld-global-offsets.sym
11321 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11322 _dl_hwcap2 in the rtld_global_ro structure.
11323
1ae8bfe0
RA
113242013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11325
11326 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11327 hardware capabilities in support of AT_HWCAP2.
11328 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11329 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11330 GLRO(dl_hwcap2).
11331 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11332 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11333 explicitly the unknown a_type display mechanism is used.
11334 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11335 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11336 struct member.
11337 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11338 to macro prototype for AT_HWCAP2 support.
11339 * sysdeps/i386/dl-procinfo.h: Likewise.
11340 * sysdeps/s390/dl-procinfo.h: Likewise.
11341 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11342 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11343 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11344 return -1 for unknown a_type display fallback.
11345 * sysdeps/sparc/dl-procinfo.h: Likewise.
11346 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11347 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11348
8fbec010
JM
113492013-06-28 Joseph Myers <joseph@codesourcery.com>
11350
11351 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11352 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11353
0432680e
PY
113542013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11355
11356 [BZ #12492]
11357 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11358 mprotect making __stack_prot writable.
11359
ce61a2ad
NF
113602013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11361 Joseph Myers <joseph@codesourcery.com>
11362
11363 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11364 as being properly aligned.
11365
f91f1c0f
MR
113662013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11367
3d0f5d0c
MR
11368 * dlfcn/modstatic5.c: New file.
11369 * dlfcn/tststatic5.c: New file.
11370 * dlfcn/Makefile (tests): Add tststatic5.
11371 (tests-static): Likewise.
11372 (modules-names): Add modstatic5.
11373 (tststatic5-ENV): New variable.
11374 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11375
f91f1c0f
MR
11376 [BZ #15022]
11377 * elf/dl-support.c (_dl_main_map): New variable.
11378 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11379 (_dl_nns, _dl_load_adds): Set to 1.
11380 (_dl_initial_searchlist): Refer to _dl_main_map.
11381 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11382 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11383 call to _dl_get_origin.
11384 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11385 around call_map.
11386 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11387 * dlfcn/modstatic3.c: New file.
11388 * dlfcn/tststatic3.c: New file.
11389 * dlfcn/tststatic4.c: New file.
11390 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11391 (tests-static): Likewise.
11392 (modules-names): Add modstatic3.
11393 (tststatic3-ENV, tststatic4-ENV): New variables.
11394 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11395 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11396
cbe7d24b
JM
113972013-06-26 Joseph Myers <joseph@codesourcery.com>
11398
11399 * configure.in (CC): Require GCC version 4.4 or later.
11400 * configure: Regenerated.
11401 * manual/install.texi (Tools for Compilation): Update GCC version
11402 requirement.
11403 * INSTALL: Regenerated.
11404
11b8a0e1
LD
114052013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11406
11407 [BZ #15674]
bb5bb87c
L
11408 * string/test-memcmp.c (check2): New.
11409 (main): Call check2.
11410
11b8a0e1
LD
11411 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11412
b0037103
MR
114132013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11414
11415 [BZ #15022]
11416 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11417 over to...
11418 (dl_open_worker) [!SHARED]: ... here.
11419
c18c701d
RA
114202013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11421
11422 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11423
1d17fa5f
RH
114242013-06-25 Richard Henderson <rth@redhat.com>
11425
11426 * locale/programs/locarchive.c: Include <libc-internal.h>
11427
8fcb833a
JM
114282013-06-25 Joseph Myers <joseph@codesourcery.com>
11429
11430 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11431 trailing whitespace removed.
11432
17db6e8d
MF
114332013-06-24 Mike Frysinger <vapier@gentoo.org>
11434
11435 [BZ #10283]
17db6e8d
MF
11436 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11437 * locale/programs/locarchive.c: Include libc-mmap.h.
11438 (prepare_address_space): Take two new outputs (the mmap base and len).
11439 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11440 values.
11441 (create_archive): Declare new mmap base and len values for
11442 prepare_address_space, and store the result in ah.
11443 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11444 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11445 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11446 Declare new mmap base and len values for
11447 prepare_address_space, and store the result in new_ah.
11448 (open_archive): Declare new mmap base and len values for
11449 prepare_address_space, and store the result in ah.
11450 (close_archive): If ah->mmap_base is not NULL, use that and
11451 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11452 * sysdeps/generic/libc-mmap.h: New file.
11453
d605071e
MF
114542013-06-24 Mike Frysinger <vapier@gentoo.org>
11455
11456 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11457 (ALIGN_UP): Likewise.
11458 (PTR_ALIGN_DOWN): Likewise.
11459 (PTR_ALIGN_UP): Likewise.
11460
2f063a6e
RA
114612013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11462
11463 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11464 entry mapped to PPC_PLATFORM_POWER8.
11465 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11466 POWER8.
11467 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11468 (_dl_string_platform): Add case for exporting platform position for
11469 POWER8.
11470 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11471 search path to sysdeps/powerpc/powerpc32/power8 directory.
11472 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11473 search path to sysdeps/powerpc/powerpc64/power8 directory.
11474 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11475 power7 directories.
11476 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11477 power7 directories.
11478
a31ee4b3
SP
114792013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11480
a74ca98f
SP
11481 * INSTALL: Regenerate.
11482
a31ee4b3
SP
11483 * nscd/connections.c (nscd_init): Fix comment.
11484
695c378f
JM
114852013-06-22 Joseph Myers <joseph@codesourcery.com>
11486
d8412221
JM
11487 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11488
695c378f
JM
11489 [BZ #15667]
11490 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11491 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11492
d1d54715
MR
114932013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11494
11495 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11496 DL_DST_REQ_STATIC.
11497 (DL_DST_REQ_STATIC): Remove macro.
11498
8fdda7af
JM
114992013-06-21 Joseph Myers <joseph@codesourcery.com>
11500
11501 [BZ #7006]
11502 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11503 with a shift of 0 bits.
11504
f3bc5e5a
MR
115052013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11506
11507 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11508 $(tststatic-ENV).
11509
be09e8c9
KK
115102013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11511
11512 [BZ #15655]
11513 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11514
85c2e611
AZ
115152013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11516
11517 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11518 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11519 accepts -fno-tree-loop-distribute-patterns.
11520 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11521 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11522 recursive call.
11523 * string/memset.c (memset): Likewise.
11524 * string/test-memmove.c (simple_memmove): Disable loop transformation
11525 to library calls.
11526 * string/test-memset.c (simple_memset): Likewise.
11527 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11528 * benchtests/bench-memset.c (simple_memset): Likewise.
11529 * configure: Regenerated.
11530
c91e0825
JM
115312013-06-20 Joseph Myers <joseph@codesourcery.com>
11532
b8c792af
JM
11533 * math/test-misc.c (main): Ignore fesetround failure when failures
11534 of subsequent rounding tests would be ignored.
11535
c91e0825
JM
11536 [BZ #15654]
11537 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11538 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11539 * math/fegetenv.c (__fegetenv): Return 0.
11540 * math/fegetexcept.c (fegetexcept): Return 0.
11541 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11542 FE_TONEAREST.
11543 * math/feholdexcpt.c (feholdexcept): Return 0.
11544 * math/fesetenv.c (__fesetenv): Return 0.
11545 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11546 argument FE_TONEAREST.
11547 * math/feupdateenv.c (__feupdateenv): Return 0.
11548 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11549
bfcacbde
RM
115502013-06-18 Roland McGrath <roland@hack.frob.com>
11551
11552 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11553 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11554 ($(objpfx)rtld-%.os rules): Use them.
11555
e55a9b25
AZ
115562013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11557
11558 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11559 fields.
11560
346d65b3
RM
115612013-06-17 Roland McGrath <roland@hack.frob.com>
11562
12086fb4
RM
11563 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11564 length of target pattern, then descending length of dependency pattern.
11565 * configure.in (AWK): Require gawk 3.1.2 or newer.
11566 * manual/install.texi (Tools for Compilation): Say that we do.
11567 * configure: Regenerated.
11568
346d65b3
RM
11569 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11570 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11571 * scripts/sysd-rules.awk: ... this new script.
11572 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11573 than a glob-style pattern.
11574
1a846317
JM
115752013-06-17 Joseph Myers <joseph@codesourcery.com>
11576
11577 * math/test-misc.c (main): Do not treat incorrectly rounded
11578 conversions as failure unless ROUNDING_TESTS passes.
11579
8fc75e6f
JM
115802013-06-15 Joseph Myers <joseph@codesourcery.com>
11581
3711a167
JM
11582 [BZ #15631]
11583 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11584 restore exception state around main square root computation, then
11585 check for inexactness explicitly.
11586
8fc75e6f
JM
11587 * math/libm-test.inc (fma_test_data): Add another test.
11588
61dd6208
SP
115892013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11590
adf23d2c
SP
11591 * manual/threads.texi (Non-POSIX Extensions): New document
11592 node. Document pthread_getattr_default_np and
11593 pthread_setattr_default_np.
11594
61dd6208
SP
11595 * Versions.def (libpthread): Add GLIBC_2.18.
11596 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11598 Likewise.
11599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11600 Likewise.
11601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11602 Likewise.
11603 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11604 Likewise.
11605 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11606 Likewise.
11607 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11608 Likewise.
11609 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11610 Likewise.
11611 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11612 Likewise.
11613 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11614 Likewise.
11615
d086fc7b
LD
116162013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11617
11618 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11619 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11620
747ef469
SP
116212013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11622 H.J. Lu <hjl.tools@gmail.com>
11623
11624 [BZ #15627]
11625 * sysdeps/x86_64/rtld-memset.c: Remove file.
11626 * sysdeps/x86_64/rtld-memset.S: New file.
11627
1b2feed2
JM
116282013-06-14 Joseph Myers <joseph@codesourcery.com>
11629
11630 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11631 (test_in_one_mode): Take arguments for whether the rounding mode
11632 is supported for each floating-point type.
11633 (do_test): Pass new arguments to test_in_one_mode using
11634 ROUNDING_TESTS.
11635
a58ad3f8
RM
116362013-06-13 Roland McGrath <roland@hack.frob.com>
11637
11638 * posix/tst-waitid.c (do_test): Distinguish different instances of
11639 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11640 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11641 before entering the kernel for waitpid.
11642
c204ab28
SP
116432013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11644
11645 * NEWS: Fix note on clock function precision. Text by Roland
11646 McGrath.
11647
f4a29fba
RM
116482013-06-13 Roland McGrath <roland@hack.frob.com>
11649
11650 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11651 it into place only when and if the sanity check passes.
11652
1f24b9ad
JM
116532013-06-13 Joseph Myers <joseph@codesourcery.com>
11654
11655 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11656 output for whether conversion result is exact. Take argument
11657 indicating whether type is IBM long double.
11658 (round_for_all): Change need_exact field to ibm_ld.
11659 * stdlib/tst-strtod-round.c (struct exactness): New type.
11660 (struct test): Change bool ld_ok field to struct exactness exact.
11661 (TEST): Update all definitions for change to field.
11662 (tests): Regenerate array contents.
11663 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11664 field value. Check for IBM long double here.
11665 (do_test): Update calls to test_in_one_mode.
11666
58206c68
SP
116672013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11668
11669 [BZ #12515]
11670 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11671 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11672
2d6f4c5b 116732013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11674
11675 [BZ #15605]
11676 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11677 generated by the compiler on loop optimizations.
11678 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11679 general definitions.
11680
94f2c076
JM
116812013-06-12 Joseph Myers <joseph@codesourcery.com>
11682
11683 * math/bug-nextafter.c: Include <math-tests.h>.
11684 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11685 the relevant type.
11686 * math/bug-nexttoward.c: Include <math-tests.h>.
11687 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11688 the relevant type.
11689 * math/test-misc.c: Include <math-tests.h>.
11690 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11691 the relevant type.
11692
e0e50a0a
AJ
116932013-06-12 Andreas Jaeger <aj@suse.de>
11694
11695 * po/ia.po: Update Interlingua translation from translation
11696 project.
11697
25061094
SP
116982013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11699
11700 * include/fenv.h: Include stdbool.h.
11701 (struct rm_ctx): New structure.
11702 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11703 Define macro.
11704 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11705 (SET_RESTORE_ROUNDF): Likewise.
11706 (SET_RESTORE_ROUNDL): Likewise.
11707 (SET_RESTORE_ROUND_NOEX): Likewise.
11708 (SET_RESTORE_ROUND_NOEXF): Likewise.
11709 (SET_RESTORE_ROUND_NOEXL): Likewise.
11710 (SET_RESTORE_ROUND_53BIT): Likewise.
11711 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11712 (libc_feresetround_noexf_ctx): Likewise.
11713 (libc_feresetround_noexl_ctx): Likewise.
11714 (libc_feholdsetround_53bit_ctx): Likewise.
11715 (libc_feresetround_53bit_ctx): Likewise.
11716 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11717 (libc_feholdexcept_setround_sse_ctx): New function.
11718 (libc_fesetenv_sse_ctx): Likewise.
11719 (libc_feupdateenv_sse_ctx): Likewise.
11720 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11721 (libc_feholdexcept_setround_387_ctx): Likewise.
11722 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11723 (libc_feholdsetround_387_prec_ctx): Likewise.
11724 (libc_feholdsetround_387_ctx): Likewise.
11725 (libc_feholdsetround_387_53bit_ctx): Likewise.
11726 (libc_feholdsetround_sse_ctx): Likewise.
11727 (libc_feresetround_sse_ctx): Likewise.
11728 (libc_feresetround_387_ctx): Likewise.
11729 (libc_feupdateenv_387_ctx): Likewise.
11730 (libc_feholdexcept_setroundf_ctx): Define macro.
11731 (libc_fesetenvf_ctx): Likewise.
11732 (libc_feupdateenvf_ctx): Likewise.
11733 (libc_feholdsetroundf_ctx): Likewise.
11734 (libc_feresetroundf_ctx): Likewise.
11735 (libc_feholdexcept_setround_ctx): Likewise.
11736 (libc_fesetenv_ctx): Likewise.
11737 (libc_feupdateenv_ctx): Likewise.
11738 (libc_feholdsetround_ctx): Likewise.
11739 (libc_feresetround_ctx): Likewise.
11740 (libc_feholdexcept_setroundl_ctx): Likewise.
11741 (libc_feupdateenvl_ctx): Likewise.
11742 (libc_feholdsetroundl_ctx): Likewise.
11743 (libc_feresetroundl_ctx): Likewise.
11744 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11745 (libc_feresetround_53bit_ctx): Likewise.
11746
59b30555
SP
117472013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11748
11749 * locale/iso-639.def: Convert to UTF-8.
11750
f1d73d30
JM
117512013-06-11 Joseph Myers <joseph@codesourcery.com>
11752
11753 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11754 (EXCEPTION_TESTS_double): Likewise.
11755 (EXCEPTION_TESTS_long_double): Likewise.
11756 (EXCEPTION_TESTS): Likewise.
11757 * math/libm-test.inc (test_exceptions): Only test exceptions if
11758 EXCEPTION_TESTS (FLOAT).
11759
94aca5e7
SP
117602013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11761
11762 * benchtests/Makefile (string-bench): Add strcpy_chk and
11763 stpcpy_chk.
11764 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11765 * benchtests/bench-stpcpy_chk.c: New file.
11766 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11767 * benchtests/bench-strcpy_chk.c: New file.
11768 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11769 code.
11770 (do_test): Likewise.
11771
fac0c5f2
RA
117722013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11773
11774 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11775 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11776 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11777 with tabs where appropriate.
11778 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11779 dl-procinfo.h.
11780 [PPC_PLATFORM_PPC440]: Likewise.
11781 [PPC_PLATFORM_PPC464]: Likewise.
11782 [PPC_PLATFORM_PPC476]: Likewise.
11783 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11784 ppc464, and ppc476 platform strings merging from ports/
11785 dl-procinfo.h.
11786
f22bc486
AS
117872013-06-11 Andreas Schwab <schwab@suse.de>
11788
11789 [BZ #14991]
11790 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11791 (from_ucs4_idx): Regenerate.
11792 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11793 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11794 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11795 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11796 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11797 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11798 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11799 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11800 from FROM_LOOP and TO_LOOP specific macros.
11801 (BODY): Handle combining characters.
11802 * iconvdata/BIG5HKSCS.irreversible: Update.
11803 * iconvdata/BIG5HKSCS.precomposed: New file.
11804 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11805 characters.
11806 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11807
c1f75dc3
SP
118082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11809
4eacded2
SP
11810 * include/sys/time.h: Fix indentation and add copyright header.
11811
fec799f8
SP
11812 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11813 (do_test): Likewise.
11814 * string/test-memchr.c (do_one_test): Likewise.
11815 (do_test): Likewise.
11816 * string/test-memcmp.c (do_one_test): Likewise.
11817 (do_test): Likewise.
11818 * string/test-memcpy.c (do_one_test): Likewise.
11819 (do_test): Likewise.
11820 * string/test-memmem.c (do_one_test): Likewise.
11821 (do_test): Likewise.
11822 (do_random_tests): Likewise.
11823 * string/test-memmove.c (do_one_test): Likewise.
11824 (do_test): Likewise.
11825 * string/test-memset.c (do_one_test): Likewise.
11826 (do_test): Likewise.
11827 * string/test-rawmemchr.c (do_one_test): Likewise.
11828 (do_test): Likewise.
11829 * string/test-strcasecmp.c (do_one_test): Likewise.
11830 (do_test): Likewise.
11831 * string/test-strcasestr.c (do_one_test): Likewise.
11832 (do_test): Likewise.
11833 * string/test-strcat.c (do_one_test): Likewise.
11834 (do_test): Likewise.
11835 * string/test-strchr.c (do_one_test): Likewise.
11836 (do_test): Likewise.
11837 * string/test-strcmp.c (do_one_test): Likewise.
11838 (do_test): Likewise.
11839 * string/test-strcpy.c (do_one_test): Likewise.
11840 (do_test): Likewise.
11841 * string/test-string.h: Likewise.
11842 (test_init): Likewise.
11843 * string/test-strlen.c (do_one_test): Likewise.
11844 (do_test): Likewise.
11845 * string/test-strncasecmp.c (do_one_test): Likewise.
11846 (do_test): Likewise.
11847 * string/test-strncat.c (do_one_test): Likewise.
11848 (do_test): Likewise.
11849 * string/test-strncmp.c (do_one_test): Likewise.
11850 (do_test_limit): Likewise.
11851 (do_test): Likewise.
11852 * string/test-strncpy.c (do_one_test): Likewise.
11853 (do_test): Likewise.
11854 * string/test-strnlen.c (do_one_test): Likewise.
11855 (do_test): Likewise.
11856 * string/test-strpbrk.c (do_one_test): Likewise.
11857 (do_test): Likewise.
11858 * string/test-strrchr.c (do_one_test): Likewise.
11859 (do_test): Likewise.
11860 * string/test-strspn.c (do_one_test): Likewise.
11861 (do_test): Likewise.
11862 * string/test-strstr.c (do_one_test): Likewise.
11863 (do_test): Likewise.
11864
97020474
SP
11865 * benchtests/Makefile (string-bench): Add string benchmarks.
11866 * benchtests/bench-bcopy-ifunc.c: New file.
11867 * benchtests/bench-bcopy.c: New file.
11868 * benchtests/bench-bzero-ifunc.c: New file.
11869 * benchtests/bench-bzero.c: New file.
11870 * benchtests/bench-memccpy-ifunc.c: New file.
11871 * benchtests/bench-memccpy.c: New file.
11872 * benchtests/bench-memchr-ifunc.c: New file.
11873 * benchtests/bench-memchr.c: New file.
11874 * benchtests/bench-memcmp-ifunc.c: New file.
11875 * benchtests/bench-memcmp.c: New file.
11876 * benchtests/bench-memmem-ifunc.c: New file.
11877 * benchtests/bench-memmem.c: New file.
11878 * benchtests/bench-memmove-ifunc.c: New file.
11879 * benchtests/bench-memmove.c: New file.
11880 * benchtests/bench-mempcpy-ifunc.c: New file.
11881 * benchtests/bench-mempcpy.c: New file.
11882 * benchtests/bench-memset-ifunc.c: New file.
11883 * benchtests/bench-memset.c: New file.
11884 * benchtests/bench-rawmemchr-ifunc.c: New file.
11885 * benchtests/bench-rawmemchr.c: New file.
11886 * benchtests/bench-stpcpy-ifunc.c: New file.
11887 * benchtests/bench-stpcpy.c: New file.
11888 * benchtests/bench-stpncpy-ifunc.c: New file.
11889 * benchtests/bench-stpncpy.c: New file.
11890 * benchtests/bench-strcasecmp-ifunc.c: New file.
11891 * benchtests/bench-strcasecmp.c: New file.
11892 * benchtests/bench-strcasestr-ifunc.c: New file.
11893 * benchtests/bench-strcasestr.c: New file.
11894 * benchtests/bench-strcat-ifunc.c: New file.
11895 * benchtests/bench-strcat.c: New file.
11896 * benchtests/bench-strchr-ifunc.c: New file.
11897 * benchtests/bench-strchr.c: New file.
11898 * benchtests/bench-strchrnul-ifunc.c: New file.
11899 * benchtests/bench-strchrnul.c: New file.
11900 * benchtests/bench-strcmp-ifunc.c: New file.
11901 * benchtests/bench-strcmp.c: New file.
11902 * benchtests/bench-strcpy-ifunc.c: New file.
11903 * benchtests/bench-strcpy.c: New file.
11904 * benchtests/bench-strcspn-ifunc.c: New file.
11905 * benchtests/bench-strcspn.c: New file.
11906 * benchtests/bench-strlen-ifunc.c: New file.
11907 * benchtests/bench-strlen.c: New file.
11908 * benchtests/bench-strncasecmp-ifunc.c: New file.
11909 * benchtests/bench-strncasecmp.c: New file.
11910 * benchtests/bench-strncat-ifunc.c: New file.
11911 * benchtests/bench-strncat.c: New file.
11912 * benchtests/bench-strncmp-ifunc.c: New file.
11913 * benchtests/bench-strncmp.c: New file.
11914 * benchtests/bench-strncpy-ifunc.c: New file.
11915 * benchtests/bench-strncpy.c: New file.
11916 * benchtests/bench-strnlen-ifunc.c: New file.
11917 * benchtests/bench-strnlen.c: New file.
11918 * benchtests/bench-strpbrk-ifunc.c: New file.
11919 * benchtests/bench-strpbrk.c: New file.
11920 * benchtests/bench-strrchr-ifunc.c: New file.
11921 * benchtests/bench-strrchr.c: New file.
11922 * benchtests/bench-strspn-ifunc.c: New file.
11923 * benchtests/bench-strspn.c: New file.
11924 * benchtests/bench-strstr-ifunc.c: New file.
11925 * benchtests/bench-strstr.c: New file.
11926
c1f75dc3
SP
11927 * benchtests/Makefile: Disable parallel execution of targets.
11928 (string-bench): Add memcpy.
11929 (benchset): New variable to store a list of benchmark sets.
11930 (bench-func): Renamed from bench.
11931 (bench-set): New target.
11932 (bench): Depend on bench-func and bench-set.
11933 * benchtests/README: Add section on benchmark sets.
11934 * benchtests/bench-memcpy-ifunc.c: New file.
11935 * benchtests/bench-memcpy.c: New file.
11936 * benchtests/bench-string.h: New file.
11937
50fd745b
AS
119382013-06-11 Andreas Schwab <schwab@suse.de>
11939
11940 [BZ #15577]
11941 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11942 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11943 values in the triple.
11944 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11945 terminator in the group key.
11946
3ee7e9fe
AJ
119472013-06-11 Andreas Jaeger <aj@suse.de>
11948
11949 * po/zh_TW.po: Update Chinese (traditional) translation from
11950 translation project.
11951
89fb6835
SP
119522013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11953
11954 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11955 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11956 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
11957 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
11958 (clock_getcpuclockid): Likewise.
11959 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
11960 Add weak_alias and libc_hidden_def.
11961 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
11962 * rt/clock_gettime.c (clock_gettime): Rename to
11963 __clock_gettime. Add weak_alias and libc_hidden_def.
11964 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
11965 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
11966 __clock_nanosleep. Add weak_alias and libc_hidden_def.
11967 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
11968 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
11969 Likewise.
11970 * rt/clock_settime.c (clock_settime): Rename to
11971 __clock_settime. Add weak_alias and libc_hidden_def.
11972 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
11973
0efa6f8b
JM
119742013-06-10 Joseph Myers <joseph@codesourcery.com>
11975
b8c61b4b
JM
11976 * mach/err_boot.sub: Remove trailing whitespace.
11977 * mach/err_ipc.sub: Likewise.
11978 * mach/err_mach.sub: Likewise.
11979
0efa6f8b
JM
11980 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
11981 (ROUNDING_TESTS_double): Likewise.
11982 (ROUNDING_TESTS_long_double): Likewise.
11983 (ROUNDING_TESTS): Likewise.
11984 * math/libm-test.inc: Include <math-tests.h>.
11985 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
11986 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
11987 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
11988 (IF_ROUND_INIT_FE_UPWARD): Likewise.
11989
50b818bf
SP
119902013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
11991
11992 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
11993 of assigning.
11994
60d2f8f3
JM
119952013-06-08 Joseph Myers <joseph@codesourcery.com>
11996
4902d2c3
JM
11997 * sysdeps/gnu/errlist.awk: Do not generate space at end of
11998 otherwise empty TRANS lines.
11999 * sysdeps/gnu/errlist.c: Regenerated.
12000
60d2f8f3
JM
12001 * catgets/gencat.c (error_print): Use (void) in function
12002 definition.
12003 * crypt/crypt_util.c (__init_des): Likewise.
12004 * crypt/speeds.c (Stop): Likewise.
12005 (main): Likewise.
12006 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12007 * inet/ruserpass.c (token): Likewise.
12008 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12009 * intl/localealias.c (extend_alias_table): Likewise.
12010 * intl/plural-exp.c (init_germanic_plural): Likewise.
12011 * libio/fcloseall.c (__fcloseall): Likewise.
12012 * libio/genops.c (_IO_flush_all): Likewise.
12013 (_IO_flush_all_linebuffered): Likewise.
12014 (_IO_cleanup): Likewise.
12015 (_IO_iter_begin): Likewise.
12016 (_IO_iter_end): Likewise.
12017 (_IO_list_lock): Likewise.
12018 (_IO_list_unlock): Likewise.
12019 (_IO_list_resetlock): Likewise.
12020 * libio/getchar.c (getchar): Likewise.
12021 * libio/getchar_u.c (getchar_unlocked): Likewise.
12022 * libio/getwchar.c (getwchar): Likewise.
12023 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12024 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12025 * login/getpt.c (__getpt): Likewise.
12026 * login/tst-utmp.c (main): Likewise.
12027 * malloc/hooks.c (__malloc_check_init): Likewise.
12028 * malloc/malloc.c (__malloc_stats): Likewise.
12029 * malloc/mtrace.c (tr_break): Likewise.
12030 (mtrace): Likewise.
12031 (muntrace): Likewise.
12032 * misc/fstab.c (endfsent): Likewise.
12033 * misc/getclktck.c (__getclktck): Likewise.
12034 * misc/getdtsz.c (__getdtablesize): Likewise.
12035 * misc/gethostid.c (gethostid): Likewise.
12036 * misc/getpagesize.c (__getpagesize): Likewise.
12037 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12038 (__get_nprocs): Likewise.
12039 (__get_phys_pages): Likewise.
12040 (__get_avphys_pages): Likewise.
12041 * misc/getttyent.c (getttyent): Likewise.
12042 (setttyent): Likewise.
12043 (endttyent): Likewise.
12044 * misc/getusershell.c (getusershell): Likewise.
12045 (endusershell): Likewise.
12046 (setusershell): Likewise.
12047 (initshells): Likewise.
12048 * misc/hsearch.c (__hdestroy): Likewise.
12049 * misc/sync.c (sync): Likewise.
12050 * misc/syslog.c (closelog_internal): Likewise.
12051 (closelog): Likewise.
12052 * misc/ttyslot.c (ttyslot): Likewise.
12053 * misc/vhangup.c (vhangup): Likewise.
12054 * posix/fork.c (__fork): Likewise.
12055 * posix/getegid.c (__getegid): Likewise.
12056 * posix/geteuid.c (__geteuid): Likewise.
12057 * posix/getgid.c (__getgid): Likewise.
12058 * posix/getpid.c (__getpid): Likewise.
12059 * posix/getppid.c (__getppid): Likewise.
12060 * posix/getuid.c (__getuid): Likewise.
12061 * posix/pause.c (pause): Likewise.
12062 * posix/setpgrp.c (setpgrp): Likewise.
12063 * posix/setsid.c (__setsid): Likewise.
12064 * posix/test-vfork.c (noop): Likewise.
12065 * resolv/gethnamaddr.c (_endhtent): Likewise.
12066 (_gethtent): Likewise.
12067 (ht_endhostent): Likewise.
12068 (gethostent): Likewise.
12069 (dns_service): Likewise.
12070 * stdlib/drand48.c (drand48): Likewise.
12071 * stdlib/lrand48.c (lrand48): Likewise.
12072 * stdlib/mrand48.c (mrand48): Likewise.
12073 * stdlib/rand.c (rand): Likewise.
12074 * stdlib/random.c (__random): Likewise.
12075 * stdlib/setenv.c (clearenv): Likewise.
12076 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12077 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12078 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12079 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12080 (__get_nprocs): Likewise.
12081 (__get_phys_pages): Likewise.
12082 (__get_avphys_pages): Likewise.
12083 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12084 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12085 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12086 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12087 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12088 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12089 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12090 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12091 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12092 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12093 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12094 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12095 * sysdeps/posix/clock.c (clock): Likewise.
12096 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12097 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12098 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12099 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12100 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12101 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12102 (__get_nprocs_conf): Likewise.
12103 (__get_phys_pages): Likewise.
12104 (__get_avphys_pages): Likewise.
12105 * time/clock.c (clock): Likewise.
12106 * time/tzset.c (__tzname_max): Likewise.
12107
2e09a79a
JM
121082013-06-07 Joseph Myers <joseph@codesourcery.com>
12109
12110 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12111 (__bswap_32): Do not use "register".
12112 * crypt/crypt.c (_ufc_doit_r): Likewise.
12113 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12114 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12115 * gmon/gmon.c (__monstartup): Likewise.
12116 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12117 * hurd/hurdmalloc.c (more_memory): Likewise.
12118 (malloc): Likewise.
12119 (free): Likewise.
12120 (realloc): Likewise.
12121 (malloc_fork_prepare): Likewise.
12122 (malloc_fork_parent): Likewise.
12123 (malloc_fork_child): Likewise.
12124 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12125 (_svcauth_des): Likewise.
12126 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12127 * inet/inet_net.c (inet_network): Likewise.
12128 * inet/inet_netof.c (inet_netof): Likewise.
12129 * inet/rcmd.c (__validuser2_sa): Likewise.
12130 * io/fts.c (fts_open): Likewise.
12131 (fts_load): Likewise.
12132 (fts_close): Likewise.
12133 (fts_read): Likewise.
12134 (fts_children): Likewise.
12135 (fts_build): Likewise.
12136 (fts_stat): Likewise.
12137 (fts_sort): Likewise.
12138 (fts_alloc): Likewise.
12139 (fts_lfree): Likewise.
12140 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12141 (_IO_file_xsgetn): Likewise.
12142 (_IO_file_xsgetn_mmap): Likewise.
12143 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12144 (_IO_cookie_write): Likewise.
12145 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12146 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12147 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12148 * malloc/obstack.c (_obstack_begin): Likewise.
12149 (_obstack_begin_1): Likewise.
12150 (_obstack_newchunk): Likewise.
12151 (_obstack_allocated_p): Likewise.
12152 (obstack_free): Likewise.
12153 (_obstack_memory_used): Likewise.
12154 * misc/getttyent.c (getttynam): Likewise.
12155 (getttyent): Likewise.
12156 (skip): Likewise.
12157 (value): Likewise.
12158 * misc/getusershell.c (initshells): Likewise.
12159 * misc/syslog.c (__vsyslog_chk): Likewise.
12160 * misc/ttyslot.c (ttyslot): Likewise.
12161 * nis/nis_hash.c (__nis_hash): Likewise.
12162 * posix/fnmatch_loop.c (FCT): Likewise.
12163 * posix/getconf.c (print_all): Likewise.
12164 (main): Likewise.
12165 * posix/getopt.c (exchange): Likewise.
12166 * posix/glob.c (globfree): Likewise.
12167 (prefix_array): Likewise.
12168 (__glob_pattern_type): Likewise.
12169 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12170 (NS_GET32): Likewise.
12171 (NS_PUT16): Likewise.
12172 (NS_PUT32): Likewise.
12173 * resolv/gethnamaddr.c (getanswer): Likewise.
12174 (gethostbyname2): Likewise.
12175 (gethostbyaddr): Likewise.
12176 (_gethtent): Likewise.
12177 (_gethtbyname2): Likewise.
12178 (_gethtbyaddr): Likewise.
12179 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12180 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12181 * resolv/res_init.c (__res_vinit): Likewise.
12182 (net_mask): Likewise.
12183 * resolv/res_mkquery.c (outchar): Likewise.
12184 (PRINT): Likewise.
12185 * stdio-common/printf_fp.c (outchar): Likewise.
12186 (PRINT): Likewise.
12187 * stdio-common/printf_fphex.c (outchar): Likewise.
12188 (PRINT): Likewise.
12189 * stdio-common/printf_size.c (outchar): Likewise.
12190 (PRINT): Likewise.
12191 * stdio-common/test_rdwr.c (main): Likewise.
12192 * stdio-common/tfformat.c (matches): Likewise.
12193 * stdio-common/vfprintf.c (outchar): Likewise.
12194 (printf_unknown): Likewise.
12195 (buffered_vfprintf): Likewise.
12196 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12197 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12198 (ReadFile): Likewise.
12199 * stdlib/qsort.c (SWAP): Likewise.
12200 (_quicksort): Likewise.
12201 * stdlib/setenv.c (__add_to_environ): Likewise.
12202 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12203 * stdlib/strtol_l.c (__strtol_l): Likewise.
12204 * stdlib/tst-strtod.c (main): Likewise.
12205 * stdlib/tst-strtol.c (main): Likewise.
12206 * stdlib/tst-strtoll.c (main): Likewise.
12207 * string/bits/string2.h (__strcmp_cc): Likewise.
12208 (__strcmp_cg): Likewise.
12209 (__strcspn_c1): Likewise.
12210 (__strcspn_c2): Likewise.
12211 (__strcspn_c3): Likewise.
12212 (__strspn_c1): Likewise.
12213 (__strspn_c2): Likewise.
12214 (__strspn_c3): Likewise.
12215 (__strsep_1c): Likewise.
12216 (__strsep_2c): Likewise.
12217 (__strsep_3c): Likewise.
12218 * string/memccpy.c (__memccpy): Likewise.
12219 * string/stpcpy.c (__stpcpy): Likewise.
12220 * string/strcmp.c (strcmp): Likewise.
12221 * string/strrchr.c (strrchr): Likewise.
12222 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12223 Likewise.
12224 * sysdeps/mach/hurd/getcwd.c
12225 (_hurd_canonicalize_directory_name_internal): Likewise.
12226 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12227 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12228 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12229 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12230 Likewise, in both definitions.
12231 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12232 definitions.
12233 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12234 64] (__bswap_64): Likewise.
12235 * time/test_time.c (main): Likewise.
12236 * time/tzfile.c (__tzfile_read): Likewise.
12237 (__tzfile_compute): Likewise.
12238 * time/tzset.c (__tzset_parse_tz): Likewise.
12239 (tzset_internal): Likewise.
12240 (compute_change): Likewise.
12241 * wcsmbs/wcscat.c (__wcscat): Likewise.
12242 * wcsmbs/wcschr.c (wcschr): Likewise.
12243 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12244 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12245 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12246 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12247 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12248 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12249 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12250 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12251 * wcsmbs/wmemset.c (wmemset): Likewise.
12252
9e54314b
JM
122532013-06-06 Joseph Myers <joseph@codesourcery.com>
12254
12255 * scripts/config.guess: Update to version 2013-05-16.
12256 * scripts/config.sub: Update to version 2013-04-24.
12257 * scripts/install-sh: Update to version 2011-11-20.07.
12258 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12259 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12260
350635a5
OB
122612013-06-06 Ondřej Bílka <neleai@seznam.cz>
12262
12263 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12264 * elf/sln.c: Likewise.
12265 * hurd/hurd/ioctl.h: Likewise.
12266 * hurd/hurdmalloc.c: Likewise.
12267 * hurd/xattr.c: Likewise.
12268 * include/shlib-compat.h: Likewise.
12269 * inet/ruserpass.c: Likewise.
12270 * libio/iofgets_u.c: Likewise.
12271 * libio/iofgetws_u.c: Likewise.
12272 * locale/programs/ld-identification.c: Likewise.
12273 * locale/programs/ld-time.c: Likewise.
12274 * mach/msg-destroy.c: Likewise.
12275 * nss/nss_files/files-netgrp.c: Likewise.
12276 * resolv/res_data.c: Likewise.
12277 * soft-fp/op-1.h: Likewise.
12278 * soft-fp/op-2.h: Likewise.
12279 * soft-fp/op-4.h: Likewise.
12280 * soft-fp/op-common.h: Likewise.
12281 * stdio-common/printf_fphex.c: Likewise.
12282 * stdlib/strtod_l.c: Likewise.
12283 * sunrpc/rpc/clnt.h: Likewise.
12284 * sysdeps/generic/framestate.c: Likewise.
12285 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12286 * sysdeps/i386/bsd-setjmp.S: Likewise.
12287 * sysdeps/i386/__longjmp.S: Likewise.
12288 * sysdeps/i386/setjmp.S: Likewise.
12289 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12290 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12291 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12292 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12293 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12294 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12295 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12296 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12297 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12298 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12299 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12300 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12301 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12302 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12303 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12304 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12305 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12306 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12307 * sysdeps/ieee754/support.c: Likewise.
12308 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12309 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12310 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12311 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12312 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12313 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12314 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12315 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12316 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12317 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12318 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12319 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12320 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12321 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12322 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12323 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12324 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12326
44a988af
OB
123272013-06-05 Ondřej Bílka <neleai@seznam.cz>
12328
25506f09 12329 * posix/transbug.c: Remove executable mode.
44a988af 12330
9c84384c
JM
123312013-06-05 Joseph Myers <joseph@codesourcery.com>
12332
12333 * crypt/speeds.c: Remove trailing whitespace.
12334 * dlfcn/default.c: Likewise.
12335 * elf/ifuncdep2.c: Likewise.
12336 * elf/ifuncmain1.c: Likewise.
12337 * elf/ifuncmain1vis.c: Likewise.
12338 * elf/testobj.h: Likewise.
12339 * elf/tst-stackguard1.c: Likewise.
12340 * gmon/sys/gmon.h: Likewise.
12341 * hurd/hurdmsg.c: Likewise.
12342 * hurd/new-fd.c: Likewise.
12343 * hurd/ports-get.c: Likewise.
12344 * iconvdata/ibm1008_420.c: Likewise.
12345 * inet/tst-getni1.c: Likewise.
12346 * inet/tst-getni2.c: Likewise.
12347 * libio/ioungetc.c: Likewise.
12348 * libio/wfiledoalloc.c: Likewise.
12349 * manual/libm-err-tab.pl: Likewise.
12350 * math/w_dremf.c: Likewise.
12351 * misc/ftruncate.c: Likewise.
12352 * posix/bug-glob2.c: Likewise.
12353 * posix/tst-pcre.c: Likewise.
12354 * posix/wait4.c: Likewise.
12355 * resolv/README: Likewise.
12356 * resolv/res_debug.h: Likewise.
12357 * resolv/tst-inet_ntop.c: Likewise.
12358 * setjmp/bug269-setjmp.c: Likewise.
12359 * soft-fp/extended.h: Likewise.
12360 * soft-fp/op-1.h: Likewise.
12361 * soft-fp/op-2.h: Likewise.
12362 * soft-fp/op-4.h: Likewise.
12363 * soft-fp/op-8.h: Likewise.
12364 * soft-fp/testit.c: Likewise.
12365 * stdio-common/bug16.c: Likewise.
12366 * stdlib/random.c: Likewise.
12367 * sunrpc/rpcsvc/rquota.x: Likewise.
12368 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12369 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12370 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12371 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12372 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12373 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12374 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12375 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12376 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12377 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12378 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12379 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12380 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12381 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12382 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12383 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12384 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12385 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12386 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12387 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12388 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12389 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12390 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12391 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12392 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12393 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12394 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12395 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12396 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12397 * sysdeps/ieee754/s_lib_version.c: Likewise.
12398 * sysdeps/mach/hurd/check_fds.c: Likewise.
12399 * sysdeps/mach/hurd/getsockname.c: Likewise.
12400 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12401 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12402 * sysdeps/powerpc/bits/link.h: Likewise.
12403 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12404 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12405 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12406 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12407 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12408 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12409 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12410 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12411 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12412 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12413 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12414 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12415 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12416 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12417 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12418 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12419 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12420 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12421 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12422 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12423 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12424 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12425 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12426 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12427 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12428 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12429 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12430 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12431 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12432 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12433 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12434 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12435 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12436 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12437 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12438 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12439 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12440 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12441 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12442 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12443 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12444 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12445 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12446 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12447 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12448 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12449 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12450 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12451 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12452 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12453 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12454 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12455 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12456 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12457 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12458 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12459 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12460 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12461 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12462 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12463 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12464 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12465 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12466 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12467 * sysdeps/powerpc/sysdep.h: Likewise.
12468 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12469 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12470 * sysdeps/sh/dl-trampoline.S: Likewise.
12471 * sysdeps/sh/memset.S: Likewise.
12472 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12473 * sysdeps/sh/strlen.S: Likewise.
12474 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12475 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12476 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12477 * sysdeps/sparc/sparc32/rem.S: Likewise.
12478 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12479 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12480 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12481 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12482 * sysdeps/sparc/sparc32/urem.S: Likewise.
12483 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12484 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12485 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12486 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12487 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12488 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12489 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12490 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12491 * sysdeps/unix/bsd/times.c: Likewise.
12492 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12493 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12494 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12497 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12498 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12499 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12500 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12501 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12502 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12503 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12504 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12505 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12506 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12507 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12508 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12509 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12510 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12511 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12512 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12513 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12514 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12515 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12516 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12517 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12518 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12519 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12520 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12521 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12522 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12523 * sysdeps/x86_64/strcspn.S: Likewise.
12524
869378a5
RA
125252013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12526
12527 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12528 generated file. Regenerate properly from gen-translit.pl.
12529 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12530 locale/C-translit.h.
12531
840e2943
AS
125322013-06-05 Andreas Schwab <schwab@suse.de>
12533
12534 [BZ #15100]
12535 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12536 week as 6 instead of -1.
12537 * time/tst-strptime.c (day_tests): Add test case.
12538
4c60cb0c
SP
125392013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12540
12541 * sysdeps/generic/math_private.h
12542 (libc_feholdexcept_setround_53bit): Replace with
12543 libc_feholdsetround_53bit.
12544 (libc_feupdateenv_53bit): Replace with
12545 libc_feresetround_53bit.
12546 (SET_RESTORE_ROUND_53BIT): Adjust.
12547
d180203e
SP
125482013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12549
96df079a
SP
12550 * string/test-strchrnul.c: Add copyright header.
12551
d180203e
SP
12552 * posix/tst-getaddrinfo4.c: Increase test timeout.
12553
8b0ccb2d
CD
125542013-06-03 Carlos O'Donell <carlos@redhat.com>
12555
12556 [BZ #15536]
12557 * math/libm-test.inc (MAX_EXP): Remove
12558 (MIN_EXP): Define.
12559 (ulp): Use MIN_EXP - MANT_DIG.
12560 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12561
3b3c4d40
CD
125622013-05-31 Carlos O'Donell <carlos@redhat.com>
12563
12564 * po/be.po: Revert last change.
12565 * po/zh_CN.po: Likewise.
12566 * po/header.pot: Likewise.
12567
fab7ce3f
JM
125682013-05-31 Joseph Myers <joseph@codesourcery.com>
12569
12570 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12571 link-libc-deps to empty as target-specific variable.
12572 * Makerules (link-libc-args): New variable.
12573 (libc-for-link): Likewise.
12574 (link-libc-deps): Likewise.
12575 (lib%.so): Depend on $(link-libc-deps). Link with
12576 $(link-libc-args).
12577 (build-module): Link with $(link-libc-args).
12578 (build-module-asneeded): Likewise.
12579 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12580 list of objects.
12581 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12582 target-specific variable.
12583 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12584 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12585 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12586 libc.
12587 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12588 libc and ld.so.
12589 ($(objpfx)libpcprofile.so): Likewise.
12590 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12591 libc_nonshared.a.
12592 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12593 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12594 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12595 $(link-libc-deps).
12596 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12597 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12598 * login/Makefile ($(objpfx)libutil.so): Likewise.
12599 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12600 * math/Makefile ($(objpfx)libm.so): Likewise.
12601 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12602 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12603 variable instead of depending directly on libc.
12604 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12605 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12606 $(link-libc-deps).
12607 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12608 libc.
12609 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12610 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12611 ($(objpfx)libanl.so): Likewise.
12612 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12613 ld.so.
12614 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12615 $(link-libc-deps).
12616 * sysdeps/i386/fpu/Makefile: Remove file.
12617 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12618 ($(objpfx)libm.so): Remove dependency on ld.so.
12619
eca5920c
PF
126202013-05-30 Patsy Franklin <pfrankli@redhat.com>
12621
12622 [BZ # 15553]
12623 * nis/yp_xdr.c (XDRMAXNAME): Define.
12624 (XDRMAXRECORD): Define.
12625 (xdr_domainname): Use XDRMAXNAME.
12626 (xdr_mapname): Likewise.
12627 (xdr_peername): Likewise.
12628 (xdr_keydat): Use XDRMAXRECORD.
12629 (xdr_valdat): Likewise.
12630
126312013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12632
12633 [BZ #14256]
12634 * manual/errno.texi (ESTALE): Update to account for more than
12635 just NFS file systems.
12636 * sysdeps/gnu/errlist.c: Regenerated.
12637
b9375348
SP
126382013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12639
12640 [BZ #15465]
12641 * elf/Makefile (tests): Add tst-null-argv.
12642 (modules-names): Add tst-null-argv-lib.
12643 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12644 (tst-null-argv-ENV): Set environment for tst-null-argv.
12645 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12646 (RTLD_PROGNAME): New macro.
12647 * elf/tst-null-argv.c: New test case.
12648 * elf/tst-null-argv-lib.c: Library for test case.
12649 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12650 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12651 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12652 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12653 * elf/dl-init.c (call_init): Likewise.
12654 (_dl_init): Likewise.
12655 * elf/dl-load.c (print_search_path): Likewise.
12656 (_dl_map_object): Likewise.
12657 * elf/dl-lookup.c (do_lookup_x): Likewise.
12658 (add_dependency): Likewise.
12659 (_dl_lookup_symbol_x): Likewise.
12660 (_dl_debug_bindings): Likewise.
12661 * elf/dl-open.c (_dl_show_scope): Likewise.
12662 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12663 * elf/dl-version.c (match_symbol): Likewise.
12664 (_dl_check_map_versions): Likewise.
12665 * elf/rtld.c (dl_main): Likewise.
12666 (print_unresolved): Use RTLD_PROGNAME.
12667 (print_missing_version): Likewise.
12668 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12669 (elf_machine_rela): Likewise.
12670 * sysdeps/powerpc/powerpc32/dl-machine.c
12671 (__process_machine_rela): Likewise.
12672 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12673 Likewise.
12674 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12675 Likewise.
12676 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12677 Likewise.
12678 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12679 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12680 Likewise.
12681 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12682 Likewise.
12683 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12684
8a9f20c8
CD
126852013-05-28 Carlos O'Donell <carlos@redhat.com>
12686
12687 * po/be.po: Add descriptive title.
12688 * po/zh_CN.po: Likewise.
12689 * po/header.pot: Likewise.
12690
0e60d68e
MF
126912013-05-28 Mike Frysinger <vapier@gentoo.org>
12692
12693 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12694 error message.
12695 (enlarge_archive): Likewise.
12696
56b672e9
BN
126972013-05-28 Ben North <ben@redfrontdoor.org>
12698
12699 * manual/arith.texi (frexp): It is the magnitude of the return
12700 value which lies in [0.5, 1), not the return value itself.
12701
5e056687
AZ
127022013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12703
12704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12705
2b66ef5d
TS
127062013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12707
528c2405
TS
12708 * stdio-common/bug26.c (main): Correct fscanf template.
12709
07b4c13d
TS
12710 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12711 declare _dl_skip_args.
12712
ec9dd97c
TS
12713 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12714 Don't declare.
12715
2b66ef5d
TS
12716 * manual/platform.texi: Add missing @end deftypefun.
12717
4f8dfe27
JM
127182013-05-24 Joseph Myers <joseph@codesourcery.com>
12719
0323d086
JM
12720 [BZ #15529]
12721 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12722 bit of mantissa of 2^16382.
12723 * math/libm-test.inc (hypot_test_data): Add more tests.
12724
dd4259b9
JM
12725 * math/libm-test.inc: Add drem and pow10 to list of tested
12726 functions.
12727 (pow10_test): New function.
12728 (drem_test): Likewise.
12729 (drem_test_tonearest): Likewise.
12730 (drem_test_towardzero): Likewise.
12731 (drem_test_downward): Likewise.
12732 (drem_test_upward): Likewise.
12733 (main): Call the new functions.
12734
4f8dfe27
JM
12735 * math/libm-test.inc (finite_test_data): Remove.
12736 (finite_test): Run tests from isfinite_test_data.
12737 (gamma_test_data): Remove.
12738 (gamma_test): Run tests from lgamma_test_data.
12739 * sysdeps/i386/fpu/libm-test-ulps: Update.
12740 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12741
d116b7c4
AZ
127422013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12743
12744 * manual/platform.texi: Add PowerPC PPR function set documentation.
12745 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12746 implementation.
12747
e96e3767
CD
127482013-05-24 Carlos O'Donell <carlos@redhat.com>
12749
12750 * math/libm-test.inc (MAX_EXP): Define.
12751 (ULPDIFF): Define.
12752 (ulp): New function.
12753 (check_float_internal): Use ULPDIFF.
12754 (cpow_test): Disable failing test.
12755 (check_ulp): Test ulp() implemetnation.
12756 (main): Call check_ulp before starting tests.
12757
b679a606
JM
127582013-05-24 Joseph Myers <joseph@codesourcery.com>
12759
e8bdba36
JM
12760 * math/gen-libm-test.pl (generate_testfile): Do not handle
12761 START_DATA and END_DATA.
12762 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12763 END_DATA.
12764 (acos_tonearest_test_data): Likewise.
12765 (acos_towardzero_test_data): Likewise.
12766 (acos_downward_test_data): Likewise.
12767 (acos_upward_test_data): Likewise.
12768 (acosh_test_data): Likewise.
12769 (asin_test_data): Likewise.
12770 (asin_tonearest_test_data): Likewise.
12771 (asin_towardzero_test_data): Likewise.
12772 (asin_downward_test_data): Likewise.
12773 (asin_upward_test_data): Likewise.
12774 (asinh_test_data): Likewise.
12775 (atan_test_data): Likewise.
12776 (atanh_test_data): Likewise.
12777 (atan2_test_data): Likewise.
12778 (cabs_test_data): Likewise.
12779 (cacos_test_data): Likewise.
12780 (cacosh_test_data): Likewise.
12781 (carg_test_data): Likewise.
12782 (casin_test_data): Likewise.
12783 (casinh_test_data): Likewise.
12784 (catan_test_data): Likewise.
12785 (catanh_test_data): Likewise.
12786 (cbrt_test_data): Likewise.
12787 (ccos_test_data): Likewise.
12788 (ccosh_test_data): Likewise.
12789 (ceil_test_data): Likewise.
12790 (cexp_test_data): Likewise.
12791 (cimag_test_data): Likewise.
12792 (clog_test_data): Likewise.
12793 (clog10_test_data): Likewise.
12794 (conj_test_data): Likewise.
12795 (copysign_test_data): Likewise.
12796 (cos_test_data): Likewise.
12797 (cos_tonearest_test_data): Likewise.
12798 (cos_towardzero_test_data): Likewise.
12799 (cos_downward_test_data): Likewise.
12800 (cos_upward_test_data): Likewise.
12801 (cosh_test_data): Likewise.
12802 (cosh_tonearest_test_data): Likewise.
12803 (cosh_towardzero_test_data): Likewise.
12804 (cosh_downward_test_data): Likewise.
12805 (cosh_upward_test_data): Likewise.
12806 (cpow_test_data): Likewise.
12807 (cproj_test_data): Likewise.
12808 (creal_test_data): Likewise.
12809 (csin_test_data): Likewise.
12810 (csinh_test_data): Likewise.
12811 (csqrt_test_data): Likewise.
12812 (ctan_test_data): Likewise.
12813 (ctan_tonearest_test_data): Likewise.
12814 (ctan_towardzero_test_data): Likewise.
12815 (ctan_downward_test_data): Likewise.
12816 (ctan_upward_test_data): Likewise.
12817 (ctanh_test_data): Likewise.
12818 (ctanh_tonearest_test_data): Likewise.
12819 (ctanh_towardzero_test_data): Likewise.
12820 (ctanh_downward_test_data): Likewise.
12821 (ctanh_upward_test_data): Likewise.
12822 (erf_test_data): Likewise.
12823 (erfc_test_data): Likewise.
12824 (exp_test_data): Likewise.
12825 (exp_tonearest_test_data): Likewise.
12826 (exp_towardzero_test_data): Likewise.
12827 (exp_downward_test_data): Likewise.
12828 (exp_upward_test_data): Likewise.
12829 (exp10_test_data): Likewise.
12830 (exp2_test_data): Likewise.
12831 (expm1_test_data): Likewise.
12832 (fabs_test_data): Likewise.
12833 (fdim_test_data): Likewise.
12834 (finite_test_data): Likewise.
12835 (floor_test_data): Likewise.
12836 (fma_test_data): Likewise.
12837 (fma_towardzero_test_data): Likewise.
12838 (fma_downward_test_data): Likewise.
12839 (fma_upward_test_data): Likewise.
12840 (fmax_test_data): Likewise.
12841 (fmin_test_data): Likewise.
12842 (fmod_test_data): Likewise.
12843 (fpclassify_test_data): Likewise.
12844 (frexp_test_data): Likewise.
12845 (gamma_test_data): Likewise.
12846 (hypot_test_data): Likewise.
12847 (ilogb_test_data): Likewise.
12848 (isfinite_test_data): Likewise.
12849 (isgreater_test_data): Likewise.
12850 (isgreaterequal_test_data): Likewise.
12851 (isinf_test_data): Likewise.
12852 (isless_test_data): Likewise.
12853 (islessequal_test_data): Likewise.
12854 (islessgreater_test_data): Likewise.
12855 (isnan_test_data): Likewise.
12856 (isnormal_test_data): Likewise.
12857 (issignaling_test_data): Likewise.
12858 (isunordered_test_data): Likewise.
12859 (j0_test_data): Likewise.
12860 (j1_test_data): Likewise.
12861 (jn_test_data): Likewise.
12862 (ldexp_test_data): Likewise.
12863 (lgamma_test_data): Likewise.
12864 (lrint_test_data): Likewise.
12865 (lrint_tonearest_test_data): Likewise.
12866 (lrint_towardzero_test_data): Likewise.
12867 (lrint_downward_test_data): Likewise.
12868 (lrint_upward_test_data): Likewise.
12869 (llrint_test_data): Likewise.
12870 (llrint_tonearest_test_data): Likewise.
12871 (llrint_towardzero_test_data): Likewise.
12872 (llrint_downward_test_data): Likewise.
12873 (llrint_upward_test_data): Likewise.
12874 (log_test_data): Likewise.
12875 (log10_test_data): Likewise.
12876 (log1p_test_data): Likewise.
12877 (log2_test_data): Likewise.
12878 (logb_test_data): Likewise.
12879 (logb_downward_test_data): Likewise.
12880 (lround_test_data): Likewise.
12881 (llround_test_data): Likewise.
12882 (modf_test_data): Likewise.
12883 (nearbyint_test_data): Likewise.
12884 (nextafter_test_data): Likewise.
12885 (nexttoward_test_data): Likewise.
12886 (pow_test_data): Likewise.
12887 (pow_tonearest_test_data): Likewise.
12888 (pow_towardzero_test_data): Likewise.
12889 (pow_downward_test_data): Likewise.
12890 (pow_upward_test_data): Likewise.
12891 (remainder_test_data): Likewise.
12892 (remainder_tonearest_test_data): Likewise.
12893 (remainder_towardzero_test_data): Likewise.
12894 (remainder_downward_test_data): Likewise.
12895 (remainder_upward_test_data): Likewise.
12896 (remquo_test_data): Likewise.
12897 (rint_test_data): Likewise.
12898 (rint_tonearest_test_data): Likewise.
12899 (rint_towardzero_test_data): Likewise.
12900 (rint_downward_test_data): Likewise.
12901 (rint_upward_test_data): Likewise.
12902 (round_test_data): Likewise.
12903 (scalb_test_data): Likewise.
12904 (scalbn_test_data): Likewise.
12905 (scalbln_test_data): Likewise.
12906 (signbit_test_data): Likewise.
12907 (sin_test_data): Likewise.
12908 (sin_tonearest_test_data): Likewise.
12909 (sin_towardzero_test_data): Likewise.
12910 (sin_downward_test_data): Likewise.
12911 (sin_upward_test_data): Likewise.
12912 (sincos_test_data): Likewise.
12913 (sinh_test_data): Likewise.
12914 (sinh_tonearest_test_data): Likewise.
12915 (sinh_towardzero_test_data): Likewise.
12916 (sinh_downward_test_data): Likewise.
12917 (sinh_upward_test_data): Likewise.
12918 (sqrt_test_data): Likewise.
12919 (tan_test_data): Likewise.
12920 (tan_tonearest_test_data): Likewise.
12921 (tan_towardzero_test_data): Likewise.
12922 (tan_downward_test_data): Likewise.
12923 (tan_upward_test_data): Likewise.
12924 (tanh_test_data): Likewise.
12925 (tgamma_test_data): Likewise.
12926 (trunc_test_data): Likewise.
12927 (y0_test_data): Likewise.
12928 (y1_test_data): Likewise.
12929 (yn_test_data): Likewise.
12930 (significand_test_data): Likewise.
12931
b679a606
JM
12932 * math/gen-libm-test.pl (@functions): Remove variable.
12933 (generate_testfile): Don't handle START and END lines.
12934 * math/libm-test.inc (START): New macro.
12935 (END): Likewise.
12936 (END_COMPLEX): Likewise.
12937 (acos_test): Use END macro without arguments.
12938 (acos_test_tonearest): Likewise.
12939 (acos_test_towardzero): Likewise.
12940 (acos_test_downward): Likewise.
12941 (acos_test_upward): Likewise.
12942 (acosh_test): Likewise.
12943 (asin_test): Likewise.
12944 (asin_test_tonearest): Likewise.
12945 (asin_test_towardzero): Likewise.
12946 (asin_test_downward): Likewise.
12947 (asin_test_upward): Likewise.
12948 (asinh_test): Likewise.
12949 (atan_test): Likewise.
12950 (atanh_test): Likewise.
12951 (atan2_test): Likewise.
12952 (cabs_test): Likewise.
12953 (cacos_test): Use END_COMPLEX macro without arguments.
12954 (cacosh_test): Likewise.
12955 (carg_test): Use END macro without arguments.
12956 (casin_test): Use END_COMPLEX macro without arguments.
12957 (casinh_test): Likewise.
12958 (catan_test): Likewise.
12959 (catanh_test): Likewise.
12960 (cbrt_test): Use END macro without arguments.
12961 (ccos_test): Use END_COMPLEX macro without arguments.
12962 (ccosh_test): Likewise.
12963 (ceil_test): Use END macro without arguments.
12964 (cexp_test): Use END_COMPLEX macro without arguments.
12965 (cimag_test): Use END macro without arguments.
12966 (clog_test): Use END_COMPLEX macro without arguments.
12967 (clog10_test): Likewise.
12968 (conj_test): Likewise.
12969 (copysign_test): Use END macro without arguments.
12970 (cos_test): Likewise.
12971 (cos_test_tonearest): Likewise.
12972 (cos_test_towardzero): Likewise.
12973 (cos_test_downward): Likewise.
12974 (cos_test_upward): Likewise.
12975 (cosh_test): Likewise.
12976 (cosh_test_tonearest): Likewise.
12977 (cosh_test_towardzero): Likewise.
12978 (cosh_test_downward): Likewise.
12979 (cosh_test_upward): Likewise.
12980 (cpow_test): Use END_COMPLEX macro without arguments.
12981 (cproj_test): Likewise.
12982 (creal_test): Use END macro without arguments.
12983 (csin_test): Use END_COMPLEX macro without arguments.
12984 (csinh_test): Likewise.
12985 (csqrt_test): Likewise.
12986 (ctan_test): Likewise.
12987 (ctan_test_tonearest): Likewise.
12988 (ctan_test_towardzero): Likewise.
12989 (ctan_test_downward): Likewise.
12990 (ctan_test_upward): Likewise.
12991 (ctanh_test): Likewise.
12992 (ctanh_test_tonearest): Likewise.
12993 (ctanh_test_towardzero): Likewise.
12994 (ctanh_test_downward): Likewise.
12995 (ctanh_test_upward): Likewise.
12996 (erf_test): Use END macro without arguments.
12997 (erfc_test): Likewise.
12998 (exp_test): Likewise.
12999 (exp_test_tonearest): Likewise.
13000 (exp_test_towardzero): Likewise.
13001 (exp_test_downward): Likewise.
13002 (exp_test_upward): Likewise.
13003 (exp10_test): Likewise.
13004 (exp2_test): Likewise.
13005 (expm1_test): Likewise.
13006 (fabs_test): Likewise.
13007 (fdim_test): Likewise.
13008 (finite_test): Likewise.
13009 (floor_test): Likewise.
13010 (fma_test): Likewise.
13011 (fma_test_towardzero): Likewise.
13012 (fma_test_downward): Likewise.
13013 (fma_test_upward): Likewise.
13014 (fmax_test): Likewise.
13015 (fmin_test): Likewise.
13016 (fmod_test): Likewise.
13017 (fpclassify_test): Likewise.
13018 (frexp_test): Likewise.
13019 (gamma_test): Likewise.
13020 (hypot_test): Likewise.
13021 (ilogb_test): Likewise.
13022 (isfinite_test): Likewise.
13023 (isgreater_test): Likewise.
13024 (isgreaterequal_test): Likewise.
13025 (isinf_test): Likewise.
13026 (isless_test): Likewise.
13027 (islessequal_test): Likewise.
13028 (islessgreater_test): Likewise.
13029 (isnan_test): Likewise.
13030 (isnormal_test): Likewise.
13031 (issignaling_test): Likewise.
13032 (isunordered_test): Likewise.
13033 (j0_test): Likewise.
13034 (j1_test): Likewise.
13035 (jn_test): Likewise.
13036 (ldexp_test): Likewise.
13037 (lgamma_test): Likewise.
13038 (lrint_test): Likewise.
13039 (lrint_test_tonearest): Likewise.
13040 (lrint_test_towardzero): Likewise.
13041 (lrint_test_downward): Likewise.
13042 (lrint_test_upward): Likewise.
13043 (llrint_test): Likewise.
13044 (llrint_test_tonearest): Likewise.
13045 (llrint_test_towardzero): Likewise.
13046 (llrint_test_downward): Likewise.
13047 (llrint_test_upward): Likewise.
13048 (log_test): Likewise.
13049 (log10_test): Likewise.
13050 (log1p_test): Likewise.
13051 (log2_test): Likewise.
13052 (logb_test): Likewise.
13053 (logb_test_downward): Likewise.
13054 (lround_test): Likewise.
13055 (llround_test): Likewise.
13056 (modf_test): Likewise.
13057 (nearbyint_test): Likewise.
13058 (nextafter_test): Likewise.
13059 (nexttoward_test): Likewise.
13060 (pow_test): Likewise.
13061 (pow_test_tonearest): Likewise.
13062 (pow_test_towardzero): Likewise.
13063 (pow_test_downward): Likewise.
13064 (pow_test_upward): Likewise.
13065 (remainder_test): Likewise.
13066 (remainder_test_tonearest): Likewise.
13067 (remainder_test_towardzero): Likewise.
13068 (remainder_test_downward): Likewise.
13069 (remainder_test_upward): Likewise.
13070 (remquo_test): Likewise.
13071 (rint_test): Likewise.
13072 (rint_test_tonearest): Likewise.
13073 (rint_test_towardzero): Likewise.
13074 (rint_test_downward): Likewise.
13075 (rint_test_upward): Likewise.
13076 (round_test): Likewise.
13077 (scalb_test): Likewise.
13078 (scalbn_test): Likewise.
13079 (scalbln_test): Likewise.
13080 (signbit_test): Likewise.
13081 (sin_test): Likewise.
13082 (sin_test_tonearest): Likewise.
13083 (sin_test_towardzero): Likewise.
13084 (sin_test_downward): Likewise.
13085 (sin_test_upward): Likewise.
13086 (sincos_test): Likewise.
13087 (sinh_test): Likewise.
13088 (sinh_test_tonearest): Likewise.
13089 (sinh_test_towardzero): Likewise.
13090 (sinh_test_downward): Likewise.
13091 (sinh_test_upward): Likewise.
13092 (sqrt_test): Likewise.
13093 (tan_test): Likewise.
13094 (tan_test_tonearest): Likewise.
13095 (tan_test_towardzero): Likewise.
13096 (tan_test_downward): Likewise.
13097 (tan_test_upward): Likewise.
13098 (tanh_test): Likewise.
13099 (tgamma_test): Likewise.
13100 (trunc_test): Likewise.
13101 (y0_test): Likewise.
13102 (y1_test): Likewise.
13103 (yn_test): Likewise.
13104 (significand_test): Likewise.
13105
bae143d2
OB
131062013-05-24 Ondřej Bílka <neleai@seznam.cz>
13107
13108 [BZ #15381]
13109 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13110
9323d39b
EM
131112013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13112
d4ea44a0 13113 [BZ #14894]
9323d39b
EM
13114 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13115 __ppc_mdoio and __ppc_mdoom.
13116 * manual/platform.texi: Document new functions __ppc_yield,
13117 __ppc_mdoio and __ppc_mdoom.
13118
13e23af7
CD
131192013-05-22 Carlos O'Donell <carlos@redhat.com>
13120
13121 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13122 (main): Mention "tls" pseudo-hwcap is legacy.
13123 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13124
351fe550
JM
131252013-05-22 Joseph Myers <joseph@codesourcery.com>
13126
13127 * math/gen-libm-test.pl (parse_args): Output only string of
13128 arguments as text for test name, not full call or descriptions of
13129 tests for extra outputs.
13130 (generate_testfile): Do not pass function name to parse_args.
13131 Generate this_func variable from START.
13132 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13133 field to arg_str.
13134 (struct test_ff_f_data): Likewise.
13135 (test_ff_f_data_nexttoward): Likewise.
13136 (struct test_fi_f_data): Likewise.
13137 (struct test_fl_f_data): Likewise.
13138 (struct test_if_f_data): Likewise.
13139 (struct test_fff_f_data): Likewise.
13140 (struct test_c_f_data): Likewise.
13141 (struct test_f_f1_data): Likewise. Remove field extra_name.
13142 (struct test_fF_f1_data): Likewise.
13143 (struct test_ffI_f1_data): Likewise.
13144 (struct test_c_c_data): Rename test_name field to arg_str.
13145 (struct test_cc_c_data): Likewise.
13146 (struct test_f_i_data): Likewise.
13147 (struct test_ff_i_data): Likewise.
13148 (struct test_f_l_data): Likewise.
13149 (struct test_f_L_data): Likewise.
13150 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13151 and extra2_name.
13152 (COMMON_TEST_SETUP): New macro.
13153 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13154 (COMMON_TEST_CLEANUP): Likewise.
13155 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13156 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13157 macros.
13158 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13159 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13160 macros.
13161 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13162 (RUN_TEST_fff_f): Take argument string. Call new setup and
13163 cleanup macros.
13164 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13165 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13166 macros.
13167 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13168 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13169 macros.
13170 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13171 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13172 cleanup macros.
13173 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13174 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13175 cleanup macros.
13176 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13177 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13178 cleanup macros.
13179 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13180 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13181 macros.
13182 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13183 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13184 macros.
13185 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13186 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13187 macros.
13188 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13189 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13190 cleanup macros.
13191 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13192 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13193 cleanup macros.
13194 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13195 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13196 macros.
13197 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13198 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13199 cleanup macros.
13200 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13201 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13202 macros.
13203 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13204 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13205 macros.
13206 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13207 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13208 cleanup macros.
13209 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13210
85118d4d
EBM
132112013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13212
13213 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13214 to _sifields.sigfault.
13215 (si_addr_lsb): Define new macro.
13216 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13217 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13218 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13219
7a44c18f
CD
132202013-05-03 Carlos O'Donell <carlos at redhat.com>
13221
13222 [BZ #15441]
13223 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13224 returns -1.
13225 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13226 null return -1.
13227 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13228 loading the domain.
13229
b50a7181
JM
132302013-05-22 Joseph Myers <joseph@codesourcery.com>
13231
13232 * math/gen-libm-test.pl (parse_args): Do not include expected
13233 result in test name.
13234 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13235 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13236 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13237 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13238 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13239 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13240
051063c8
SP
132412013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13242
3ce9e010
SP
13243 * benchtests/Makefile: Sort function entries.
13244
051063c8
SP
13245 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13246 tanh, asinh, acosh, atanh.
13247 * benchtests/acos-inputs: New file.
13248 * benchtests/acosh-inputs: New file.
13249 * benchtests/asin-inputs: New file.
13250 * benchtests/asinh-inputs: New file.
13251 * benchtests/atanh-inputs: New file.
13252 * benchtests/cosh-inputs: New file.
13253 * benchtests/log-inputs: New file.
13254 * benchtests/sinh-inputs: New file.
13255 * benchtests/tanh-inputs: New file.
13256
47c22455
DL
132572013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13258
13259 [BZ #15339]
13260 * posix/tst-getaddrinfo4.c: New test.
13261 * posix/Makefile (tests): Add it.
13262
3d04f5db
SP
132632013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13264
13265 [BZ #15339]
13266 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13267 when no services were used.
13268 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13269 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13270
d5dd6189
AS
132712013-05-21 Andreas Schwab <schwab@suse.de>
13272
13273 [BZ #15014]
13274 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13275 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13276 successful.
13277 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13278 redundant variable declarations and reallocation of buffer when
13279 parsing as IPv6 address. Always set NSS status when called from
13280 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13281 buffer too small. Correct computation of needed size.
13282 * nss/Makefile (tests): Add test-digits-dots.
13283 * nss/test-digits-dots.c: New test.
13284
fef94eab
SP
132852013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13286
13287 * benchtests/Makefile: Remove instructions for adding
13288 benchmark tests.
13289 * benchtests/README: New file to explain how to execute and
13290 enhance the benchmark tests.
13291
e39adf43
AS
132922013-05-21 Andreas Schwab <schwab@suse.de>
13293
13294 [BZ #15493]
13295 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13296 * setjmp/tst-sigsetjmp.c: New test.
13297
b2b671b6
OB
132982013-05-20 Ondřej Bílka <neleai@seznam.cz>
13299
13300 * sysdeps/x86_64/memset.S (memset): New implementation.
13301 (__bzero): Likewise.
13302 (__memset_tail): New function.
13303
2d48b41c
OB
133042013-05-20 Ondřej Bílka <neleai@seznam.cz>
13305
13306 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13307 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13308 __memcpy_sse2_unaligned ifunc selection.
13309 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13310 Add memcpy-sse2-unaligned.S.
13311 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13312 Add: __memcpy_sse2_unaligned.
13313
f16cc3eb
JM
133142013-05-19 Joseph Myers <joseph@codesourcery.com>
13315
3e694268
JM
13316 [BZ #15490]
13317 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13318 math_force_eval before restoring floating-point envrionment.
13319 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13320 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13321 Likewise.
13322 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13323 <math_private.h>.
13324 (__nearbyintl): Use math_force_eval before restoring
13325 floating-point environment.
13326 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13327
db62a907
JM
13328 * math/gen-libm-test.pl (special_functions): Remove.
13329 (parse_args): Don't handle TEST_extra. Handle functions with no
13330 return value.
13331 * math/libm-test.inc (struct test_sincos_data): Replace with
13332 struct test_fFF_11_data.
13333 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13334 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13335 (sincos_test_data): Change element type to struct
13336 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13337 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13338 RUN_TEST_LOOP_sincos.
13339 * math/README.libm-test: Don't mention special handling of
13340 individual functions.
13341 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13342 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13343 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13344 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13345 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13346 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13347
f16cc3eb
JM
13348 * math/gen-libm-test.pl (get_variable): Remove function.
13349 (parse_args): Don't show pointer parameters to call in test
13350 names. Use "extra output N" in test names for extra outputs
13351 rather than naming variables.
13352
3779b5b6
JM
133532013-05-18 Joseph Myers <joseph@codesourcery.com>
13354
2ee094ff
JM
13355 [BZ #15488]
13356 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13357 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13358 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13359 double tests.
13360 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13361 disable.
13362 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13363 check_long_double.
13364
3779b5b6
JM
13365 * math/gen-libm-test.pl (@tests): Remove variable.
13366 ($count): Likewise.
13367 (new_test): Remove function.
13368 (show_exceptions): New function.
13369 (special_functions): Use show_exceptions instead of new_test.
13370 (parse_args): Likewise.
13371 (generate_testfile): Pass only function name in generated call to
13372 print_max_error or print_complex_max_error.
13373 (get_ulps): Do not handle complex tests specially.
13374 (output_test): Rename to ...
13375 (get_all_ulps_for_test): ... this. Return a string rather than
13376 printing to a file. Require ulps to be present.
13377 (output_ulps): Generate arrays rather than #defines.
13378 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13379 (struct ulp_data): New type.
13380 (BUILD_COMPLEX_ULP): Remove macro.
13381 (compare_ulp_data): New function.
13382 (find_ulps): Likewise.
13383 (find_test_ulps): Likewise.
13384 (find_function_ulps): Likewise.
13385 (find_complex_function_ulps): Likewise.
13386 (print_max_error): Determine allowed ulps using
13387 find_function_ulps.
13388 (print_complex_max_error): Determine allowed ulps using
13389 find_complex_function_ulps.
13390 (check_float_internal): Determine max ulps using find_test_ulps.
13391 (check_float): Do not take max_ulp parameter. Update call to
13392 check_float_internal.
13393 (check_complex): Likewise.
13394 (check_int): Do not take max_ulp parameter.
13395 (check_long): Likewise.
13396 (check_bool): Likewise.
13397 (check_longlong): Likewise.
13398 (struct test_f_f_data): Remove max_ulp field.
13399 (struct test_ff_f_data): Likewise.
13400 (struct test_ff_f_data_nexttoward): Likewise.
13401 (struct test_fi_f_data): Likewise.
13402 (struct test_fl_f_data): Likewise.
13403 (struct test_if_f_data): Likewise.
13404 (struct test_fff_f_data): Likewise.
13405 (struct test_c_f_data): Likewise.
13406 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13407 (struct test_fF_f1_data): Likewise.
13408 (struct test_ffI_f1_data): Likewise.
13409 (struct test_c_c_data): Remove max_ulp field.
13410 (struct test_cc_c_data): Likewise.
13411 (struct test_f_i_data): Likewise.
13412 (struct test_ff_i_data): Likewise.
13413 (struct test_f_l_data): Likewise.
13414 (struct test_f_L_data): Likewise.
13415 (struct test_sincos_data): Likewise.
13416 (RUN_TEST_f_f): Do not handle ulps.
13417 (RUN_TEST_LOOP_f_f): Likewise.
13418 (RUN_TEST_2_f): Likewise.
13419 (RUN_TEST_LOOP_2_f): Likewise.
13420 (RUN_TEST_fff_f): Likewise.
13421 (RUN_TEST_LOOP_fff_f): Likewise.
13422 (RUN_TEST_c_f): Likewise.
13423 (RUN_TEST_LOOP_c_f): Likewise.
13424 (RUN_TEST_f_f1): Likewise.
13425 (RUN_TEST_LOOP_f_f1): Likewise.
13426 (RUN_TEST_fF_f1): Likewise.
13427 (RUN_TEST_LOOP_fF_f1): Likewise.
13428 (RUN_TEST_fI_f1): Likewise.
13429 (RUN_TEST_LOOP_fI_f1): Likewise.
13430 (RUN_TEST_ffI_f1): Likewise.
13431 (RUN_TEST_LOOP_ffI_f1): Likewise.
13432 (RUN_TEST_c_c): Likewise.
13433 (RUN_TEST_LOOP_c_c): Likewise.
13434 (RUN_TEST_cc_c): Likewise.
13435 (RUN_TEST_LOOP_cc_c): Likewise.
13436 (RUN_TEST_f_i): Likewise.
13437 (RUN_TEST_LOOP_f_i): Likewise.
13438 (RUN_TEST_f_i_tg): Likewise.
13439 (RUN_TEST_LOOP_f_i_tg): Likewise.
13440 (RUN_TEST_ff_i_tg): Likewise.
13441 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13442 (RUN_TEST_f_b): Likewise.
13443 (RUN_TEST_LOOP_f_b): Likewise.
13444 (RUN_TEST_f_b_tg): Likewise.
13445 (RUN_TEST_LOOP_f_b_tg): Likewise.
13446 (RUN_TEST_f_l): Likewise.
13447 (RUN_TEST_LOOP_f_l): Likewise.
13448 (RUN_TEST_f_L): Likewise.
13449 (RUN_TEST_LOOP_f_L): Likewise.
13450 (RUN_TEST_sincos): Likewise.
13451 (RUN_TEST_LOOP_sincos): Likewise.
13452
8269107f
JM
134532013-05-17 Joseph Myers <joseph@codesourcery.com>
13454
bb38759d
JM
13455 [BZ #15480]
13456 [BZ #15485]
13457 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13458 main case of finite arguments, set rounding mode to FE_TONEAREST
13459 and discard exceptions.
13460 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13461 exceptions.
13462 (remainder_tonearest_test_data): New variable.
13463 (remainder_test_tonearest): New function.
13464 (remainder_towardzero_test_data): New variable.
13465 (remainder_test_towardzero): New function.
13466 (remainder_downward_test_data): New variable.
13467 (remainder_test_downward): New function.
13468 (remainder_upward_test_data): New variable.
13469 (remainder_test_upward): New function.
13470 (main): Call the new test functions.
13471
a00bdcf0
JM
13472 * math/libm-test.inc (struct test_f_f1_data): Remove field
13473 extra_init.
13474 (struct test_fF_f1_data): Likewise.
13475 (struct test_ffI_f1_data): Likewise.
13476 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13477 based on value of EXTRA_EXPECTED.
13478 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13479 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13480 EXTRA_VAR based on value of EXTRA_EXPECTED.
13481 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13482 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13483 EXTRA_VAR based on value of EXTRA_EXPECTED.
13484 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13485 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13486 EXTRA_VAR based on value of EXTRA_EXPECTED.
13487 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13488 * math/gen-libm-test.pl (parse_args): Don't output initializers
13489 for extra output values.
13490
de407f79
JM
13491 * math/libm-test.inc (check_int): Expect result to be exactly
13492 equal to expected value and do not handle ulps.
13493 (check_long): Likewise.
13494 (check_longlong): Likewise.
13495
8269107f
JM
13496 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13497 exceptions.
13498 (cimag_test_data): Likewise.
13499 (conj_test_data): Likewise.
13500 (copysign_test_data): Likewise.
13501 (cproj_test_data): Likewise.
13502 (creal_test_data): Likewise.
13503 (fabs_test_data): Likewise.
13504 (fdim_test_data): Likewise.
13505 (finite_test_data): Likewise.
13506 (floor_test_data): Likewise.
13507 (fmax_test_data): Likewise.
13508 (fmin_test_data): Likewise.
13509 (fmod_test_data): Likewise.
13510 (fpclassify_test_data): Likewise.
13511 (frexp_test_data): Likewise.
13512 (ilogb_test_data): Likewise.
13513 (isfinite_test_data): Likewise.
13514 (isgreater_test_data): Likewise.
13515 (isgreaterequal_test_data): Likewise.
13516 (isinf_test_data): Likewise.
13517 (isless_test_data): Likewise.
13518 (islessequal_test_data): Likewise.
13519 (islessgreater_test_data): Likewise.
13520 (isnan_test_data): Likewise.
13521 (isnormal_test_data): Likewise.
13522 (issignaling_test_data): Likewise.
13523 (isunordered_test_data): Likewise.
13524 (ldexp_test_data): Likewise.
13525 (lrint_test_data): Likewise.
13526 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13527 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13528 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13529 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13530 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13531 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13532 test input.
13533 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13534 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13535 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13536 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13537 that test input.
13538 (lrint_downward_test_data): Test for "inexact" exceptions.
13539 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13540 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13541 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13542 test input.
13543 (lrint_upward_test_data): Test for "inexact" exceptions.
13544 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13545 test input.
13546 (llrint_test_data): Test for "inexact" exceptions.
13547 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13548 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13549 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13550 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13551 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13552 (llrint_downward_test_data): Test for "inexact" exceptions.
13553 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13554 (llrint_upward_test_data): Test for "inexact" exceptions.
13555 (logb_test_data): Likewise.
13556 (logb_downward_test_data): Likewise.
13557 (nextafter_test_data): Likewise.
13558 (nexttoward_test_data): Likewise.
13559 (remainder_test_data): Likewise.
13560 (remquo_test_data): Likewise.
13561 (scalbn_test_data): Likewise.
13562 (scalbln_test_data): Likewise.
13563 (signbit_test_data): Likewise.
13564 (sqrt_test_data): Likewise.
13565 (significand_test_data): Likewise.
13566
48a18de1
SP
135672013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13568
13569 [BZ #15424]
13570 * benchtests/bench-modf.c (struct args): Mark arg0 as
13571 volatile.
13572 * scripts/bench.pl: Mark members of struct args as volatile.
13573
13d3b41a
AZ
135742013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13575
68191c1d 13576 [BZ # 15497]
13d3b41a
AZ
13577 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13578 negative infinity on POWER6 or lower.
13579 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13580
2848b105
MR
135812013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13582
13583 [BZ #15442]
13584 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13585 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13586 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13587 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13588 (_FP_SETQNAN): New macro.
13589 (_FP_SETQNAN_SEMIRAW): Likewise.
13590 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13591 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13592 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13593 (FP_EXTEND): Use _FP_FRAC_SNANP.
13594 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13595 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13596 into account.
13597 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13598 New macro.
13599 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13600 Likewise.
13601
323e5cb7
JM
136022013-05-16 Joseph Myers <joseph@codesourcery.com>
13603
c58b274f
JM
13604 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13605 with DIVIDE_BY_ZERO_EXCEPTION.
13606 (gamma_test_data): Likewise.
13607 (lgamma_test_data): Likewise.
13608 (log_test_data): Likewise.
13609 (log10_test_data): Likewise.
13610 (log2_test_data): Likewise.
13611 (tgamma_test_data): Likewise.
13612
0ab34904
JM
13613 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13614 (acos_test_tonearest): Likewise.
13615 (acos_test_towardzero): Likewise.
13616 (acos_test_downward): Likewise.
13617 (acos_test_upward): Likewise.
13618 (acosh_test): Likewise.
13619 (asin_test): Likewise.
13620 (asin_test_tonearest): Likewise.
13621 (asin_test_towardzero): Likewise.
13622 (asin_test_downward): Likewise.
13623 (asin_test_upward): Likewise.
13624 (asinh_test): Likewise.
13625 (atan_test): Likewise.
13626 (atanh_test): Likewise.
13627 (atan2_test): Likewise.
13628 (cabs_test): Likewise.
13629 (cacos_test): Likewise.
13630 (cacosh_test): Likewise.
13631 (casin_test): Likewise.
13632 (casinh_test): Likewise.
13633 (catan_test): Likewise.
13634 (catanh_test): Likewise.
13635 (cbrt_test): Likewise.
13636 (ccos_test): Likewise.
13637 (ccosh_test): Likewise.
13638 (cexp_test): Likewise.
13639 (clog_test): Likewise.
13640 (clog10_test): Likewise.
13641 (cos_test): Likewise.
13642 (cos_test_tonearest): Likewise.
13643 (cos_test_towardzero): Likewise.
13644 (cos_test_downward): Likewise.
13645 (cos_test_upward): Likewise.
13646 (cosh_test): Likewise.
13647 (cosh_test_tonearest): Likewise.
13648 (cosh_test_towardzero): Likewise.
13649 (cosh_test_downward): Likewise.
13650 (cosh_test_upward): Likewise.
13651 (cpow_test): Likewise.
13652 (csin_test): Likewise.
13653 (csinh_test): Likewise.
13654 (csqrt_test): Likewise.
13655 (ctan_test): Likewise.
13656 (ctan_test_tonearest): Likewise.
13657 (ctan_test_towardzero): Likewise.
13658 (ctan_test_downward): Likewise.
13659 (ctan_test_upward): Likewise.
13660 (ctanh_test): Likewise.
13661 (ctanh_test_tonearest): Likewise.
13662 (ctanh_test_towardzero): Likewise.
13663 (ctanh_test_downward): Likewise.
13664 (ctanh_test_upward): Likewise.
13665 (erf_test): Likewise.
13666 (erfc_test): Likewise.
13667 (exp_test): Likewise.
13668 (exp_test_tonearest): Likewise.
13669 (exp_test_towardzero): Likewise.
13670 (exp_test_downward): Likewise.
13671 (exp_test_upward): Likewise.
13672 (exp10_test): Likewise.
13673 (exp2_test): Likewise.
13674 (expm1_test): Likewise.
13675 (fmod_test): Likewise.
13676 (gamma_test): Likewise.
13677 (hypot_test): Likewise.
13678 (j0_test): Likewise.
13679 (j1_test): Likewise.
13680 (jn_test): Likewise.
13681 (lgamma_test): Likewise.
13682 (log_test): Likewise.
13683 (log10_test): Likewise.
13684 (log1p_test): Likewise.
13685 (log2_test): Likewise.
13686 (logb_test_downward): Likewise.
13687 (pow_test): Likewise.
13688 (pow_test_tonearest): Likewise.
13689 (pow_test_towardzero): Likewise.
13690 (pow_test_downward): Likewise.
13691 (pow_test_upward): Likewise.
13692 (remainder_test): Likewise.
13693 (remquo_test): Likewise.
13694 (sin_test): Likewise.
13695 (sin_test_tonearest): Likewise.
13696 (sin_test_towardzero): Likewise.
13697 (sin_test_downward): Likewise.
13698 (sin_test_upward): Likewise.
13699 (sincos_test): Likewise.
13700 (sinh_test): Likewise.
13701 (sinh_test_tonearest): Likewise.
13702 (sinh_test_towardzero): Likewise.
13703 (sinh_test_downward): Likewise.
13704 (sinh_test_upward): Likewise.
13705 (sqrt_test): Likewise.
13706 (tan_test): Likewise.
13707 (tan_test_tonearest): Likewise.
13708 (tan_test_towardzero): Likewise.
13709 (tan_test_downward): Likewise.
13710 (tan_test_upward): Likewise.
13711 (tanh_test): Likewise.
13712 (tgamma_test): Likewise.
13713 (y0_test): Likewise.
13714 (y1_test): Likewise.
13715 (yn_test): Likewise.
13716
323e5cb7
JM
13717 * math/gen-libm-test.pl (adjust_arg): Remove function.
13718 (special_function): Remove argument $in_func. Only handle
13719 generating output for tables of tests, not inside functions.
13720 (parse_args): Likewise.
13721 (generate_testfile): Remove variable $in_func. Update call to
13722 parse_args.
13723 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13724 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13725 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13726 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13727 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13728 (MAX_VALUE_INIT): Rename macro to max_value.
13729 (MIN_VALUE_INIT): Rename macro to min_value.
13730 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13731 (plus_zero): Remove variable.
13732 (minus_zero): Likewise.
13733 (plus_infty): Likewise.
13734 (minus_infty): Likewise.
13735 (qnan_value): Likewise.
13736 (max_value): Likewise.
13737 (min_value): Likewise.
13738 (min_subnorm_value): Likewise.
13739
e054f494
RA
137402013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13741
13742 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13743 uint64_t or uint32_t usage.
13744 * crypt/sha256-block.c: Likewise.
13745 * crypt/sha256-crypt.c: Likewise.
13746 * crypt/sha256.c: Likewise.
13747 * crypt/sha512-block.c: Likewise.
13748 * crypt/sha512-crypt.c: Likewise.
13749 * crypt/sha512.c: Likewise.
13750 * debug/backtrace-tst.c: Likewise.
13751 * debug/pcprofiledump.c: Likewise.
13752 * elf/cache.c: Likewise.
13753 * elf/dl-cache.c: Likewise.
13754 * elf/dl-misc.c: Likewise.
13755 * elf/dl-profile.c: Likewise.
13756 * elf/dl-support.c: Likewise.
13757 * elf/ldconfig.c: Likewise.
13758 * elf/sprof.c: Likewise.
13759 * iconv/dummy-repertoire.c: Likewise.
13760 * iconv/iconv_charmap.c: Likewise.
13761 * iconv/skeleton.c: Likewise.
13762 * iconvdata/8bit-generic.c: Likewise.
13763 * iconvdata/cp737.h: Likewise.
13764 * iconvdata/cp775.h: Likewise.
13765 * iconvdata/ibm1008.h: Likewise.
13766 * iconvdata/ibm1025.h: Likewise.
13767 * iconvdata/ibm1046.h: Likewise.
13768 * iconvdata/ibm1097.h: Likewise.
13769 * iconvdata/ibm1112.h: Likewise.
13770 * iconvdata/ibm1122.h: Likewise.
13771 * iconvdata/ibm1123.h: Likewise.
13772 * iconvdata/ibm1124.h: Likewise.
13773 * iconvdata/ibm1129.h: Likewise.
13774 * iconvdata/ibm1130.h: Likewise.
13775 * iconvdata/ibm1132.h: Likewise.
13776 * iconvdata/ibm1133.h: Likewise.
13777 * iconvdata/ibm1137.h: Likewise.
13778 * iconvdata/ibm1140.h: Likewise.
13779 * iconvdata/ibm1141.h: Likewise.
13780 * iconvdata/ibm1142.h: Likewise.
13781 * iconvdata/ibm1143.h: Likewise.
13782 * iconvdata/ibm1144.h: Likewise.
13783 * iconvdata/ibm1145.h: Likewise.
13784 * iconvdata/ibm1146.h: Likewise.
13785 * iconvdata/ibm1147.h: Likewise.
13786 * iconvdata/ibm1148.h: Likewise.
13787 * iconvdata/ibm1149.h: Likewise.
13788 * iconvdata/ibm1153.h: Likewise.
13789 * iconvdata/ibm1154.h: Likewise.
13790 * iconvdata/ibm1155.h: Likewise.
13791 * iconvdata/ibm1156.h: Likewise.
13792 * iconvdata/ibm1157.h: Likewise.
13793 * iconvdata/ibm1158.h: Likewise.
13794 * iconvdata/ibm1160.h: Likewise.
13795 * iconvdata/ibm1161.h: Likewise.
13796 * iconvdata/ibm1162.h: Likewise.
13797 * iconvdata/ibm1163.h: Likewise.
13798 * iconvdata/ibm1164.h: Likewise.
13799 * iconvdata/ibm1166.h: Likewise.
13800 * iconvdata/ibm1167.h: Likewise.
13801 * iconvdata/ibm12712.h: Likewise.
13802 * iconvdata/ibm1390.h: Likewise.
13803 * iconvdata/ibm1399.h: Likewise.
13804 * iconvdata/ibm16804.h: Likewise.
13805 * iconvdata/ibm4517.h: Likewise.
13806 * iconvdata/ibm4899.h: Likewise.
13807 * iconvdata/ibm4909.h: Likewise.
13808 * iconvdata/ibm4971.h: Likewise.
13809 * iconvdata/ibm5347.h: Likewise.
13810 * iconvdata/ibm803.h: Likewise.
13811 * iconvdata/ibm856.h: Likewise.
13812 * iconvdata/ibm901.h: Likewise.
13813 * iconvdata/ibm902.h: Likewise.
13814 * iconvdata/ibm9030.h: Likewise.
13815 * iconvdata/ibm9066.h: Likewise.
13816 * iconvdata/ibm921.h: Likewise.
13817 * iconvdata/ibm922.h: Likewise.
13818 * iconvdata/ibm9448.h: Likewise.
13819 * iconvdata/isiri-3342.h: Likewise.
13820 * iconvdata/jis0201.h: Likewise.
13821 * include/link.h: Likewise.
13822 * include/netdb.h: Likewise.
13823 * inet/check_native.c: Likewise.
13824 * inet/check_pf.c: Likewise.
13825 * inet/getipv4sourcefilter.c: Likewise.
13826 * inet/getnameinfo.c: Likewise.
13827 * inet/getsourcefilter.c: Likewise.
13828 * inet/htonl.c: Likewise.
13829 * inet/setipv4sourcefilter.c: Likewise.
13830 * inet/setsourcefilter.c: Likewise.
13831 * inet/test-inet6_opt.c: Likewise.
13832 * inet/tst-network.c: Likewise.
13833 * locale/C-collate.c: Likewise.
13834 * locale/C-ctype.c: Likewise.
13835 * locale/C-time.c: Likewise.
13836 * locale/C-translit.h: Likewise.
13837 * locale/loadarchive.c: Likewise.
13838 * locale/programs/3level.h: Likewise.
13839 * locale/programs/charmap.c: Likewise.
13840 * locale/programs/charmap.h: Likewise.
13841 * locale/programs/ld-address.c: Likewise.
13842 * locale/programs/ld-collate.c: Likewise.
13843 * locale/programs/ld-ctype.c: Likewise.
13844 * locale/programs/ld-identification.c: Likewise.
13845 * locale/programs/ld-measurement.c: Likewise.
13846 * locale/programs/ld-messages.c: Likewise.
13847 * locale/programs/ld-monetary.c: Likewise.
13848 * locale/programs/ld-name.c: Likewise.
13849 * locale/programs/ld-numeric.c: Likewise.
13850 * locale/programs/ld-paper.c: Likewise.
13851 * locale/programs/ld-telephone.c: Likewise.
13852 * locale/programs/ld-time.c: Likewise.
13853 * locale/programs/linereader.c: Likewise.
13854 * locale/programs/locale.c: Likewise.
13855 * locale/programs/locarchive.c: Likewise.
13856 * locale/programs/locfile.h: Likewise.
13857 * locale/programs/repertoire.c: Likewise.
13858 * locale/programs/simple-hash.c: Likewise.
13859 * locale/programs/simple-hash.h: Likewise.
13860 * malloc/memusage.c: Likewise.
13861 * malloc/memusagestat.c: Likewise.
13862 * nis/nis_defaults.c: Likewise.
13863 * nis/nis_hash.c: Likewise.
13864 * nis/nis_print.c: Likewise.
13865 * nis/nis_xdr.c: Likewise.
13866 * nscd/connections.c: Likewise.
13867 * nscd/hstcache.c: Likewise.
13868 * nscd/nscd_gethst_r.c: Likewise.
13869 * nscd/nscd_getserv_r.c: Likewise.
13870 * nscd/nscd_helper.c: Likewise.
13871 * nscd/servicescache.c: Likewise.
13872 * nss/makedb.c: Likewise.
13873 * nss/nss_db/db-XXX.c: Likewise.
13874 * nss/nss_db/db-initgroups.c: Likewise.
13875 * nss/nss_db/db-netgrp.c: Likewise.
13876 * nss/nss_files/files-network.c: Likewise.
13877 * nss/nss_files/files-parse.c: Likewise.
13878 * posix/bug-regex5.c: Likewise.
13879 * posix/fnmatch_loop.c: Likewise.
13880 * posix/regcomp.c: Likewise.
13881 * posix/regexec.c: Likewise.
13882 * posix/tst-rfc3484-2.c: Likewise.
13883 * posix/tst-rfc3484-3.c: Likewise.
13884 * posix/tst-rfc3484.c: Likewise.
13885 * resolv/nss_dns/dns-canon.c: Likewise.
13886 * resolv/nss_dns/dns-network.c: Likewise.
13887 * resolv/res_init.c: Likewise.
13888 * resolv/res_mkquery.c: Likewise.
13889 * resolv/tst-aton.c: Likewise.
13890 * stdlib/cxa_atexit.c: Likewise.
13891 * stdlib/cxa_finalize.c: Likewise.
13892 * stdlib/gen-fpioconst.c: Likewise.
13893 * stdlib/strtol_l.c: Likewise.
13894 * string/tst-endian.c: Likewise.
13895 * sunrpc/auth_des.c: Likewise.
13896 * sunrpc/clnt_udp.c: Likewise.
13897 * sunrpc/rtime.c: Likewise.
13898 * sunrpc/svcauth_des.c: Likewise.
13899 * sunrpc/xdr.c: Likewise.
13900 * sunrpc/xdr_intXX_t.c: Likewise.
13901 * sunrpc/xdr_rec.c: Likewise.
13902 * sysdeps/generic/ldconfig.h: Likewise.
13903 * sysdeps/generic/ldsodefs.h: Likewise.
13904 * sysdeps/generic/memusage.h: Likewise.
13905 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13906 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13907 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13908 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13909 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13910 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13911 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13912 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13913 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13914 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13915 * sysdeps/posix/getaddrinfo.c: Likewise.
13916 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13917 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13918 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13919 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13920 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13921 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13922 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13923 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13924 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13925 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13926 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13927 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13928 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13929 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13930 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13931 * sysdeps/x86_64/dl-tls.h: Likewise.
13932 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13933 * time/alt_digit.c: Likewise.
13934 * time/era.c: Likewise.
13935 * wcsmbs/tst-c16c32-1.c: Likewise.
13936
8c75f674
JM
139372013-05-16 Joseph Myers <joseph@codesourcery.com>
13938
13939 * math/libm-test.inc (struct test_sincos_data): New type.
13940 (RUN_TEST_LOOP_sincos): New macro.
13941 (sincos_test_data): New variable.
13942 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13943
e6e49e59
RH
139442013-05-16 Richard Henderson <rth@redhat.com>
13945
13946 * math/atest-exp2.c (LIMB64): New macro.
13947 (CONSTSZ): New macro.
13948 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13949 (hexdig): Move ...
13950 (print_mpn_fp): ... to function scope.
13951 (read_mpn_hex): Remove.
13952 (get_log2): Remove.
13953 (exp2_mpn): Use mp_log2.
13954 (main): Use mp_exp1.
13955
15c7c18d
JM
139562013-05-16 Joseph Myers <joseph@codesourcery.com>
13957
105a07df
JM
13958 * math/libm-test.inc: Remove comment about not testing "inexact"
13959 exceptions.
13960 (INEXACT_EXCEPTION): New macro.
13961 (NO_INEXACT_EXCEPTION): Likewise.
13962 (INVALID_EXCEPTION_OK): Update value.
13963 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
13964 (OVERFLOW_EXCEPTION_OK): Likewise.
13965 (UNDERFLOW_EXCEPTION_OK): Likewise.
13966 (IGNORE_ZERO_INF_SIGN): Likewise.
13967 (ERRNO_UNCHANGED): Likewise.
13968 (ERRNO_EDOM): Likewise.
13969 (ERRNO_ERANGE): Likewise.
13970 (test_exceptions): Handle testing "inexact" exceptions.
13971 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
13972 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
13973 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
13974 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
13975 INEXACT_EXCEPTION.
13976 (rint_towardzero_test_data): Likewise.
13977 (rint_downward_test_data): Likewise.
13978 (rint_upward_test_data): Likewise.
13979
e9eee333
JM
13980 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
13981 with OVERFLOW_EXCEPTION.
13982 (exp10_test_data): Likewise.
13983 (exp2_test_data): Likewise.
13984 (expm1_test_data): Likewise.
13985 (lgamma_test_data): Likewise.
13986 (pow_test_data): Likewise.
13987 (tgamma_test_data): Likewise.
13988 (yn_test_data): Remove duplicate test of overflow.
13989
1c38ff73
JM
13990 * math/libm-test.inc (struct test_cc_c_data): New type.
13991 (RUN_TEST_LOOP_cc_c): New macro.
13992 (cpow_test_data): New variable.
13993 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
13994
15c7c18d
JM
13995 * math/libm-test.inc (struct test_f_L_data): New type.
13996 (RUN_TEST_LOOP_f_L): New macro.
13997 (llrint_test_data): New variable.
13998 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
13999 (llrint_tonearest_test_data): New variable.
14000 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14001 (llrint_towardzero_test_data): New variable.
14002 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14003 (llrint_downward_test_data): New variable.
14004 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14005 (llrint_upward_test_data): New variable.
14006 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14007 (llround_test_data): New variable.
14008 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14009
f137ff13
PC
140102013-05-13 Peter Collingbourne <pcc@google.com>
14011
14012 * math/atest-exp2.c (get_log2): Remove const attribute.
14013
3608cb24
JM
140142013-05-15 Joseph Myers <joseph@codesourcery.com>
14015
14016 * math/libm-test.inc (struct test_f_l_data): New type.
14017 (RUN_TEST_LOOP_f_l): New macro.
14018 (lrint_test_data): New variable.
14019 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14020 (lrint_tonearest_test_data): New variable.
14021 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14022 (lrint_towardzero_test_data): New variable.
14023 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14024 (lrint_downward_test_data): New variable.
14025 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14026 (lrint_upward_test_data): New variable.
14027 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14028 (lround_test_data): New variable.
14029 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14030
39b1f617
PC
140312013-05-15 Peter Collingbourne <pcc@google.com>
14032
1deff3dc
PC
14033 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14034 (EXTRACT_WORDS64) Use where appropriate.
14035 (INSERT_WORDS64) Likewise.
14036
791f3ba0
PC
14037 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14038 constraints with x constraints.
14039 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14040
39b1f617
PC
14041 * malloc/obstack.c (_obstack_compat): Add initializer.
14042
12fba011
EM
140432013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14044
14045 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14046 si_trapno and add si_addr_lsb to _sifields.sigfault.
14047 (si_trapno): Remove macro.
14048 (si_addr_lsb): Define new macro.
14049 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14050
d369f531
JM
140512013-05-15 Joseph Myers <joseph@codesourcery.com>
14052
b861c6c4
JM
14053 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14054 instead of TEST_f_l.
14055 (llrint_test_tonearest): Likewise.
14056 (llrint_test_towardzero): Likewise.
14057 (llrint_test_downward): Likewise.
14058 (llrint_test_upward): Likewise.
14059 (llround_test): Likewise.
14060
7abeee12
JM
14061 * math/libm-test.inc (struct test_f_i_data): Add comment.
14062 (RUN_TEST_LOOP_f_b): New macro.
14063 (RUN_TEST_LOOP_f_b_tg): Likewise.
14064 (finite_test_data): New variable.
14065 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14066 (isfinite_test_data): New variable.
14067 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14068 (isinf_test_data): New variable.
14069 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14070 (isnan_test_data): New variable.
14071 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14072 (isnormal_test_data): New variable.
14073 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14074 (issignaling_test_data): New variable.
14075 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14076 (signbit_test_data): New variable.
14077 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14078
cbe8c4d3
JM
14079 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14080 with INVALID_EXCEPTION.
14081 (acosh_test_data): Likewise.
14082 (asin_test_data): Likewise.
14083 (atanh_test_data): Likewise.
14084 (fmod_test_data): Likewise.
14085 (log_test_data): Likewise.
14086 (log10_test_data): Likewise.
14087 (log2_test_data): Likewise.
14088 (pow_test_data): Likewise.
14089 (sqrt_test_data): Likewise.
14090 (y0_test_data): Likewise.
14091 (y1_test_data): Likewise.
14092 (yn_test_data): Likewise.
14093
5575c0e5
JM
14094 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14095 function contents.
14096
d369f531
JM
14097 * math/libm-test.inc (struct test_ff_i_data): New type.
14098 (RUN_TEST_LOOP_ff_i_tg): New macro.
14099 (isgreater_test_data): New variable.
14100 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14101 (isgreaterequal_test_data): New variable.
14102 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14103 (isless_test_data): New variable.
14104 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14105 (islessequal_test_data): New variable.
14106 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14107 (islessgreater_test_data): New variable.
14108 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14109 (isunordered_test_data): New variable.
14110 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14111
781fd748
DM
141122013-05-14 David S. Miller <davem@davemloft.net>
14113
14114 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14115
87aa21df
JM
141162013-05-14 Joseph Myers <joseph@codesourcery.com>
14117
5e908270
JM
14118 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14119
f71172e5
JM
14120 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14121 extra_test to int.
14122 (struct test_f_i_data): Change type of max_ulp to int.
14123
8cfa635a
JM
14124 * math/libm-test.inc (test_ffI_f1_data): New type.
14125 (RUN_TEST_LOOP_ffI_f1): New macro.
14126 (remquo_test_data): New variable.
14127 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14128
2bcb36b2
JM
14129 * setjmp/tst-setjmp-fp.c: New file.
14130 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14131 (link-libm): New variable.
14132 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14133
acbd839a
JM
14134 * math/libm-test.inc (struct test_f_i_data): New type.
14135 (RUN_TEST_LOOP_f_i): New macro.
14136 (RUN_TEST_LOOP_f_i_tg): Likewise.
14137 (fpclassify_test_data): New variable.
14138 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14139 (ilogb_test_data): New variable.
14140 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14141
e414d745
JM
14142 * math/libm-test.inc (scalbln_test): Correct function name in END
14143 call.
14144
d9c2a0fd
JM
14145 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14146 (RUN_TEST_LOOP_fI_f1): New macro.
14147 (frexp_test_data): New variable.
14148 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14149
9dc9095d
JM
14150 * math/libm-test.inc (struct test_fF_f1_data): New type.
14151 (RUN_TEST_LOOP_fF_f1): New macro.
14152 (modf_test_data): New variable.
14153 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14154
87aa21df
JM
14155 * math/libm-test.inc (struct test_f_f1_data): New type.
14156 (RUN_TEST_LOOP_f_f1): New macro.
14157 (gamma_test_data): New variable.
14158 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14159 (lgamma_test_data): New variable.
14160 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14161
141af660
CD
141622013-05-13 Carlos O'Donell <carlos@redhat.com>
14163
14164 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14165 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14166 (main): Comment "tls" pseudo-hwcap.
14167
6d33265c
JM
141682013-05-13 Joseph Myers <joseph@codesourcery.com>
14169
68fc074c
JM
14170 * math/libm-test.inc (struct test_fl_f_data): New type.
14171 (RUN_TEST_LOOP_fl_f): New variable.
14172 (scalbln_test_data): New variable.
14173 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14174
243216e1
JM
14175 * math/libm-test.inc (struct test_fi_f_data): New type.
14176 (RUN_TEST_LOOP_fi_f): New macro.
14177 (ldexp_test_data): New variable.
14178 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14179 (scalbn_test_data): New variable.
14180 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14181
6a1992e2
JM
14182 * math/libm-test.inc (struct test_c_f_data): New type.
14183 (RUN_TEST_LOOP_c_f): New macro.
14184 (cabs_test_data): New variable.
14185 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14186 (carg_test_data): New variable.
14187 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14188 (cimag_test_data): New variable.
14189 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14190 (creal_test_data): New variable.
14191 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14192
0e400df5
JM
14193 * math/libm-test.inc (struct test_if_f_data): New type.
14194 (RUN_TEST_LOOP_if_f): New macro.
14195 (jn_test_data): New variable.
14196 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14197 (yn_test_data): New variable.
14198 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14199
6d33265c
JM
14200 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14201
f98ece5f
AZ
142022013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14203
14204 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14205 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14206
0f7d347b
SP
142072013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14208
43fe811b
SP
14209 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14210 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14211 (bench-deps): Add bench-timing.h.
14212 * benchtests-bench-skeleton.c: Include bench-timing.h.
14213 (main): Use TIMING_* macros instead of clock_gettime.
14214 * benchtests/bench-timing.h: New file.
14215
0f7d347b
SP
14216 [BZ #14582]
14217 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14218 Renamed from _LIB_VERSION.
14219 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14220
601a3a5f
JM
142212013-05-12 Joseph Myers <joseph@codesourcery.com>
14222
4f184d30
JM
14223 * math/libm-test.inc (struct test_fff_f_data): New type.
14224 (RUN_TEST_LOOP_fff_f): New macro.
14225 (fma_test_data): New variable.
14226 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14227 (fma_towardzero_test_data): New variable.
14228 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14229 (fma_downward_test_data): New variable.
14230 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14231 (fma_upward_test_data): New variable.
14232 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14233
08198877
JM
14234 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14235 (struct test_c_c_data): New type.
14236 (RUN_TEST_LOOP_c_c): New macro.
14237 (cacos_test_data): New variable.
14238 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14239 (cacosh_test_data): New variable.
14240 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14241 (casin_test_data): New variable.
14242 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14243 (casinh_test_data): New variable.
14244 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14245 (catan_test_data): New variable.
14246 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14247 (catanh_test_data): New variable.
14248 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14249 (ccos_test_data): New variable.
14250 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14251 (ccosh_test_data): New variable.
14252 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14253 (cexp_test_data): New variable.
14254 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14255 (clog_test_data): New variable.
14256 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14257 (clog10_test_data): New variable.
14258 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14259 (conj_test_data): New variable.
14260 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14261 (cproj_test_data): New variable.
14262 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14263 (csin_test_data): New variable.
14264 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14265 (csinh_test_data): New variable.
14266 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14267 (csqrt_test_data): New variable.
14268 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14269 (ctan_test_data): New variable.
14270 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14271 (ctan_tonearest_test_data): New variable.
14272 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14273 (ctan_towardzero_test_data): New variable.
14274 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14275 (ctan_downward_test_data): New variable.
14276 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14277 (ctan_upward_test_data): New variable.
14278 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14279 (ctanh_test_data): New variable.
14280 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14281 (ctanh_tonearest_test_data): New variable.
14282 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14283 (ctanh_towardzero_test_data): New variable.
14284 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14285 (ctanh_downward_test_data): New variable.
14286 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14287 (ctanh_upward_test_data): New variable.
14288 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14289 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14290 of BUILD_COMPLEX.
14291
601a3a5f
JM
14292 * math/libm-test.inc (struct test_ff_f_data): New type.
14293 (struct test_ff_f_data_nexttoward): Likewise.
14294 (RUN_TEST_LOOP_2_f): New macro.
14295 (RUN_TEST_LOOP_ff_f): Likewise.
14296 (atan2_test_data): New variable.
14297 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14298 (copysign_test_data): New variable.
14299 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14300 (fdim_test_data): New variable.
14301 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14302 (fmax_test_data): New variable.
14303 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14304 (fmin_test_data): New variable.
14305 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14306 (fmod_test_data): New variable.
14307 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14308 (hypot_test_data): New variable.
14309 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14310 (nextafter_test_data): New variable.
14311 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14312 (nexttoward_test_data): New variable.
14313 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14314 (pow_test_data): New variable.
14315 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14316 (pow_tonearest_test_data): New variable.
14317 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14318 (pow_towardzero_test_data): New variable.
14319 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14320 (pow_downward_test_data): New variable.
14321 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14322 (pow_upward_test_data): New variable.
14323 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14324 (remainder_test_data): New variable.
14325 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14326 (scalb_test_data): New variable.
14327 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14328 * sysdeps/i386/fpu/libm-test-ulps: Update.
14329
74c57478
JM
143302013-05-11 Joseph Myers <joseph@codesourcery.com>
14331
8329e4da
JM
14332 * math/libm-test.inc (fma_test): Use max_value instead of local
14333 variable fltmax.
14334 (nextafter_test): Likewise.
14335
74c57478
JM
14336 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14337 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14338 (acos_downward_test_data): New variable.
14339 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14340 (acos_upward_test_data): New variable.
14341 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14342 (acosh_test_data): New variable.
14343 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14344 (asin_test_data): New variable.
14345 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14346 (asin_tonearest_test_data): New variable.
14347 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14348 (asin_towardzero_test_data): New variable.
14349 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14350 (asin_downward_test_data): New variable.
14351 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14352 (asin_upward_test_data): New variable.
14353 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14354 (asinh_test_data): New variable.
14355 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14356 (atan_test_data): New variable.
14357 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14358 (atanh_test_data): New variable.
14359 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14360 (cbrt_test_data): New variable.
14361 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14362 (ceil_test_data): New variable.
14363 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14364 (cos_test_data): New variable.
14365 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14366 (cos_tonearest_test_data): New variable.
14367 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14368 (cos_towardzero_test_data): New variable.
14369 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14370 (cos_downward_test_data): New variable.
14371 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14372 (cos_upward_test_data): New variable.
14373 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14374 (cosh_test_data): New variable.
14375 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14376 (cosh_tonearest_test_data): New variable.
14377 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14378 (cosh_towardzero_test_data): New variable.
14379 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14380 (cosh_downward_test_data): New variable.
14381 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14382 (cosh_upward_test_data): New variable.
14383 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14384 (erf_test_data): New variable.
14385 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14386 (erfc_test_data): New variable.
14387 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14388 (exp_test_data): New variable.
14389 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14390 (exp_tonearest_test_data): New variable.
14391 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14392 (exp_towardzero_test_data): New variable.
14393 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14394 (exp_downward_test_data): New variable.
14395 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14396 (exp_upward_test_data): New variable.
14397 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14398 (exp10_test_data): New variable.
14399 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14400 (exp2_test_data): New variable.
14401 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14402 (expm1_test_data): New variable.
14403 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14404 (fabs_test_data): New variable.
14405 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14406 (floor_test_data): New variable.
14407 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14408 (j0_test_data): New variable.
14409 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14410 (j1_test_data): New variable.
14411 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14412 (log_test_data): New variable.
14413 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14414 (log10_test_data): New variable.
14415 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14416 (log1p_test_data): New variable.
14417 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14418 (log2_test_data): New variable.
14419 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14420 (logb_test_data): New variable.
14421 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14422 (logb_downward_test_data): New variable.
14423 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14424 (nearbyint_test_data): New variable.
14425 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14426 (rint_test_data): New variable.
14427 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14428 (rint_tonearest_test_data): New variable.
14429 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14430 (rint_towardzero_test_data): New variable.
14431 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14432 (rint_downward_test_data): New variable.
14433 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14434 (rint_upward_test_data): New variable.
14435 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14436 (round_test_data): New variable.
14437 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14438 (sin_test_data): New variable.
14439 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14440 (sin_tonearest_test_data): New variable.
14441 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14442 (sin_towardzero_test_data): New variable.
14443 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14444 (sin_downward_test_data): New variable.
14445 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14446 (sin_upward_test_data): New variable.
14447 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14448 (sinh_test_data): New variable.
14449 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14450 (sinh_tonearest_test_data): New variable.
14451 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14452 (sinh_towardzero_test_data): New variable.
14453 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14454 (sinh_downward_test_data): New variable.
14455 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14456 (sinh_upward_test_data): New variable.
14457 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14458 (sqrt_test_data): New variable.
14459 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14460 (tan_test_data): New variable.
14461 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14462 (tan_tonearest_test_data): New variable.
14463 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14464 (tan_towardzero_test_data): New variable.
14465 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14466 (tan_downward_test_data): New variable.
14467 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14468 (tan_upward_test_data): New variable.
14469 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14470 (tanh_test_data): New variable.
14471 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14472 (tgamma_test_data): New variable.
14473 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14474 (trunc_test_data): New variable.
14475 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14476 (y0_test_data): New variable.
14477 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14478 (y1_test_data): New variable.
14479 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14480 (significand_test_data): New variable.
14481 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14482
7187d844
CG
144832013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14484
14485 [BZ #12387]
14486 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14487
f63fae73
PT
144882013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14489
14490 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14491
8a67a4b3
AJ
144922013-05-10 Andreas Jaeger <aj@suse.de>
14493
14494 [BZ #15448]
14495 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14496 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14497
51df539d
JM
144982013-05-10 Joseph Myers <joseph@codesourcery.com>
14499
14500 * math/gen-libm-test.pl (adjust_arg): New function.
14501 (special_functions): Handle generating output in both functions
14502 and arrays.
14503 (parse_args): Likewise.
14504 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14505 $in_func argument to parse_args.
14506 * math/libm-test.inc (struct test_f_f_data): New type.
14507 (IF_ROUND_INIT_): New macro.
14508 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14509 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14510 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14511 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14512 (ROUND_RESTORE_): Likewise.
14513 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14514 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14515 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14516 (ROUND_RESTORE_FE_UPWARD): Likewise.
14517 (RUN_TEST_LOOP_f_f): New macro.
14518 (acos_test_data): New variable.
14519 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14520 (acos_tonearest_test_data): New variable.
14521 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14522
5c637fe5
SP
145232013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14524
14525 * benchtests/bench-skeleton.c (startup): Fix coding style.
14526
ab2b9461
JM
145272013-05-10 Joseph Myers <joseph@codesourcery.com>
14528
14529 [BZ #6809]
14530 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14531 negative infinity argument.
14532 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14533 negative infinity argument.
14534 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14535 negative infinity argument.
14536 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14537 domain errors.
14538
4c0fe6fe
FW
145392013-05-10 Florian Weimer <fweimer@redhat.com>
14540
14541 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14542 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14543 * iconv/iconv_prog.c (main): Likewise.
14544 * locale/programs/charmap-dir.c (charmap_readdir)
14545 (fopen_uncompressed): Likewise.
14546 * locale/programs/locfile.c (siblings_uncached)
14547 (write_locale_data): Use lstat64 instead of lstat.
14548 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14549 stat.
14550
a3375d29
AJ
145512013-05-10 Andreas Jaeger <aj@suse.de>
14552
14553 [BZ #15395]
14554 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14555 localization.
14556 Include <locale.h>.
14557
36129722
CD
145582013-05-09 Carlos O'Donell <carlos@redhat.com>
14559
14560 * elf/dl-close.c (_dl_close_worker): Add comments.
14561
faa7f811
JM
145622013-05-09 Joseph Myers <joseph@codesourcery.com>
14563
ed41ffef
JM
14564 [BZ #15359]
14565 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14566 high part of pi/2.
14567 (__ieee754_rem_pio2l): Update comments.
14568
d0213cd0
JM
14569 [BZ #15429]
14570 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14571 high part of pi/2.
14572 (__ieee754_rem_pio2l): Update comments.
14573
0d3e777a
JM
14574 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14575 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14576
24f56066
JM
14577 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14578 M_PI_4l.
14579
faa7f811
JM
14580 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14581 (M_PI_34_LOG10El): Likewise.
14582 (M_PI2_LOG10El): Likewise.
14583 (M_PI4_LOG10El): Likewise.
14584 (M_PI_LOG10El): Likewise.
14585
e9a5e0fd
AZ
145862013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14587
14588 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14589
d8cd06db
JM
145902013-05-08 Joseph Myers <joseph@codesourcery.com>
14591
a0d9f9d7
JM
14592 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14593 (MINUS_ZERO_INIT): Likewise.
14594 (PLUS_INFTY_INIT): Likewise.
14595 (MINUS_INFTY_INIT): Likewise.
14596 (QNAN_VALUE_INIT): Likewise.
14597 (MAX_VALUE_INIT): Likewise.
14598 (MIN_VALUE_INIT): Likewise.
14599 (MIN_SUBNORM_VALUE_INIT): Likewise.
14600 (plus_zero): Initialize with PLUS_ZERO_INIT.
14601 (minus_zero): Initialize with MINUS_ZERO_INIT.
14602 (plus_infty): Initialize with PLUS_INFTY_INIT.
14603 (minus_infty): Initialize with MINUS_INFTY_INIT.
14604 (qnan_value): Initialize with QNAN_VALUE_INIT.
14605 (max_value): Initialize with MAX_VALUE_INIT.
14606 (min_value): Initialize with MIN_VALUE_INIT.
14607 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14608
ae08db3b
JM
14609 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14610 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14611 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14612 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14613
f44bf14a
JM
14614 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14615 (RUN_TEST_2_f): Likewise.
14616 (RUN_TEST_ff_f): Likewise.
14617 (RUN_TEST_fi_f): Likewise.
14618 (RUN_TEST_fl_f): Likewise.
14619 (RUN_TEST_fff_f): Likewise.
14620 (RUN_TEST_c_f): Likewise.
14621 (RUN_TEST_f_f1): Likewise.
14622 (RUN_TEST_fF_f1): Likewise.
14623 (RUN_TEST_fI_f1): Likewise.
14624 (RUN_TEST_ffI_f1): Likewise.
14625 (RUN_TEST_c_c): Likewise.
14626 (RUN_TEST_cc_c): Likewise.
14627 (RUN_TEST_f_i): Likewise.
14628 (RUN_TEST_f_i_tg): Likewise.
14629 (RUN_TEST_ff_i_tg): Likewise.
14630 (RUN_TEST_f_b): Likewise.
14631 (RUN_TEST_f_b_tg): Likewise.
14632 (RUN_TEST_f_l): Likewise.
14633 (RUN_TEST_f_L): Likewise.
14634 (RUN_TEST_sincos): Likewise.
14635 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14636 whether to show exceptions. Do not include ");\n" in return
14637 value.
14638 (special_functions): Output call to RUN_TEST_sincos instead of
14639 check_float calls. Update calls to new_test.
14640 (parse_args): Output call to single RUN_TEST_* macro instead of
14641 check_* calls and other assignments. Update calls to new_test.
14642
d8cd06db
JM
14643 [BZ #2546]
14644 [BZ #2560]
14645 [BZ #5159]
14646 [BZ #15426]
14647 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14648 input to result for tgamma overflow.
14649 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14650 (gamma_coeff): New variable.
14651 (NCOEFF): New macro.
14652 (gamma_positive): New function.
14653 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14654 underflow here. Use gamma_positive instead of exp (lgamma) for
14655 other arguments.
14656 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14657 (gamma_coeff): New variable.
14658 (NCOEFF): New macro.
14659 (gammaf_positive): New function.
14660 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14661 underflow here. Use gamma_positive instead of exp (lgamma) for
14662 other arguments.
14663 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14664 (gamma_coeff): New variable.
14665 (NCOEFF): New macro.
14666 (gammal_positive): New function.
14667 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14668 underflow here. Use gamma_positive instead of exp (lgamma) for
14669 other arguments.
14670 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14671 (gamma_coeff): New variable.
14672 (NCOEFF): New macro.
14673 (gammal_positive): New function.
14674 (__ieee754_gammal_r): Handle positive infinity, overflow and
14675 underflow here. Handle NaN the same as positive infinity. Remove
14676 check x < 0xffffffff for negative integers. Use gamma_positive
14677 instead of exp (lgamma) for other arguments.
14678 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14679 (gamma_coeff): New variable.
14680 (NCOEFF): New macro.
14681 (gammal_positive): New function.
14682 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14683 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14684 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14685 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14686 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14687 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14688 * sysdeps/generic/math_private.h (__gamma_productf): New
14689 prototype.
14690 (__gamma_product): Likewise.
14691 (__gamma_productl): Likewise.
14692 * math/Makefile (libm-calls): Add gamma_product.
14693 * math/libm-test.inc (tgamma_test): Add more tests.
14694 * sysdeps/i386/fpu/libm-test-ulps: Update.
14695 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14696
bb7cf681
OB
146972013-05-08 Ondřej Bílka <neleai@seznam.cz>
14698
14699 * benchtests/bench-skeleton.c (main): Preheat CPU.
14700
ba853947
AJ
147012013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14702
14703 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14704
8347c74c
RM
147052013-05-07 Roland McGrath <roland@hack.frob.com>
14706
14707 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14708 and _dl_skip_args_internal.
14709
e8dd4791
CD
147102013-05-07 Carlos O'Donell <carlos@redhat.com>
14711
14712 * manual/message.texi (Message Translation): Talk about users.
14713 Message to key mapping impacts design.
14714
c7405830
RM
147152013-05-06 Roland McGrath <roland@hack.frob.com>
14716
a9173057
RM
14717 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14718
976e2f03
RM
14719 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14720
9723ffc5
RM
14721 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14722 * sysdeps/wordsize-64/glob64.c: ... here.
14723
962e6658
RM
14724 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14725 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14726 New macros.
14727
ee586a6d
RM
14728 * debug/getlogin_r_chk.c: Moved to ...
14729 * login/getlogin_r_chk.c: ... here.
14730 * debug/Makefile (routines): Move getlogin_r_chk to ...
14731 * login/Makefile (routines): ... here.
14732 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14733 * login/Versions (libc: GLIBC_2.4): ... here.
14734
355f9165
RM
14735 * io/poll.c (__poll): Renamed from poll.
14736 Add libc_hidden_def.
14737 (poll): Define as weak alias.
14738
bd9ffde6
RM
14739 * debug/ptsname_r_chk.c: Moved to ...
14740 * login/ptsname_r_chk.c: ... here.
14741 * debug/Makefile (routines): Move ptsname_r_chk to ...
14742 * login/Makefile (routines): ... here.
14743 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14744 * login/Versions (libc: GLIBC_2.4): ... here.
14745
8fb16a04
RM
14746 * posix/getlogin.c: Moved to ...
14747 * login/getlogin.c: ... here.
14748 * posix/getlogin_r.c: Moved to ...
14749 * login/getlogin_r.c: ... here.
14750 * posix/getlogin_r.c: Moved to ...
14751 * login/getlogin_r.c: ... here.
14752 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14753 * login/Makefile (routines): ... here.
14754 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14755 * login/Versions (libc: GLIBC_2.0): ... here.
14756
b99b892f
RM
14757 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14758 (setrlimit): Define as weak alias.
14759
c7405830
RM
14760 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14761 Call __ names for open, ftruncate, and close.
14762 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14763 (truncate): Define as weak alias.
14764
5bf96de5
JM
147652013-05-06 Joseph Myers <joseph@codesourcery.com>
14766
9ea3513c
JM
14767 * math/gen-libm-test.pl (parse_args): Initialize x before each
14768 test of frexp, modf and remquo.
14769
5bf96de5
JM
14770 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14771 test signgam value.
14772
16e616a7
AZ
147732013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14774
14775 [BZ #15418]
14776 [BZ #15419]
14777 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14778 internal tests.
14779 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14780
d5e82754
RM
147812013-05-06 Roland McGrath <roland@hack.frob.com>
14782
14783 * elf/dl-writev.h: New file.
14784 * elf/dl-misc.c: Include it.
14785 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14786 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14787
a7548d41
JM
147882013-05-04 Joseph Myers <joseph@codesourcery.com>
14789
b7dab1e4
JM
14790 * math/libm-test.inc (noXFails): Remove variable.
14791 (noXPasses): Likewise.
14792 (BUILD_COMPLEX_INT): Remove macro.
14793 (print_screen): Remove xfail argument.
14794 (print_screen_max_error): Likewise.
14795 (update_stats): Likewise.
14796 (print_max_error): Likewise. Update calls to other affected
14797 functions.
14798 (print_complex_max_error): Likewise.
14799 (test_single_exception): Update calls to print_screen.
14800 (test_single_errno): Likewise.
14801 (check_float_internal): Remove xfail argument. Update calls to
14802 other affected functions.
14803 (check_float): Likewise.
14804 (check_complex): Likewise.
14805 (check_int): Likewise.
14806 (check_long): Likewise.
14807 (check_bool): Likewise.
14808 (check_longlong): Likewise.
14809 (main): Don't print noXFails and noXPasses.
14810 * math/gen-libm-test.pl (top level): Don't mention expected
14811 failure handling in comment.
14812 (new_test): Don't handle expected failures.
14813 (parse_args): Don't mention expected failure handling in comment.
14814 (generate_testfile): Don't handle expected failures.
14815 (parse_ulps): Likewise.
14816 (print_ulps_file): Likewise.
14817 (get_failure): Remove function.
14818 (output_test): Don't handle expected failures.
14819 * make/README.libm-test: Don't mention expected failure handling.
14820
a7548d41
JM
14821 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14822 (minus_zero): Likewise.
14823 (plus_infty): Likewise.
14824 (minus_infty): Likewise.
14825 (qnan_value): Likewise.
14826 (max_value): Likewise.
14827 (min_value): Likewise.
14828 (min_subnorm_value): Likewise.
14829 (initialize): Do not initialize those variables dynamically.
14830
60bfd54c
RM
148312013-05-03 Roland McGrath <roland@hack.frob.com>
14832
cc0e6ed8
RM
14833 * io/open.c (__open_2): Moved to ...
14834 * io/open_2.c: ... this new file.
14835 * io/open64.c (__open64_2): Moved to ...
14836 * io/open64_2.c: ... this new file.
14837 * io/openat.c (__openat_2): Moved to ...
14838 * io/openat_2.c: ... this new file.
14839 * io/openat64.c (__openat64_2): Moved to ...
14840 * io/openat64_2.c: ... this new file.
14841 * io/Makefile (routines): Add them.
14842 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14843 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14844 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14845 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14846 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14847 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14848 (__openat64): Add hidden_ver.
14849 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14850 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14851
60bfd54c
RM
14852 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14853 Separately conditionalize setting of GLRO(dl_sysinfo) so
14854 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14855 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14856
83e7640f
AZ
148572013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14858
14859 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14860 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14861 definition.
14862 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14863 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14864 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14865 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14866 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14867
d5dc2af3
JM
148682013-05-03 Joseph Myers <joseph@codesourcery.com>
14869
c31a5b1e
JM
14870 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14871 test signgam value.
14872
d5dc2af3
JM
14873 * math/libm-test.inc (hypot_test): Do not use
14874 IGNORE_ZERO_INF_SIGN.
14875
164fd39d
AJ
148762013-05-03 Andreas Jaeger <aj@suse.de>
14877
14878 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14879 Linux 3.9.
14880 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14881 (PF_MAX): Adjust for VSOCK change.
14882
8237f48c
AZ
148832013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14884
14885 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14886
9df02941
CD
148872013-05-02 Carlos O'Donell <carlos@redhat.com>
14888
14889 [BZ #15264]
14890 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14891 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14892 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14893
d422395e
DM
148942013-05-02 David S. Miller <davem@davemloft.net>
14895
14896 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14897
a07c5731
OB
148982013-05-01 Ondřej Bílka <neleai@seznam.cz>
14899
14900 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14901
1324e37f
RM
149022013-05-01 Roland McGrath <roland@hack.frob.com>
14903
14904 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14905
0695940b
RS
149062013-05-01 Richard Smith <richard@metafoo.co.uk>
14907
bb5f27ad 14908 [BZ #14952]
0695940b
RS
14909 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14910 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14911 Use __attribute__ ((__gnu_inline__)).
14912 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14913 Don't use __attribute__ ((__gnu_inline__)).
14914
10de07f5
JM
149152013-05-01 Joseph Myers <joseph@codesourcery.com>
14916
14917 [BZ #15423]
14918 * math/s_catan.c (__catan): Handle small real or imaginary part of
14919 input specially to avoid spurious underflow.
14920 * math/s_catanf.c (__catanf): Likewise.
14921 * math/s_catanh.c (__catanh): Likewise.
14922 * math/s_catanhf.c (__catanhf): Likewise.
14923 * math/s_catanhl.c (__catanhl): Likewise.
14924 * math/s_catanl.c (__catanl): Likewise.
14925 * math/libm-test.inc (catan_test): Add more tests.
14926 (catanh_test): Likewise.
14927 * sysdeps/i386/fpu/libm-test-ulps: Update.
14928 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14929
cb4d5414
AZ
149302013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14931
14932 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14933
caf84319
JM
149342013-04-30 Joseph Myers <joseph@codesourcery.com>
14935
14936 [BZ #15416]
14937 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14938 accurately for denominator in atan2.
14939 * math/s_catanf.c (__catanf): Likewise.
14940 * math/s_catanh.c (__catanh): Likewise.
14941 * math/s_catanhf.c (__catanhf): Likewise.
14942 * math/s_catanhl.c (__catanhl): Likewise.
14943 * math/s_catanl.c (__catanl): Likewise.
14944 * math/libm-test.inc (catan_test): Add more tests.
14945 (catanh_test): Likewise.
14946 * sysdeps/i386/fpu/libm-test-ulps: Update.
14947 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14948
d569c6ee
SP
149492013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14950
6dbe713d
SP
14951 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14952
f0ee064b
SP
14953 * benchtests/Makefile (bench): Remove slow benchmarks.
14954 * benchtests/atan-inputs: Add slow benchmark inputs.
14955 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14956 (BENCH_FUNC): Accept variant offset.
14957 (VARIANT): Define.
14958 * benchtests/bench-skeleton.c (main): Run benchmark for each
14959 variant.
14960 * benchtests/cos-inputs: Add slow benchmark inputs.
14961 * benchtests/exp-inputs: Likewise.
14962 * benchtests/pow-inputs: Likewise.
14963 * benchtests/sin-inputs: Likewise.
14964 * benchtests/slowatan-inputs: Remove.
14965 * benchtests/slowatan.c: Remove.
14966 * benchtests/slowcos-inputs: Remove.
14967 * benchtests/slowcos.c: Remove.
14968 * benchtests/slowexp-inputs: Remove.
14969 * benchtests/slowexp.c: Remove.
14970 * benchtests/slowpow-inputs: Remove.
14971 * benchtests/slowpow.c: Remove.
14972 * benchtests/slowsin-inputs: Remove.
14973 * benchtests/slowsin.c: Remove.
14974 * benchtests/slowtan-inputs: Remove.
14975 * benchtests/slowtan.c: Remove.
14976 * benchtests/tan-inputs: Add slow benchmark inputs.
14977 * scripts/bench.pl: Parse comments and directives.
14978
d569c6ee
SP
14979 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
14980 in CPPFLAGS.
14981 ($(objpfx)bench-%.c): Remove *-ITER.
14982 * benchtests/bench-modf.c: Remove definition of ITER.
14983 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
14984 (main): Loop for DURATION seconds instead of fixed number of
14985 iterations.
14986 * scripts/bench.pl: Don't expect iterations in parameters.
14987
a6a242fe
RM
149882013-04-29 Roland McGrath <roland@hack.frob.com>
14989
14990 * io/fchdir.c (__fchdir): Renamed from fchdir.
14991 (fchdir): Define as weak alias.
14992
f2da7793
JM
149932013-04-29 Joseph Myers <joseph@codesourcery.com>
14994
14995 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
14996 (ERRNO_EDOM): Likewise.
14997 (ERRNO_ERANGE): Likewise.
14998 (noErrnoTests): New variable.
14999 (init_max_error): Set errno to 0.
15000 (test_single_errno): New function.
15001 (test_errno): Likewise.
15002 (check_float_internal): Call test_errno. Set errno to 0.
15003 (check_complex): Refer to errno tests in comment.
15004 (check_int): Call test_errno. Set errno to 0.
15005 (check_long): Likewise.
15006 (check_bool): Likewise.
15007 (check_longlong): Likewise.
15008 (cos_test): Use ERRNO_* flags for errno tests instead of
15009 check_int.
15010 (expm1_test): Likewise.
15011 (fmod_test): Likewise.
15012 (ilogb_test): Likewise.
15013 (lgamma_test): Likewise.
15014 (pow_test): Likewise.
15015 (remainder_test): Likewise.
15016 (sin_test): Likewise.
15017 (tan_test): Likewise.
15018 (yn_test): Likewise.
15019 (initialize): Set errno to 0.
15020 (main): Print number of errno tests.
15021 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15022
b1a36ceb
AJ
150232013-04-29 Andreas Jaeger <aj@suse.de>
15024
c3ed8088
AJ
15025 [BZ #15084]
15026 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15027 and RES_USEVC.
15028
f1a24198
AJ
15029 [BZ #15085]
15030 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15031 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15032 unimplemented.
15033
9ce3b2cb
AJ
15034 [BZ #15380]
15035 * stdlib/random.c (__initstate): Return NULL if
15036 __initstate fails.
15037
f1a24198 15038 [BZ #15086]
b1a36ceb
AJ
15039 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15040 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15041 RES_SNGLKUPREOP.
15042
7e7b6f36
AZ
150432013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15044
15045 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15046
4d14f449
JM
150472013-04-29 Joseph Myers <joseph@codesourcery.com>
15048
15049 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15050 of individual tests.
15051 (casin_test): Likewise.
15052 (casinh_test): Likewise.
15053
5b4217d7
JM
150542013-04-27 Joseph Myers <joseph@codesourcery.com>
15055
15056 [BZ #15409]
15057 * math/s_catan.c (__catan): Handle arguments with large real or
15058 imaginary part separately without squaring.
15059 * math/s_catanf.c (__catanf): Likewise.
15060 * math/s_catanh.c (__catanh): Likewise.
15061 * math/s_catanhf.c (__catanhf): Likewise.
15062 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15063 and redefine.
15064 (__catanhl): Handle arguments with large real or imaginary part
15065 separately without squaring.
15066 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15067 and redefine.
15068 (__catanl): Handle arguments with large real or imaginary part
15069 separately without squaring.
15070 * math/libm-test.inc (catan_test): Add more tests.
15071 (catanh_test): Likewise.
15072 * sysdeps/i386/fpu/libm-test-ulps: Update.
15073 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15074
4220c3ef
AJ
150752013-04-27 Andreas Jaeger <aj@suse.de>
15076
15077 [BZ #15007]
15078 * stdlib/stdlib.h: Update guards for qecvt.
15079 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15080 <stdlib.h>.
15081
4721b2d1
AM
150822013-04-27 Allan McRae <allan@archlinux.org>
15083
15084 * sysdeps/i386/fpu/libm-test-ulps: Update.
15085
f0302940
JM
150862013-04-26 Joseph Myers <joseph@codesourcery.com>
15087
9457fd95
JM
15088 [BZ #15406]
15089 * math/s_catan.c: Include <float.h>.
15090 (__catan): Ensure underflow exception occurs for underflowed
15091 result.
15092 * math/s_catanf.c: Include <float.h>.
15093 (__catanf): Ensure underflow exception occurs for underflowed
15094 result.
15095 * math/s_catanh.c: Include <float.h>.
15096 (__catanh): Ensure underflow exception occurs for underflowed
15097 result.
15098 * math/s_catanhf.c: Include <float.h>.
15099 (__catanhf): Ensure underflow exception occurs for underflowed
15100 result.
15101 * math/s_catanhl.c: Include <float.h>.
15102 (__catanhl): Ensure underflow exception occurs for underflowed
15103 result.
15104 * math/s_catanl.c: Include <float.h>.
15105 (__catanl): Ensure underflow exception occurs for underflowed
15106 result.
15107 * math/libm-test.inc (catan_test): Add more tests.
15108 (catanh_test): Likewise.
15109
f0302940
JM
15110 [BZ #15405]
15111 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15112 underflowed result.
15113 * math/s_ccoshf.c (__ccoshf): Likewise.
15114 * math/s_ccoshl.c (__ccoshl): Likewise.
15115 * math/s_csin.c (__csin): Likewise.
15116 * math/s_csinf.c (__csinf): Likewise.
15117 * math/s_csinh.c (__csinh): Likewise.
15118 * math/s_csinhf.c (__csinhf): Likewise.
15119 * math/s_csinhl.c (__csinhl): Likewise.
15120 * math/s_csinl.c (__csinl): Likewise.
15121 * math/libm-test.inc (ccos_test): Add more tests.
15122 (ccosh_test): Likewise.
15123 (csin_test): Likewise.
15124 (csinh_test): Likewise.
15125
aa630f59
AZ
151262013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15127
15128 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15129 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15130 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15131 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15132 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15133 powerpc/power5+/fpu folders.
15134 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15135
15136
1b835983
MT
151372013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15138
15139 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15140
73709b26
JM
151412013-04-25 Joseph Myers <joseph@codesourcery.com>
15142
15143 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15144 additions to variable.
15145 [$(config-machine) = x86_64] (modules-names): Likewise.
15146 ($(objpfx)tst-audit3): Remove dependency.
15147 ($(objpfx)tst-audit3.out): Likewise.
15148 ($(objpfx)tst-audit4): Likewise.
15149 ($(objpfx)tst-audit4.out): Likewise.
15150 ($(objpfx)tst-audit5): Likewise.
15151 ($(objpfx)tst-audit5.out): Likewise.
15152 ($(objpfx)tst-audit6): Likewise.
15153 ($(objpfx)tst-audit6.out): Likewise.
15154 ($(objpfx)tst-audit7): Likewise.
15155 ($(objpfx)tst-audit7.out): Likewise.
15156 (tst-audit3-ENV): Remove variable.
15157 (tst-audit4-ENV): Likewise.
15158 (tst-audit5-ENV): Likewise.
15159 (tst-audit6-ENV): Likewise.
15160 (tst-audit7-ENV): Likewise.
15161 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15162 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15163 addition to variable.
15164 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15165 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15166 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15167 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15168 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15169 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15170 tst-audit3, tst-audit4 and tst-audit5.
15171 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15172 tst-audit6 and tst-audit7.
15173 [$(subdir) = elf] (modules-names): Add audit modules for those
15174 tests.
15175 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15176 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15177 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15178 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15179 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15180 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15181 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15182 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15183 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15184 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15185 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15186 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15187 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15188 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15189 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15190 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15191 Likewise.
15192 [$(subdir) = elf && $(config-cflags-avx) = yes]
15193 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15194 [$(subdir) = elf && $(config-cflags-avx) = yes]
15195 (CFLAGS-tst-auditmod4a.c): Likewise.
15196 [$(subdir) = elf && $(config-cflags-avx) = yes]
15197 (CFLAGS-tst-auditmod4b.c): Likewise.
15198 [$(subdir) = elf && $(config-cflags-avx) = yes]
15199 (CFLAGS-tst-auditmod6b.c): Likewise.
15200 [$(subdir) = elf && $(config-cflags-avx) = yes]
15201 (CFLAGS-tst-auditmod6c.c): Likewise.
15202 [$(subdir) = elf && $(config-cflags-avx) = yes]
15203 (CFLAGS-tst-auditmod7b.c): Likewise.
15204 * elf/tst-audit3.c: Move to ...
15205 * sysdeps/x86_64/tst-audit3.c: ... here.
15206 * elf/tst-audit4.c: Move to ...
15207 * sysdeps/x86_64/tst-audit4.c: ... here.
15208 * elf/tst-audit5.c: Move to ...
15209 * sysdeps/x86_64/tst-audit5.c: ... here.
15210 * elf/tst-audit6.c: Move to ...
15211 * sysdeps/x86_64/tst-audit6.c: ... here.
15212 * elf/tst-audit7.c: Move to ...
15213 * sysdeps/x86_64/tst-audit7.c: ... here.
15214 * elf/tst-auditmod3a.c: Move to ...
15215 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15216 * elf/tst-auditmod3b.c: Move to ...
15217 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15218 * elf/tst-auditmod4a.c: Move to ...
15219 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15220 * elf/tst-auditmod4b.c: Move to ...
15221 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15222 * elf/tst-auditmod5a.c: Move to ...
15223 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15224 * elf/tst-auditmod5b.c: Move to ...
15225 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15226 * elf/tst-auditmod6a.c: Move to ...
15227 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15228 * elf/tst-auditmod6b.c: Move to ...
15229 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15230 * elf/tst-auditmod6c.c: Move to ...
15231 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15232 * elf/tst-auditmod7a.c: Move to ...
15233 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15234 * elf/tst-auditmod7b.c: Move to ...
15235 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15236
1ef74943
PP
152372013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15238
15239 [BZ #15366]
15240 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15241 define unconditionally.
15242 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15243 define unconditionally.
15244 (INT8_C, INT16_C, etc.): Likewise.
15245
93fd48c5
MR
152462013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15247
ae9552cf
MR
15248 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15249 __ehdr_start with hidden visibility.
15250
93fd48c5
MR
15251 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15252
418601aa
CD
152532013-04-24 Carlos O'Donell <carlos@redhat.com>
15254
15255 * math/libm-test.inc (cos_test): Use accurate hex constants.
15256 (sincost_test): Likewise.
15257
2f38fbfe
JM
152582013-04-24 Joseph Myers <joseph@codesourcery.com>
15259
5e221800
JM
15260 * math/libm-test.inc (catan_test): Add more tests.
15261 (catanh_test): Likewise.
15262
77f143fd
JM
15263 * math/s_catanf.c (__catanf): Use suffixed floating-point
15264 constants.
15265 * math/s_catanhf.c (__catanhf): Likewise.
15266 * math/s_catanhl.c (__catanhl): Likewise.
15267 * math/s_catanl.c (__catanl): Likewise.
15268
2f38fbfe
JM
15269 [BZ #15394]
15270 * math/s_catan.c (__catan): Calculate imaginary part of result
15271 with log1p not log unless computing log of number close to 0.
15272 * math/s_catanf.c (__catanf): Likewise.
15273 * math/s_catanl.c (__catanl): Likewise.
15274 * math/s_catanh.c (__catanh): Calculate real part of result with
15275 log1p not log unless computing log of number close to 0.
15276 * math/s_catanhf.c (__catanhf): Likewise.
15277 * math/s_catanhl.c (__catanhl): Likewise.
15278 * math/libm-test.inc (catan_test): Add more tests.
15279 (catanh_test): Likewise.
15280 * sysdeps/i386/fpu/libm-test-ulps: Update.
15281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15282
45d69176
SP
152832013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15284
15285 * benchtests/Makefile: Mention files in which fast and slow
15286 paths of math functions are implemented.
15287
87f51853
RM
152882013-04-23 Roland McGrath <roland@hack.frob.com>
15289
15290 * sysdeps/posix/timespec_get.c: New file.
15291
3c026539
AZ
152922013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15293
15294 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15295 POWER.
15296 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15297 for POWER.
15298 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15299 powerpc/power5/fpu folders.
15300 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15301 * benchtests/Makefile: Add modf testcase.
15302 * benchtests/bench-modf.c: New file: Benchmark test for mo
15303
ff491d14
SP
153042013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15305
15306 [BZ #14888]
15307 * time/Makefile (tests): Add tst-strptime-whitespace.
15308 * time/strptime_l.c (get_number): Use ISSPACE.
15309 (__strptime_internal): Likewise.
15310 * time/tst-strptime-whitespace.c: New test case.
15311
7ed3f4e8
AS
153122013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15313
15314 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15315 member.
15316 (_nss_files_init): Set it here.
15317
5c95f7b6
HC
153182013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15319
15320 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15321 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15322 unsigned.
15323
d34c9158
JBG
153242013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15325
15326 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15327
2169712d
SP
153282013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15329
15330 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15331 size just once.
15332
29c5de99
DM
153332013-04-21 David S. Miller <davem@davemloft.net>
15334
15335 * po/ru.po: Update Russion translation from translation project.
15336
ccdad15d
AC
153372013-04-17 Adam Conrad <adconrad@0c3.net>
15338
15339 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15340 and setfsgid.
15341
0f122b8d
CD
153422013-04-17 Carlos O'Donell <carlos@redhat.com>
15343
5c5b07da 15344 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15345 * configure: Regenerate.
5c5b07da 15346 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15347 Add example to error message.
15348 * sysdeps/i386/configure: Regenerate.
15349
037714dd
SP
153502013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15351
15352 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15353 slowtan.
15354 * benchtests/cos-inputs: New file.
15355 * benchtests/slowcos-inputs: New file.
15356 * benchtests/slowcos.c: New file.
15357 * benchtests/slowtan-inputs: New file.
15358 * benchtests/slowtan.c: New file.
15359 * benchtests/tan-inputs: New file.
15360
e913141d
RM
153612013-04-16 Roland McGrath <roland@hack.frob.com>
15362
15363 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15364 considered kosher.
15365
a2964074
SP
153662013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15367
4856bcd2
SP
15368 * benchtests/Makefile: Include cppflags-iterator.mk to add
15369 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15370
a2964074
SP
15371 * Makefile.in (bench-clean): New target.
15372 * benchtests/Makefile (bench-clean): Likewise.
15373
9fbf9aca
DH
153742013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15375
15376 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15377
207d1e2a
TS
153782013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15379
15380 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15381
306dfba9
AS
153822013-04-15 Andreas Schwab <schwab@suse.de>
15383
15384 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15385 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15386 * nscd/pwdcache.c (cache_addpw): Likewise.
15387 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15388 more than recsize.
15389
206a6699
SP
153902013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15391
15392 * benchtests/Makefile (bench): Write all output to
15393 bench-out.tmp together.
15394
0582f6b3
AS
153952013-04-15 Andreas Schwab <schwab@suse.de>
15396
15397 * nscd/nscd.c (main): Don't fork again after closing files.
15398
acb4325f
SP
153992013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15400
5cb26d0a
SP
15401 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15402
acb4325f
SP
15403 * benchtests/Rules (bench-deps): Collect dependencies into a
15404 single variable. Add Makefile to dependencies.
15405 ($(objpfx)bench-%.c): Depend on bench-deps.
15406
47792506
RM
154072013-04-12 Roland McGrath <roland@hack.frob.com>
15408 Xavier Roche <roche+kml2@exalead.com>
15409
15410 [BZ #15361]
15411 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15412 just that it's a file descriptor.
15413 * manual/llio.texi (Synchronizing AIO Operations): Update description
15414 for EBADF error from aio_fsync.
15415
8fc1bee5
SP
154162013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15417
15418 * Rules (bench): Move target definition...
15419 * benchtests/Makefile: ... here.
15420
aba5e333
CD
154212013-04-11 Carlos O'Donell <carlos@redhat.com>
15422
15423 * math/libm-test.inc (cos_test): Fix PI/2 test.
15424 (sincos_test): Likewise.
15425 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15426 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15427
273cdee8
AS
154282013-04-11 Andreas Schwab <schwab@suse.de>
15429
6ecec3b6
AS
15430 [BZ #13988]
15431 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15432 accept exponent character only when digits were seen.
15433 * stdio-common/Makefile (tests): Add bug26.
15434 * stdio-common/bug26.c: New file.
15435
273cdee8
AS
15436 [BZ #14293]
15437 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15438 non-freeable.
15439
8da491f5
SP
154402013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15441
01dc6df9
SP
15442 * Makeconfig (rtld-prefix): Define built linker prefix.
15443 * Rules (run-bench): Use it.
15444 * math/Makefile (run-regen-ulps): Likewise.
15445
8da491f5
SP
15446 * Rules (bench): Remove eval.
15447
abe7f530
SP
154482013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15449 Roland McGrath <roland@hack.frob.com>
15450 Ondrej Bilka <neleai@seznam.cz>
15451
15452 [BZ #15346]
15453 * time/getdate.c: Include ctype.h and alloca.h.
15454 (__getdate_r): Trim leading and trailing spaces of input.
15455 * time/tst-getdate.c (tests): Add tests with leading and
15456 trailing spaces.
15457
61c23e62
RM
154582013-04-08 Roland McGrath <roland@hack.frob.com>
15459
15460 [BZ #14280]
15461 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15462 when computing value.
15463
7208a313
CD
154642013-04-06 Carlos O'Donell <carlos@redhat.com>
15465
085b2d41
CD
15466 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15467 Use testrun.sh to run libm tests.
15468
7208a313
CD
15469 [BZ #15309]
15470 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15471
872c0acd
MM
154722013-04-06 Marko Myllynen <myllynen@redhat.com>
15473
15474 [BZ #15264]
15475 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15476
26510bdd
CD
154772013-04-06 Carlos O'Donell <carlos@redhat.com>
15478
15479 * Makefile.in (regen-ulps): New target.
15480 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15481 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15482 [ifneq (no,$(PERL)] (regen-ulps): New target.
15483 [ifeq (no,$(PERL)] (regen-ulps): New target.
15484 * math/libm-test.inc (ulps_file_name): Define.
15485 (output_dir): New variable.
15486 (options): Add "output-dir" option.
15487 (parse_opt): Handle 'o' case.
15488 (main): If output_dir is non-NULL use it as a prefix
15489 otherwise use "".
15490 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15491
a01f19c8
CD
154922013-04-06 Carlos O'Donell <carlos@redhat.com>
15493
15494 [BZ #10060, #10062]
15495 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15496 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15497 fail configure if __sync_val_compare_and_swap is not inlined.
15498 * sysdeps/i386/configure: Regenerate.
15499 * configure.in: Build for i686 when configured for i386.
15500 * configure: Regenerate.
15501 * README: Remove i386 reference.
15502
b7a329a5
CD
155032013-04-06 Carlos O'Donell <carlos@redhat.com>
15504
15505 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15506 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15507
bf0f50df
TS
155082013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15509
ee091edf
TS
15510 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15511 (lmsnanval): New variables.
15512 (F): Add conversion tests.
15513 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15514 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15515
a8b792d6
TS
15516 * stdio-common/tstdiomisc.c (F): Properly collect individual
15517 tests' results.
15518
a1cbf437
TS
15519 [BZ #14686, #15336]
15520 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15521 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15522 Instead, use input NaN values or generate a qNaN by arithmetic
15523 operation. Also fix bugs to comply with the standard.
15524 * math/libm-test.inc (remainder_test): Add more tests.
15525
8b43a0c9
TS
15526 [BZ #15335, #15342]
15527 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15528 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15529 input NaN values or generate a qNaN by arithmetic operation.
15530
d91da4ce
TS
15531 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15532 unreachable code.
15533
bf0f50df
TS
15534 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15535 definitions.
15536
05e166c8
JM
155372013-04-03 Joseph Myers <joseph@codesourcery.com>
15538
15539 [BZ #14478]
15540 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15541 underflowed result.
15542 * math/s_cexpf.c (__cexpf): Likewise.
15543 * math/s_cexpl.c (__cexpl): Likewise.
15544 * math/libm-test.inc (cexp_test): Add more tests.
15545
1cef1b19
AS
155462013-04-03 Andreas Schwab <schwab@suse.de>
15547
15548 [BZ #15330]
15549 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15550 order arrays from heap if bigger than alloca cutoff.
15551
74d87055
TS
155522013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15553
15554 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15555 (SNAN_TESTS_double): Refer to GCC PR56831.
15556 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15557 GCC PR56828.
15558
d755bba4
SP
155592013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15560
90d5d5bb
SP
15561 * Rules (bench): Move bench.out after the run is complete.
15562
73e0cd5d
SP
15563 * Rules (bench): Echo currently running benchmark.
15564
64aabd4b
SP
15565 * benchtests/Makefile (bench): Add atan and slowatan.
15566 * benchtests/atan-inputs: New file.
15567 * benchtests/slowatan-inputs: New file.
15568 * benchtests/slowatan.c: New file.
15569
c871eccd
SP
15570 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15571 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15572 its value.
15573
d755bba4
SP
15574 [BZ #15305]
15575 * sysdeps/unix/sysv/linux/kernel-features.h
15576 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15577 __ASSUME_XFS_RESTRICTED_CHOWN.
15578 * sysdeps/unix/sysv/linux/pathconf.c
15579 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15580 Save and restore errno.
15581
52ce4860
JM
155822013-04-02 Joseph Myers <joseph@codesourcery.com>
15583
15584 [BZ #15327]
15585 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15586 arguments using __kernel_casinh.
15587 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15588 arguments using __kernel_casinhf.
15589 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15590 arguments using __kernel_casinhl.
15591 * math/libm-test.inc (cacosh_test): Add more tests.
15592 * sysdeps/i386/fpu/libm-test-ulps: Update.
15593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15594
81f311c2
SP
155952013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15596
e7906a47
SP
15597 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15598 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15599
92e3664b
SP
15600 * bench/Makefile (bench): Add sin and slowsin.
15601 * benchtests/sin-inputs: New file.
15602 * benchtests/slowsin-inputs: New file.
15603 * benchtests/slowsin.c: New file.
15604
81f311c2
SP
15605 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15606 (bench): Add slowexp and slowpow.
15607 (exp-ITER): Increase iterations.
15608 (pow-ITER): Likewise.
15609 * benchtests/exp-inputs: Change input.
15610 * benchtests/pow-inputs: Likewise.
15611 * benchtests/slowexp-inputs: New file.
15612 * benchtests/slowexp.c: New file.
15613 * benchtests/slowpow-inputs: New file.
15614 * benchtests/slowpow.c: New file.
15615
ab0f1aa9
AZ
156162013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15617
15618 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15619 instructions.
15620 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15621 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15622 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15623 * benchtests/Makefile: Add rint benchtest.
15624 * benchtests/rint-inputs: Input for rint benchtest.
15625
57267616
TS
156262013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15627
15628 * Versions.def (libm): Add GLIBC_2.18.
15629 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15630 hidden libm prototypes.
15631 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15632 * math/Makefile (libm-calls): Add s_issignaling.
15633 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15634 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15635 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15636 declaration.
15637 * math/math.h [__USE_GNU] (issignaling): New macro.
15638 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15639 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15640 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15641 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15642 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15643 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15644 * manual/arith.texi (issignaling): New section.
15645 * manual/libm-err-tab.pl (@all_functions): Update comment.
15646 * math/gen-libm-test.pl (parse_args): Apply special handling for
15647 issignaling.
15648 * math/libm-test.inc (print_float, issignaling_test): New
15649 functions.
15650 (check_float_internal): Add issignaling checks.
15651 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15652 default definition.
15653 * sysdeps/powerpc/math-tests.h: New file.
15654 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15655 tests.
15656 * math/test-snan.c (TEST_FUNC): Likewise.
15657
6142896d
DM
156582013-03-30 David S. Miller <davem@davemloft.net>
15659
15660 * po/de.po: Update from translation team.
15661
ccc8cadf
JM
156622013-03-30 Joseph Myers <joseph@codesourcery.com>
15663
15664 [BZ #10357]
15665 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15666 imaginary part less than 1.0 and real part less than 0.5
15667 specially.
15668 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15669 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15670 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15671 (cacos_test): Add more tests.
15672 (casin_test): Likewise.
15673 (casinh_test): Likewise.
15674 * sysdeps/i386/fpu/libm-test-ulps: Update.
15675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15676
0f6a8d4b
SP
156772013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15678
0d1029de
SP
15679 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15680 ONE with its value.
15681
c2d94018
SP
15682 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15683 (__pow_mp): Replace ONE and MONE with their values.
15684 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15685 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15686 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15687 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15688 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15689 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15690
27ec37f1
SP
15691 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15692
a64d7e0e
SP
15693 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15694 (__pow_mp): Replace ZERO and MZERO with their values.
15695 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15696 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15697 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15699 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15700 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15701 (__sqr): Likewise.
15702
d26dd3eb
SP
15703 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15704
0f6a8d4b
SP
15705 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15706
e57b0c61
RM
157072013-03-28 Roland McGrath <roland@hack.frob.com>
15708
15709 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15710 Declare with __attribute__ ((weak)).
15711 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15712 Call __call_tls_dtors only if it's not NULL.
15713
356b3480
RM
157142013-03-28 Roland McGrath <roland@hack.frob.com>
15715
288f7d79
RM
15716 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15717 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15718 magic __ehdr_start linker symbol if it's defined.
15719 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15720 them up here if it was already done.
15721
dc0a0263
RM
15722 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15723 (_dl_aux_init): Use const in cast when setting it.
15724 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15725 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15726 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15727
3d3436ae
RM
15728 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15729 Declare them here.
15730 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15731 * csu/libc-tls.c: Nor here.
15732 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15733
356b3480
RM
15734 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15735 (__libc_message): Never call vsyslog.
15736
b0f1246a
AM
157372013-03-28 Alan Modra <amodra@gmail.com>
15738
15739 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15740 Define as empty.
15741 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15742 Likewise.
15743
fbbe2b9a
AZ
157442013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15745
15746 [BZ #15214]
15747 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15748 underflow.
15749 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15750
1728ab37
SP
157512013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15752
7a86be6e
SP
15753 [BZ #15304]
15754 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15755 Don't add gid passed as argument.
15756
1728ab37
SP
15757 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15758
3a7182a1
JM
157592013-03-27 Joseph Myers <joseph@codesourcery.com>
15760
15761 [BZ #15307]
15762 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15763 imaginary part between 1.0 and 1.5 and real part less than 0.5
15764 specially.
15765 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15766 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15767 * math/libm-test.inc (cacos_test): Add more tests.
15768 (casin_test): Likewise.
15769 (casinh_test): Likewise.
15770 * sysdeps/i386/fpu/libm-test-ulps: Update.
15771 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15772
6f2e90e7
SP
157732013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15774
5739f705
SP
15775 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15776 constants.
15777 (norm): Likewise.
15778 (denorm): Likewise.
15779 (__dbl_mp): Likewise.
15780 (add_magnitudes): Likewise.
15781 (sub_magnitudes): Likewise.
15782 (__add): Likewise.
15783 (__sub): Likewise.
15784 (__mul): Likewise.
15785 (__sqr): Likewise.
15786 (__inv): Likewise.
15787 (__dvd): Likewise.
15788
e375e83d
SP
15789 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15790 commented code.
15791 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15792 (__dubcos): Likewise.
15793 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15794 (__ieee754_acos): Likewise.
15795 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15796 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15797 (__exp1): Likewise.
15798 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15799 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15800 (log1): Likewise.
15801 (my_log2): Likewise.
15802 (checkint): Likewise.
15803 * sysdeps/ieee754/dbl-64/e_remainder.c
15804 (__ieee754_remainder): Likewise.
15805 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15806 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15807 (bsloww): Likewise.
15808 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15809
6f2e90e7
SP
15810 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15811 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15812 MANTISSA_STORE_T to store computations on mantissa. Use
15813 macros for rounding and division.
15814 (denorm): Likewise.
15815 (__dbl_mp): Likewise.
15816 (add_magnitudes): Likewise.
15817 (sub_magnitudes): Likewise.
15818 (__mul): Likewise.
15819 (__sqr): Likewise.
15820 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15821 powers of two in terms of TWOPOW macro.
15822 (mp_no): Make type of mantissa as MANTISSA_T.
15823 [!RADIXI]: Define RADIXI.
15824 [!TWO52]: Define TWO52.
15825 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15826
fce14d4e
AZ
158272013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15828
15829 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15830 llroundl symbol when building for PPC32.
15831
9ad027fb
MW
158322013-03-24 Mark H Weaver <mhw@netris.org>
15833
15834 * manual/arith.texi (Normalization Functions): Fix prototypes for
15835 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15836
e42a38dd
AZ
158372013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15838
15839 [BZ #13889]
15840 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15841 high value to check if expl overflow.
15842 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15843 to check for underflow and overflow.
15844 * math/libm-test.inc: Add exp test.
15845
2e0fb521
DL
158462013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15847
15848 [BZ #11120]
15849 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15850 with NOT_IN_libc.
15851
b5784d95
AZ
158522013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15853
15854 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15855 symbol.
15856
5aa4a1a1
TS
158572013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15858
bdef0be7
TS
15859 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15860 wrap blocks consisting of several statements.
15861
5aa4a1a1
TS
15862 * sysdeps/generic/math-tests.h: New file.
15863 * sysdeps/i386/fpu/math-tests.h: Likewise.
15864 * math/test-snan.c: Include it.
15865 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15866
98c48fe5
JM
158672013-03-21 Joseph Myers <joseph@codesourcery.com>
15868
15869 [BZ #15285]
15870 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15871 (__ieee754_j0l): Do not improve calculations using cos of twice
15872 input for inputs above LDBL_MAX / 2.0L.
15873 (__ieee754_y0l): Likewise.
15874 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15875 (__ieee754_j1l): Do not improve calculations using cos of twice
15876 input for inputs above LDBL_MAX / 2.0L.
15877 (__ieee754_y1l): Likewise.
15878 * math/libm-test.inc (j0_test): Add another test.
15879 (j1_test): Likewise.
15880 (y0_test): Likewise.
15881 (y1_test): Likewise.
15882 * sysdeps/i386/fpu/libm-test-ulps: Update.
15883
3775a8bc
SP
158842013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15885
15886 * Rules ($(objpfx)bench-%.c): Include code from a C source
15887 file.
15888
0a1b2ae6
JM
158892013-03-21 Joseph Myers <joseph@codesourcery.com>
15890
15891 [BZ #15287]
15892 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15893 imaginary part 1.0 and real part less than 0.5 specially.
15894 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15895 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15896 * math/libm-test.inc (cacos_test): Add more tests.
15897 (casin_test): Likewise.
15898 (casinh_test): Likewise.
15899 * sysdeps/i386/fpu/libm-test-ulps: Update.
15900 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15901
b33d4ce4
SP
159022013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15903
15904 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15905 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15906
bef0b507
JM
159072013-03-20 Joseph Myers <joseph@codesourcery.com>
15908
15909 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15910 * config.make.in (config-cflags-sse4): Remove variable.
15911 (config-cflags-avx): Likewise.
15912 (config-cflags-sse2avx): Likewise.
15913 (config-cflags-novzeroupper): Likewise.
15914 (config-asflags-i686): Likewise.
15915 (have-mfma4): Likewise.
15916 (have-as-vis3): Likewise.
15917 (MIG): Likewise.
15918 * configure.in (MIG): Do not AC_SUBST.
15919 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15920 (libc_cv_cc_sse4): Do not AC_SUBST.
15921 (libc_cv_cc_avx): Likewise.
15922 (libc_cv_cc_sse2avx): Likewise.
15923 (libc_cv_cc_novzeroupper): Likewise.
15924 (libc_cv_cc_fma4): Likewise.
15925 (libc_cv_as_i686): Likewise.
15926 (libc_cv_sparc_as_vis3): Likewise.
15927 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15928 LIBC_CONFIG_VAR.
15929 (config-asflags-i686): Likewise.
15930 (config-cflags-avx): Likewise.
15931 (config-cflags-sse2avx): Likewise.
15932 (have-mfma4): Likewise.
15933 (config-cflags-novzeroupper): Likewise.
15934 * sysdeps/mach/configure.in (MIG): Likewise.
15935 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15936 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15937 LIBC_CONFIG_VAR.
15938 (config-cflags-avx): Likewise.
15939 (config-cflags-sse2avx): Likewise.
15940 (have-mfma4): Likewise.
15941 (config-cflags-novzeroupper): Likewise.
15942 * configure: Regenerated.
15943 * sysdeps/i386/configure: Likewise.
15944 * sysdeps/mach/configure: Likewise.
15945 * sysdeps/sparc/configure: Likewise.
15946 * sysdeps/x86_64/configure: Likewise.
15947
912cc4b3
RM
159482013-03-20 Roland McGrath <roland@hack.frob.com>
15949
15950 [BZ #14812]
15951 * locale/programs/localedef.c (options): Put N_ translation marker
15952 on argument names, not just descriptions.
15953
04eed2b0
MS
159542013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15955
15956 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
15957
a065ceff
OB
159582013-03-20 Ondřej Bílka <neleai@seznam.cz>
15959
9bb2a810 15960 [BZ #14176]
a065ceff
OB
15961 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
15962
a600e5ce
RM
159632013-03-19 Roland McGrath <roland@hack.frob.com>
15964
15965 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
15966 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
15967 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
15968 [!BEFORE_ABORT] (before_abort): New function.
15969 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
15970 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
15971 (writev_for_fatal): New function.
15972 (WRITEV_FOR_FATAL): New macro; call that.
15973 (backtrace_and_maps): New function.
15974 (BEFORE_ABORT): New macro; call that.
15975 (struct str_list): Type removed.
15976 (__libc_message, __libc_fatal): Functions removed.
15977 Include <sysdeps/posix/libc_fatal.c> instead.
15978
6b18bea6
JM
159792013-03-19 Joseph Myers <joseph@codesourcery.com>
15980
15981 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
15982 constants.
15983 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
15984 double constants.
15985
aaa8cb4b
AS
159862013-03-19 Andreas Schwab <schwab@suse.de>
15987
44673770
AS
15988 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
15989 * sysdeps/gnu/configure: Regenerate.
15990
aaa8cb4b
AS
15991 * configure.in: Substitute libc_cv_rtlddir.
15992 * configure: Regenerate.
15993 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
15994 * Makeconfig (rtlddir, inst_rtlddir): New variables.
15995 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
15996 * elf/Makefile (install-others, CFLAGS-interp.c)
15997 (ldso_install, common-ldd-rewrite): Likewise.
15998 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
15999 $(inst_slibdir)/$(rtld-installed-name).
16000 * scripts/rellns-sh: Add -p option.
16001 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16002 for source.
16003
d3cfc668
SP
160042013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16005
16006 * manual/nptl.texi: Renamed to ...
16007 * manual/threads.texi: ... this.
16008 * manual/Makefile (chapters): Update.
16009
0e2b9cdd
RM
160102013-03-18 Roland McGrath <roland@hack.frob.com>
16011
16012 [BZ #14812]
16013 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16014 on argument names, not just descriptions.
0e2b9cdd
RM
16015 * malloc/memusagestat.c (options): Likewise.
16016 * nss/getent.c (options): Likewise.
63270c24
RM
16017
160182013-03-18 Benno Schulenberg <bensberg@justemail.net>
16019
16020 [BZ #14812]
16021 * iconv/iconv_prog.c (options): Put N_ translation marker
16022 on argument names, not just descriptions.
16023 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16024
b2e1393c
OB
160252013-03-18 Ondrej Bilka <neleai@seznam.cz>
16026
16027 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16028 implementation which is faster on all x86_64 architectures.
16029 Tested on AMD, Intel Nehalem, SNB, IVB.
16030 * sysdeps/x86_64/strnlen.S: Likewise.
16031
16032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16033 Remove all multiarch strlen and strnlen versions.
16034 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16035 Remove strlen and strnlen related parts.
16036
16037 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16038 Inline strlen part.
16039 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16040
16041 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16042 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16043 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16044 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16045 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16046 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16047
ec4ff04d
CD
160482013-03-17 Carlos O'Donell <carlos@redhat.com>
16049
16050 * manual/memory.texi (Malloc Tunable Parameters):
16051 Sort parameters alphabetically. Add comments for missing entries.
16052
cd18e90a
DM
160532013-03-17 David S. Miller <davem@davemloft.net>
16054
16055 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16056
2a185d32
JM
160572013-03-16 Joseph Myers <joseph@codesourcery.com>
16058
d2f9799e
JM
16059 [BZ #15283]
16060 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16061 for arguments at most half maximum finite value.
16062 * math/libm-test.inc (j0_test): Add more tests.
16063 (j1_test): Likewise.
16064 (y0_test): Likewise.
16065 (y1_test): Likewise.
16066 * sysdeps/i386/fpu/libm-test-ulps: Update.
16067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16068
2a185d32
JM
16069 [BZ #14155]
16070 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16071 1 / x and functions P and Q for arguments above 0x1p256L.
16072 (__ieee754_y0l): Likewise.
16073 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16074 (__ieee754_y1l): Likewise.
16075 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16076 (j1_test): Likewise.
16077 (y0_test): Likewise.
16078 (y1_test): Likewise.
16079
6cbec759
TS
160802013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16081
16082 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16083 variable.
16084
bc16e260
RM
160852013-03-15 Roland McGrath <roland@hack.frob.com>
16086
aefc9b8c
RM
16087 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16088 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16089 zero since it's initialized to EXEC_PAGESIZE.
16090
bc16e260
RM
16091 * sysdeps/unix/sysv/linux/ldsodefs.h
16092 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16093 * sysdeps/generic/ldsodefs.h: ... here.
16094
a57da955
TS
160952013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16096
af00a34d
TS
16097 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16098
495ded2c
TS
16099 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16100 math/test-snan.c.
16101 * math/test-snan.c: Renamed from
16102 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16103 * math/Makefile (tests): Add test-snan.
16104 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16105 test-powerpc-snan.
16106
777b0332
TS
16107 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16108 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16109 functions.
16110 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16111 __builtin_nan family of functions.
16112 * math/libm-test.inc (initialize): Initialize qnan_value with
16113 __builtin_nan family of functions.
16114 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16115 Remove variables.
16116 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16117 Remove functions.
16118 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16119 storage class. Initialize qNaN_var and sNaN_var with
16120 __builtin_nan and __builtin_nans families of functions,
16121 respectively.
16122
64d063b8
TS
16123 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16124 (sqrt_test): Remove duplicate test with qNaN input.
16125 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16126 (round_test, signbit_test, significand_test): Note missing +/-Inf
16127 as well as qNaN tests.
16128
67e971f1
TS
16129 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16130 qNaN_var. Fix a few strings, too.
16131 * math/libm-test.inc (nan_value): Rename to qnan_value.
16132 * math/gen-libm-test.pl (%beautify): Adjust to that.
16133 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16134 * math/test-misc.c (main): Likewise.
16135 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16136 to __qnan_bytes, and __qnan_union, respectively.
16137 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16138 Likewise.
16139 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16140 and lqnanval, respectively.
16141 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16142 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16143 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16144 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16145
64487e12
TS
16146 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16147 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16148 doubles.
16149
e015e27b
TS
16150 * math/test-misc.c (main): Fix copy'n'pastos.
16151 * misc/tst-efgcvt.c (special): Likewise.
16152
a57da955
TS
16153 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16154 Remove declarations.
16155
1e380345
SP
161562013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16157
16158 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16159 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16160 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16161 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16162
ef26eece
AZ
161632013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16164
16165 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16166 macro to return vdso values correctly in IFUNC implementations.
16167 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16168 Optimization by using IFUNC.
16169
8cfdb7e0
SP
161702013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16171 Richard Henderson <rth@redhat.com>
16172 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16173
16174 * Makefile.in (bench): New target.
16175 * NEWS: Mention the benchmark framework.
16176 * Rules (bench): Likewise.
16177 (binaries-bench): Generate binaries for functions to
16178 benchmark.
16179 * benchtests/Makefile: New makefile for benchmark tests.
16180 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16181 programs.
16182 * benchtests/exp-inputs: New input file for EXP function.
16183 * benchtests/pow-inputs: New input file for POW function.
16184 * scripts/bench.pl: New script to generate source files for
16185 benchmark programs.
16186
bcda9880
SP
161872013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16188
d22ca8cd
SP
16189 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16190 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16191 computations on mantissa. Use macros for rounding and
16192 division.
16193 (denorm): Likewise.
16194 (__dbl_mp): Likewise.
16195 (add_magnitudes): Likewise.
16196 (sub_magnitudes): Likewise.
16197 (__mul): Likewise.
16198 (__sqr): Likewise.
16199 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16200 powers of two in terms of TWOPOW macro.
16201 (mp_no): Make type of mantissa as MANTISSA_T.
16202 [!RADIXI]: Define RADIXI.
16203 [!TWO52]: Define TWO52.
16204 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16205
bcda9880
SP
16206 * manual/nptl.texi (cindex): Modify threads to pthreads.
16207
06d5adfb
JM
162082013-03-15 Joseph Myers <joseph@codesourcery.com>
16209
16210 * sysdeps/x86_64/preconfigure: Regenerated.
16211
41c7328e
JM
162122013-03-14 Joseph Myers <joseph@codesourcery.com>
16213
16214 [BZ #14155]
16215 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16216 0x1p28 and above.
16217 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16218 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16219 0x1p28 and above.
16220 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16221 * math/libm-test.inc (j0_test): Do not allow one spurious
16222 underflow exception.
16223 (y1_test): Likewise.
16224
e25cfa60
SP
162252013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16226
0409959c
SP
16227 * manual/Makefile (chapters): Add nptl.
16228 * manual/debug.texi (Debugging Support): Add link to Threads
16229 chapter.
16230 * manual/nptl.texi: New file.
16231
e25cfa60
SP
16232 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16233
58a1335e
PB
162342013-03-14 Petr Baudis <pasky@ucw.cz>
16235
16236 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16237 for non-NULL pointer before the memory validity test. Pointed
16238 out by Holger Brunck <holger.brunck@keymile.com>.
16239
9dc7c64f
AS
162402013-03-13 Andreas Schwab <schwab@suse.de>
16241
16242 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16243 instead of .os.
16244
54206aa6
JM
162452013-03-13 Joseph Myers <joseph@codesourcery.com>
16246
16247 * timezone/zic.c: Update from tzcode 2013b.
16248
e98cdb38
CD
162492013-03-12 Carlos O'Donell <carlos@redhat.com>
16250
16251 * manual/install.texi (Configuring and compiling):
16252 Mention i686 and i586.
16253 * INSTALL: Regenerate.
16254
9967e003
RM
162552013-03-12 Roland McGrath <roland@hack.frob.com>
16256
16257 * sysdeps/init_array/elf-init.c: New file.
16258 * csu/elf-init.c
16259 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16260 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16261
16262 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16263 __gmon_start__ as global, but as static with a .preinit_array pointer.
16264 * sysdeps/init_array/gmon-start.c: New file. Use that.
16265 * sysdeps/init_array/crti.S: New file, empty except for comments.
16266 * sysdeps/init_array/crtn.S: Likewise.
16267
e6b5a293 162682013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16269
16270 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16271 definining bcopy.
80f844c9
OB
16272 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16273 Remove Prefer_SSE_for_memop.
16274 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16275 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16276 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16277 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16278 memset-x86-64.
80f844c9 16279 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16280 Remove bzero, memset ifunc support.
80f844c9
OB
16281 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16282 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16283 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16284 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16285
fb6b0fcb
AS
162862013-03-11 Andreas Schwab <schwab@suse.de>
16287
16288 [BZ #15234]
16289 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16290 by SHLIB_COMPAT.
16291 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16292 (GLIBC_2.16): Remove pthread_atfork.
16293
3e6bd4b1
PP
162942013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16295
16296 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16297 (ptestcases.h): Likewise.
16298
222d7f00
RM
162992013-03-08 Roland McGrath <roland@hack.frob.com>
16300
16301 * Makeconfig ($(common-objpfx)config.status): Depend on
16302 sysdeps/*/preconfigure{,.in} too.
16303
1ba4f030
JM
163042013-03-08 Joseph Myers <joseph@codesourcery.com>
16305
a222d91a
JM
16306 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16307 (__free_hook): Use void * instead of __malloc_ptr_t.
16308 (__malloc_hook): Likewise.
16309 (__realloc_hook): Likewise.
16310 (__memalign_hook): Likewise.
16311 (__after_morecore_hook): Likewise.
16312 * malloc/arena.c (save_malloc_hook): Likewise.
16313 (save_free_hook): Likewise.
16314 * malloc/hooks.c (malloc_hook_ini): Likewise.
16315 (realloc_hook_ini): Likewise.
16316 (memalign_hook_ini): Likewise.
16317 * malloc/malloc.c (malloc_hook_ini): Likewise.
16318 (realloc_hook_ini): Likewise.
16319 (memalign_hook_ini): Likewise.
16320 (__free_hook): Likewise.
16321 (__malloc_hook): Likewise.
16322 (__realloc_hook): Likewise.
16323 (__memalign_hook): Likewise.
16324 (__libc_malloc): Likewise.
16325 (__libc_free): Likewise.
16326 (__libc_realloc): Likewise.
16327 (__libc_memalign): Likewise.
16328 (__libc_valloc): Likewise.
16329 (__libc_pvalloc): Likewise.
16330 (__libc_calloc): Likewise.
16331 (__posix_memalign): Likewise.
16332 * malloc/morecore.c (__sbrk): Likewise.
16333 (__default_morecore): Likewise.
16334
5cc45e10
JM
16335 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16336
dd54b864
JM
16337 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16338 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16339 __malloc_ptrdiff_t.
16340
1ba4f030
JM
16341 * malloc/malloc.h (__malloc_size_t): Remove macro.
16342 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16343 __malloc_size_t.
16344 (old_memalign_hook): Likewise.
16345 (old_realloc_hook): Likewise.
16346 (struct hdr): Likewise.
16347 (flood): Likewise.
16348 (mallochook): Likewise.
16349 (memalignhook): Likewise.
16350 (reallochook): Likewise.
16351 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16352 (tr_old_realloc_hook): Likewise.
16353 (tr_old_memalign_hook): Likewise.
16354 (tr_mallochook): Likewise.
16355 (tr_reallochook): Likewise.
16356 (tr_memalignhook): Likewise.
16357
edf66e57
AZ
163582013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16359
16360 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16361 default_ldbl_pack and using as default implementation.
16362 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16363 implementation.
16364 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16365 redundant definition.
16366 (ldbl_insert_mantissa): Likewise.
16367 (ldbl_canonicalize): Likewise.
16368 (ldbl_nearbyint): Likewise.
16369 (ldbl_pack): Rename to ldbl_pack_ppc.
16370 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16371 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16372 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16373
6d9145d8
SP
163742013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16375
16376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16377 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16378 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16379 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16380 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16381 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16382 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16383 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16384
4dd4e157
AJ
163852013-03-07 Andreas Jaeger <aj@suse.de>
16386
16387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16388 bits/mman-linux.h.
16389
adbb8027
SP
163902013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16391
ce544b5b
SP
16392 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16393 Include mpa.h and declare __MPEXP.
16394 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16395 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16396 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16397 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16398 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16399 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16400 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16401
4cc149fd
SP
16402 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16403 (__slowpow): Use long double EXPL and LOGL functions to
16404 compute POW.
16405 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16406 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16407 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16408 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16409 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16410 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16411
e6ebd4a7
SP
16412 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16413 intermediate variable to calculate exponent.
16414 (__sqr): Likewise.
16415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16416 Likewise.
16417 (__sqr): Likewise.
16418
82a9811d
SP
16419 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16420 [!NO__SQR]: Define __sqr.
16421 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16422 and NO__SQR. Remove all code except __mul and __sqr. Include
16423 sysdeps/ieee754/dbl-64/mpa.c.
16424 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16425
adbb8027
SP
16426 [BZ #12723]
16427 * posix/Makefile (tests): Add tst-pathconf.
16428 * posix/tst-pathconf.c: New test case.
16429 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16430 _PC_PIPE_BUF.
16431 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16432
39120df9
PF
164332013-03-06 Patsy Franklin <pfrankli@redhat.com>
16434
16435 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16436
67525cb8
AJ
164372013-03-06 Andreas Jaeger <aj@suse.de>
16438
664a9ce4
AJ
16439 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16440 definition via __MAP_ANONYMOUS.
16441
8e39047d
AJ
16442 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16443 it's not part of Linux headers.
16444
67525cb8
AJ
16445 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16446 (MAP_HUGE_MASK): Define.
16447
16448 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16449 Define.
16450 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16451 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16452 Define.
16453 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16454 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16455 Define.
16456 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16457 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16458 Define.
16459 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16460
16461 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16462 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16463 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16464 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16465 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16466 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16467
16468 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16469 Handle f2fs.
16470
16471 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16472 Handle f2fs and efivarfs.
16473
16474 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16475 f2fs.
16476
16477 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16478 (EFIVARFS_MAGIC): Add.
16479 (F2FS_LINK_MAX): Add.
16480
e1b42695
PP
164812013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16482
16483 * stdio-common/vfprintf.c: Replace __builtin_expect with
16484 __glibc_unlikely.
16485
2d67d91a
JM
164862013-03-06 Joseph Myers <joseph@codesourcery.com>
16487
16488 [BZ #13550]
16489 * sysdeps/generic/bp-sym.h: Remove file.
16490 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16491 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16492 <bp-sym.h> and <bp-asm.h>.
16493 (__longjmp): Don't use BP_SYM.
16494 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16495 and <bp-asm.h>.
16496 (memcpy): Don't use BP_SYM.
16497 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16498 <bp-sym.h> and <bp-asm.h>.
16499 (memcpy): Don't use BP_SYM.
16500 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16501 <bp-asm.h>.
16502 (memcpy): Don't use BP_SYM.
16503 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16504 <bp-asm.h>.
16505 (memset): Don't use BP_SYM.
16506 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16507 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16508 (__bzero): Don't use BP_SYM.
16509 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16510 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16511 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16512 <bp-sym.h> and <bp-asm.h>.
16513 (memcmp): Don't use BP_SYM. Remove comment about bounded
16514 pointers.
16515 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16516 <bp-sym.h> and <bp-asm.h>.
16517 (memcpy): Don't use BP_SYM.
16518 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16519 <bp-sym.h> and <bp-asm.h>.
16520 (memset): Don't use BP_SYM.
16521 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16522 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16523 (__bzero): Don't use BP_SYM.
16524 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16525 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16526 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16527 <bp-sym.h> and <bp-asm.h>.
16528 (strncmp): Don't use BP_SYM. Remove comment about bounded
16529 pointers.
16530 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16531 <bp-sym.h> and <bp-asm.h>.
16532 (memcpy): Don't use BP_SYM.
16533 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16534 <bp-sym.h> and <bp-asm.h>.
16535 (memset): Don't use BP_SYM.
16536 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16537 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16538 (__bzero): Don't use BP_SYM.
16539 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16540 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16541 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16542 <bp-sym.h> and <bp-asm.h>.
16543 (__memchr): Don't use BP_SYM.
16544 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16545 <bp-sym.h> and <bp-asm.h>.
16546 (memcmp): Don't use BP_SYM. Remove comment about bounded
16547 pointers.
16548 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16549 <bp-sym.h> and <bp-asm.h>.
16550 (memcpy): Don't use BP_SYM.
16551 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16552 <bp-sym.h> and <bp-asm.h>.
16553 (__mempcpy): Don't use BP_SYM.
16554 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16555 <bp-sym.h> and <bp-asm.h>.
16556 (__memrchr): Don't use BP_SYM.
16557 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16558 <bp-sym.h> and <bp-asm.h>.
16559 (memset): Don't use BP_SYM.
16560 (__bzero): Likewise.
16561 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16562 <bp-sym.h> and <bp-asm.h>.
16563 (__rawmemchr): Don't use BP_SYM.
16564 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16565 <bp-sym.h> and <bp-asm.h>.
16566 (__STRCMP): Don't use BP_SYM.
16567 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16568 <bp-sym.h> and <bp-asm.h>.
16569 (strchr): Don't use BP_SYM.
16570 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16571 <bp-sym.h> and <bp-asm.h>.
16572 (__strchrnul): Don't use BP_SYM.
16573 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16574 <bp-sym.h> and <bp-asm.h>.
16575 (strlen): Don't use BP_SYM.
16576 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16577 <bp-sym.h> and <bp-asm.h>.
16578 (strncmp): Don't use BP_SYM. Remove comment about bounded
16579 pointers.
16580 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16581 <bp-sym.h> and <bp-asm.h>.
16582 (__strnlen): Don't use BP_SYM.
16583 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16584 <bp-sym.h> and <bp-asm.h>.
16585 (__GI__setjmp): Don't use BP_SYM.
16586 (_setjmp): Likewise.
16587 (__sigsetjmp): Likewise.
16588 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16589 (L(start_addresses)): Don't use BP_SYM.
16590 (_start): Likewise.
16591 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16592 <bp-asm.h>.
16593 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16594 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16595 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16596 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16597 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16598 <bp-asm.h>.
16599 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16600 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16601 about bounded pointers.
16602 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16603 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16604 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16605 <bp-asm.h>.
16606 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16607 about bounded pointers. Remove GKM FIXME comments.
16608 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16609 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16610 <bp-asm.h>.
16611 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16612 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16613 Remove GKM FIXME comments.
16614 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16615 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16616 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16617 <bp-asm.h>.
16618 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16619 about bounded pointers. Remove GKM FIXME comment.
16620 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16621 and <bp-asm.h>.
16622 (strncmp): Don't use BP_SYM. Remove comment about bounded
16623 pointers.
16624 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16625 <bp-sym.h> and <bp-asm.h>.
16626 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16627 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16628 <bp-sym.h> and <bp-asm.h>.
16629 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16630 comment.
16631
cdcf361f
PP
166322013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16633
16634 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16635 call free(NULL).
16636
3c4a2b15
DM
166372013-03-05 David S. Miller <davem@davemloft.net>
16638
16639 * po/es.po: Update from translation team.
16640
cdcf361f 166412013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16642
16643 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16644 <bits/mman-linux.h>.
16645 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16646 is fine.
16647 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16648 <bits/mman-linux.h> to end of file.
16649 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16650 is fine.
16651 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16652 <bits/mman-linux.h> to end of file.
16653 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16654 is fine.
16655 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16656 <bits/mman-linux.h> to end of file.
16657
16658 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16659 (MCL_CURRENT, MCL_FUTURE): Define here.
16660
5f67c04f
AK
166612013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16662
8a4473cc 16663 [BZ #15232]
5f67c04f
AK
16664 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16665 attribute_hidden.
16666 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16667
c3e94a95
AK
166682013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16669
16670 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16671 fourth parameter needed for rt_sigprocmask syscall.
16672 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16673 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16674 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16675 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16676 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16677 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16678
cfb6382a
JM
166792013-03-04 Joseph Myers <joseph@codesourcery.com>
16680
16681 [BZ #13550]
16682 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16683 comment about bounded pointers.
16684 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16685 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16686
539d8e01
AJ
166872013-03-04 Andreas Jaeger <aj@suse.de>
16688
16689 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16690 common definitions.
16691
16692 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16693 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16694 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16695 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16696 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16697 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16698
2e167a70 166992013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16700
16701 [BZ #15055]
16702 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16703 __ieee754_sqrl instead of __sqrl.
16704
68508633
JM
167052013-03-01 Joseph Myers <joseph@codesourcery.com>
16706
16707 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16708 * sysdeps/powerpc/fpu_control.h: ... here.
16709 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16710 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16711 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16712 * sysdeps/powerpc/bits/mathinline.h: ... here.
16713
7775448e
RM
167142013-03-01 Roland McGrath <roland@hack.frob.com>
16715
16716 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16717 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16718 to just [NEED_DL_SYSINFO_DSO].
16719 * elf/dl-support.c: Likewise.
16720 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16721 * elf/rtld.c (dl_main): Likewise.
16722 * elf/setup-vdso.h (setup_vdso): Likewise.
16723 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16724 * sysdeps/unix/sysv/linux/dl-sysdep.c
16725 (_dl_discover_osversion): Likewise.
16726
4e9b5995
CD
167272013-03-01 Carlos O'Donell <carlos@redhat.com>
16728
16729 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16730 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16731
e23872c8
SP
167322013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16733
e5c74c63
SP
16734 * NEWS: Mention libm performance improvements and non-x86 PI
16735 futex support.
16736
e23872c8
SP
16737 * csu/libc-start.c (__pthread_initialize_minimal): Change
16738 function arguments.
16739 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16740
b5510883
JM
167412013-02-28 Joseph Myers <joseph@codesourcery.com>
16742
16743 [BZ #13550]
16744 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16745 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16746 <bp-sym.h> and <bp-asm.h>.
16747 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16748 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16749 and <bp-asm.h>.
16750 (memcpy): Don't use BP_SYM.
16751 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16752 <bp-asm.h>.
16753 (__mpn_add_n): Don't use BP_SYM.
16754 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16755 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16756 and <bp-asm.h>.
16757 (__mpn_addmul_1): Don't use BP_SYM.
16758 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16759 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16760 <bp-sym.h>.
16761 (_setjmp): Don't use BP_SYM.
16762 (__novmx_setjmp): Likewise.
16763 (__GI__setjmp): Likewise.
16764 (__vmx_setjmp): Likewise.
16765 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16766 <bp-sym.h>.
16767 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16768 (__bzero): Don't use BP_SYM.
16769 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16770 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16771 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16772 <bp-sym.h> and <bp-asm.h>.
16773 (memcpy): Don't use BP_SYM.
16774 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16775 <bp-sym.h> and <bp-asm.h>.
16776 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16777 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16778 <bp-sym.h> and <bp-asm.h>.
16779 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16780 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16781 <bp-asm.h>.
16782 (__mpn_lshift): Don't use BP_SYM.
16783 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16784 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16785 <bp-asm.h>.
16786 (memset): Don't use BP_SYM.
16787 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16788 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16789 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16790 <bp-asm.h>.
16791 (__mpn_mul_1): Don't use BP_SYM.
16792 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16793 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16794 <bp-sym.h> and <bp-asm.h>.
16795 (memcmp): Don't use BP_SYM.
16796 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16797 <bp-sym.h> and <bp-asm.h>.
16798 (memcpy): Don't use BP_SYM.
16799 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16800 <bp-sym.h> and <bp-asm.h>.
16801 (memset): Don't use BP_SYM.
16802 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16803 <bp-sym.h> and <bp-asm.h>.
16804 (strncmp): Don't use BP_SYM.
16805 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16806 <bp-sym.h> and <bp-asm.h>.
16807 (memcpy): Don't use BP_SYM.
16808 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16809 <bp-sym.h> and <bp-asm.h>.
16810 (memset): Don't use BP_SYM.
16811 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16812 <bp-sym.h> and <bp-asm.h>.
16813 (__memchr): Don't use BP_SYM.
16814 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16815 <bp-sym.h> and <bp-asm.h>.
16816 (memcmp): Don't use BP_SYM.
16817 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16818 <bp-sym.h> and <bp-asm.h>.
16819 (memcpy): Don't use BP_SYM.
16820 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16821 <bp-sym.h> and <bp-asm.h>.
16822 (__mempcpy): Don't use BP_SYM.
16823 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16824 <bp-sym.h> and <bp-asm.h>.
16825 (__memrchr): Don't use BP_SYM.
16826 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16827 <bp-sym.h> and <bp-asm.h>.
16828 (memset): Don't use BP_SYM.
16829 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16830 <bp-sym.h> and <bp-asm.h>.
16831 (__rawmemchr): Don't use BP_SYM.
16832 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16833 <bp-sym.h> and <bp-asm.h>.
16834 (__STRCMP): Don't use BP_SYM.
16835 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16836 <bp-sym.h> and <bp-asm.h>.
16837 (strchr): Don't use BP_SYM.
16838 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16839 <bp-sym.h> and <bp-asm.h>.
16840 (__strchrnul): Don't use BP_SYM.
16841 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16842 <bp-sym.h> and <bp-asm.h>.
16843 (strlen): Don't use BP_SYM.
16844 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16845 <bp-sym.h> and <bp-asm.h>.
16846 (strncmp): Don't use BP_SYM.
16847 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16848 <bp-sym.h> and <bp-asm.h>.
16849 (__strnlen): Don't use BP_SYM.
16850 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16851 <bp-asm.h>.
16852 (__mpn_rshift): Don't use BP_SYM.
16853 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16854 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16855 <bp-sym.h> and <bp-asm.h>.
16856 (__sigsetjmp): Don't use BP_SYM.
16857 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16858 (L(start_addresses)): Don't use BP_SYM.
16859 (_start): Likewise.
16860 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16861 <bp-asm.h>.
16862 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16863 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16864 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16865 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16866 <bp-asm.h>.
16867 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16868 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16869 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16870 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16871 <bp-asm.h>.
16872 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16873 comments.
16874 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16875 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16876 <bp-asm.h>.
16877 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16878 FIXME comments.
16879 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16880 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16881 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16882 <bp-asm.h>.
16883 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16884 comment.
16885 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16886 and <bp-asm.h>.
16887 (strncmp): Don't use BP_SYM,
16888 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16889 <bp-asm.h>.
16890 (__mpn_sub_n): Don't use BP_SYM.
16891 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16892 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16893 and <bp-asm.h>.
16894 (__mpn_submul_1): Don't use BP_SYM.
16895 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16896 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16897 <bp-sym.h> and <bp-asm.h>.
16898 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16900 <bp-sym.h> and <bp-asm.h>.
16901 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16902 comment.
16903
8d19fe64
SP
169042013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16905
16906 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16907 Use ZK to minimize writes to Z.
16908 (sub_magnitudes): Simplify code a bit.
16909 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16910 Use ZK to minimize writes to Z.
16911 (sub_magnitudes): Simplify code a bit.
16912
85bd816a
RM
169132013-02-27 Roland McGrath <roland@hack.frob.com>
16914
16915 * csu/gmon-start.c: Add special exception to license text.
16916
b5977bf2
RH
169172013-02-27 Richard Henderson <rth@redhat.com>
16918
16919 * scripts/config.guess: Update from config.git.
16920 * scripts/config.sub: Likewise.
16921
11d6e2f2
SP
169222013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16923
09c14ed2
SP
16924 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16925
a688864e
SP
16926 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16927
6295157a
SP
16928 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16929
b8de2202
SP
16930 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16931
11d6e2f2
SP
16932 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16933
7e80ddb8
RM
169342013-02-26 Roland McGrath <roland@hack.frob.com>
16935
16936 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16937 [$(build-shared = yes].
7e80ddb8 16938
7da6d9ed
SP
169392013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16940
45f05884
SP
16941 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16942 (__mul): Reduce iterations for calculating mantissa.
16943
2236d359
SP
16944 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16945 MPTWO.
16946 (__mpranred): Likewise.
16947
7da6d9ed
SP
16948 [BZ #15160]
16949 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16950 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16951
b7688c42
PE
169522013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16953
16954 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16955 Define __attribute__.
16956
53a5c423
SP
169572013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16958
16959 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
16960 unused.
16961 * posix/regex_internal.h (__attribute): Remove.
16962 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
16963 (re_string_context_at): Likewise.
16964 (bitset_not): Use __attribute__ and mark function as possibly
16965 unused.
16966 (bitset_merge): Likewise.
16967 (bitset_mask): Likewise.
16968 (re_string_char_size_at): Likewise.
16969 (re_string_wchar_at): Likewise.
16970 (re_string_elem_size_at): Likewise.
16971
60f5a8b5
SP
169722013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
16973
2a983a2e
SP
16974 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
16975 code.
16976 (cc32): Likewise.
16977
e69804d1
SP
16978 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
16979 (__acr): Likewise.
16980 (__cpy): Likewise.
16981 (norm): Likewise.
16982 (denorm): Likewise.
16983 (__dbl_mp): Likewise.
16984 (add_magnitudes): Likewise.
16985 (sub_magnitudes): Likewise.
16986 (__mul): Likewise.
16987 (__inv): Likewise.
16988
2f22a1e8
SP
16989 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
16990 style.
16991
8930ddc7
SP
16992 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
16993 style.
16994
dc60cb11
SP
16995 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
16996 code.
16997
60f5a8b5
SP
16998 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
16999 up changes with default code.
17000 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17001 Likewise.
17002
b4d1fd33
AM
170032013-02-24 Allan McRae <allan@archlinux.org>
17004
faf6f8bc
AM
17005 * manual/socket.texi (The Internet Namespace): Order menu items
17006 to match that in the file.
17007
b4d1fd33
AM
17008 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17009 node listing of the info page menu.
17010
2366713d
JM
170112013-02-21 Joseph Myers <joseph@codesourcery.com>
17012
17013 [BZ #13550]
17014 * sysdeps/i386/bp-asm.h: Remove file.
17015 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17016 (PARMS): Do not use macros from bp-asm.h.
17017 (S1): Likewise.
17018 (S2): Likewise.
17019 (SIZE): Likewise.
17020 (__mpn_add_n): Do not use BP_SYM
17021 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17022 "bp-asm.h".
17023 (PARMS): Do not use macros from bp-asm.h.
17024 (S1): Likewise.
17025 (SIZE): Likewise.
17026 (__mpn_addmul_1): Do not use BP_SYM
17027 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17028 "bp-asm.h".
17029 (PARMS): Do not use macros from bp-asm.h.
17030 (SIGMSK): Likewise.
17031 (_setjmp): Likewise. Do not use BP_SYM.
17032 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17033 "bp-asm.h".
17034 (PARMS): Do not use macros from bp-asm.h.
17035 (SIGMSK): Likewise.
17036 (setjmp): Likewise. Do not use BP_SYM.
17037 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17038 "bp-asm.h".
17039 (PARMS): Do not use macros from bp-asm.h.
17040 (__frexp): Do not use BP_SYM.
17041 (frexp): Likewise.
17042 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17043 "bp-asm.h".
17044 (PARMS): Do not use macros from bp-asm.h.
17045 (__frexpf): Do not use BP_SYM.
17046 (frexpf): Likewise.
17047 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17048 "bp-asm.h".
17049 (PARMS): Do not use macros from bp-asm.h.
17050 (__frexpl): Do not use BP_SYM.
17051 (frexpl): Likewise.
17052 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17053 "bp-asm.h".
17054 (PARMS): Do not use macros from bp-asm.h.
17055 (__remquo): Do not use BP_SYM.
17056 (remquo): Likewise.
17057 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17058 "bp-asm.h".
17059 (PARMS): Do not use macros from bp-asm.h.
17060 (__remquof): Do not use BP_SYM.
17061 (remquof): Likewise.
17062 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17063 "bp-asm.h".
17064 (PARMS): Do not use macros from bp-asm.h.
17065 (__remquol): Do not use BP_SYM.
17066 (remquol): Likewise.
17067 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17068 "bp-asm.h".
17069 (PARMS): Do not use macros from bp-asm.h.
17070 (DEST): Likewise.
17071 (SRC): Likewise.
17072 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17073 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17074 "bp-asm.h".
17075 (PARMS): Do not use macros from bp-asm.h.
17076 (strlen): Do not use BP_SYM.
17077 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17078 "bp-asm.h".
17079 (PARMS): Do not use macros from bp-asm.h.
17080 (S1): Likewise.
17081 (S2): Likewise.
17082 (SIZE): Likewise.
17083 (__mpn_add_n): Do not use BP_SYM.
17084 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17085 "bp-asm.h".
17086 (PARMS): Do not use macros from bp-asm.h.
17087 (S1): Likewise.
17088 (SIZE): Likewise.
17089 (__mpn_addmul_1): Do not use BP_SYM.
17090 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17091 weak_alias.
17092 (bzero): Likewise.
17093 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17094 "bp-asm.h".
17095 (PARMS): Do not use macros from bp-asm.h.
17096 (S): Likewise.
17097 (SIZE): Likewise.
17098 (__mpn_lshift): Do not use BP_SYM.
17099 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17100 "bp-asm.h".
17101 (PARMS): Do not use macros from bp-asm.h.
17102 (DEST): Likewise.
17103 (SRC): Likewise.
17104 (LEN): Likewise.
17105 (memcpy): Likewise. Do not use BP_SYM.
17106 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17107 libc_hidden_def and weak_alias.
17108 (mempcpy): Do not use BP_SYM in weak_alias.
17109 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17110 "bp-asm.h".
17111 (PARMS): Do not use macros from bp-asm.h.
17112 (DEST): Likewise.
17113 (LEN): Likewise.
17114 [!BZERO_P] (CHR): Likewise.
17115 (memset): Likewise. Do not use BP_SYM.
17116 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17117 "bp-asm.h".
17118 (PARMS): Do not use macros from bp-asm.h.
17119 (S1): Likewise.
17120 (SIZE): Likewise.
17121 (__mpn_mul_1): Do not use BP_SYM.
17122 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17123 "bp-asm.h".
17124 (PARMS): Do not use macros from bp-asm.h.
17125 (S): Likewise.
17126 (SIZE): Likewise.
17127 (__mpn_rshift): Do not use BP_SYM.
17128 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17129 "bp-asm.h".
17130 (PARMS): Do not use macros from bp-asm.h.
17131 (STR): Likewise.
17132 (CHR): Likewise.
17133 (strchr): Likewise. Do not use BP_SYM.
17134 (index): Do not use BP_SYM in weak_alias.
17135 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17136 "bp-asm.h".
17137 (PARMS): Do not use macros from bp-asm.h.
17138 (DEST): Likewise.
17139 (SRC): Likewise.
17140 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17141 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17142 "bp-asm.h".
17143 (PARMS): Do not use macros from bp-asm.h.
17144 (strlen): Do not use BP_SYM.
17145 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17146 "bp-asm.h".
17147 (PARMS): Do not use macros from bp-asm.h.
17148 (S1): Likewise.
17149 (S2): Likewise.
17150 (SIZE): Likewise.
17151 (__mpn_sub_n): Do not use BP_SYM.
17152 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17153 "bp-asm.h".
17154 (PARMS): Do not use macros from bp-asm.h.
17155 (S1): Likewise.
17156 (SIZE): Likewise.
17157 (__mpn_submul_1): Do not use BP_SYM.
17158 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17159 "bp-asm.h".
17160 (PARMS): Do not use macros from bp-asm.h.
17161 (S1): Likewise.
17162 (S2): Likewise.
17163 (SIZE): Likewise.
17164 (__mpn_add_n): Do not use BP_SYM.
17165 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17166 weak_alias.
17167 (bzero): Likewise.
17168 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17169 "bp-asm.h".
17170 (PARMS): Do not use macros from bp-asm.h.
17171 (BLK2): Likewise.
17172 (LEN): Likewise.
17173 (memcmp): Do not use BP_SYM.
17174 (bcmp): Do not use BP_SYM in weak_alias.
17175 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17176 "bp-asm.h".
17177 (PARMS): Do not use macros from bp-asm.h.
17178 (DEST): Likewise.
17179 (SRC): Likewise.
17180 (LEN): Likewise.
17181 (memcpy): Likewise. Do not use BP_SYM.
17182 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17183 "bp-asm.h".
17184 (PARMS): Do not use macros from bp-asm.h.
17185 (DEST): Likewise.
17186 (SRC): Likewise.
17187 (LEN): Likewise.
17188 (memmove): Likewise. Do not use BP_SYM.
17189 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17190 "bp-asm.h".
17191 (PARMS): Do not use macros from bp-asm.h.
17192 (DEST): Likewise.
17193 (SRC): Likewise.
17194 (LEN): Likewise.
17195 (__mempcpy): Likewise. Do not use BP_SYM.
17196 (mempcpy): Do not use BP_SYM in weak_alias.
17197 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17198 "bp-asm.h".
17199 (PARMS): Do not use macros from bp-asm.h.
17200 (DEST): Likewise.
17201 (LEN): Likewise.
17202 [!BZERO_P] (CHR): Likewise.
17203 (memset): Likewise. Do not use BP_SYM.
17204 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17205 "bp-asm.h".
17206 (PARMS): Do not use macros from bp-asm.h.
17207 (STR2): Likewise.
17208 (strcmp): Do not use BP_SYM.
17209 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17210 "bp-asm.h".
17211 (PARMS): Do not use macros from bp-asm.h.
17212 (STR): Likewise.
17213 (DELIM): Likewise.
17214 [USE_AS_STRTOK_R] (SAVE): Likewise.
17215 (FUNCTION): Likewise. Do not use BP_SYM.
17216 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17217 aliases.
17218 (strtok_r): Likewise.
17219 (__GI___strtok_r): Likewise.
17220 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17221 (PARMS): Do not use macros from bp-asm.h.
17222 (S): Likewise.
17223 (SIZE): Likewise.
17224 (__mpn_lshift): Do not use BP_SYM.
17225 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17226 (PARMS): Do not use macros from bp-asm.h.
17227 (STR): Likewise.
17228 (CHR): Likewise.
17229 (__memchr): Do not use BP_SYM.
17230 (memchr): Do not use BP_SYM in weak_alias.
17231 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17232 (PARMS): Do not use macros from bp-asm.h.
17233 (BLK2): Likewise.
17234 (LEN): Likewise.
17235 (memcmp): Do not use BP_SYM.
17236 (bcmp): Do not use BP_SYM in weak_alias.
17237 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17238 (PARMS): Do not use macros from bp-asm.h.
17239 (S1): Likewise.
17240 (SIZE): Likewise.
17241 (__mpn_mul_1): Do not use BP_SYM.
17242 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17243 "bp-asm.h".
17244 (PARMS): Do not use macros from bp-asm.h.
17245 (STR): Likewise.
17246 (CHR): Likewise.
17247 (__rawmemchr): Do not use BP_SYM.
17248 (rawmemchr): Do not use BP_SYM in weak_alias.
17249 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17250 (PARMS): Do not use macros from bp-asm.h.
17251 (S): Likewise.
17252 (SIZE): Likewise.
17253 (__mpn_rshift): Do not use BP_SYM.
17254 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17255 (PARMS): Do not use macros from bp-asm.h.
17256 (SIGMSK): Likewise.
17257 (__sigsetjmp): Likewise. Do not use BP_SYM.
17258 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17259 (_start): Do not use BP_SYM.
17260 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17261 (PARMS): Do not use macros from bp-asm.h.
17262 (DEST): Likewise.
17263 (SRC): Likewise.
17264 (__stpcpy): Likewise. Do not use BP_SYM.
17265 (stpcpy): Do not use BP_SYM in weak_alias.
17266 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17267 "bp-asm.h".
17268 (PARMS): Do not use macros from bp-asm.h.
17269 (DEST): Likewise.
17270 (SRC): Likewise.
17271 (LEN): Likewise.
17272 (__stpncpy): Likewise. Do not use BP_SYM.
17273 (stpncpy): Do not use BP_SYM in weak_alias.
17274 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17275 (PARMS): Do not use macros from bp-asm.h.
17276 (STR): Likewise.
17277 (CHR): Likewise.
17278 (strchr): Likewise. Do not use BP_SYM.
17279 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17280 "bp-asm.h".
17281 (PARMS): Do not use macros from bp-asm.h.
17282 (STR): Likewise.
17283 (CHR): Likewise.
17284 (__strchrnul): Likewise. Do not use BP_SYM.
17285 (strchrnul): Do not use BP_SYM in weak_alias.
17286 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17287 "bp-asm.h".
17288 (PARMS): Do not use macros from bp-asm.h.
17289 (STOP): Likewise.
17290 (strcspn): Do not use BP_SYM.
17291 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17292 "bp-asm.h".
17293 (PARMS): Do not use macros from bp-asm.h.
17294 (STR): Likewise.
17295 (STOP): Likewise.
17296 (strpbrk): Likewise. Do not use BP_SYM.
17297 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17298 "bp-asm.h".
17299 (PARMS): Do not use macros from bp-asm.h.
17300 (STR): Likewise.
17301 (CHR): Likewise.
17302 (strrchr): Likewise. Do not use BP_SYM.
17303 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17304 (PARMS): Do not use macros from bp-asm.h.
17305 (SKIP): Likewise.
17306 (strspn): Do not use BP_SYM.
17307 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17308 (PARMS): Do not use macros from bp-asm.h.
17309 (STR): Likewise.
17310 (DELIM): Likewise.
17311 (SAVE): Likewise.
17312 (FUNCTION): Likewise. Do not use BP_SYM.
17313 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17314 aliases.
17315 (strtok_r): Likewise.
17316 (__GI___strtok_r): Likewise.
17317 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17318 (PARMS): Do not use macros from bp-asm.h.
17319 (S1): Likewise.
17320 (S2): Likewise.
17321 (SIZE): Likewise.
17322 (__mpn_sub_n): Do not use BP_SYM.
17323 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17324 "bp-asm.h".
17325 (PARMS): Do not use macros from bp-asm.h.
17326 (S1): Likewise.
17327 (SIZE): Likewise.
17328 (__mpn_submul_1): Do not use BP_SYM.
17329 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17330 <bp-sym.h>.
17331 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17332 and <bp-asm.h>.
17333 (PARMS): Do not use macros from bp-asm.h.
17334 (FLAGS): Likewise.
17335 (PTID): Likewise.
17336 (TLS): Likewise.
17337 (CTID): Likewise.
17338 (__clone): Do not use BP_SYM.
17339 (clone): Do not use BP_SYM in weak_alias.
17340 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17341 and <bp-asm.h>.
17342 (PARMS): Do not use macros from bp-asm.h.
17343 (LEN): Likewise.
17344 (__mmap64): Do not use BP_SYM.
17345 (mmap64): Do not use BP_SYM in weak_alias.
17346 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17347 <bp-sym.h> and <bp-asm.h>.
17348 (PARMS): Do not use macros from bp-asm.h.
17349 (__posix_fadvise64_l64): Do not use BP_SYM.
17350 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17351 (PARMS): Do not use macros from bp-asm.h.
17352 (NSOPS): Likewise.
17353 (semtimedop): Do not use BP_SYM.
17354 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17355 and <bp-asm.h>.
17356
582a3cff
AM
173572013-02-21 Allan McRae <allan@archlinux.org>
17358
17359 * manual/message.texi (Charset conversion in gettext):
17360 Move @end statement to beginning of line.
17361
bab8a695
SP
173622013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17363
80945231
SP
17364 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17365 static.
17366 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17367 Likewise.
17368
bab8a695
SP
17369 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17370 (denorm): Likewise.
17371 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17372 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17373
e21d7aa7
AK
173742013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17375
17376 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17377 tail-call to the resolved function if pltexit isn't needed.
17378
4c7a4263
SP
173792013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17380
17381 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17382 or Y being zero as being unlikely.
17383 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17384 Likewise.
17385
41f49342
CD
173862013-02-20 Carlos O'Donell <carlos@redhat.com>
17387
17388 * manual/nss.texi (System Databases and Name Service Switch):
17389 Remove frobnicate @pxref.
17390
50022a93
TS
173912013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17392
17393 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17394 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17395
08cbd996
PM
173962013-02-20 Petr Machata <pmachata@redhat.com>
17397
17398 * elf/elf.h (R_ARM_TARGET1): New macro.
17399 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17400 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17401 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17402 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17403 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17404 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17405 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17406 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17407 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17408 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17409 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17410 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17411 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17412 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17413 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17414 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17415 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17416 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17417 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17418 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17419 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17420 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17421 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17422 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17423 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17424 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17425 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17426 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17427 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17428 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17429 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17430 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17431 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17432 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17433 (R_ARM_THM_GOT_BREL12): Likewise.
17434 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17435 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17436 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17437 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17438 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17439 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17440 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17441 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17442 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17443
c7b275d6
TS
174442013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17445
17446 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17447 __attribute_used__ to __attribute__ ((unused)).
17448
20cd7fb3
SP
174492013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17450
17451 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17452 powerpc mpa.c.
17453 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17454 comment formatting.
17455 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17456
92945b52
JM
174572013-02-19 Joseph Myers <joseph@codesourcery.com>
17458
17459 [BZ #13550]
17460 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17461 Remove macro.
17462 (ENTER): Remove both macro definitions.
17463 (LEAVE): Likewise.
17464 (CHECK_BOUNDS_LOW): Likewise.
17465 (CHECK_BOUNDS_HIGH): Likewise.
17466 (CHECK_BOUNDS_BOTH): Likewise.
17467 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17468 (RETURN_BOUNDED_POINTER): Likewise.
17469 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17470 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17471 (POP_ERRNO_LOCATION_RETURN): Likewise.
17472 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17473 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17474 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17475 macros.
17476 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17477 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17478 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17479 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17480 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17481 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17482 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17483 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17484 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17485 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17486 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17487 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17488 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17489 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17490 removed macros.
17491 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17492 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17493 macros.
17494 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17495 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17496 * sysdeps/i386/i586/memset.S (memset): Likewise.
17497 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17498 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17499 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17500 macros.
17501 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17502 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17503 Change uses of L(2) to L(out).
17504 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17505 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17506 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17507 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17508 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17509 removed macros.
17510 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17511 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17512 macros.
17513 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17514 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17515 (RETURN): Do not use macro LEAVE.
17516 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17517 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17518 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17519 * sysdeps/i386/i686/memset.S (memset): Likewise.
17520 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17521 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17522 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17523 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17524 Likewise.
17525 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17526 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17527 L(1_2) and L(1_3) into L(1).
17528 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17529 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17530 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17531 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17532 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17533 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17534 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17535 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17536 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17537 macros.
17538 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17539 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17540 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17541 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17542 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17543 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17544 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17545 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17546 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17547 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17548 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17549 * sysdeps/i386/strspn.S (strspn): Likewise.
17550 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17551 conditional code.
17552 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17553 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17554 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17555 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17556 L(1_3) into L(1_1).
17557 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17558 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17559 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17560 macros.
17561 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17562
2389741a
JJ
175632013-02-19 Jakub Jelinek <jakub@redhat.com>
17564
17565 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17566 macro.
17567
2016b3cd
SP
175682013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17569
e4f22324
SP
17570 * math/atest-exp.c (exp_mpn): Remove ROUND.
17571 * math/atest-exp2.c (exp_mpn): Likewise.
17572 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17573
2016b3cd
SP
17574 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17575 * stdlib/tst-tls-atexit-lib.c: Likewise.
17576 * stdlib/tst-tls-atexit.c: Likewise.
17577
4be9b544
MF
175782013-02-18 Mike Frysinger <vapier@gentoo.org>
17579
17580 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17581 and __attribute_alloc_size__.
17582
2f62b9ee
MF
175832013-02-18 Mike Frysinger <vapier@gentoo.org>
17584
17585 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17586 __attribute_alloc_size__.
17587 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17588 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17589
6ff444c4
MF
175902013-02-18 Mike Frysinger <vapier@gentoo.org>
17591
17592 * include/programs/xmalloc.h: New file.
17593 * catgets/gencat.c: Include it.
17594 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17595 * elf/pldd.c: Likewise.
17596 * iconv/iconv_charmap.c: Likewise.
17597 * iconv/iconvconfig.c: Likewise.
17598 * iconv/strtab.c: Likewise.
17599 * locale/programs/locale.c: Likewise.
17600 * locale/programs/localedef.h: Likewise.
17601 * locale/programs/simple-hash.c: Likewise.
17602 * nscd/nscd.h: Likewise.
17603 * nss/makedb.c: Likewise.
17604 * sysdeps/generic/ldconfig.h: Likewise.
17605
be179c8a
SP
176062013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17607
ba384f6e
SP
17608 * Versions.def: Add GLIBC_2.18.
17609 * include/link.h (struct link_map): New member l_tls_dtor_count.
17610 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17611 (__call_tls_dtors): Likewise.
17612 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17613 __cxa_thread_atexit_impl.
17614 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17615 Likewise.
17616 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17617 Likewise.
17618 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17619 Likewise.
17620 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17621 Likewise.
17622 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17623 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17624 Likewise.
17625 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17626 Likewise.
17627 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17628 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17629 Likewise.
17630 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17631 (tests): Add test case tst-tls-atexit.
17632 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17633 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17634 (GLIBC_PRIVATE): Add __call_tls_dtors.
17635 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17636 for libstdc++.
17637 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17638 * stdlib/tst-tls-atexit.c: New test case.
17639 * stdlib/tst-tls-atexit-lib.c: New test case.
17640
ffaa74cf 17641 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17642
be179c8a
SP
17643 * elf/Versions (ld): Add _dl_find_dso_for_object.
17644 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17645 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17646 (dl_open_worker): Use _dl_find_dso_for_object.
17647 * elf/dl-sym.c (do_sym): Likewise.
17648 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17649
f78b5caa
AK
176502013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17651
17652 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17653 Syntactic changes only.
17654 (_dl_runtime_profile): Do a tail-call to the resolved function.
17655
29691210
JM
176562013-02-17 Joseph Myers <joseph@codesourcery.com>
17657
17658 [BZ #13550]
17659 * sysdeps/x86_64/bp-asm.h: Remove file.
17660 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17661 <bp-sym.h> and <bp-asm.h>.
17662 (__clone): Do not use BP_SYM.
17663 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17664 <bp-sym.h> and <bp-asm.h>.
17665 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17666 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17667 "bp-asm.h".
17668 (_setjmp): Do not use BP_SYM.
17669 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17670 "bp-asm.h".
17671 (setjmp): Do not use BP_SYM.
17672 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17673 libc_hidden_def.
17674 (mempcpy): Do not use BP_SYM in weak_alias.
17675 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17676 "bp-asm.h".
17677 (strchr): Do not use BP_SYM.
17678 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17679 "bp-asm.h".
17680 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17681 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17682 (_start): Do not use BP_SYM.
17683 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17684 "bp-asm.h".
17685 (strcat): Do not use BP_SYM.
17686 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17687 "bp-asm.h".
17688 (STRCMP): Do not use BP_SYM.
17689 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17690 "bp-asm.h".
17691 (STRCPY): Do not use BP_SYM.
17692 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17693 "bp-asm.h".
17694 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17695 "bp-asm.h".
17696 (FUNCTION): Do not use BP_SYM.
17697 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17698 weak_alias.
17699 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17700
f238fd19
AJ
177012013-02-17 Andreas Jaeger <aj@suse.de>
17702
17703 * time/Versions: Sort entries.
17704 * string/Versions: Likewise.
17705 * resolv/Versions: Likewise.
17706 * posix/Versions: Likewise.
17707 * iconv/Versions: Likewise.
17708 * elf/Versions: Likewise.
17709 * wcsmbs/Versions: Likewise.
17710
bd07f23c 177112013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17712
22af19f9
SP
17713 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17714 loop termination condition.
17715
4709fe76
SP
17716 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17717 variable to calculate EZ.
17718 (__sqr): Likewise.
2d0e0f29
SP
17719
17720 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17721 the lower precision input.
17722
daaa7713
JM
177232013-02-15 Joseph Myers <joseph@codesourcery.com>
17724
17725 [BZ #13550]
17726 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17727 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17728 (run-via-rtld-prefix): Do not handle %-bp tests.
17729 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17730 (all-object-suffixes): Remove .ob.
17731 (bppfx): Remove variable.
17732 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17733 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17734 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17735 [$(build-bounded) = yes] (libtype.ob): Likewise.
17736 * Makerules (elide-routines.ob): Remove variable.
17737 (do-tests-clean): Do not handle *-bp.out.
17738 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17739 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17740 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17741 (tests): Do not include $(tests-bp.out).
17742 (xtests): Do not include $(xtests-bp.out).
17743 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17744 [$(build-bounded) = yes] ($(addprefix
17745 $(objpfx),$(binaries-bounded))): Remove rule.
17746 ($(objpfx)%-bp.out): Remove rule.
17747 * config.make.in (build-bounded): Remove variable.
17748 * crypt/Makefile [$(build-bounded) = yes]
17749 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17750 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17751 append to variable.
17752 [$(build-bounded) = yes] (install-lib): Likewise.
17753 [$(build-bounded) = yes] (generated): Likewise.
17754 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17755 Remove rule.
17756 * intl/Makefile [$(build-bounded) = yes]
17757 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17758 * math/Makefile [$(build-bounded) = yes]
17759 ($(tests:%=$(objpfx)%-bp): Likewise.
17760 * misc/Makefile [$(build-bounded) = yes]
17761 ($(objpfx)tst-tsearch-bp): Likewise.
17762 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17763 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17764 Remove dependency.
17765 * string/Makefile (o-objects.ob): Remove variable.
17766 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17767 (CFLAGS-.ob): Remove variable.
17768 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17769 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17770 both definitions of variable.
17771 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17772 (ASFLAGS-.ob): Remove variable.
17773
e97ed6dd
JM
177742013-02-14 Joseph Myers <joseph@codesourcery.com>
17775
2bdd4ca6
JM
17776 [BZ #13550]
17777 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17778 Remove __BOUNDED_POINTERS__ from condition.
17779 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17780 * string/bits/string2.h [!__NO_STRING_INLINES &&
17781 !__BOUNDED_POINTERS__]: Likewise.
17782 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17783 Likewise.
17784 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17785 Remove conditional code.
17786 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17787 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17788 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17789 condition.
17790
e97ed6dd
JM
17791 [BZ #13550]
17792 * csu/libc-start.c: Do not include <bp-sym.h>.
17793 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17794 * elf/dl-open.c: Do not include <bp-sym.h>.
17795 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17796 * math/fegetenv.c: Do not include <bp-sym.h>.
17797 (fegetenv): Do not use BP_SYM in versioned symbols.
17798 * nptl/sysdeps/pthread/bits/libc-lockP.h
17799 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17800 <bp-sym.h>.
17801 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17802 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17803 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17804 (__pthread_mutex_destroy): Likewise.
17805 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17806 (__pthread_mutex_lock): Likewise.
17807 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17808 (__pthread_mutex_trylock): Likewise.
17809 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17810 (__pthread_mutex_unlock): Likewise.
17811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17812 (__pthread_mutexattr_init): Likewise.
17813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17814 (__pthread_mutexattr_destroy): Likewise.
17815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17816 (__pthread_mutexattr_settype): Likewise.
17817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17818 (__pthread_rwlock_init): Likewise.
17819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17820 (__pthread_rwlock_destroy): Likewise.
17821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17822 (__pthread_rwlock_rdlock): Likewise.
17823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17824 (__pthread_rwlock_tryrdlock): Likewise.
17825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17826 (__pthread_rwlock_wrlock): Likewise.
17827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17828 (__pthread_rwlock_trywrlock): Likewise.
17829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17830 (__pthread_rwlock_unlock): Likewise.
17831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17832 (__pthread_key_create): Likewise.
17833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17834 (__pthread_setspecific): Likewise.
17835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17836 (__pthread_getspecific): Likewise.
17837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17838 Likewise.
17839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17840 (_pthread_cleanup_push_defer): Likewise.
17841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17842 (_pthread_cleanup_pop_restore): Likewise.
17843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17844 (pthread_setcancelstate): Likewise.
17845 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17846 <bp-sym.h>.
17847 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17848 (memchr): Do not use BP_SYM in weak_alias.
17849 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17850 (fegetenv): Do not use BP_SYM in versioned symbols.
17851 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17852 (fesetenv): Do not use BP_SYM in versioned symbols.
17853 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17854 (feupdateenv): Do not use BP_SYM in versioned symbols.
17855 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17856 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17857 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17858 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17859 (open64): Do not use BP_SYM in weak_alias.
17860 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17861 (fegetenv): Do not use BP_SYM in versioned symbols.
17862 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17863 (fesetenv): Do not use BP_SYM in versioned symbols.
17864 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17865 (feupdateenv): Do not use BP_SYM in versioned symbols.
17866 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17867 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17868 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17869 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17870 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17871 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17872 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17873 <bp-sym.h>.
17874 (__libc_start_main): Do not use BP_SYM.
17875
d6752ccd
SP
178762013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17877
cb57ce60
SP
17878 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17879 redundant return line.
17880 (norm): Likewise.
17881 (denorm): Likewise.
17882 (dbl_mp): Likewise.
17883 (sub_magnitudes): Likewise.
17884 (__add): Likewise.
17885 (__sub): Likewise.
17886 (__mul): Likewise.
17887 (__inv): Likewise.
17888 (__dvd): Likewise.
17889 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17890 (norm): Likewise.
17891 (denorm): Likewise.
17892 (dbl_mp): Likewise.
17893 (sub_magnitudes): Likewise.
17894 (__add): Likewise.
17895 (__sub): Likewise.
17896 (__mul): Likewise.
17897 (__inv): Likewise.
17898 (__dvd): Likewise.
17899
f414520d
SP
17900 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17901 instead of __mul.
17902 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17903 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17904 (cc32): Likewise.
17905
d6752ccd
SP
17906 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17907 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17908 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17909 of __mul for squares.
17910 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17911 function
17912 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17913 Likewise.
17914 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17915 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17916
70d9946a
JM
179172013-02-13 Joseph Myers <joseph@codesourcery.com>
17918
17919 [BZ #13550]
17920 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17921 code.
17922 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17923 prototype or function definition. Rename ubp_* variables and
17924 parameters. Remove argv definitions conditional on
17925 [__BOUNDED_POINTERS__].
17926 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17927 * elf/dl-runtime.c (_dl_fixup): Likewise.
17928 * include/set-hooks.h (RUN_HOOK): Likewise.
17929 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17930 definition.
17931 * string/strcpy.c (strcpy): Do not use __unbounded.
17932 * sysdeps/generic/frame.h (struct layout): Likewise.
17933 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17934 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17935 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17936 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17937 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17938 (__backtrace): Likewise.
17939 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17940 use __ptrvalue.
17941 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17942 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17943 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17944 Likewise.
17945 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17946 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17947 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17948 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17949 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17950 Do not use __unbounded.
17951 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17952 Rename __unboundedrlimits parameter to rlimits in prototype.
17953 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17954 Do not use __unbounded.
17955 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17956 not use __ptrvalue.
17957 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17958 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
17959 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
17960 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
17961 __ptrvalue or __unbounded.
17962 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
17963 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
17964 use __unbounded.
17965 (__new_msgctl): Do not use __ptrvalue.
17966 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
17967 __unbounded.
17968 (__libc_msgrcv): Do not use __ptrvalue.
17969 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
17970 startup_info): Do not use __unbounded.
17971 (__libc_start_main): Likewise. Rename ubp_* variables and
17972 parameters. Remove argv definitions conditional on
17973 [__BOUNDED_POINTERS__].
17974 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
17975 __ptrvalue.
17976 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
17977 use __unbounded.
17978 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
17979 or __ptrvalue.
17980 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
17981 use __unbounded.
17982 (__new_shmctl): Do not use __ptrvalue.
17983 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
17984 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
17985 Likewise.
17986 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
17987 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
17988 (__libc_sigaction): Likewise.
17989 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
17990 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
17991 Likewise.
17992 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
17993
cc7834d6
OB
179942013-02-13 Ondřej Bílka <neleai@seznam.cz>
17995
ffb1ec7b 17996 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
17997
17998 * string/mempcpy.c: Implement by calling memcpy.
17999
bdf02814
SP
180002013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18001
c2af38aa
SP
18002 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18003
4e92d59e
SP
18004 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18005 evaluation.
18006
909279a5
SP
18007 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18008 values in the mantissa.
18009
bdf02814
SP
18010 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18011 minimize writes to Z.
18012 (sub_magnitudes): Simplify code a bit.
18013
cd525923
RM
180142013-02-12 Roland McGrath <roland@hack.frob.com>
18015
18016 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18017 from the message. The linker prefixes all warnings with that already.
18018
7e2f0d2d
AS
180192013-02-12 Andreas Schwab <schwab@suse.de>
18020
a445af0b
AS
18021 [BZ #15078]
18022 * posix/regexec.c (extend_buffers): Add parameter min_len.
18023 (check_matching): Pass minimum needed length.
18024 (clean_state_log_if_needed): Likewise.
18025 (get_subexp): Likewise.
18026 * posix/Makefile (tests): Add bug-regex34.
18027 (bug-regex34-ENV): Define.
18028 * posix/bug-regex34.c: New file.
18029
7e2f0d2d
AS
18030 [BZ #11561]
18031 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18032 elements compare against the byte sequence of it, not its name.
18033 * posix/Makefile (tests): Add bug-regex35.
18034 (bug-regex35-ENV): Define.
18035 * posix/bug-regex35.c: New file.
18036
a175b684
TV
180372013-02-11 Tom de Vries <tom@codesourcery.com>
18038
18039 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18040 comment.
18041 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18042 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18043 (CHECK_EOL): Add undef.
18044
310998fe 180452013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18046
18047 * bits/stdlib-bsearch.h: New file.
18048 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18049 * stdlib/stdlib.h: Likewise.
41eda41d 18050
8ded91fb
RM
180512013-02-11 Roland McGrath <roland@hack.frob.com>
18052
18053 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18054 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18055 declaration.
18056 * manual/search.texi (Array Search Function): Add missing const in
18057 lfind prototype.
18058 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18059 declaration to use rlim_t.
18060 (Basic Scheduling Functions): Remove erroneous const from
18061 sched_getparam prototype. Remove erroneous * from
18062 sched_get_priority_max and sched_get_priority_min prototypes.
18063 (Resource Usage): Fix summary @comment on vtimes to refer to
18064 sys/vtimes.h rather than vtimes.h.
18065 Add missing *s in vtimes prototype.
18066 (Limits on Resources): Fix ulimit prototype to return long int.
18067 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18068 prototypes to use long int rather than double.
18069 (BSD Random): Fix initstate and setstate to use char *, not void *.
18070 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18071 prototype to make second argument 'struct aiocb64 *const[]'.
18072 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18073 (Status of AIO Operations): Remove erroneous const in aio_return and
18074 aio_return64 prototypes.
18075 (Synchronizing I/O): Fix sync prototype to return void.
18076 * manual/startup.texi (Suboptions): Remove an erroneous const in
18077 getsubopt prototype.
18078 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18079 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18080 use size_t rather than int.
18081 (Scanning All Users): Likewise for getpwent_r.
18082 (Setting Groups): Add missing const to setgroups prototype.
18083 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18084 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18085 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18086 'const void *' rather than 'const char *'.
18087 (Host Address Functions): Likewise for inet_ntop.
18088 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18089 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18090 ssize_t for return value.
18091 (Sending Data): Likewise for send, sendto, sendmsg.
18092 (Socket Option Functions): Add a missing const in setsockopt prototype.
18093 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18094 use wchar_t for the argument.
18095 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18096 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18097 take no arguments.
18098 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18099 double/float/long double for second argument.
18100 Fix return types of significand, significandf, significandl.
18101 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18102 argument in fchmod prototype.
18103 (File Owner): Use uid_t and gid_t in fchown prototype.
18104 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18105 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18106 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18107 use 'const struct dirent **' as argument types to CMP function pointer
18108 argument.
18109 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18110 (File Times): Fix summary magic @comment for struct utimbuf and utime
18111 to refer to utime.h, not time.h.
18112 * manual/string.texi (Argz Functions): Add missing const in
18113 argz_extract and argz_next prototypes.
18114 (Finding Tokens in a String): Likewise for basename.
18115 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18116 (Copying and Concatenation): Fix typo in wmemmove prototype.
18117 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18118 (Signal Stack): Remove erroneous const in sigstack prototype.
18119 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18120 prototype.
18121 (Simple Calendar Time): Likewise for stime.
18122 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18123 prototype.
18124 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18125 say sys/sysctl.h instead.
18126 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18127 and vsyslog prototypes.
18128
fe77fe6d
TV
181292013-02-11 Tom de Vries <tom@codesourcery.com>
18130
18131 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18132 Remove.
18133
3a09b620
RM
181342013-02-11 Roland McGrath <roland@hack.frob.com>
18135
18136 * misc/sys/mman.h: Fix typo in mremap comment.
18137
550a0b89
RM
181382013-02-08 Roland McGrath <roland@hack.frob.com>
18139
18140 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18141 the '\0' terminator.
18142
a2da1673
JM
181432013-02-08 Joseph Myers <joseph@codesourcery.com>
18144
18145 [BZ #13550]
18146 * debug/segfault.c: Don't include <bp-checks.h>.
18147 * sysdeps/generic/bp-checks.h: Remove file.
18148 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18149 (__GETDENTS): Don't use CHECK_N.
18150 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18151 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18152 (__getgroups): Don't use CHECK_N.
18153 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18154 (setgroups): Don't use CHECK_N.
18155 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18156 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18157 (__libc_msgrcv): Don't use CHECK_N.
18158 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18159 (__libc_msgsnd): Don't use CHECK_N.
18160 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18161 <bp-checks.h>.
18162 (__libc_pread): Don't use CHECK_N.
18163 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18164 include <bp-checks.h>.
18165 (__libc_pread64): Don't use CHECK_N.
18166 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18167 include <bp-checks.h>.
18168 (__libc_pwrite): Don't use CHECK_N.
18169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18170 include <bp-checks.h>.
18171 (__libc_pwrite64): Don't use CHECK_N.
18172 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18173 <bp-checks.h>.
18174 (__libc_pread): Don't use CHECK_N.
18175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18176 include <bp-checks.h>.
18177 (__libc_pread64): Don't use CHECK_N.
18178 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18179 include <bp-checks.h>.
18180 (__libc_pwrite): Don't use CHECK_N.
18181 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18182 include <bp-checks.h>.
18183 (__libc_pwrite64): Don't use CHECK_N.
18184 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18185 (do_pread): Don't use CHECK_N.
18186 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18187 (do_pread64): Don't use CHECK_N.
18188 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18189 (do_pwrite): Don't use CHECK_N.
18190 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18191 (do_pwrite64): Don't use CHECK_N.
18192 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18193 (__libc_readv): Don't use CHECK_N.
18194 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18195 (semop): Don't use CHECK_N.
18196 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18197 <bp-checks.h>.
18198 (semtimedop): Don't use CHECK_N.
18199 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18200 (__libc_pread): Don't use CHECK_N.
18201 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18202 <bp-checks.h>.
18203 (__libc_pread64): Don't use CHECK_N.
18204 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18205 <bp-checks.h>.
18206 (__libc_pwrite): Don't use CHECK_N.
18207 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18208 <bp-checks.h>.
18209 (__libc_pwrite64): Don't use CHECK_N.
18210 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18211 <bp-checks.h>.
18212 (__libc_msgrcv): Don't use CHECK_N.
18213 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18214 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18215 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18216 (__libc_writev): Don't use CHECK_N.
18217
b84660a8
RM
182182013-02-08 Roland McGrath <roland@hack.frob.com>
18219
7f3e75f8
RM
18220 * string/strcpy.c: Removed unused variable.
18221
b84660a8
RM
18222 * Makeconfig (+sysdep-includes): Define with := rather than =.
18223 Use an existing include/ subdir of each sysdeps dir before it.
18224
471514d3
CD
182252013-02-08 Carlos O'Donell <carlos@redhat.com>
18226
18227 * nscd/connection.c (register_traced_file): Comment function.
18228 [HAVE_INOTIFY] (union __inev): Define.
18229 [HAVE_INOTIFY] (inotify_check_files): New function.
18230 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18231 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18232 clear_db_cache.
18233 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18234
b2d3c3be
CD
182352013-02-08 Carlos O'Donell <carlos@redhat.com>
18236
18237 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18238 loaded if not already and that a failure is permanent.
18239
b39949d2
CD
182402013-02-08 Carlos O'Donell <carlos@redhat.com>
18241
ddacd1db 18242 [BZ #15006]
b39949d2
CD
18243 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18244 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18245
b2c9eff4
JM
182462013-02-08 Joseph Myers <joseph@codesourcery.com>
18247
f3aae3f3
JM
18248 [BZ #13550]
18249 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18250 (CHECK_1_NULL_OK): Likewise.
18251 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18252 (__fxstat): Do not use CHECK_1.
18253 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18254 <bp-checks.h>.
18255 (___fxstat64): Do not use CHECK_1.
18256 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18257 <bp-checks.h>.
18258 (__fxstatat): Do not use CHECK_1.
18259 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18260 <bp-checks.h>.
18261 (__fxstatat64): Do not use CHECK_1.
18262 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18263 <bp-checks.h>.
18264 (__fxstat): Do not use CHECK_1.
18265 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18266 <bp-checks.h>.
18267 (__fxstatat): Do not use CHECK_1.
18268 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18269 <bp-checks.h>.
18270 (__getresgid): Do not use CHECK_1.
18271 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18272 <bp-checks.h>.
18273 (__getresuid): Do not use CHECK_1.
18274 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18275 <bp-checks.h>.
18276 (__lxstat): Do not use CHECK_1.
18277 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18278 <bp-checks.h>.
18279 (__old_msgctl): Do not use CHECK_1.
18280 (__new_msgctl): Likewise.
18281 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18282 <bp-checks.h>.
18283 (__new_setrlimit): Do not use CHECK_1.
18284 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18285 <bp-checks.h>.
18286 (__old_shmctl): Do not use CHECK_1.
18287 (__new_shmctl): Likewise.
18288 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18289 <bp-checks.h>.
18290 (__xstat): Do not use CHECK_1.
18291 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18292 (__lxstat): Do not use CHECK_1.
18293 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18294 <bp-checks.h>.
18295 (___lxstat64): Do not use CHECK_1.
18296 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18297 (__old_msgctl): Do not use CHECK_1.
18298 (__new_msgctl): Likewise.
18299 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18300 <bp-checks.h>.
18301 (__gettimeofday): Do not use CHECK_1.
18302 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18303 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18304 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18305 <bp-checks.h>.
18306 (__gettimeofday): Do not use CHECK_1.
18307 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18308 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18309 (__new_shmctl): Do not use CHECK_1.
18310 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18311 <bp-checks.h>.
18312 (do_sigtimedwait): Do not use CHECK_1.
18313 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18314 <bp-checks.h>.
18315 (do_sigwaitinfo): Do not use CHECK_1.
18316 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18317 <bp-checks.h>.
18318 (msgctl): Do not use CHECK_1.
18319 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18320 <bp-checks.h>.
18321 (shmctl): Do not use CHECK_1.
18322 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18323 (ustat): Do not use CHECK_1.
18324 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18325 <bp-checks.h>.
18326 (__fxstat): Do not use CHECK_1.
18327 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18328 <bp-checks.h>.
18329 (__fxstatat): Do not use CHECK_1.
18330 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18331 <bp-checks.h>.
18332 (__lxstat): Do not use CHECK_1.
18333 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18334 <bp-checks.h>.
18335 (__xstat): Do not use CHECK_1.
18336 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18337 (__xstat): Do not use CHECK_1.
18338 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18339 (___xstat64): Do not use CHECK_1.
18340
b2c9eff4
JM
18341 [BZ #13550]
18342 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18343 definitions.
18344 (CHECK_BOUNDS_HIGH): Likewise.
18345 * string/strcpy.c: Do not include <bp-checks.h>.
18346 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18347
f1d70dad
RM
183482013-02-07 Roland McGrath <roland@hack.frob.com>
18349
18350 * nscd/nscd-client.h (__nscd_drop_map_ref):
18351 Add __attribute__ ((unused)).
18352 * nis/nss-nisplus.h (niserr2nss): Likewise.
18353
18354 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18355 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18356
18357 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18358 Remove inline keyword.
18359 * include/rounding-mode.h (round_away): Likewise.
18360 * libio/wfileops.c (adjust_wide_data): Likewise.
18361 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18362 (__m128i_strloadu_tolower): Likewise.
18363 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18364 (__m128i_strloadu_tolower): Likewise.
18365 * time/mktime.c (ydhms_diff): Likewise.
18366 * locale/elem-hash.h (elem_hash): Likewise.
18367 * locale/setlocale.c (setdata): Likewise.
18368 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18369 (re_string_wchar_at): Likewise.
18370 (bitset_not, bitset_merge, bitset_mask): Likewise.
18371 [!(__GNUC__ > 3)] (inline): Remove macro.
18372 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18373 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18374 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18375 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18376 * string/memcmp.c (memcmp_bytes): Likewise.
18377 * locale/programs/locarchive.c (compute_hashval): Likewise.
18378 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18379 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18380 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18381 * nss/getent.c (print_rpc, print_protocols): Likewise.
18382 (print_passwd, print_group, print_aliases): Likewise.
18383 * nis/nss-nisplus.h (niserr2nss): Likewise.
18384 * nscd/connections.c (restart_p): Likewise.
18385 Change return type to bool.
18386
eab55bfb
RM
183872013-02-05 Roland McGrath <roland@hack.frob.com>
18388
7bd642f5
RM
18389 * Makeconfig (all-Depend-files): Add existing
18390 $(sorted-subdirs:=/Depend) files.
18391 (all-subdirs): Remove nss.
18392 * sysdeps/unix/inet/Subdirs: Add it here instead.
18393 * hesiod/Depend: New file.
18394
573c29b2
RM
18395 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18396 instead of calling alloca.
18397
b2e25af0
RM
18398 * io/lseek.c (__lseek): Rename to __libc_lseek.
18399 Define __lseek as an alias.
18400
eab55bfb
RM
18401 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18402
9a0d1941
CD
184032013-02-04 Carlos O'Donell <carlos@redhat.com>
18404
18405 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18406 else clause and remove check for non-standard endianness.
18407
b83bbec4
DM
184082013-02-04 David S. Miller <davem@davemloft.net>
18409
18410 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18411
6277fdab
JM
184122013-02-04 Joseph Myers <joseph@codesourcery.com>
18413
18414 [BZ #13550]
18415 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18416 (__ubp_memchr): Remove prototype.
18417 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18418 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18419 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18420 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18421 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18422 Remove alias.
18423 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18424 (__ubp_memchr): Likewise.
18425 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18426 (__ubp_memchr): Likewise.
18427 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18428 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18429 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18430 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18431 CHECK_STRING.
18432 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18433 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18434 (__getcwd): Do not use CHECK_STRING.
18435 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18436 <bp-checks.h>.
18437 (__real_chown): Do not use CHECK_STRING.
18438 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18439 <bp-checks.h>.
18440 (fchownat): Do not use CHECK_STRING.
18441 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18442 CHECK_STRING.
18443 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18444 <bp-checks.h>.
18445 (__lchown): Do not use CHECK_STRING.
18446 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18447 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18448 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18449 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18451 include <bp-checks.h>.
18452 (truncate64): Do not use CHECK_STRING.
18453 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18454 <bp-checks.h>.
18455 (__real_chown): Do not use CHECK_STRING.
18456 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18457 <bp-checks.h>.
18458 (__lchown): Do not use CHECK_STRING.
18459 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18460 <bp-checks.h>.
18461 (__chown): Do not use CHECK_STRING.
18462 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18463 <bp-checks.h>.
18464 (truncate64): Do not use CHECK_STRING.
18465 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18466 Likewise.
18467 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18468 (__xmknod): Do not use CHECK_STRING.
18469 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18470 <bp-checks.h>.
18471 (__xmknodat): Do not use CHECK_STRING.
18472 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18473 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18474
903ae060
AS
184752013-02-04 Andreas Schwab <schwab@suse.de>
18476
18477 [BZ #14142]
18478 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18479 * include/netdb.h: Likewise for h_errno.
18480 * elf/tst-stackguard1.c: Include <tls.h>.
18481
542f9466
JK
184822013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18483
18484 * elf/link.h (struct link_map): Extend the l_addr comment.
18485 * include/link.h (struct link_map): Likewise.
18486
e782a927
JM
184872013-02-01 Joseph Myers <joseph@codesourcery.com>
18488
18489 [BZ #13550]
18490 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18491 (BOUNDED_1): Remove macro.
18492 * debug/backtrace.c: Don't include <bp-checks.h>.
18493 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18494 (__backtrace): Likewise.
18495 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18496 <bp-checks.h>.
18497 (__backtrace): Don't use BOUNDED_1.
18498 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18499 <bp-checks.h>.
18500 (__backtrace): Don't use BOUNDED_1.
18501 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18502 (__backtrace): Don't use BOUNDED_1.
18503 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18504 (shmat): Don't use BOUNDED_N.
18505
8cf28c5e
JM
185062013-01-31 Joseph Myers <joseph@codesourcery.com>
18507
3a7ac8a0
JM
18508 [BZ #13550]
18509 * sysdeps/generic/bp-start.h: Remove file.
18510 * csu/libc-start.c: Don't include <bp-start.h>.
18511 (LIBC_START_MAIN): Set up __environ directly instead of using
18512 INIT_ARGV_and_ENVIRON.
18513 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18514 <bp-start.h>.
18515
f3499f95
JM
18516 [BZ #13550]
18517 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18518 definitions.
18519 (CHECK_FCNTL): Likewise.
18520 (CHECK_N_PAGES): Likewise.
18521
32a45bea
JM
18522 [BZ #13550]
18523 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18524 definitions.
18525 (CHECK_SIGSET_NULL_OK): Likewise.
18526 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18527 <bp-checks.h>.
18528 (sigpending): Don't use CHECK_SIGSET.
18529 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18530 <bp-checks.h>.
18531 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18532 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18533 <bp-checks.h>.
18534 (do_sigsuspend): Don't use CHECK_SIGSET.
18535 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18536 use CHECK_SIGSET.
18537 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18538 (do_sigwait): Don't use CHECK_SIGSET.
18539 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18540 use CHECK_SIGSET.
18541 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18542 include <bp-checks.h>.
18543 (sigpending): Don't use CHECK_SIGSET.
18544 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18545 include <bp-checks.h>.
18546 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18547 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18548 <bp-checks.h>.
18549 (sigpending): Don't use CHECK_SIGSET.
18550 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18551 <bp-checks.h>.
18552 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18553
2e8a5c8c
JM
18554 [BZ #13550]
18555 * sysdeps/generic/bp-semctl.h: Remove file.
18556 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18557 <bp-checks.h> and <bp-semctl.h>.
18558 (__old_semctl): Don't use CHECK_SEMCTL.
18559 (__new_semctl): Likewise.
18560 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18561 and <bp-semctl.h>.
18562 (__old_semctl): Don't use CHECK_SEMCTL.
18563 (__new_semctl): Likewise.
18564 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18565 <bp-checks.h> and <bp-semctl.h>.
18566 (__old_semctl): Don't use CHECK_SEMCTL.
18567 (__new_semctl): Likewise.
18568 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18569 <bp-checks.h> and <bp-semctl.h>.
18570 (semctl): Don't use CHECK_SEMCTL.
18571
c2d54929
JM
18572 [BZ #13550]
18573 * Makerules (elide-bp-thunks): Remove variable.
18574 (elide-routines.oS): Don't use $(elide-bp-thunks).
18575 (elide-routines.os): Likewise.
18576 (elide-routines.o): Likewise.
18577 (elide-routines.op): Likewise.
18578 (elide-routines.og): Likewise.
18579 (objects): Don't use $(bp-thunks).
18580 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18581 include.
18582 (common-generated): Do not add s-proto-bp.d.
18583 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18584 (int): Likewise.
18585 (typ): Likewise.
18586 Do not generate makefile rules for bounded-pointer thunks.
18587 * sysdeps/generic/bp-thunks.h: Remove file.
18588 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18589 * sysdeps/unix/s-proto-bp.S: Likewise.
18590
8cf28c5e
JM
18591 [BZ #15062]
18592 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18593 parts of result separately when argument is not close to line from
18594 -i to i and one part of argument is small.
18595 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18596 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18597 * math/libm-test.inc (cacos_test): Add more tests.
18598 (casin_test): Likewise.
18599 (casinh_test): Likewise.
18600 * sysdeps/i386/fpu/libm-test-ulps: Update.
18601 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18602
c4e33b8d
DM
186032013-01-31 David S. Miller <davem@davemloft.net>
18604
18605 * po/de.po: Update from translation team.
18606
3b60b421
MK
186072013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18608
18609 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18610
bb931195
TS
186112013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18612
b5a5da23
TS
18613 * configure.in (_AC_PROG_CC_C89): New definition.
18614 * configure: Regenerate.
18615
bb931195
TS
18616 * configure.in (AC_PROG_CPP): New definition.
18617 * configure: Regenerate.
18618
8c53a12c
JM
186192013-01-23 Joseph Myers <joseph@codesourcery.com>
18620
18621 * debug/tst-backtrace.h: New file.
18622 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18623 (ret): Remove variable.
18624 (x): Likewise.
18625 (FAIL): Remove macro.
18626 (NO_INLINE): Likewise.
18627 (fn1): Use match function instead of strstr.
18628 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18629 (ret): Remove variable.
18630 (x): Likewise.
18631 (FAIL): Remove macro.
18632 (NO_INLINE): Likewise.
18633 (fn): Use match function instead of strstr.
18634 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18635 (ret): Remove variable.
18636 (x): Likewise.
18637 (FAIL): Remove macro.
18638 (NO_INLINE): Likewise.
18639 (handle_signal): Use match function instead of strstr.
18640 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18641 (ret): Remove variable.
18642 (x): Likewise.
18643 (FAIL): Remove macro.
18644 (NO_INLINE): Likewise.
18645 (handle_signal): Use match function instead of strstr.
18646
4858fa2a
RM
186472013-01-23 Roland McGrath <roland@hack.frob.com>
18648
18649 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18650
bae8e7f5
DM
186512013-01-23 David S. Miller <davem@davemloft.net>
18652
18653 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18654 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18655 argument of CAS if possible.
18656 * sysdeps/sparc/sparc64/bits/atomic.h
18657 (__arch_compare_and_exchange_val_32_acq): Likewise.
18658 (__arch_compare_and_exchange_val_64_acq): Likewise.
18659
9cbbc4ae
PT
186602013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18661
18662 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18663 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18664 Include <limits.h>.
67b3f58c 18665 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18666
5655a0b5
AC
186672013-01-23 Adam Conrad <adconrad@0c3.net>
18668
18669 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18670 (LDFLAGS-tst-array5): Likewise.
18671
052aff95
JM
186722013-01-23 Joseph Myers <joseph@codesourcery.com>
18673
18674 [BZ #15036]
18675 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18676 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18677 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18678 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18679
7c1e01aa
DM
186802013-01-21 David S. Miller <davem@davemloft.net>
18681
18682 * sysdeps/sparc/backtrace.c: New file.
18683 * sysdeps/sparc/sparc32/backtrace.h: New file.
18684 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18685 * sysdeps/sparc/sparc64/backtrace.h: New file.
18686 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18687 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18688 -funwind-tables.
18689
ab087e0a
AS
186902013-01-21 Andreas Schwab <schwab@suse.de>
18691
18692 [BZ #15020]
18693 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18694 closed its stdout.
18695
ed689c2f
AS
186962013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18697
18698 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18699 "mpa2.h".
18700 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18701
31d470ac
JM
187022013-01-18 Joseph Myers <joseph@codesourcery.com>
18703 Mark Mitchell <mark@codesourcery.com>
18704 Tom de Vries <tom@codesourcery.com>
18705 Paul Pluzhnikov <ppluzhnikov@google.com>
18706
18707 * debug/tst-backtrace2.c: New file.
18708 * debug/tst-backtrace3.c: Likewise.
18709 * debug/tst-backtrace4.c: Likewise.
18710 * debug/tst-backtrace5.c: Likewise.
18711 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18712 (CFLAGS-tst-backtrace3.c): Likewise.
18713 (CFLAGS-tst-backtrace4.c): Likewise.
18714 (CFLAGS-tst-backtrace5.c): Likewise.
18715 (LDFLAGS-tst-backtrace2): Likewise.
18716 (LDFLAGS-tst-backtrace3): Likewise.
18717 (LDFLAGS-tst-backtrace4): Likewise.
18718 (LDFLAGS-tst-backtrace5): Likewise.
18719 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18720 tst-backtrace4 and tst-backtrace5.
18721
90567f30 187222013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18723 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18724
18725 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18726 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18727 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18728 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18730 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18731 "+r" and remove output regs list as redundant. Add explicit inline
18732 asm to specify register of return val to work around compiler codegen
18733 bug. Remove (int) cast on return value. Add return type parameter to
18734 use in macro so that this macro does not truncate return value for
18735 64-bit values.
18736 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18737 pass to INTERNAL_VSYSCALL_NCS.
18738 (INLINE_VSYSCALL): Add 'long int' as return type to
18739 INTERNAL_VSYSCALL_NCS macro invocation.
18740 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18741 INTERNAL_VSYSCALL_NCS macro invocation.
18742 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18743
d3b9ea61
SP
187442013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18745
0b57daeb
SP
18746 [BZ #14496]
18747 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18748 Fix application of SIMD FP exception mask.
18749
caa99d06
SP
18750 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18751 mp_no from a power of two.
18752 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18753 __mpexp_twomm1. Use __pow_mp.
18754
d3b9ea61
SP
18755 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18756 multiplication.
18757
1dbaee3c
DM
187582013-01-17 David S. Miller <davem@davemloft.net>
18759
18760 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18761
728d7b43
JM
187622013-01-17 Joseph Myers <joseph@codesourcery.com>
18763
18764 [BZ #15023]
18765 * include/complex.h: Condition contents on [!_COMPLEX_H].
18766 (__kernel_casinhf): New prototype.
18767 (__kernel_casinh): Likewise.
18768 (__kernel_casinhl): Likewise.
18769 * math/Makefile (libm_calls): Add k_casinh.
18770 * math/k_casinh.c: New file.
18771 * math/k_casinhf.c: Likewise.
18772 * math/k_casinhl.c: Likewise.
18773 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18774 finite nonzero arguments.
18775 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18776 finite nonzero arguments.
18777 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18778 finite nonzero arguments.
18779 * math/s_casinh.c: Do not include <float.h>.
18780 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18781 * math/s_casinhf.c: Do not include <float.h>.
18782 (__casinhf): Move code for finite nonzero arguments to
18783 k_casinhf.c.
18784 * math/s_casinhl.c: Do not include <float.h>.
18785 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18786 redefine.
18787 (__casinhl): Move code for finite nonzero arguments to
18788 k_casinhl.c.
18789 * math/libm-test.inc (cacos_test): Add more tests.
18790 * sysdeps/i386/fpu/libm-test-ulps: Update.
18791 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18792
2a26ef3a
PT
187932013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18794
18795 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18796 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18797 [!HAVE_MREMAP]: Remove [defined linux] case.
18798 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18799
a897655d
SP
188002013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18801
18802 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18803
881ebe89 188042013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18805
18806 * elf/elf.h (R_386_SIZE32): New relocation.
18807 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18808 R_386_SIZE32.
18809 (elf_machine_rela): Likewise.
18810 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18811 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18812
59981e9b
JM
188132013-01-17 Joseph Myers <joseph@codesourcery.com>
18814
18815 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18816 (FP_FAST_FMA): Do not define.
18817 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18818 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18819 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18820 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18821 !_SOFT_FLOAT]: Likewise.
18822 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18823 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18824 value.
18825 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18826 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18827 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18828 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18829 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18830 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18831 file.
18832
cfa8054f
AS
188332013-01-16 Andreas Schwab <schwab@suse.de>
18834
18835 [BZ #14327]
18836 * include/stdlib.h (__mktemp): Add declaration.
18837 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18838 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18839
dd930cc5
SP
188402013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18841
881ebe89
SP
18842 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18843 definitions.
18844 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18845 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18846 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18847 definitions here.
18848 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18849 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18850 definitions.
18851 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18852 and ONE.
18853 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18854 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18855 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18856 definitions.
18857 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18858 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18859 definitions.
18860 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18861
dd930cc5
SP
18862 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18863
c19a9f89
DM
188642013-01-15 David S. Miller <davem@davemloft.net>
18865
1aa61767
DM
18866 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18867 trunc{,f} to libm-sysdep_routes.
18868 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18869 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18870 file.
18871 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18872 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18873 file.
18874 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18875 file.
18876 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18877 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18878 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18879 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18880 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18881 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18882 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18883 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18884
c42d5e98
DM
18885 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18886 nearbyint{,f} to libm-sysdep_routes.
18887 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18889 New file.
18890 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18891 file.
18892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18893 New file.
18894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18895 file.
18896 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18897 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18898 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18899 file.
18900 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18901 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18902 file.
18903 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18904 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18905 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18906
c19a9f89
DM
18907 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18908 libc_feholdexcept and libc_fesetenv.
18909
357679d2
MF
189102013-01-15 Mike Frysinger <vapier@gentoo.org>
18911
18912 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18913
65a82e3d
DM
189142013-01-14 David S. Miller <davem@davemloft.net>
18915
8b954ab9
DM
18916 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18917 (SPARC_ASM_VIS2_IFUNC): Likewise.
18918 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18919 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18920 use of 'siam' instruction.
18921 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18922 Likewise.
18923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18924 Likewise.
18925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18926 Likewise.
18927 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18928 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18929 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18930 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18932 file.
18933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18934 file.
18935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18936 file.
18937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18938 file.
18939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18944 new VIS2 routines.
18945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18946 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18948 Likewise.
18949 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18950 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18951 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18952 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18954 routines to libm-sysdep_routines.
18955 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18956
65a82e3d
DM
18957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18958 fdim/fdimf to libm-sysdep_routines.
18959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
18960 file.
18961 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
18963 file.
18964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
18965 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
18967 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
18968 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
18969 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
18970 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
18971
e34ab705
SP
189722013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
18973
2a91b573
SP
18974 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
18975 to optimize copies.
18976
1066a534
SP
18977 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
18978 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
18979 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18980
e34ab705
SP
18981 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
18982 local variable MPTWO.
18983 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18984 Likewise.
18985
aba5e596
MF
189862013-01-13 Mike Frysinger <vapier@gentoo.org>
18987
18988 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
18989 GLOB_NOESCAPE.
18990
e557e9e5
MF
189912013-01-13 Mike Frysinger <vapier@gentoo.org>
18992
18993 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
18994
0428cec9
MF
189952013-01-13 Mike Frysinger <vapier@gentoo.org>
18996
18997 * manual/pattern.texi (glob_t): Document gl_flags.
18998 (glob64_t): Likewise.
18999
8794a964
DM
190002013-01-11 David S. Miller <davem@davemloft.net>
19001
66438c3f
RM
19002 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19003 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19004 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19005 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19006 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19007 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19008 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19009 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19010 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19011 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19012 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19013 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19014 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19015
4ae4244d
DM
19016 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19017 sparc V9 rather than using V8 code.
19018 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19019 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19020
8794a964
DM
19021 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19022 Move to...
19023 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19024 Here.
19025
6270516e
RM
190262013-01-11 Roland McGrath <roland@hack.frob.com>
19027
19028 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19029 not in the main loop.
19030 * configure: Regenerated.
19031
6a57d931
JM
190322013-01-11 Joseph Myers <joseph@codesourcery.com>
19033
19034 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19035 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19036 to just #else.
19037 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19038 [!__GLIBC_HAVE_LONG_LONG] case.
19039 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19040 condition to just #else.
19041 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19042 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19043 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19044 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19045 unconditional.
19046 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19047 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19048 #elif condition to just #else.
19049 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19050 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19051 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19052 #elif condition to just #else.
19053
0e8529e9
SE
190542013-01-11 Steve Ellcey <sellcey@mips.com>
19055
19056 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19057 (EF_MIPS_ARCH_64): Fix value.
19058 (EF_MIPS_ARCH_32R2): New.
19059 (EF_MIPS_ARCH_64R2): New.
19060
740b3dbe
L
190612013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19062
19063 * Makeconfig (+link-pie-before-libc): New.
19064 (+link-pie-after-libc): Likewise.
19065 (+link-pie-tests): Likewise.
19066 (+link-pie): Rewritten.
19067 (link-before-libc): Remove $(config-LDFLAGS).
19068 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19069 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19070 (config-LDFLAGS): Renamed to ...
19071 (rtld-LDFLAGS): This.
19072 (rtld-tests-LDFLAGS): New macro.
19073 (link-libc-rpath-link): Likewise.
19074 (link-libc-tests-rpath-link): Likewise.
19075 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19076 (link-libc): Prepand $(link-libc-rpath-link).
19077 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19078 (test-program-prefix): New macro.
19079 (test-via-rtld-prefix): Likewise.
19080 (test-program-cmd): Likewise.
19081 (host-test-program-cmd): Likewise.
19082 * Makefile ($(common-objpfx)testrun.sh): Replace
19083 $(run-program-prefix) with $(test-program-prefix).
19084 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19085 $(rtld-LDFLAGS).
19086 ($(common-objpfx)shlib.lds): Likewise.
19087 (build-module-helper): Likewise.
19088 ($(common-objpfx)format.lds): Likewise.
19089 * Rules (binaries-pie-tests): New.
19090 (binaries-pie-notests): Likewise.
19091 (binaries-pie): Rewritten.
19092 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19093 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19094 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19095 (make-test-out): Replace $(host-built-program-cmd) with
19096 $(host-test-program-cmd).
19097 * config.make.in (build-hardcoded-path-in-tests): New variable.
19098 * configure.in (--enable-hardcoded-path-in-tests): New configure
19099 option.
19100 (hardcoded_path_in_tests): New AC_SUBST.
19101 * configure: Regenerated.
19102 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19103 $(built-program-cmd) with $(test-program-cmd).
19104 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19105 (test_program_cmd): This.
19106 * elf/Makefile ($(objpfx)order.out): Run test with
19107 $(test-program-prefix).
19108 ($(objpfx)order2.out): Likewise.
19109 ($(objpfx)tst-initorder.out): Likewise.
19110 ($(objpfx)tst-initorder2.out): Likewise.
19111 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19112 $(test-program-cmd).
19113 ($(objpfx)tst-array1-static.out): Likewise.
19114 ($(objpfx)tst-array2.out): Likewise.
19115 ($(objpfx)tst-array3.out): Likewise.
19116 ($(objpfx)tst-array4.out): Likewise.
19117 ($(objpfx)tst-array5.out): Likewise.
19118 ($(objpfx)tst-array5-static.out): Likewise.
19119 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19120 $(test-program-cmd).
19121 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19122 $(run-program-prefix) with $(test-program-prefix).
19123 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19124 (test_program_prefix): This.
19125 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19126 $(run-program-prefix) with $(test-program-prefix).
19127 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19128 (test_program_prefix): This.
19129 * iconvdata/tst-tables.sh: Likewise.
19130 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19131 $(run-program-prefix) with $(test-program-prefix).
19132 ($(objpfx)tst-translit.out): Likewise.
19133 ($(objpfx)tst-gettext2.out): Likewise.
19134 ($(objpfx)tst-gettext4.out): Likewise.
19135 ($(objpfx)tst-gettext6.out): Likewise.
19136 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19137 (test_program_prefix): This.
19138 * intl/tst-gettext2.sh: Likewise.
19139 * intl/tst-gettext4.sh Likewise.
19140 * intl/tst-gettext6.sh: Likewise.
19141 * intl/tst-translit.sh: Likewise.
19142 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19143 with $(test-program-cmd).
19144 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19145 $(run-program-prefix) with $(test-program-prefix).
19146 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19147 (test_program_prefix): This.
19148 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19149 $(run-program-prefix) with $(test-program-prefix).
19150 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19151 (test_program_prefix): This.
19152 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19153 * posix/Makefile ($(objpfx)globtest.out): Replace
19154 $(run-via-rtld-prefix) and $(test-wrapper) with
19155 $(test-program-prefix) and $(test-via-rtld-prefix).
19156 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19157 $(test-program-prefix).
19158 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19159 $(host-test-program-cmd).
19160 (tst-spawn-ARGS): Likewise.
19161 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19162 $(test-program-prefix).
19163 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19164 (test_via_rtld_prefix): This.
19165 (test_wrapper): Renamed to ...
19166 (test_program_prefix): This.
19167 (run_program_prefix): Replaced by test_program_prefix.
19168 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19169 (test_program_prefix): This.
19170 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19171 with $(host-test-program-cmd).
19172 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19173 $(run-program-prefix) with $(test-program-prefix).
19174 ($(objpfx)tst-printf.out): Likewise.
19175 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19176 $(test-program-cmd).
19177 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19178 (test_program_prefix): This.
19179 * stdio-common/tst-unbputc.sh: Likewise.
19180 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19181 $(run-program-prefix) with $(test-program-prefix).
19182 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19183 (test_program_prefix): This.
19184 * string/Makefile ($(objpfx)tst-svc.out): Replace
19185 $(built-program-cmd) with $(test-program-cmd).
19186
c6fe55cf
AJ
191872013-01-11 Andreas Jaeger <aj@suse.de>
19188
19189 [BZ #15003]
19190 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19191 value. Sync with Linux 3.7.
19192
9e6919c8
DM
191932013-01-10 David S. Miller <davem@davemloft.net>
19194
19195 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19196 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19197 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19198
1c9f1a02
RM
191992013-01-10 Roland McGrath <roland@hack.frob.com>
19200
19201 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19202 never set.
19203 * configure: Regenerated.
19204
b9de2dde
DM
192052013-01-10 David S. Miller <davem@davemloft.net>
19206
19207 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19208 sparc V9 rather than using V8 code.
19209 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19210 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19211
e7f68ef4
RM
192122013-01-10 Roland McGrath <roland@hack.frob.com>
19213
19214 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19215 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19216 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19217 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19218 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19219 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19220 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19221 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19222 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19223 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19224 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19225 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19226 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19227 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19228 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19229 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19230 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19231 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19232 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19233 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19234 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19235 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19236 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19237 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19238 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19239 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19240 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19241
5a47cc9c
DM
192422013-01-10 David S. Miller <davem@davemloft.net>
19243
19244 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19245
4cf8f209
L
192462013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19247
19248 * posix/Makefile (tests-static): New variable.
19249 (tests): Add $(tests-static).
19250 (tst-exec-static-ARGS): New variable.
19251 (tst-spawn-static-ARGS): Likewise.
19252 * posix/tst-exec-static.c: New file.
19253 * posix/tst-spawn-static.c: Likewise.
19254 * posix/tst-exec.c: Support run directly.
19255 * posix/tst-spawn.c: Likewise.
19256
fed0faa1
JM
192572013-01-10 Joseph Myers <joseph@codesourcery.com>
19258
828beb13
JM
19259 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19260 long.
19261 * math/bits/mathcalls.h (llrint): Likewise.
19262 (llround): Likewise.
19263 * stdlib/stdlib.h (struct drand48_data): Likewise.
19264 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19265 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19266 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19267 Likewise.
19268 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19269 Likewise.
19270 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19271 (elf_greg_t): Likewise.
19272 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19273 (__jmp_buf): Likewise.
19274 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19275 definitions.
19276 (llrint): Likewise, for all definitions.
19277 (llrintl): Likewise.
19278
fed0faa1
JM
19279 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19280 Remove [__GNUC__] condition.
19281 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19282 condition to just [__USE_ISOC99].
19283 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19284
1a20cb20
L
192852013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19286
19287 [BZ #14200]
19288 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19289 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19290 defined.
19291 (_POSIX_V6_ILP32_OFF32): Likewise.
19292 (_XBS5_ILP32_OFF32): Likewise.
19293 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19294 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19295
751b85f7
SP
192962013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19297
7490eb81
SP
19298 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19299
751b85f7
SP
19300 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19301 doubles __mpexp_twomm1. Adjust usage.
19302 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19303 Remove.
19304
988197f0
AS
193052013-01-10 Andreas Schwab <schwab@suse.de>
19306
19307 [BZ #14964]
19308 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19309 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19310
e83d7298
DM
193112013-01-09 David S. Miller <davem@davemloft.net>
19312
034ed64b 19313 [BZ #15003]
e83d7298
DM
19314 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19315 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19316 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19317 TCP_FASTOPEN): Define.
19318 (tcp_repair_opt): New structure.
19319 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19320 enum values.
19321 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19322 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19323 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19324 (tcp_cookie_transactions): New structure.
19325
d5e0b9bd
AB
193262013-01-09 Anton Blanchard <anton@samba.org>
19327
19328 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19329 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19330 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19331 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19332
0c07e3ea
JM
193332013-01-09 Joseph Myers <joseph@codesourcery.com>
19334
19335 * include/features.h (__USE_ANSI): Remove.
19336
232f7002
RM
193372013-01-09 Roland McGrath <roland@hack.frob.com>
19338
ad98e30c
RM
19339 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19340
232f7002
RM
19341 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19342
950c99ca
SP
193432013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19344
b5792741
SP
19345 * sysdeps/s390/fpu/libm-test-ulps: Update.
19346
47cf2278
SP
19347 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19348
950c99ca
SP
19349 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19350 (__acr): Likewise.
19351 (__cpy): Likewise.
19352 (norm): Likewise.
19353 (denorm): Likewise.
19354 (__mp_dbl): Likewise.
19355 (__dbl_mp): Likewise.
19356 (add_magnitudes): Likewise.
19357 (sub_magnitudes): Likewise.
19358 (__add): Likewise.
19359 (__sub): Likewise.
19360 (__mul): Likewise.
19361 (__inv): Likewise.
19362 (__dvd): Likewise.
19363 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19364 (__acr): Likewise.
19365 (__cpy): Likewise.
19366 (norm): Likewise.
19367 (denorm): Likewise.
19368 (__mp_dbl): Likewise.
19369 (__dbl_mp): Likewise.
19370 (add_magnitudes): Likewise.
19371 (sub_magnitudes): Likewise.
19372 (__add): Likewise.
19373 (__sub): Likewise.
19374 (__mul): Likewise.
19375 (__inv): Likewise.
19376 (__dvd): Likewise.
19377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19378 (__acr): Likewise.
19379 (__cpy): Likewise.
19380 (norm): Likewise.
19381 (denorm): Likewise.
19382 (__mp_dbl): Likewise.
19383 (__dbl_mp): Likewise.
19384 (add_magnitudes): Likewise.
19385 (sub_magnitudes): Likewise.
19386 (__add): Likewise.
19387 (__sub): Likewise.
19388 (__mul): Likewise.
19389 (__inv): Likewise.
19390 (__dvd): Likewise.
19391
eede9df9
JM
193922013-01-08 Joseph Myers <joseph@codesourcery.com>
19393
19394 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19395 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19396 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19397 2 && __USE_EXTERN_INLINES]: Likewise.
19398
c40ea3d9
AJ
193992013-01-08 Andreas Jaeger <aj@suse.de>
19400
19401 [BZ# 14985]
19402 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19403 Remove.
19404 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19405 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19406
2ccdea26
AB
194072013-01-07 Anton Blanchard <anton@samba.org>
19408
19409 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19410 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19411 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19412 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19413 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19414 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19415 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19416 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19417 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19418 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19419 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19420 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19421 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19422 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19423 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19424 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19425 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19426 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19427 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19428 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19429 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19430 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19431 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19432 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19433 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19434 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19435 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19436 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19437 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19438 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19439 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19440 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19441 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19442 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19443 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19444 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19445 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19446 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19447 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19448 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19449 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19450 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19451 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19452
a9708fed
JM
194532013-01-07 Joseph Myers <joseph@codesourcery.com>
19454
375607b9
JM
19455 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19456 (__MALLOC_PMT): Likewise.
19457 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19458 [__GNUC__], only on [_LIBC].
19459 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19460 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19461 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19462 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19463 forward declaration.
19464 (realloc_hook_ini): Likewise.
19465 (memalign_hook_ini): Likewise.
19466 (__libc_memalign): Do not use __MALLOC_PMT in variable
19467 declaration.
19468 (__libc_valloc): Likewise.
19469 (__libc_pvalloc): Likewise.
19470 (__libc_calloc): Likewise.
19471 (__posix_memalign): Likewise.
19472
a9708fed
JM
19473 [BZ #14996]
19474 * math/s_casinh.c: Include <float.h>.
19475 (__casinh): Do not do computation with squaring and square root
19476 for large arguments.
19477 * math/s_casinhf.c: Include <float.h>.
19478 (__casinhf): Do not do computation with squaring and square root
19479 for large arguments.
19480 * math/s_casinhl.c: Include <float.h>.
19481 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19482 (__casinhl): Do not do computation with squaring and square root
19483 for large arguments.
19484 * math/libm-test.inc (casin_test): Add more tests.
19485 (casinh_test): Likewise.
19486 * sysdeps/i386/fpu/libm-test-ulps: Update.
19487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19488
afec409a
L
194892013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19490
19491 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19492 (__x86_64_raw_data_cache_size): Likewise.
19493 (__x86_64_data_cache_size_half): Likewise.
19494 (__x86_64_raw_data_cache_size_half): Likewise.
19495 (__x86_64_shared_cache_size): Likewise.
19496 (__x86_64_raw_shared_cache_size): Likewise.
19497 (__x86_64_shared_cache_size_half): Likewise.
19498 (__x86_64_raw_shared_cache_size_half): Likewise.
19499 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19500 to ...
19501 (__x86_data_cache_size): This.
19502 (__x86_64_raw_data_cache_size): Renamed to ...
19503 (__x86_raw_data_cache_size): This.
19504 (__x86_64_data_cache_size_half): Renamed to ...
19505 (__x86_data_cache_size_half): This.
19506 (__x86_64_raw_data_cache_size_half): Renamed to ...
19507 (__x86_raw_data_cache_size_half): This.
19508 (__x86_64_shared_cache_size): Renamed to ...
19509 (__x86_shared_cache_size): This.
19510 (__x86_64_raw_shared_cache_size): Renamed to ...
19511 (__x86_raw_shared_cache_size): This.
19512 (__x86_64_shared_cache_size_half): Renamed to ...
19513 (__x86_shared_cache_size_half): This.
19514 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19515 (__x86_raw_shared_cache_size_half): This.
19516 * sysdeps/x86_64/memcpy.S: Updated.
19517 * sysdeps/x86_64/memset.S: Likewise.
19518 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19519 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19520 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19521
0b3986d0
DM
195222013-01-04 David S. Miller <davem@davemloft.net>
19523
19524 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19525
e47686e9
AS
195262013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19527
d643bac1
AS
19528 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19529 1 to avoid redefinition warning.
19530 (__USE_GNU): Don't define.
19531 (init_signaling_nan): Protoize.
19532
e47686e9
AS
19533 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19534
b18decba
SP
195352013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19536
fffb407f
SP
19537 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19538 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19539 (__cpymn): Likewise.
19540 (norm): Remove commented code.
19541 (denorm): Likewise.
19542 (__mp_dbl): Likewise.
19543 (__inv): Likewise.
19544 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19545 (__cpymn): Likewise.
19546 (norm): Remove commented code.
19547 (denorm): Likewise.
19548 (__mp_dbl): Likewise.
19549 (__inv): Likewise.
19550
b18decba
SP
19551 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19552 mp_no value for 1.0 and 2.0.
19553 (norm): Use RADIXI instead of radixi.d.
19554 (denorm): Likewise.
19555 (__mul): Use 0.0 instead of zero.d.
19556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19557 mp_no value for 1.0 and 2.0.
19558 (norm): Use RADIXI instead of radixi.d.
19559 (denorm): Likewise.
19560 (__mul): Use 0.0 instead of zero.d.
19561
cdc1c96f
JM
195622013-01-04 Joseph Myers <joseph@codesourcery.com>
19563
19564 [BZ #14994]
19565 * math/s_casinh.c (__casinh): Reduce finite argument to first
19566 quadrant then set signs of results at the end.
19567 * math/s_casinhf.c (__casinhf): Likewise.
19568 * math/s_casinhl.c (__casinhl): Likewise.
19569 * math/libm-test.inc (casin_test): Add more tests.
19570 (casinh_test): Likewise.
19571 * sysdeps/i386/fpu/libm-test-ulps: Update.
19572 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19573
302913e1
SP
195742013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19575
6420d207
SP
19576 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19577
a9e48ab4
SP
19578 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19579
b7837264
SP
19580 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19581 declarations.
19582 (denorm): Likewise.
19583 (__mp_dbl): Likewise.
19584 (__inv): Likewise.
19585
f8af25d2
SP
19586 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19587 and adjust the header comment.
19588
302913e1
SP
19589 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19590 variable name from declaration.
19591
5d7dd1ca
L
195922013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19593
19594 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19595 Initialize COMMON_CPUID_INDEX_7 element.
19596 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19597 (CPUID_RTM): Likewise.
19598 (HAS_RTM): Likewise.
19599 (COMMON_CPUID_INDEX_7): New enum.
19600
2f5f40f4
AS
196012013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19602
19603 [BZ #14981]
19604 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19605 size is zero, record memory as freed.
19606
4056f4a0
AJ
196072013-01-03 Andreas Jaeger <aj@suse.de>
19608
19609 * po/ia.po: Add new Interlingua translation.
19610
ab15736f 196112012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19612
19613 * locale/programs/localedef.c: Fix description of '--posix' flag.
19614
568035b7
JM
196152013-01-02 Joseph Myers <joseph@codesourcery.com>
19616
e6898b8d
JM
19617 * NEWS: Update dates in second copyright notice.
19618 * README: Update copyright dates in example.
19619 * manual/libc.texinfo: Update copyright dates.
19620 * scripts/test-installation.pl: Update copyright date in --version
19621 output.
19622
0e2f9562
JM
19623 * hurd/ctty-input.c: Fix copyright notice formatting.
19624 * hurd/ctty-output.c: Likewise.
19625 * hurd/dtable.c: Likewise.
19626 * hurd/hurd-raise.c: Likewise.
19627 * hurd/hurdprio.c: Likewise.
19628 * hurd/msgportdemux.c: Likewise.
19629 * misc/sys/file.h: Likewise.
19630 * misc/sys/ioctl.h: Likewise.
19631 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19632 * sysdeps/mach/hurd/chdir.c: Likewise.
19633 * sysdeps/mach/hurd/fchdir.c: Likewise.
19634 * sysdeps/mach/hurd/rename.c: Likewise.
19635 * sysdeps/mach/hurd/rmdir.c: Likewise.
19636 * sysdeps/mach/hurd/seekdir.c: Likewise.
19637 * sysdeps/mach/hurd/setsid.c: Likewise.
19638 * sysdeps/posix/wait3.c: Likewise.
19639
568035b7
JM
19640 * All files with FSF copyright notices: Update copyright dates
19641 using scripts/update-copyrights.
19642 * intl/plural.c: Regenerated.
19643 * locale/programs/charmap-kw.h: Likewise.
19644 * locale/programs/locfile-kw.h: Likewise.
19645
da08f647
SP
196462013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19647
0f5477af
SP
19648 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19649 four values.
19650
44e0d4c2
SP
19651 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19652 calculation loop and add branch prediction.
19653
4d55b4e5
SP
19654 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19655 check access beyond bounds of m1np.
19656
da08f647
SP
19657 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19658 MPTWO.
19659 (__inv): Remove local variable MPTWO to use the global
19660 constant.
19661 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19662 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19663 variable MPTWO.
19664 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19665 MP3HALFS static const.
19666
8e051029
DM
196672013-01-01 David S. Miller <davem@davemloft.net>
19668
19669 * po/ca.po: Update from translation team.
19670
f4cf5f2d
JM
196712013-01-01 Joseph Myers <joseph@codesourcery.com>
19672
19673 * scripts/update-copyrights: New file.
19674 * Makeconfig: Reformat copyright notice.
19675 * ctype/ctype.h: Likewise.
19676 * debug/swprintf_chk.c: Likewise.
19677 * elf/dl-cache.c: Likewise.
19678 * elf/dl-debug.c: Likewise.
19679 * elf/dl-object.c: Likewise.
19680 * grp/initgroups.c: Likewise.
19681 * hurd/Makefile: Likewise.
19682 * hurd/hurd/signal.h: Likewise.
19683 * hurd/hurdfault.c: Likewise.
19684 * hurd/hurdioctl.c: Likewise.
19685 * hurd/hurdlookup.c: Likewise.
19686 * hurd/intr-msg.c: Likewise.
19687 * iconv/gconv_open.c: Likewise.
19688 * libio/swprintf.c: Likewise.
19689 * locale/lc-ctype.c: Likewise.
19690 * locale/nl_langinfo.c: Likewise.
19691 * mach/Machrules: Likewise.
19692 * mach/Makefile: Likewise.
19693 * malloc/obstack.h: Likewise.
19694 * manual/Makefile: Likewise.
19695 * manual/tsort.awk: Likewise.
19696 * misc/bits/stab.def: Likewise.
19697 * nis/nis_print_group_entry.c: Likewise.
19698 * nis/nis_table.c: Likewise.
19699 * nis/nss_compat/compat-pwd.c: Likewise.
19700 * nis/nss_compat/compat-spwd.c: Likewise.
19701 * po/Makefile: Likewise.
19702 * posix/fnmatch.c: Likewise.
19703 * posix/regex.h: Likewise.
19704 * resolv/Makefile: Likewise.
19705 * resolv/nss_dns/dns-network.c: Likewise.
19706 * resolv/res_hconf.c: Likewise.
19707 * scripts/gen-sorted.awk: Likewise.
19708 * soft-fp/soft-fp.h: Likewise.
19709 * stdio-common/printf.h: Likewise.
19710 * stdlib/monetary.h: Likewise.
19711 * stdlib/random.c: Likewise.
19712 * stdlib/random_r.c: Likewise.
19713 * sysdeps/generic/Makefile: Likewise.
19714 * sysdeps/gnu/Makefile: Likewise.
19715 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19716 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19717 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19718 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19719 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19720 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19721 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19722 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19723 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19724 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19725 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19726 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19727 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19728 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19729 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19730 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19731 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19732 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19733 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19734 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19735 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19736 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19737 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19738 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19739 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19740 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19741 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19742 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19743 * sysdeps/mach/hurd/errnos.awk: Likewise.
19744 * sysdeps/mach/hurd/fork.c: Likewise.
19745 * sysdeps/mach/hurd/getcwd.c: Likewise.
19746 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19747 * sysdeps/mach/hurd/mmap.c: Likewise.
19748 * sysdeps/mach/hurd/utimes.c: Likewise.
19749 * sysdeps/mach/hurd/xmknod.c: Likewise.
19750 * sysdeps/posix/profil.c: Likewise.
19751 * sysdeps/posix/readdir_r.c: Likewise.
19752 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19753 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19754 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19755 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19756 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19757 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19758 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19759 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19760 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19761 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19762 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19763 * sysdeps/pthread/lio_listio.c: Likewise.
19764 * sysdeps/sparc/dl-procinfo.h: Likewise.
19765 * sysdeps/unix/i386/sysdep.S: Likewise.
19766 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19767 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19768 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19769 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19770 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19771 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19772 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19773 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19774 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19775 * sysdeps/wordsize-32/divdi3.c: Likewise.
19776 * time/sys/time.h: Likewise.
19777 * wcsmbs/Makefile: Likewise.
19778
0549fbba
DM
197792013-01-01 David S. Miller <davem@davemloft.net>
19780
a141f1a7
DM
19781 * po/fr.po: Update from translation team.
19782
0549fbba
DM
19783 * catgets/gencat.c: Update copyright year.
19784 * csu/version.c: Likewise.
19785 * debug/catchsegv.sh: Likewise.
19786 * debug/pcprofiledump.c: Likewise.
19787 * debug/xtrace.sh: Likewise.
19788 * elf/ldconfig.c: Likewise.
19789 * elf/ldd.bash.in: Likewise.
19790 * elf/pldd.c: Likewise.
19791 * elf/sotruss.ksh: Likewise.
19792 * elf/sprof.c: Likewise.
19793 * iconv/iconv_prog.c: Likewise.
19794 * iconv/iconvconfig.c: Likewise.
19795 * locale/programs/locale.c: Likewise.
19796 * locale/programs/localedef.c: Likewise.
19797 * login/programs/pt_chown.c: Likewise.
19798 * malloc/memusage.sh: Likewise.
19799 * malloc/memusagestat.c: Likewise.
19800 * malloc/mtrace.pl: Likewise.
19801 * nscd/nscd.c: Likewise.
19802 * nss/getent.c: Likewise.
19803 * nss/makedb.c: Likewise.
19804 * posix/getconf.c: Likewise.
19805
18ea052c
SP
198062012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19807
19808 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19809 numbers.
19810
9c89fca6
MF
198112012-12-30 Mike Frysinger <vapier@gentoo.org>
19812
19813 * math/bits/mathcalls.h (modf): Use __nonnull.
19814
085ec079
SP
198152012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19816
19817 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19818 (split): Use macro CN instead of the bare value.
19819 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19820 could be used.
19821 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19822 instead of the bare value.
19823 (power1): Likewise.
19824
6d9f97e1
SP
198252012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19826
d63f73be
SP
19827 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19828 __ATAN_TWOM.
19829 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19830
6d9f97e1
SP
19831 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19832 their values.
19833 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19834 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19835 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19836 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19837
4c4febf5
AJ
198382012-12-28 Andreas Jaeger <aj@suse.de>
19839
af5843ef
AJ
19840 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19841 values are from Linux 3.7.
19842
4c4febf5
AJ
19843 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19844 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19845
99136f82
SP
198462012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19847
2f216c3c 19848 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19849 TRUE case.
19850
99136f82
SP
19851 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19852 (norm): Likewise.
19853 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19854 variables with preprocessor constants.
19855 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19856 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19857 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19858
7fffbdff
BH
198592012-12-27 Bruno Haible <bruno@clisp.org>
19860
19861 [BZ #14317]
19862 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19863 only if needed.
19864
b76eb5f0
SP
198652012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19866
31a7fe5c
SP
19867 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19868 and use variable directly.
19869 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19870
b76eb5f0
SP
19871 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19872 MPONE.
19873 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19874 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19875 variable MPONE.
19876 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19877 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19878 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19879 include directive. Remove local variable MPONE.
19880 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19881 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19882 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19883
2c8bfe7d
DM
198842012-12-25 David S. Miller <davem@davemloft.net>
19885
19886 * version.h (RELEASE): Set to "development".
19887 (VERSION): Set to "2.17.90".
19888 * NEWS: Add 2.18 section.
19889
147d03b0
DM
198902012-12-21 David S. Miller <davem@davemloft.net>
19891
19892 * po/hr.po: Update from translation team.
19893
a8ebb2b9
AK
198942012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19895
19896 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19897
95b4f1b6
SE
198982012-12-19 Steve Ellcey <sellcey@mips.com>
19899
b2d94007 19900 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19901
cedb2a90
MS
199022012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19903
19904 * manual/contrib.texi (Contributors): Spelling correction.
19905
bbf527d6
DM
199062012-12-15 David S. Miller <davem@davemloft.net>
19907
19908 * po/ru.po: Update from translation team.
19909
bc38c906
DM
199102012-12-13 David S. Miller <davem@davemloft.net>
19911
85429b1a
DM
19912 * NEWS: Mention IFUNC testsuite enhancements.
19913
d283e353
DM
19914 * po/pl.po: Update from translation team.
19915 * po/bg.po: Likewise.
19916
bc38c906
DM
19917 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19918 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19919
a181b0d7
DM
199202012-12-11 David S. Miller <davem@davemloft.net>
19921
4641d57e
DM
19922 * po/sv.po: Update from translation team.
19923
f7bc6495
DM
19924 * po/vi.po: Update from translation team.
19925
6fc9048f
DM
19926 * po/cs.po: Update from translation team.
19927
a181b0d7
DM
19928 * po/de.po: Update from translation team.
19929 * po/eo.po: Likewise.
19930 * po/nl.po: Likewise.
19931
f70bfe80
SP
199322012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19933
3c8b4190
SP
19934 [BZ #14246]
19935 * manual/argp.texi (Argp Helper Functions): Move node to follow
19936 Argp Parsing State.
19937
f70bfe80
SP
19938 [BZ #14872]
19939 * manual/conf.texi (Limits on File System Capacity): Mention if
19940 terminating null is included in the max size.
19941
188f0adf
AJ
199422012-12-10 Andreas Jaeger <aj@suse.de>
19943
19944 * po/cs.po: Update from translation team.
19945
56e7d3ad
SP
199462012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19947
19948 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19949 void pointer and cast to uintptr_t.
19950 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19951 path.
19952 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19953 * sysdeps/s390/s390-64/memset.S: Likewise.
19954
76f2d2ea 199552012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19956
19957 [BZ #14833]
19958 * menual/message.texi (Message Translation): Fix typos.
19959 (Helper programs for gettext): Likewise.
19960
67cbf9a2
AS
199612012-12-07 Andreas Schwab <schwab@linux-m68k.org>
19962
19963 [BZ #14898]
19964 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
19965 Change to -1.
19966
682d0e9a
DM
199672012-12-07 David S. Miller <davem@davemloft.net>
19968
19969 * po/libc.pot: Update.
19970
573cd484
RH
199712012-12-07 Richard Henderson <rth@redhat.com>
19972
7e9da188 19973 [BZ #10114]
573cd484
RH
19974 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
19975 normal/normal case to before the switch.
19976 (_FP_DIV): Likewise.
19977
e933a943
MF
199782012-12-06 Carlos O'Donell <carlos@systemhalted.org>
19979 Mike Frysinger <vapier@gentoo.org>
19980
19981 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
19982 check for __NR_fadvise64_64.
19983
82123268
CM
199842012-12-06 Chris Metcalf <cmetcalf@tilera.com>
19985
19986 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
19987 0, not just to plain "0" as a statement.
19988 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
19989 with cw.
19990
d9814526
JM
199912012-12-06 Joseph Myers <joseph@codesourcery.com>
19992
19993 * NEWS: Use sourceware.org in Bugzilla URL.
19994
7728c574
SP
199952012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
19996
f16946dd
SP
19997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19998 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
19999
5704bbcb
SP
20000 * stdio-common/tst-put-error.c (do_test): Add newline to the
20001 padded test to ensure flush.
20002
17aa0516
JL
200032012-12-05 Jeff Law <law@redhat.com>
20004
20005 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20006
363313b5
JM
200072012-12-05 Joseph Myers <joseph@codesourcery.com>
20008
effbd42a
JM
20009 * README: Don't refer to ports add-on as distributed separately.
20010 Mention AArch64 in list of systems supported in the ports add-on.
20011
87600365
JM
20012 * LICENSES: Add more non-FSF copyright and license notices.
20013
a0d7066a
JM
20014 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20015 ((unused)).
20016
66ca5a5b
JM
20017 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20018
363313b5
JM
20019 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20020 10000 as width of padded output.
20021
b37984ad
JM
200222012-12-04 Joseph Myers <joseph@codesourcery.com>
20023
9003570a
JM
20024 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20025
b37984ad
JM
20026 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20027 variable LX with __attribute__ ((unused)).
20028 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20029 Likewise.
20030 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20031 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20032 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20033 with __attribute__ ((unused)).
20034
c8df52ec
DM
200352012-12-04 David S. Miller <davem@abraco.davemloft.net>
20036
20037 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20038
b3b099af
JM
200392012-12-04 Joseph Myers <joseph@codesourcery.com>
20040
c33aa6e3
JM
20041 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20042 (CFLAGS-nldbl-acos.c): New variable.
20043 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20044 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20045 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20046 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20047 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20048 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20049 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20050 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20051 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20052 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20053 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20054 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20055 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20056 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20057 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20058 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20059 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20060 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20061 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20062 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20063 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20064 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20065 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20066 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20067 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20068 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20069 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20070 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20071 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20072 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20073 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20074 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20075 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20076 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20077 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20078 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20079 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20080 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20081 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20082 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20083 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20084 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20085 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20086 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20087 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20088 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20089 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20090 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20091 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20092 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20093 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20094 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20095 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20096 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20097 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20098 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20099 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20100 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20101 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20102 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20103 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20104 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20105 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20106 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20107 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20108 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20109 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20110 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20111 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20112 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20113 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20114 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20115 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20116 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20117 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20118 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20119 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20120 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20121 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20122 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20123 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20124 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20125 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20126 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20127 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20128 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20129 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20130 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20131 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20132 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20133 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20134 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20135 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20136 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20137 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20138 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20139 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20140
20f0018d
JM
20141 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20142 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20143
b3b099af
JM
20144 [BZ #14914]
20145 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20146 whole low double instead of just low 47 bits when splitting values
20147 into two parts.
20148
029264d1
AM
201492012-12-03 Allan McRae <allan@archlinux.org>
20150
20151 * manual/stdio.texi (Predefined Printf Handlers): Remove
20152 @hsep and @vsep usage.
20153
c9d6789e
MF
201542012-12-03 Mike Frysinger <vapier@gentoo.org>
20155
20156 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20157 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20158
4b7634a5
JL
201592012-12-03 Jeff Law <law@redhat.com>
20160
20161 * time/sys/time.h (settimeofday): Do not mark TV argument
20162 as __nonnull.
20163
eb6cbd24
MF
201642012-12-01 Mike Frysinger <vapier@gentoo.org>
20165
20166 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20167 when currently writing and seek to current position when not.
20168 * libio/Makefile (tests): Remove bug-fclose1.
20169 * libio/bug-fclose1.c: Delete.
20170
f638872a
JM
201712012-12-01 Joseph Myers <joseph@codesourcery.com>
20172
20173 * manual/arith.texi (feenableexcept): Fix typo.
20174 (fedisableexcept): Likewise.
20175
48085d14
RM
201762012-11-30 Roland McGrath <roland@hack.frob.com>
20177
20178 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20179 second, differently-typed declaration, rather than a cast.
20180
1a538b9f
SP
201812012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20182
20183 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20184 * include/rpc/svc.h: ... here.
20185
d07f2ff1 201862012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20187
20188 [BZ #13013]
20189 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20190 depending n and resplen2 to catch cases where answer
20191 equals answerp2.
20192
c93ec1f0
CD
201932012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20194
20195 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20196 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20197
37db69de
MF
201982012-11-29 Mike Frysinger <vapier@gentoo.org>
20199
20200 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20201
e10c4e4f
RM
202022012-11-29 Roland McGrath <roland@hack.frob.com>
20203
20204 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20205
2af1b328
JL
202062012-11-28 Jeff Law <law@redhat.com>
20207
20208 [BZ #13761]
20209 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20210 dataset_temporary. Track alloca usage into alloca_used.
20211 If dataset is large allocate and release it via malloc/free.
20212
111db5b1
FW
202132012-06-04 Florian Weimer <fweimer@redhat.com>
20214
f06cc227 20215 [BZ #14197]
111db5b1
FW
20216 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20217
dd694abd
DM
202182012-11-28 David S. Miller <davem@davemloft.net>
20219
20220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20221
9984dd01
JM
202222012-11-28 Joseph Myers <joseph@codesourcery.com>
20223
20224 [BZ #14803]
20225 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20226 of pi/2 rounded to nearest to 64 bits.
20227 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20228 nearest to 64 bits.
20229 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20230 bits.
20231
14bc93a9
JL
202322012-11-28 Jeff Law <law@redhat.com>
20233 Martin Osvald <mosvald@redhat.com>
20234
20235 [BZ #14889]
20236 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20237 * sunrpc/svc.c: Include time.h.
20238 (__svc_accept_failed): New function.
20239 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20240 any reason other than EINTR, call __svc_accept_failed.
20241 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20242 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20243
e3c6aa3a
AS
202442012-11-28 Andreas Schwab <schwab@suse.de>
20245
20246 * scripts/abilist.awk: Also handle indirect functions in .opd
20247 section.
20248
1bead169
JM
202492012-11-28 Joseph Myers <joseph@codesourcery.com>
20250
20251 [BZ #13881]
20252 * sysdeps/x86/fpu/powl_helper.c: New file.
20253 * sysdeps/x86/fpu/Makefile: Likewise.
20254 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20255 (p3): New object.
20256 (__ieee754_powl): Use __powl_helper for finite arguments except
20257 integer exponents below 8.
20258 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20259 (p3): New object.
20260 (__ieee754_powl): Use __powl_helper for finite arguments except
20261 integer exponents below 8.
20262 * math/libm-test.inc (pow_test): Add more tests and enable some
20263 previously disabled tests.
20264 * sysdeps/i386/fpu/libm-test-ulps: Update.
20265 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20266
0817d63d
SP
202672012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20268 Carlos O'Donell <carlos_odonell@mentor.com>
20269
20270 * nss/makedb.c (is_prime): Assert that input is odd and greater
20271 than 4. Note that fact in a comment too.
20272 (next_prime): Add 4 to input.
20273
de2fd463
SP
202742012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20275
20276 [BZ #11741]
20277 * libio/Makefile (tests): Add test case tst-fwrite-error.
20278 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20279 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20280 * libio/tst-fwrite-error.c: New test case.
20281
c515fb51
L
202822012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20283
20284 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20285 before casting to void *.
20286 * include/libc-internal.h (__pointer_type): New macro.
20287 (__integer_if_pointer_type_sub): Likewise.
20288 (__integer_if_pointer_type): Likewise.
20289 (cast_to_integer): Likewise.
20290 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20291 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20292 before casting to atomic64_t.
20293 (atomic_exchange_acq): Likewise.
20294 (__arch_exchange_and_add_body): Likewise.
20295 (__arch_add_body): Likewise.
20296 (atomic_add_negative): Likewise.
20297 (atomic_add_zero): Likewise.
20298
4cf77aa9
JM
202992012-11-26 Joseph Myers <joseph@codesourcery.com>
20300
20301 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20302 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20303 (add_fdes): Likewise.
20304 (linear_search_fdes): Likewise.
20305 (binary_search_unencoded_fdes): Likewise.
20306
d260b3b4
AS
203072012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20308
20309 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20310
67060746
AC
203112012-11-24 Adam Conrad <adconrad@0c3.net>
20312
20313 * configure.in: Autodetect C++ header directories.
20314 * configure: Regenerated.
20315
800938a1
MF
203162012-11-23 Mike Frysinger <vapier@gentoo.org>
20317
20318 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20319
4e6e34e6
AS
203202012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20321
20322 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20323
7c7feb47
JM
203242012-11-22 Joseph Myers <joseph@codesourcery.com>
20325
7184dcdf
JM
20326 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20327 LDBL_MANT_DIG == 106]: Disable some tests.
20328 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20329 Likewise.
20330 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20331 Likewise.
20332
0a42601f
JM
20333 [BZ #14871]
20334 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20335 input for small inputs. Return +/- pi/2 for large inputs.
20336 * math/libm-test.inc (atan_test): Add more tests.
20337
79c9b9fe
JM
20338 * sysdeps/generic/unwind-dw2-fde-glibc.c
20339 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20340 __attribute__ ((unused)).
20341
c60d3bf2
JM
20342 [BZ #14645]
20343 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20344 x * y if x and y are nonzero and z is zero.
20345
ef1e0867
JM
20346 [BZ #14811]
20347 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20348 nonzero exponents with absolute value below 0x1p-117 to +/-
20349 0x1p-117.
20350
1468ded3
JM
20351 [BZ #14869]
20352 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20353 up arguments below 2**-450, not just those below 2**-500.
20354 * math/libm-test.inc (hypot_test): Add another test.
20355
8e27e3cc
JM
20356 [BZ #14868]
20357 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20358 Return a+b for ratio over 2**120, not 2**60.
20359 * math/libm-test.inc (hypot_test): Add another test.
20360
c9c0279b
JM
20361 * math/libm-test.inc (clog_test): Use
20362 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20363 (clog10_test): Likewise.
20364
7c7feb47
JM
20365 [BZ #6778]
20366 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20367
fff1530e
AS
203682012-11-22 Andreas Schwab <schwab@suse.de>
20369
20370 * sysdeps/i386/fpu/libm-test-ulps: Update.
20371
94558d30
PT
203722012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20373
20374 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20375 printf output with newline.
20376
7e1be741
L
203772012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20378
6bfea974
L
20379 [BZ #14865]
20380 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20381 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20382 -z nodlopen, -z initfirst and -z execstack support.
20383 * configure: Regenerated.
20384
7e1be741
L
20385 * elf/elf.h (DF_1_NODIRECT): New macro.
20386 (DF_1_IGNMULDEF): Likewise.
20387 (DF_1_NOKSYMS): Likewise.
20388 (DF_1_NOHDR): Likewise.
20389 (DF_1_EDITED): Likewise.
20390 (DF_1_NORELOC): Likewise.
20391 (DF_1_SYMINTPOSE): Likewise.
20392 (DF_1_GLOBAUDIT): Likewise.
20393 (DF_1_SINGLETON): Likewise.
20394 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20395 DT_1_SUPPORTED_MASK bits.
20396 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20397
105ce2ce
CD
203982012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20399
20400 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20401
123be9de
TS
204022012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20403
d072f3f7
TS
20404 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20405 macro.
20406
123be9de
TS
20407 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20408 (sendmmsg): Move declarations...
20409 * socket/sys/socket.h: ... here.
20410 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20411 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20412 include it from...
20413 * socket/recvmmsg.c: ... this new file.
20414 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20415 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20416 definition of __sendmmsg hidden.
20417 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20418 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20419 Move ENOSYS stub into and include it from...
20420 * socket/sendmmsg.c: ... this new file.
20421 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20422 (sysdep_routines): Move recvmmsg and sendmmsg...
20423 * socket/Makefile (routines): ... here.
20424 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20425 (GLIBC_PRIVATE): Add __sendmmsg.
20426 * include/sys/socket.h (__sendmmsg): Add declarations.
20427 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20428 sendmmsg.
20429
cf9a5d18
JM
204302012-11-20 Joseph Myers <joseph@codesourcery.com>
20431
20432 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20433 variable I1 with __attribute__ ((unused)).
20434 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20435
ecd4caf9
JM
204362012-11-19 Joseph Myers <joseph@codesourcery.com>
20437
be14d48f
JM
20438 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20439 DUMMY variables with __attribute__ ((unused)).
20440
ecd4caf9
JM
20441 * bits/byteswap.h: Include <bits/types.h>.
20442 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20443
986cab95
PT
204442012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20445
20446 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20447 string_t. Do not manually set errno.
20448 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20449 length with __strnlen. Make sure to both set errno and return it on
20450 failure.
20451
6d33cc9d
DM
204522012-11-19 David S. Miller <davem@davemloft.net>
20453
20454 With help from Joseph Myers.
20455 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20456 very large arguments properly.
20457 * math/libm-test.inc (atan_test): New tests.
20458 (atan2_test): New tests.
20459 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20460 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20461
ee663277
JM
204622012-11-19 Joseph Myers <joseph@codesourcery.com>
20463
877f2d8e
JM
20464 [BZ #14856]
20465 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20466 Define to 3.
20467
116fc08a
JM
20468 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20469 [POSIX] (EADDRNOTAVAIL): Likewise.
20470 [POSIX] (EAFNOSUPPORT): Likewise.
20471 [POSIX] (EALREADY): Likewise.
20472 [POSIX] (ECONNABORTED): Likewise.
20473 [POSIX] (ECONNREFUSED): Likewise.
20474 [POSIX] (ECONNRESET): Likewise.
20475 [POSIX] (EDESTADDRREQ): Likewise.
20476 [POSIX] (EDQUOT): Likewise.
20477 [POSIX] (EHOSTUNREACH): Likewise.
20478 [POSIX] (EIDRM): Likewise.
20479 [POSIX] (EISCONN): Likewise.
20480 [POSIX] (ELOOP): Likewise.
20481 [POSIX] (EMULTIHOP): Likewise.
20482 [POSIX] (ENETDOWN): Likewise.
20483 [POSIX] (ENETUNREACH): Likewise.
20484 [POSIX] (ENOBUFS): Likewise.
20485 [POSIX] (ENODATA): Likewise.
20486 [POSIX] (ENOLINK): Likewise.
20487 [POSIX] (ENOMSG): Likewise.
20488 [POSIX] (ENOPROTOOPT): Likewise.
20489 [POSIX] (ENOSR): Likewise.
20490 [POSIX] (ENOSTR): Likewise.
20491 [POSIX] (ENOTCONN): Likewise.
20492 [POSIX] (ENOTSOCK): Likewise.
20493 [POSIX] (EOPNOTSUPP): Likewise.
20494 [POSIX] (EOVERFLOW): Likewise.
20495 [POSIX] (EPROTO): Likewise.
20496 [POSIX] (EPROTONOSUPPORT): Likewise.
20497 [POSIX] (EPROTOTYPE): Likewise.
20498 [POSIX] (ESTALE): Likewise.
20499 [POSIX] (ETIME): Likewise.
20500 [POSIX] (ETXTBSY): Likewise.
20501 [POSIX] (EWOULDBLOCK): Likewise.
20502 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20503 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20504 [POSIX] (SEEK_CUR): Likewise.
20505 [POSIX] (SEEK_END): Likewise.
20506 [POSIX || UNIX98] (mode_t): Do not require.
20507 [POSIX] (off_t): Likewise.
20508 [POSIX] (pid_t): Likewise.
20509 [POSIX] (sys/stat.h): Do not allow header.
20510 [POSIX] (unistd.h): Likewise.
20511 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20512 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20513 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20514 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20515 require.
20516 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20517 sigevent): Specify elements.
20518 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20519 entry.
20520 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20521 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20522
a483863f
JM
20523 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20524 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20525 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20526 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20527 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20528 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20529 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20530 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20531 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20532 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20533 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20534 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20535 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20536 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20537 Likewise.
20538 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20539 Likewise.
20540 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20541 Likewise.
20542 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20543 Likewise.
20544 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20545 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20546 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20547 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20548 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20549 Specify lower bound on value.
20550 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20551 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20552 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20553 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20555 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20556 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20557 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20558 value.
20559 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20560 as optional.
20561 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20562 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20563 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20564 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20565 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20566 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20567 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20568 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20569 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20570 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20571 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20572 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20573 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20574 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20575 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20576 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20577 entry.
20578 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20579 optional.
20580 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20581 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20582 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20583 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20584 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20585 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20586 Likewise.
20587 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20588 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20589 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20590 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20592 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20593 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20594 as optional.
20595 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20596 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20599 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20600 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20601 specify as optional.
20602 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20603 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20604 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20605 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20606 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20607 [XPG3] (NL_LANGMAX): Likewise.
20608 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20609 [POSIX || XPG3] (NL_NMAX): Likewise.
20610 [POSIX || XPG3] (NL_SETMAX): Likewise.
20611 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20612 [XPG3] (NZERO): Likewise.
20613 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20614 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20615 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20616 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20617 (REG_ERANGE): Expect.
20618 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20619 optional-constant.
20620 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20621 Use (void) in prototype.
20622 [POSIX] (*_t): Allow.
20623 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20624 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20625 (WRDE_BADVAL): Expect.
20626
5ba924e3
JM
20627 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20628 expect.
20629 [XPG3 || XPG4] (O_RSYNC): Likewise.
20630 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20631 Likewise.
20632 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20633 [XPG3 || XPG4] (sigqueue): Likewise.
20634 [XPG3 || XPG4] (sigtimedwait): Likewise.
20635 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20636 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20637 [XPG3 || XPG4] (vsnprintf): Likewise.
20638 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20639 Likewise.
20640 [XPG3 || XPG4] (blksize_t): Likewise.
20641 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20642 Likewise.
20643 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20644 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20645 [XPG3 || XPG4] (struct itimerspec): Likewise.
20646 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20647 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20648 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20649 [XPG3 || XPG4] (clockid_t): Likewise.
20650 [XPG3 || XPG4] (timer_t): Likewise.
20651 [XPG3 || XPG4] (clock_getres): Likewise.
20652 [XPG3 || XPG4] (clock_gettime): Likewise.
20653 [XPG3 || XPG4] (clock_settime): Likewise.
20654 [XPG3 || XPG4] (nanosleep): Likewise.
20655 [XPG3 || XPG4] (timer_create): Likewise.
20656 [XPG3 || XPG4] (timer_delete): Likewise.
20657 [XPG3 || XPG4] (timer_gettime): Likewise.
20658 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20659 [XPG3 || XPG4] (timer_settime): Likewise.
20660 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20661 [XPG3 || XPG4] (getlogin_r): Likewise.
20662 [XPG3 || XPG4] (pread): Likewise.
20663 [XPG3 || XPG4] (pthread_atfork): Likewise.
20664 [XPG3 || XPG4] (pwrite): Likewise.
20665
ee663277
JM
20666 [BZ #14835]
20667 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20668 <bits/siginfo.h>.
20669
942caa16
PT
206702012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20671
e19af380
PT
20672 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20673 finalizing MALLSTREAM.
20674
942caa16
PT
20675 * sysdeps/mach/hurd/syncfs.c: New file.
20676
cfde9b46
SP
206772012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20678
20679 [BZ #14719]
20680 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20681 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20682 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20683 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20684 (_nss_dns_gethostbyname4_r): Likewise.
20685 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20686 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20687
f6da27e5
PH
206882012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20689
20690 [BZ #13763]
20691 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20692
6665d4a2
SM
206932012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20694
1f51ee92
SM
20695 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20696 * elf/cache.c (print_entry): Print ",AArch64" for
20697 FLAG_AARCH64_LIB64
20698
6665d4a2
SM
20699 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20700 * elf/cache.c (print_entry): Print ",hard-float" for
20701 FLAG_ARM_LIBHF.
20702
05b227bd
DM
207032012-11-18 David S. Miller <davem@davemloft.net>
20704
20705 With help from Joseph Myers.
20706 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20707 cutoff to 2**-13.
20708 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20709 cutoff to 2**-25.
20710 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20711 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20712 small.
20713 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20714 * math/libm-test.inc (y0_test): New tests.
20715 (y1_test): New tests.
20716 * sysdeps/i386/fpu/libm-test-ulps: Update.
20717 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20718 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20719
786b0b67
AS
207202012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20721
20722 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20723 64-bit targets.
20724 * configure: Regenerated.
20725
8e18b86d
DM
207262012-11-17 David S. Miller <davem@davemloft.net>
20727
20728 [BZ #14811]
20729 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20730 nonzero exponents with absolute value below 0x1p-128 to +/-
20731 0x1p-128.
20732
531f1ae0
JM
207332012-11-17 Joseph Myers <joseph@codesourcery.com>
20734
12df29e2
JM
20735 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20736
150dc1a0
JM
20737 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20738
531f1ae0
JM
20739 * posix/getconf-speclist.c: New file.
20740 * posix/posix-envs.def: Likewise.
20741 * posix/confstr.c (START_ENV_GROUP): New macro.
20742 (END_ENV_GROUP): Likewise.
20743 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20744 (KNOWN_PRESENT_ENV_STRING): Likewise.
20745 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20746 (UNKNOWN_ENVIRONMENT): Likewise.
20747 (confstr): Include posix-envs.def instead of handling
20748 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20749 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20750 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20751 (END_ENV_GROUP): Likewise.
20752 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20753 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20754 (UNKNOWN_ENVIRONMENT): Likewise.
20755 (__sysconf): Include posix-envs.def instead of handling associated
20756 cases directly here.
20757 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20758 preprocessing getconf-speclist.c rather than running getconf or
20759 generating empty file.
20760
a93f9cbc
PT
207612012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20762
20763 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20764
d64d9f87
AL
207652012-11-16 Andrej Lajovic <natrij@gmail.com>
20766
20767 [BZ #14672]
20768 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20769
447885eb
DM
207702012-11-16 David S. Miller <davem@davemloft.net>
20771
20772 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20773 smaller than LDBL_EPSILON/2.0L, just return xm1.
20774
bcbf9830
L
207752012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20776
20777 * elf/tst-array1.c (init): Set constructor priority to 1000.
20778 (fini): Set destructor priority to 1000.
20779 * elf/tst-array2dep.c: Likewise.
20780
2b766585
SP
207812012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20782
20783 [BZ #11741]
20784 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20785 (_IO_new_file_xsputn): Also return EOF if none of the input
20786 data was written when overflow failed.
20787 * libio/iopadn.c (_IO_padn): Likewise.
20788 * libio/iowpadn.c (_IO_wpadn): Likewise.
20789 * stdio-common/tst-put-error.c: Add copyright notice.
20790 (do_test): Add case for printing padded string.
20791 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20792 _IO_padn returned error.
20793 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20794 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20795 return EOF.
20796
b1848fde
SP
207972012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20798
20799 * libio/libioP.h: Add comment note that the references to C++
20800 bits are now obsolete.
20801
2fd89785
MS
208022012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20803
20804 * math/libm-test.inc (check_complex): Use asprintf.
20805
e3ea5409
JM
208062012-11-14 Joseph Myers <joseph@codesourcery.com>
20807
20808 * debug/pcprofiledump.c (print_version): Update copyright year.
20809 * malloc/memusagestat.c (print_version): Likewise.
20810
2e64d265
L
208112012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20812
20813 [BZ #14831]
20814 * elf/Makefile (tests): Add tst-audit8.
20815 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20816 ($(objpfx)tst-audit8.out): New target.
20817 (tst-audit8-ENV): New variable.
20818 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20819 audit if l_reloc_result is NULL.
20820 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20821 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20822 * elf/tst-audit8.c: New file.
20823
c485e4d2
MS
208242012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20825
20826 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20827 * misc/Makefile (CFLAGS-select.c): Define.
20828 * posix/Makefile (CFLAGS-pause.c): Define.
20829
3a0d900a
DM
208302012-11-13 David S. Miller <davem@davemloft.net>
20831
20832 * crypt/Makefile: Move test targets after toplevel Rules
20833 inclusion. Grab any necessary sysdep routines when linking.
20834 * crypt/md5.c (md5_process_block): Remove define, we will always
20835 name it __md5_process_block.
20836 (md5_finish_ctx): Update md5_process_block call.
20837 (md5_stream): Likewise.
20838 (md5_process_bytes): Likewise.
20839 (md5_process_block): Rename to __md5_process_block and move to ...
20840 * crypt/md5-block.c: ... here.
20841 * crypt/sha256.c (sha256_process_block): Move to ...
20842 * crypt/sha256-block.c: ... here.
20843 * crypt/sha512.c (sha512_process_block): Move to ...
20844 * crypt/sha512-block.c: ... here.
20845 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20846 path.
20847 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20848 * sysdeps/sparc/sparc64/multiarch/Makefile
20849 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20850 crypt subdir.
20851 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20852 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20853 multiarch changes.
20854 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20855 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20856 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20857 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20858 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20859 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20860 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20861 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20862 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20863 file.
20864 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20865 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20866 file.
20867 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20868
8ca89318
JM
208692012-11-13 Joseph Myers <joseph@codesourcery.com>
20870
e27d476a
JM
20871 * timezone/tzselect.ksh: Update from tzcode git revision
20872 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20873 * timezone/zdump.c: Likewise.
20874 * timezone/zic.c: Likewise.
20875 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20876 in TZVERSION setting, not $(PKGVERSION).
20877 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20878 REPORT_BUGS_TO settings.
20879
8ca89318
JM
20880 [BZ #14838]
20881 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20882 macro.
20883
47594329
MS
208842012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20885
20886 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20887 detection to immediately after _FP_ROUND().
20888 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20889 bits are 0.
20890
640ac3f1
DM
208912012-11-11 David S. Miller <davem@davemloft.net>
20892
20893 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20894 inttypes.h
20895 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20896 __close rather than their public counterparts.
20897
3d2577bb
JM
208982012-11-10 Joseph Myers <joseph@codesourcery.com>
20899
20900 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20901 file.
20902 [UNIX98] (sem_timedwait): Do not expect.
20903 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20904 [XPG4 || UNIX98] (sockatmark): Do not expect.
20905 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20906 (clock_getcpuclockid): Do not expect.
20907 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20908 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20909 Do not expect.
20910 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20911 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20912 [UNIX98] (vwscanf): Likewise.
20913 [UNIX98] (vswscanf): Likewise.
20914
fb1ae1ee
JM
209152012-11-09 Joseph Myers <joseph@codesourcery.com>
20916
9ec6f8bd
JM
20917 * timezone/version.h: Remove file.
20918 * timezone/README: Do not refer to version.h.
20919 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20920 $(objpfx)version.h.
20921 ($(objpfx)zdump.o): Likewise.
c3f81911 20922 ($(objpfx)version.h): New target.
9ec6f8bd 20923
0aa8f8a1
JM
20924 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20925 2012i.
20926 * timezone/README: Don't mention modification to tzselect.ksh.
20927 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20928 work on unmodified tzselect.ksh. Substitute version numbers in
20929 tzselect.ksh.
20930
4e87147f
JM
20931 * Makefile (format-me): Remove.
20932 (INSTALL): Adjust indentation. Use commands directly instead of
20933 using $(format-me).
20934
8b748aed
JM
20935 * aclocal.m4 (ACX_PKGVERSION): New macro.
20936 (ACX_BUGURL): Likewise.
20937 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20938 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20939 (REPORT_BUGS_TO): Likewise.
20940 * configure: Regenerated.
20941 * config.h.in (PKGVERSION): New macro.
20942 (REPORT_BUGS_TO): Likewise.
20943 * config.make.in (PKGVERSION): New variable.
20944 (PKGVERSION_TEXI): Likewise.
20945 (REPORT_BUGS_TO): Likewise.
20946 (REPORT_BUGS_TEXI): Likewise.
20947 * Makefile (format-me): Use -I$(common-objpfx)manual.
20948 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20949 ($(common-objpfx)manual/%): New target.
20950 (manual/%): Remove target.
20951 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20952 (print_version): Use PKGVERSION.
20953 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20954 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20955 and REPORT_BUGS_TO.
20956 ($(objpfx)xtrace): Likewise.
20957 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
20958 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
20959 (print_version): Use PKGVERSION.
20960 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
20961 (do_version): Use PKGVERSION.
20962 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
20963 REPORT_BUGS_TO.
20964 (common-ldd-rewrite): Likewise.
20965 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
20966 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
20967 (print_version): Use PKGVERSION.
20968 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
20969 * elf/pldd.c (argp_program_bug_address): Remove variable.
20970 (more_help): New function.
20971 (argp): Use more_help.
20972 (print_version): Use PKGVERSION.
20973 * elf/sln.c (main): Use PKGVERSION.
20974 (usage): Use REPORT_BUGS_TO.
20975 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
20976 (top level): Use PKGVERSION.
20977 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
20978 (print_version): Use PKGVERSION.
20979 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
20980 (print_version): Use PKGVERSION.
20981 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
20982 (print_version): Use PKGVERSION.
20983 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
20984 (print_version): Use PKGVERSION.
20985 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
20986 (print_version): Use PKGVERSION.
20987 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
20988 (print_version): Use PKGVERSION.
20989 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
20990 and BUGURL.
20991 ($(objpfx)memusage): Likewise.
20992 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
20993 (do_version): Use PKGVERSION.
20994 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
20995 (print_version): Use PKGVERSION.
20996 * malloc/mtrace.pl ($PACKAGE): Remove variable.
20997 ($PKGVERSION): New variable.
20998 ($REPORT_BUGS_TO): Likewise.
20999 (usage): Use $REPORT_BUGS_TO.
21000 (top level): Use $PKGVERSION.
21001 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21002 ($(objpfx)pkgvers.texi): New rule.
21003 ($(objpfx)stamp-pkgvers): Likewise.
21004 * manual/install.texi: Include pkgvers.texi.
21005 (--with-pkgversion): Document new configure option.
21006 (--with-bugurl): Likewise.
21007 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21008 than necessarily for this particular distribution. Use
21009 REPORT_BUGS_TO for where to report bugs.
21010 * INSTALL: Regenerated.
21011 * manual/libc.texinfo: Include pkgvers.texi.
21012 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21013 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21014 (print_version): Use PKGVERSION.
21015 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21016 (print_version): Use PKGVERSION.
21017 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21018 (print_version): Use PKGVERSION.
21019 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21020 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21021 macro.
21022 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21023 (print_version): Use PKGVERSION.
21024 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21025 (print_version): Use PKGVERSION.
21026 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21027 and PKGVERSION.
21028
92e4b6a9
JM
21029 * timezone/checktab.awk: Update from tzcode 2012i.
21030 * timezone/ialloc.c: Likewise.
21031 * timezone/private.h: Likewise.
21032 * timezone/scheck.c: Likewise.
21033 * timezone/tzfile.h: Likewise.
21034 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21035 (TZVERSION): Hardcode tzcode version number.
21036 * timezone/zdump.c: Update from tzcode 2012i.
21037 * timezone/zic.c: Likewise.
21038 * timezone/version.h: New file.
21039 * timezone/README: Describe version.h. Update upstream location.
21040
9bde902c
JM
21041 [BZ #14824]
21042 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21043 (mktemp): Enable declaration.
21044 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21045 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21046 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21047 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21048 Likewise.
21049 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21050 Likewise.
21051 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21052 Likewise.
21053 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21054 Likewise.
21055 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21056 Likewise.
21057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21058 Likewise.
21059
fb1ae1ee
JM
21060 [BZ #14821]
21061 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21062 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21063 for copies of such integer values.
21064 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21065 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21066
2c1adbcb
AJ
210672012-11-09 Andreas Jaeger <aj@suse.de>
21068
21069 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21070 definitions and declarations that are provided by
21071 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21072
d0f8457e
AK
210732012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21074
3a235abb 21075 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21076 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21077 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21078 definition.
21079
57241e26
MS
210802012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21081
21082 * elf/elf.h: Update comment before AArch64 relocations.
21083
60e8270d
DM
210842012-11-07 David S. Miller <davem@davemloft.net>
21085
21086 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21087 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21088 (__start_context): Declare.
21089 (__makecontext_ret): Delete.
21090 (__makecontext): Hook up __start_context instead of
21091 __makecontext_ret.
21092 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21093 (sysdep_routines): Add __start_context when in stdlib.
21094
0fbb0fbc
JM
210952012-11-07 Joseph Myers <joseph@codesourcery.com>
21096
21097 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21098 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21099 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21100 hardcoded "nm".
21101 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21102 (READELF): New variable. Use it instead of hardcoded "readelf".
21103
eb48db7e
L
211042012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21105
21106 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21107 * sysdeps/x86/Makefile: Here.
21108 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21109 * sysdeps/x86/tst-xmmymm.sh: This.
21110
05bcf62a
JM
211112012-11-07 Joseph Myers <joseph@codesourcery.com>
21112
c4b6cf53
JM
21113 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21114 expectations.
21115 [UNIX98] (pthread_barrier_t): Do not expect.
21116 [UNIX98] (pthread_barrierattr_t): Likewise.
21117 [UNIX98] (pthread_spinlock_t): Likewise.
21118 [UNIX98] (pthread_barrier_destroy): Likewise.
21119 [UNIX98] (pthread_barrier_init): Likewise.
21120 [UNIX98] (pthread_barrier_wait): Likewise.
21121 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21122 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21123 [UNIX98] (pthread_barrierattr_init): Likewise.
21124 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21125 [UNIX98] (pthread_getcpuclockid): Likewise.
21126 [UNIX98] (pthread_mutex_timedlock): Likewise.
21127 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21128 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21129 [UNIX98] (pthread_sigmask): Likewise.
21130 [UNIX98] (pthread_spin_destroy): Likewise.
21131 [UNIX98] (pthread_spin_init): Likewise.
21132 [UNIX98] (pthread_spin_lock): Likewise.
21133 [UNIX98] (pthread_spin_trylock): Likewise.
21134 [UNIX98] (pthread_spin_unlock): Likewise.
21135 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21136 Do not expect.
21137 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21138 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21139 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21140 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21141 [XPG3 || XPG4] (pthread_key_t): Likewise.
21142 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21143 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21144 [XPG3 || XPG4] (pthread_once_t): Likewise.
21145 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21146 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21147 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21148 [XPG3 || XPG4] (pthread_t): Likewise.
21149
cbe6e120
JM
21150 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21151 not expect.
21152 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21153
1b126443
JM
21154 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21155 Change function return type to int.
21156
b961a573
JM
21157 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21158 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21159 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21160 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21161 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21162 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21163 [!POSIX] (posix_madvise): Likewise.
21164 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21165 && !UNIX98].
21166 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21167 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21168 (mode_t): Likewise.
21169 (posix_mem_offset): Likewise.
21170 (posix_typed_mem_get_info): Likewise.
21171 (posix_typed_mem_open): Likewise.
21172
9e188909
JM
21173 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21174 Change condition to [XOPEN2K8].
21175
05bcf62a
JM
21176 * conform/conformtest.pl: Preprocess allow-header data with -x c
21177 instead of from stdin.
21178 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21179 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21180 [C99-based standards] (cerfc): Likewise.
21181 [C99-based standards] (cexp2): Likewise.
21182 [C99-based standards] (cexpm1): Likewise.
21183 [C99-based standards] (clog10): Likewise.
21184 [C99-based standards] (clog1p): Likewise.
21185 [C99-based standards] (clog2): Likewise.
21186 [C99-based standards] (clgamma): Likewise.
21187 [C99-based standards] (ctgamma): Likewise.
21188 [C99-based standards] (cerff): Likewise.
21189 [C99-based standards] (cerfcf): Likewise.
21190 [C99-based standards] (cexp2f): Likewise.
21191 [C99-based standards] (cexpm1f): Likewise.
21192 [C99-based standards] (clog10f): Likewise.
21193 [C99-based standards] (clog1pf): Likewise.
21194 [C99-based standards] (clog2f): Likewise.
21195 [C99-based standards] (clgammaf): Likewise.
21196 [C99-based standards] (ctgammaf): Likewise.
21197 [C99-based standards] (cerfl): Likewise.
21198 [C99-based standards] (cerfcl): Likewise.
21199 [C99-based standards] (cexp2l): Likewise.
21200 [C99-based standards] (cexpm1l): Likewise.
21201 [C99-based standards] (clog10l): Likewise.
21202 [C99-based standards] (clog1pl): Likewise.
21203 [C99-based standards] (clog2l): Likewise.
21204 [C99-based standards] (clgammal): Likewise.
21205 [C99-based standards] (ctgammal): Likewise.
21206 * conform/data/inttypes.h-data [C99-based standards]: Include
21207 stdint.h-data. Remove all expectations for stdint.h contents.
21208 [C99-based standards] (PRI*): Do not allow.
21209 [C99-based standards] (SCN*): Likewise.
21210 [C99-based standards] (*_t): Likewise.
21211 [C99-based-standards] (PRId8): Expect macro.
21212 [C99-based-standards] (PRIi8): Likewise.
21213 [C99-based-standards] (PRIo8): Likewise.
21214 [C99-based-standards] (PRIu8): Likewise.
21215 [C99-based-standards] (PRIx8): Likewise.
21216 [C99-based-standards] (PRIX8): Likewise.
21217 [C99-based-standards] (SCNd8): Likewise.
21218 [C99-based-standards] (SCNi8): Likewise.
21219 [C99-based-standards] (SCNo8): Likewise.
21220 [C99-based-standards] (SCNu8): Likewise.
21221 [C99-based-standards] (SCNx8): Likewise.
21222 [C99-based-standards] (PRIdLEAST8): Likewise.
21223 [C99-based-standards] (PRIiLEAST8): Likewise.
21224 [C99-based-standards] (PRIoLEAST8): Likewise.
21225 [C99-based-standards] (PRIuLEAST8): Likewise.
21226 [C99-based-standards] (PRIxLEAST8): Likewise.
21227 [C99-based-standards] (PRIXLEAST8): Likewise.
21228 [C99-based-standards] (SCNdLEAST8): Likewise.
21229 [C99-based-standards] (SCNiLEAST8): Likewise.
21230 [C99-based-standards] (SCNoLEAST8): Likewise.
21231 [C99-based-standards] (SCNuLEAST8): Likewise.
21232 [C99-based-standards] (SCNxLEAST8): Likewise.
21233 [C99-based-standards] (PRIdFAST8): Likewise.
21234 [C99-based-standards] (PRIiFAST8): Likewise.
21235 [C99-based-standards] (PRIoFAST8): Likewise.
21236 [C99-based-standards] (PRIuFAST8): Likewise.
21237 [C99-based-standards] (PRIxFAST8): Likewise.
21238 [C99-based-standards] (PRIXFAST8): Likewise.
21239 [C99-based-standards] (SCNdFAST8): Likewise.
21240 [C99-based-standards] (SCNiFAST8): Likewise.
21241 [C99-based-standards] (SCNoFAST8): Likewise.
21242 [C99-based-standards] (SCNuFAST8): Likewise.
21243 [C99-based-standards] (SCNxFAST8): Likewise.
21244 [C99-based-standards] (PRId16): Likewise.
21245 [C99-based-standards] (PRIi16): Likewise.
21246 [C99-based-standards] (PRIo16): Likewise.
21247 [C99-based-standards] (PRIu16): Likewise.
21248 [C99-based-standards] (PRIx16): Likewise.
21249 [C99-based-standards] (PRIX16): Likewise.
21250 [C99-based-standards] (SCNd16): Likewise.
21251 [C99-based-standards] (SCNi16): Likewise.
21252 [C99-based-standards] (SCNo16): Likewise.
21253 [C99-based-standards] (SCNu16): Likewise.
21254 [C99-based-standards] (SCNx16): Likewise.
21255 [C99-based-standards] (PRIdLEAST16): Likewise.
21256 [C99-based-standards] (PRIiLEAST16): Likewise.
21257 [C99-based-standards] (PRIoLEAST16): Likewise.
21258 [C99-based-standards] (PRIuLEAST16): Likewise.
21259 [C99-based-standards] (PRIxLEAST16): Likewise.
21260 [C99-based-standards] (PRIXLEAST16): Likewise.
21261 [C99-based-standards] (SCNdLEAST16): Likewise.
21262 [C99-based-standards] (SCNiLEAST16): Likewise.
21263 [C99-based-standards] (SCNoLEAST16): Likewise.
21264 [C99-based-standards] (SCNuLEAST16): Likewise.
21265 [C99-based-standards] (SCNxLEAST16): Likewise.
21266 [C99-based-standards] (PRIdFAST16): Likewise.
21267 [C99-based-standards] (PRIiFAST16): Likewise.
21268 [C99-based-standards] (PRIoFAST16): Likewise.
21269 [C99-based-standards] (PRIuFAST16): Likewise.
21270 [C99-based-standards] (PRIxFAST16): Likewise.
21271 [C99-based-standards] (PRIXFAST16): Likewise.
21272 [C99-based-standards] (SCNdFAST16): Likewise.
21273 [C99-based-standards] (SCNiFAST16): Likewise.
21274 [C99-based-standards] (SCNoFAST16): Likewise.
21275 [C99-based-standards] (SCNuFAST16): Likewise.
21276 [C99-based-standards] (SCNxFAST16): Likewise.
21277 [C99-based-standards] (PRId32): Likewise.
21278 [C99-based-standards] (PRIi32): Likewise.
21279 [C99-based-standards] (PRIo32): Likewise.
21280 [C99-based-standards] (PRIu32): Likewise.
21281 [C99-based-standards] (PRIx32): Likewise.
21282 [C99-based-standards] (PRIX32): Likewise.
21283 [C99-based-standards] (SCNd32): Likewise.
21284 [C99-based-standards] (SCNi32): Likewise.
21285 [C99-based-standards] (SCNo32): Likewise.
21286 [C99-based-standards] (SCNu32): Likewise.
21287 [C99-based-standards] (SCNx32): Likewise.
21288 [C99-based-standards] (PRIdLEAST32): Likewise.
21289 [C99-based-standards] (PRIiLEAST32): Likewise.
21290 [C99-based-standards] (PRIoLEAST32): Likewise.
21291 [C99-based-standards] (PRIuLEAST32): Likewise.
21292 [C99-based-standards] (PRIxLEAST32): Likewise.
21293 [C99-based-standards] (PRIXLEAST32): Likewise.
21294 [C99-based-standards] (SCNdLEAST32): Likewise.
21295 [C99-based-standards] (SCNiLEAST32): Likewise.
21296 [C99-based-standards] (SCNoLEAST32): Likewise.
21297 [C99-based-standards] (SCNuLEAST32): Likewise.
21298 [C99-based-standards] (SCNxLEAST32): Likewise.
21299 [C99-based-standards] (PRIdFAST32): Likewise.
21300 [C99-based-standards] (PRIiFAST32): Likewise.
21301 [C99-based-standards] (PRIoFAST32): Likewise.
21302 [C99-based-standards] (PRIuFAST32): Likewise.
21303 [C99-based-standards] (PRIxFAST32): Likewise.
21304 [C99-based-standards] (PRIXFAST32): Likewise.
21305 [C99-based-standards] (SCNdFAST32): Likewise.
21306 [C99-based-standards] (SCNiFAST32): Likewise.
21307 [C99-based-standards] (SCNoFAST32): Likewise.
21308 [C99-based-standards] (SCNuFAST32): Likewise.
21309 [C99-based-standards] (SCNxFAST32): Likewise.
21310 [C99-based-standards] (PRId64): Likewise.
21311 [C99-based-standards] (PRIi64): Likewise.
21312 [C99-based-standards] (PRIo64): Likewise.
21313 [C99-based-standards] (PRIu64): Likewise.
21314 [C99-based-standards] (PRIx64): Likewise.
21315 [C99-based-standards] (PRIX64): Likewise.
21316 [C99-based-standards] (SCNd64): Likewise.
21317 [C99-based-standards] (SCNi64): Likewise.
21318 [C99-based-standards] (SCNo64): Likewise.
21319 [C99-based-standards] (SCNu64): Likewise.
21320 [C99-based-standards] (SCNx64): Likewise.
21321 [C99-based-standards] (PRIdLEAST64): Likewise.
21322 [C99-based-standards] (PRIiLEAST64): Likewise.
21323 [C99-based-standards] (PRIoLEAST64): Likewise.
21324 [C99-based-standards] (PRIuLEAST64): Likewise.
21325 [C99-based-standards] (PRIxLEAST64): Likewise.
21326 [C99-based-standards] (PRIXLEAST64): Likewise.
21327 [C99-based-standards] (SCNdLEAST64): Likewise.
21328 [C99-based-standards] (SCNiLEAST64): Likewise.
21329 [C99-based-standards] (SCNoLEAST64): Likewise.
21330 [C99-based-standards] (SCNuLEAST64): Likewise.
21331 [C99-based-standards] (SCNxLEAST64): Likewise.
21332 [C99-based-standards] (PRIdFAST64): Likewise.
21333 [C99-based-standards] (PRIiFAST64): Likewise.
21334 [C99-based-standards] (PRIoFAST64): Likewise.
21335 [C99-based-standards] (PRIuFAST64): Likewise.
21336 [C99-based-standards] (PRIxFAST64): Likewise.
21337 [C99-based-standards] (PRIXFAST64): Likewise.
21338 [C99-based-standards] (SCNdFAST64): Likewise.
21339 [C99-based-standards] (SCNiFAST64): Likewise.
21340 [C99-based-standards] (SCNoFAST64): Likewise.
21341 [C99-based-standards] (SCNuFAST64): Likewise.
21342 [C99-based-standards] (SCNxFAST64): Likewise.
21343 [C99-based-standards] (PRIdMAX): Likewise.
21344 [C99-based-standards] (PRIiMAX): Likewise.
21345 [C99-based-standards] (PRIoMAX): Likewise.
21346 [C99-based-standards] (PRIuMAX): Likewise.
21347 [C99-based-standards] (PRIxMAX): Likewise.
21348 [C99-based-standards] (PRIXMAX): Likewise.
21349 [C99-based-standards] (SCNdMAX): Likewise.
21350 [C99-based-standards] (SCNiMAX): Likewise.
21351 [C99-based-standards] (SCNoMAX): Likewise.
21352 [C99-based-standards] (SCNuMAX): Likewise.
21353 [C99-based-standards] (SCNxMAX): Likewise.
21354 [C99-based-standards] (PRIdPTR): Likewise.
21355 [C99-based-standards] (PRIiPTR): Likewise.
21356 [C99-based-standards] (PRIoPTR): Likewise.
21357 [C99-based-standards] (PRIuPTR): Likewise.
21358 [C99-based-standards] (PRIxPTR): Likewise.
21359 [C99-based-standards] (PRIXPTR): Likewise.
21360 [C99-based-standards] (SCNdPTR): Likewise.
21361 [C99-based-standards] (SCNiPTR): Likewise.
21362 [C99-based-standards] (SCNoPTR): Likewise.
21363 [C99-based-standards] (SCNuPTR): Likewise.
21364 [C99-based-standards] (SCNxPTR): Likewise.
21365 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21366 allow.
21367 * conform/data/stdint.h-data: Update comments to clarify
21368 requirements.
21369 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21370 type.
21371 [C99-based standards] (INT8_MAX): Likewise.
21372 [C99-based standards] (INT16_MIN): Likewise.
21373 [C99-based standards] (INT16_MAX): Likewise.
21374 [C99-based standards] (INT32_MIN): Likewise.
21375 [C99-based standards] (INT32_MAX): Likewise.
21376 [C99-based standards] (INT64_MIN): Likewise.
21377 [C99-based standards] (INT64_MAX): Likewise.
21378 [C99-based standards] (UINT8_MAX): Likewise.
21379 [C99-based standards] (UINT16_MAX): Likewise.
21380 [C99-based standards] (UINT32_MAX): Likewise.
21381 [C99-based standards] (UINT64_MAX): Likewise.
21382 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21383 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21384 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21385 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21386 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21387 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21388 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21389 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21390 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21391 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21392 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21393 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21394 [C99-based standards] (INT_FAST8_MIN): Likewise.
21395 [C99-based standards] (INT_FAST8_MAX): Likewise.
21396 [C99-based standards] (INT_FAST16_MIN): Likewise.
21397 [C99-based standards] (INT_FAST16_MAX): Likewise.
21398 [C99-based standards] (INT_FAST32_MIN): Likewise.
21399 [C99-based standards] (INT_FAST32_MAX): Likewise.
21400 [C99-based standards] (INT_FAST64_MIN): Likewise.
21401 [C99-based standards] (INT_FAST64_MAX): Likewise.
21402 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21403 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21404 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21405 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21406 [C99-based standards] (INTPTR_MIN): Likewise.
21407 [C99-based standards] (INTPTR_MAX): Likewise.
21408 [C99-based standards] (UINTPTR_MAX): Likewise.
21409 [C99-based standards] (INTMAX_MIN): Likewise.
21410 [C99-based standards] (INTMAX_MAX): Likewise.
21411 [C99-based standards] (UINTMAX_MAX): Likewise.
21412 [C99-based standards] (PTRDIFF_MIN): Likewise.
21413 [C99-based standards] (PTRDIFF_MAX): Likewise.
21414 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21415 [C99-based standards] (SIZE_MAX): Likewise.
21416 [C99-based standards] (WCHAR_MAX): Likewise.
21417 [C99-based standards] (WINT_MAX): Likewise.
21418 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21419 constraint on value.
21420 [C99-based standards] (WCHAR_MIN): Likewise.
21421 [C99-based standards] (WINT_MIN): Likewise.
21422 [C99-based standards] (*_t): Allow.
21423 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21424 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21425 Include math.h-data and complex.h-data. Remove all expectations
21426 of math.h and complex.h contents.
21427 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21428 at end of line.
21429 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21430 (struct tm): Expect tag.
21431 [C99-based-standards] (wcstof): Expect function.
21432 [C99-based-standards] (wcstold): Likewise.
21433 [C99-based-standards] (wcstoll): Likewise.
21434 [C99-based-standards] (wcstoull): Likewise.
21435 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21436 macro-int-constant. Specify type.
21437 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21438 constraint on value.
21439 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21440 Specify type.
21441 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21442 Specify value.
21443 [ISO C standards]: Do not allow headers.
21444 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21445 wcs[abcdefghijklmnopqrstuvwxyz]*.
21446 [ISO C standards] (*_t): Do not allow.
21447 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21448 Expect function.
21449 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21450 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21451 Specify type.
21452 [ISO C standards]: Do not allow headers.
21453 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21454 is[abcdefghijklmnopqrstuvwxyz]*.
21455 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21456 to[abcdefghijklmnopqrstuvwxyz]*.
21457 [ISO C standards] (*_t): Do not allow.
21458 * conform/data/stdalign.h-data: New file.
21459 * conform/data/stdbool.h-data: Likewise.
21460 * conform/data/stdnoreturn.h-data: Likewise.
21461
7514feb8
RM
214622012-11-07 Roland McGrath <roland@hack.frob.com>
21463
21464 [BZ #14815]
21465 * manual/filesys.texi (Directory Entries): Typo fix.
21466 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21467
19b2ecfc
MS
214682012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21469
21470 * elf/elf.h (EM_AARCH64): New macro.
21471 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21472 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21473 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21474 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21475 (R_AARCH64_TLSDESC): Likewise.
21476 (NT_ARM_TLS): Likewise.
21477 (NT_ARM_HW_BREAK): Likewise.
21478 (NT_ARM_HW_WATCH): Likewise.
21479
60e235ee
JM
214802012-11-07 Joseph Myers <joseph@codesourcery.com>
21481
21482 [BZ #14811]
21483 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21484 (__ieee754_powl): Saturate nonzero exponents with absolute value
21485 below 0x1p-79 to +/- 0x1p-79.
21486 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21487 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21488 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21489 nonzero exponents with absolute value below 0x1p-32 to +/-
21490 0x1p-32.
21491 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21492 (__ieee754_powl): Saturate nonzero exponents with absolute value
21493 below 0x1p-79 to +/- 0x1p-79.
21494 * math/libm-test.inc (pow_test): Add more tests.
21495
0ab234b7
AK
214962012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21497
21498 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21499 _dl_s390_cap_flags with kernel. Increase string length.
21500 (_dl_s390_platforms): Add z196 and zEC12.
21501
45832f74
JM
215022012-11-07 Joseph Myers <joseph@codesourcery.com>
21503
21504 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21505 Change XOPEN21K to XOPEN2K.
21506
19218757
MK
215072012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21508
21509 * string/memmove.c: Use memcpy when possible.
21510
c5f45721
AJ
215112012-11-06 Andreas Jaeger <aj@suse.de>
21512
21513 * po/eo.po: Update from translation team.
21514
82477c28
JM
215152012-11-06 Joseph Myers <joseph@codesourcery.com>
21516
21517 [BZ #14793]
21518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21519 exponent and small x and y exponents, scale x or y up. Increase
21520 by 2 the exponent used in scaling up.
21521 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21522 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21523 * math/libm-test.inc (fma_test): Add more tests.
21524 (fma_test_towardzero): Likewise.
21525 (fma_test_downward): Likewise.
21526 (fma_test_upward): Likewise.
21527
99252c8c
JM
215282012-11-05 Joseph Myers <joseph@codesourcery.com>
21529
acfa885f
JM
21530 [BZ #14805]
21531 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21532 fenv_t *.
21533
99252c8c
JM
21534 [BZ #14801]
21535 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21536 namespace for names of struct fields.
21537 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21538 fenv_t fields.
21539 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21540 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21541
d6d98dea
ST
215422012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21543
21544 [BZ #3665]
21545 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21546
e10bb107
TS
215472012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21548
21549 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21550 PTR_DEMANGLE.
21551
21552 [BZ #5246]
21553 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21554 PTR_DEMANGLE.
21555
a0c2940d
JM
215562012-11-04 Joseph Myers <joseph@codesourcery.com>
21557
21558 [BZ #14797]
21559 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21560 definitely overflow as x * y not x * y + z.
21561 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21562 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21563 * math/libm-test.inc (fma_test): Add more tests.
21564 (fma_test_towardzero): Likewise.
21565 (fma_test_downward): Likewise.
21566 (fma_test_upward): Likewise.
21567
b830319d
TS
215682012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21569
21570 [BZ #157]
21571
21572 * include/stub-tag.h: Remove file.
21573 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21574 '#include' of it.
21575 * manual/maint.texi (Porting): Don't reference it.
21576 * Makerules ($(objpfx)stubs): Likewise.
21577 * dirent/closedir.c: Don't include <stub-tag.h>.
21578 * dirent/dirfd.c: Likewise.
21579 * dirent/fdopendir.c: Likewise.
21580 * dirent/getdents.c: Likewise.
21581 * dirent/getdents64.c: Likewise.
21582 * dirent/opendir.c: Likewise.
21583 * dirent/readdir.c: Likewise.
21584 * dirent/readdir64.c: Likewise.
21585 * dirent/readdir64_r.c: Likewise.
21586 * dirent/readdir_r.c: Likewise.
21587 * dirent/rewinddir.c: Likewise.
21588 * dirent/seekdir.c: Likewise.
21589 * dirent/telldir.c: Likewise.
21590 * gmon/profil.c: Likewise.
21591 * grp/setgroups.c: Likewise.
21592 * inet/if_index.c: Likewise.
21593 * io/access.c: Likewise.
21594 * io/chdir.c: Likewise.
21595 * io/chmod.c: Likewise.
21596 * io/chown.c: Likewise.
21597 * io/close.c: Likewise.
21598 * io/dup.c: Likewise.
21599 * io/dup2.c: Likewise.
21600 * io/dup3.c: Likewise.
21601 * io/euidaccess.c: Likewise.
21602 * io/faccessat.c: Likewise.
21603 * io/fchdir.c: Likewise.
21604 * io/fchmod.c: Likewise.
21605 * io/fchmodat.c: Likewise.
21606 * io/fchown.c: Likewise.
21607 * io/fchownat.c: Likewise.
21608 * io/fcntl.c: Likewise.
21609 * io/flock.c: Likewise.
21610 * io/fstatfs.c: Likewise.
21611 * io/fstatfs64.c: Likewise.
21612 * io/fstatvfs.c: Likewise.
21613 * io/fstatvfs64.c: Likewise.
21614 * io/futimens.c: Likewise.
21615 * io/fxstat.c: Likewise.
21616 * io/fxstat64.c: Likewise.
21617 * io/fxstatat.c: Likewise.
21618 * io/fxstatat64.c: Likewise.
21619 * io/getcwd.c: Likewise.
21620 * io/isatty.c: Likewise.
21621 * io/lchmod.c: Likewise.
21622 * io/lchown.c: Likewise.
21623 * io/link.c: Likewise.
21624 * io/linkat.c: Likewise.
21625 * io/lseek.c: Likewise.
21626 * io/lseek64.c: Likewise.
21627 * io/lxstat64.c: Likewise.
21628 * io/mkdir.c: Likewise.
21629 * io/mkdirat.c: Likewise.
21630 * io/mkfifo.c: Likewise.
21631 * io/mkfifoat.c: Likewise.
21632 * io/open.c: Likewise.
21633 * io/open64.c: Likewise.
21634 * io/openat.c: Likewise.
21635 * io/openat64.c: Likewise.
21636 * io/pipe.c: Likewise.
21637 * io/pipe2.c: Likewise.
21638 * io/poll.c: Likewise.
21639 * io/posix_fadvise.c: Likewise.
21640 * io/posix_fadvise64.c: Likewise.
21641 * io/posix_fallocate.c: Likewise.
21642 * io/posix_fallocate64.c: Likewise.
21643 * io/read.c: Likewise.
21644 * io/readlink.c: Likewise.
21645 * io/readlinkat.c: Likewise.
21646 * io/rmdir.c: Likewise.
21647 * io/sendfile.c: Likewise.
21648 * io/sendfile64.c: Likewise.
21649 * io/statfs.c: Likewise.
21650 * io/statfs64.c: Likewise.
21651 * io/statvfs.c: Likewise.
21652 * io/statvfs64.c: Likewise.
21653 * io/symlink.c: Likewise.
21654 * io/symlinkat.c: Likewise.
21655 * io/ttyname.c: Likewise.
21656 * io/ttyname_r.c: Likewise.
21657 * io/umask.c: Likewise.
21658 * io/unlink.c: Likewise.
21659 * io/unlinkat.c: Likewise.
21660 * io/utime.c: Likewise.
21661 * io/utimensat.c: Likewise.
21662 * io/write.c: Likewise.
21663 * io/xmknod.c: Likewise.
21664 * io/xmknodat.c: Likewise.
21665 * io/xstat.c: Likewise.
21666 * io/xstat64.c: Likewise.
21667 * login/getpt.c: Likewise.
21668 * login/grantpt.c: Likewise.
21669 * login/unlockpt.c: Likewise.
21670 * math/e_acoshl.c: Likewise.
21671 * math/e_acosl.c: Likewise.
21672 * math/e_asinl.c: Likewise.
21673 * math/e_atan2l.c: Likewise.
21674 * math/e_atanhl.c: Likewise.
21675 * math/e_coshl.c: Likewise.
21676 * math/e_expl.c: Likewise.
21677 * math/e_fmodl.c: Likewise.
21678 * math/e_gammal_r.c: Likewise.
21679 * math/e_hypotl.c: Likewise.
21680 * math/e_j0l.c: Likewise.
21681 * math/e_j1l.c: Likewise.
21682 * math/e_jnl.c: Likewise.
21683 * math/e_lgammal_r.c: Likewise.
21684 * math/e_log10l.c: Likewise.
21685 * math/e_log2l.c: Likewise.
21686 * math/e_logl.c: Likewise.
21687 * math/e_powl.c: Likewise.
21688 * math/e_rem_pio2l.c: Likewise.
21689 * math/e_sinhl.c: Likewise.
21690 * math/e_sqrtl.c: Likewise.
21691 * math/fclrexcpt.c: Likewise.
21692 * math/fedisblxcpt.c: Likewise.
21693 * math/feenablxcpt.c: Likewise.
21694 * math/fegetenv.c: Likewise.
21695 * math/fegetexcept.c: Likewise.
21696 * math/fegetround.c: Likewise.
21697 * math/feholdexcpt.c: Likewise.
21698 * math/fesetenv.c: Likewise.
21699 * math/fesetround.c: Likewise.
21700 * math/feupdateenv.c: Likewise.
21701 * math/fgetexcptflg.c: Likewise.
21702 * math/fraiseexcpt.c: Likewise.
21703 * math/fsetexcptflg.c: Likewise.
21704 * math/ftestexcept.c: Likewise.
21705 * math/k_cosl.c: Likewise.
21706 * math/k_rem_pio2l.c: Likewise.
21707 * math/k_sinl.c: Likewise.
21708 * math/k_tanl.c: Likewise.
21709 * math/s_asinhl.c: Likewise.
21710 * math/s_atanl.c: Likewise.
21711 * math/s_cbrtl.c: Likewise.
21712 * math/s_erfl.c: Likewise.
21713 * math/s_expm1l.c: Likewise.
21714 * math/s_log1pl.c: Likewise.
21715 * math/s_tanhl.c: Likewise.
21716 * misc/acct.c: Likewise.
21717 * misc/brk.c: Likewise.
21718 * misc/chflags.c: Likewise.
21719 * misc/chroot.c: Likewise.
21720 * misc/fchflags.c: Likewise.
21721 * misc/fgetxattr.c: Likewise.
21722 * misc/flistxattr.c: Likewise.
21723 * misc/fremovexattr.c: Likewise.
21724 * misc/fsetxattr.c: Likewise.
21725 * misc/fsync.c: Likewise.
21726 * misc/ftruncate.c: Likewise.
21727 * misc/futimes.c: Likewise.
21728 * misc/futimesat.c: Likewise.
21729 * misc/getdomain.c: Likewise.
21730 * misc/getdtsz.c: Likewise.
21731 * misc/gethostid.c: Likewise.
21732 * misc/gethostname.c: Likewise.
21733 * misc/getloadavg.c: Likewise.
21734 * misc/getpagesize.c: Likewise.
21735 * misc/getsysstats.c: Likewise.
21736 * misc/getxattr.c: Likewise.
21737 * misc/gtty.c: Likewise.
21738 * misc/ioctl.c: Likewise.
21739 * misc/lgetxattr.c: Likewise.
21740 * misc/listxattr.c: Likewise.
21741 * misc/llistxattr.c: Likewise.
21742 * misc/lremovexattr.c: Likewise.
21743 * misc/lsetxattr.c: Likewise.
21744 * misc/lutimes.c: Likewise.
21745 * misc/madvise.c: Likewise.
21746 * misc/mincore.c: Likewise.
21747 * misc/mlock.c: Likewise.
21748 * misc/mlockall.c: Likewise.
21749 * misc/mmap.c: Likewise.
21750 * misc/mprotect.c: Likewise.
21751 * misc/msync.c: Likewise.
21752 * misc/munlock.c: Likewise.
21753 * misc/munlockall.c: Likewise.
21754 * misc/munmap.c: Likewise.
21755 * misc/preadv.c: Likewise.
21756 * misc/preadv64.c: Likewise.
21757 * misc/ptrace.c: Likewise.
21758 * misc/pwritev.c: Likewise.
21759 * misc/pwritev64.c: Likewise.
21760 * misc/readv.c: Likewise.
21761 * misc/reboot.c: Likewise.
21762 * misc/remap_file_pages.c: Likewise.
21763 * misc/removexattr.c: Likewise.
21764 * misc/revoke.c: Likewise.
21765 * misc/select.c: Likewise.
21766 * misc/setdomain.c: Likewise.
21767 * misc/setegid.c: Likewise.
21768 * misc/seteuid.c: Likewise.
21769 * misc/sethostid.c: Likewise.
21770 * misc/sethostname.c: Likewise.
21771 * misc/setregid.c: Likewise.
21772 * misc/setreuid.c: Likewise.
21773 * misc/setxattr.c: Likewise.
21774 * misc/sstk.c: Likewise.
21775 * misc/stty.c: Likewise.
21776 * misc/swapoff.c: Likewise.
21777 * misc/swapon.c: Likewise.
21778 * misc/sync.c: Likewise.
21779 * misc/syncfs.c: Likewise.
21780 * misc/syscall.c: Likewise.
21781 * misc/truncate.c: Likewise.
21782 * misc/ualarm.c: Likewise.
21783 * misc/usleep.c: Likewise.
21784 * misc/ustat.c: Likewise.
21785 * misc/utimes.c: Likewise.
21786 * misc/vhangup.c: Likewise.
21787 * misc/writev.c: Likewise.
21788 * posix/_exit.c: Likewise.
21789 * posix/alarm.c: Likewise.
21790 * posix/execve.c: Likewise.
21791 * posix/fexecve.c: Likewise.
21792 * posix/fork.c: Likewise.
21793 * posix/fpathconf.c: Likewise.
21794 * posix/getaddrinfo.c: Likewise.
21795 * posix/getegid.c: Likewise.
21796 * posix/geteuid.c: Likewise.
21797 * posix/getgid.c: Likewise.
21798 * posix/getgroups.c: Likewise.
21799 * posix/getlogin.c: Likewise.
21800 * posix/getlogin_r.c: Likewise.
21801 * posix/getpgid.c: Likewise.
21802 * posix/getpid.c: Likewise.
21803 * posix/getppid.c: Likewise.
21804 * posix/getresgid.c: Likewise.
21805 * posix/getresuid.c: Likewise.
21806 * posix/getsid.c: Likewise.
21807 * posix/getuid.c: Likewise.
21808 * posix/glob64.c: Likewise.
21809 * posix/nanosleep.c: Likewise.
21810 * posix/pathconf.c: Likewise.
21811 * posix/pause.c: Likewise.
21812 * posix/posix_madvise.c: Likewise.
21813 * posix/pread.c: Likewise.
21814 * posix/pread64.c: Likewise.
21815 * posix/pwrite.c: Likewise.
21816 * posix/pwrite64.c: Likewise.
21817 * posix/sched_getaffinity.c: Likewise.
21818 * posix/sched_getp.c: Likewise.
21819 * posix/sched_gets.c: Likewise.
21820 * posix/sched_primax.c: Likewise.
21821 * posix/sched_primin.c: Likewise.
21822 * posix/sched_rr_gi.c: Likewise.
21823 * posix/sched_setaffinity.c: Likewise.
21824 * posix/sched_setp.c: Likewise.
21825 * posix/sched_sets.c: Likewise.
21826 * posix/sched_yield.c: Likewise.
21827 * posix/setgid.c: Likewise.
21828 * posix/setlogin.c: Likewise.
21829 * posix/setpgid.c: Likewise.
21830 * posix/setresgid.c: Likewise.
21831 * posix/setresuid.c: Likewise.
21832 * posix/setsid.c: Likewise.
21833 * posix/setuid.c: Likewise.
21834 * posix/sleep.c: Likewise.
21835 * posix/spawni.c: Likewise.
21836 * posix/sysconf.c: Likewise.
21837 * posix/times.c: Likewise.
21838 * posix/wait.c: Likewise.
21839 * posix/wait3.c: Likewise.
21840 * posix/wait4.c: Likewise.
21841 * posix/waitpid.c: Likewise.
21842 * resolv/gai_sigqueue.c: Likewise.
21843 * resource/getpriority.c: Likewise.
21844 * resource/getrlimit.c: Likewise.
21845 * resource/getrusage.c: Likewise.
21846 * resource/nice.c: Likewise.
21847 * resource/setpriority.c: Likewise.
21848 * resource/setrlimit.c: Likewise.
21849 * resource/ulimit.c: Likewise.
21850 * rt/aio_cancel.c: Likewise.
21851 * rt/aio_fsync.c: Likewise.
21852 * rt/aio_read.c: Likewise.
21853 * rt/aio_sigqueue.c: Likewise.
21854 * rt/aio_suspend.c: Likewise.
21855 * rt/aio_write.c: Likewise.
21856 * rt/clock_getres.c: Likewise.
21857 * rt/clock_gettime.c: Likewise.
21858 * rt/clock_nanosleep.c: Likewise.
21859 * rt/clock_settime.c: Likewise.
21860 * rt/lio_listio.c: Likewise.
21861 * rt/mq_close.c: Likewise.
21862 * rt/mq_getattr.c: Likewise.
21863 * rt/mq_notify.c: Likewise.
21864 * rt/mq_open.c: Likewise.
21865 * rt/mq_receive.c: Likewise.
21866 * rt/mq_send.c: Likewise.
21867 * rt/mq_setattr.c: Likewise.
21868 * rt/mq_timedreceive.c: Likewise.
21869 * rt/mq_timedsend.c: Likewise.
21870 * rt/mq_unlink.c: Likewise.
21871 * rt/shm_open.c: Likewise.
21872 * rt/shm_unlink.c: Likewise.
21873 * rt/timer_create.c: Likewise.
21874 * rt/timer_delete.c: Likewise.
21875 * rt/timer_getoverr.c: Likewise.
21876 * rt/timer_gettime.c: Likewise.
21877 * rt/timer_settime.c: Likewise.
21878 * setjmp/__longjmp.c: Likewise.
21879 * setjmp/setjmp.c: Likewise.
21880 * signal/kill.c: Likewise.
21881 * signal/killpg.c: Likewise.
21882 * signal/raise.c: Likewise.
21883 * signal/sigaction.c: Likewise.
21884 * signal/sigaltstack.c: Likewise.
21885 * signal/sigblock.c: Likewise.
21886 * signal/sigignore.c: Likewise.
21887 * signal/sigintr.c: Likewise.
21888 * signal/signal.c: Likewise.
21889 * signal/sigpause.c: Likewise.
21890 * signal/sigpending.c: Likewise.
21891 * signal/sigqueue.c: Likewise.
21892 * signal/sigreturn.c: Likewise.
21893 * signal/sigset.c: Likewise.
21894 * signal/sigsetmask.c: Likewise.
21895 * signal/sigstack.c: Likewise.
21896 * signal/sigsuspend.c: Likewise.
21897 * signal/sigtimedwait.c: Likewise.
21898 * signal/sigvec.c: Likewise.
21899 * signal/sigwait.c: Likewise.
21900 * signal/sigwaitinfo.c: Likewise.
21901 * signal/sysv_signal.c: Likewise.
21902 * socket/accept.c: Likewise.
21903 * socket/accept4.c: Likewise.
21904 * socket/bind.c: Likewise.
21905 * socket/connect.c: Likewise.
21906 * socket/getpeername.c: Likewise.
21907 * socket/getsockname.c: Likewise.
21908 * socket/getsockopt.c: Likewise.
21909 * socket/isfdtype.c: Likewise.
21910 * socket/listen.c: Likewise.
21911 * socket/recv.c: Likewise.
21912 * socket/recvfrom.c: Likewise.
21913 * socket/recvmsg.c: Likewise.
21914 * socket/send.c: Likewise.
21915 * socket/sendmsg.c: Likewise.
21916 * socket/sendto.c: Likewise.
21917 * socket/setsockopt.c: Likewise.
21918 * socket/shutdown.c: Likewise.
21919 * socket/sockatmark.c: Likewise.
21920 * socket/socket.c: Likewise.
21921 * socket/socketpair.c: Likewise.
21922 * stdio-common/ctermid.c: Likewise.
21923 * stdio-common/cuserid.c: Likewise.
21924 * stdio-common/remove.c: Likewise.
21925 * stdio-common/rename.c: Likewise.
21926 * stdio-common/renameat.c: Likewise.
21927 * stdio-common/tempname.c: Likewise.
21928 * stdlib/getcontext.c: Likewise.
21929 * stdlib/makecontext.c: Likewise.
21930 * stdlib/setcontext.c: Likewise.
21931 * stdlib/swapcontext.c: Likewise.
21932 * stdlib/system.c: Likewise.
21933 * streams/fattach.c: Likewise.
21934 * streams/fdetach.c: Likewise.
21935 * streams/getmsg.c: Likewise.
21936 * streams/getpmsg.c: Likewise.
21937 * streams/putmsg.c: Likewise.
21938 * streams/putpmsg.c: Likewise.
21939 * sysdeps/unix/bsd/getpt.c: Likewise.
21940 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21941 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21942 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21944 Likewise.
21945 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21946 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21947 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21948 * sysvipc/msgctl.c: Likewise.
21949 * sysvipc/msgget.c: Likewise.
21950 * sysvipc/msgrcv.c: Likewise.
21951 * sysvipc/msgsnd.c: Likewise.
21952 * sysvipc/semctl.c: Likewise.
21953 * sysvipc/semget.c: Likewise.
21954 * sysvipc/semop.c: Likewise.
21955 * sysvipc/semtimedop.c: Likewise.
21956 * sysvipc/shmat.c: Likewise.
21957 * sysvipc/shmctl.c: Likewise.
21958 * sysvipc/shmdt.c: Likewise.
21959 * sysvipc/shmget.c: Likewise.
21960 * termios/tcdrain.c: Likewise.
21961 * termios/tcflow.c: Likewise.
21962 * termios/tcflush.c: Likewise.
21963 * termios/tcgetattr.c: Likewise.
21964 * termios/tcgetpgrp.c: Likewise.
21965 * termios/tcsendbrk.c: Likewise.
21966 * termios/tcsetattr.c: Likewise.
21967 * termios/tcsetpgrp.c: Likewise.
21968 * time/adjtime.c: Likewise.
21969 * time/clock.c: Likewise.
21970 * time/getitimer.c: Likewise.
21971 * time/gettimeofday.c: Likewise.
21972 * time/setitimer.c: Likewise.
21973 * time/settimeofday.c: Likewise.
21974 * time/stime.c: Likewise.
21975 * time/time.c: Likewise.
21976
219772012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 21978
a20492cf
PT
21979 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
21980 /usr/old/bin.
21981
72e182e3
PT
21982 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
21983 instead of spaces.
21984 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
21985
fbeafede
JM
219862012-11-03 Joseph Myers <joseph@codesourcery.com>
21987
5b5b04d6
JM
21988 [BZ #14796]
21989 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
21990 FE_TONEAREST before applying Dekker multiplication and Knuth
21991 addition. Clear inexact exceptions and check for exact zero
21992 results afterwards.
21993 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21994 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21995 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21996 * math/libm-test.inc (fma_test): Add more tests.
21997 (fma_test_towardzero): Likewise.
21998 (fma_test_downward): Likewise.
21999 (fma_test_upward): Likewise.
22000 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22001 function.
22002 (libc_fesetround): New macro.
22003 (libc_fesetroundf): Likewise.
22004 (libc_fesetroundl): Likewise.
22005 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22006 function.
22007 (libc_fesetround_387): Likewise.
22008 (libc_fesetroundf): New macro.
22009 (libc_fesetround): Likewise.
22010 (libc_fesetroundl): Likewise.
22011 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22012 function.
22013 (libc_fesetroundf): New macro.
22014 (libc_fesetround): Likewise.
22015 (libc_fesetroundl): Likewise.
22016 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22017 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22018 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22019 libm_hidden_ver.
22020 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22021 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22022 libm_hidden_def.
22023 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22024 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22025 libm_hidden_ver.
22026 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22027 libm_hidden_def.
22028
fbeafede
JM
22029 [BZ #3439]
22030 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22031 integer constant usable in #if and use that to give value to enum
22032 constant.
22033 (FE_DIVBYZERO): Likewise.
22034 (FE_UNDERFLOW): Likewise.
22035 (FE_OVERFLOW): Likewise.
22036 (FE_INVALID): Likewise.
22037 (FE_INVALID_SNAN): Likewise.
22038 (FE_INVALID_ISI): Likewise.
22039 (FE_INVALID_IDI): Likewise.
22040 (FE_INVALID_ZDZ): Likewise.
22041 (FE_INVALID_IMZ): Likewise.
22042 (FE_INVALID_COMPARE): Likewise.
22043 (FE_INVALID_SOFTWARE): Likewise.
22044 (FE_INVALID_SQRT): Likewise.
22045 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22046 (FE_TONEAREST): Likewise.
22047 (FE_TOWARDZERO): Likewise.
22048 (FE_UPWARD): Likewise.
22049 (FE_DOWNWARD): Likewise.
22050 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22051 (FE_DIVBYZERO): Likewise.
22052 (FE_OVERFLOW): Likewise.
22053 (FE_UNDERFLOW): Likewise.
22054 (FE_INEXACT): Likewise.
22055 (FE_TONEAREST): Likewise.
22056 (FE_DOWNWARD): Likewise.
22057 (FE_UPWARD): Likewise.
22058 (FE_TOWARDZERO): Likewise.
22059 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22060 (FE_UNDERFLOW): Likewise.
22061 (FE_OVERFLOW): Likewise.
22062 (FE_DIVBYZERO): Likewise.
22063 (FE_INVALID): Likewise.
22064 (FE_TONEAREST): Likewise.
22065 (FE_TOWARDZERO): Likewise.
22066 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22067 (FE_OVERFLOW): Likewise.
22068 (FE_UNDERFLOW): Likewise.
22069 (FE_DIVBYZERO): Likewise.
22070 (FE_INEXACT): Likewise.
22071 (FE_TONEAREST): Likewise.
22072 (FE_TOWARDZERO): Likewise.
22073 (FE_UPWARD): Likewise.
22074 (FE_DOWNWARD): Likewise.
22075 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22076 (FE_DIVBYZERO): Likewise.
22077 (FE_OVERFLOW): Likewise.
22078 (FE_UNDERFLOW): Likewise.
22079 (FE_INEXACT): Likewise.
22080 (FE_TONEAREST): Likewise.
22081 (FE_DOWNWARD): Likewise.
22082 (FE_UPWARD): Likewise.
22083 (FE_TOWARDZERO): Likewise.
22084
105ca950
CM
220852012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22086
22087 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22088
a542b389
AS
220892012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22090
22091 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22092 commands. Quote $PWD.
22093 (blacklist_exports): Don't use remove_newlines. Replace "declare
22094 -x" by "export".
22095 (remove_newlines): Remove.
22096
f62c8abc
L
220972012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22098
22099 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22100 * stdlib/stdlib.h (atof): Moved to ...
22101 * include/bits/stdlib-float.h: Here. New file.
22102 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22103 * stdlib/bits/stdlib-float.h: New file.
22104 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22105 -mno-sse -mno-mmx.
22106 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22107 <xmmintrin.h>.
22108
0155d5b2
JM
221092012-11-02 Joseph Myers <joseph@codesourcery.com>
22110
a68d0680
JM
22111 * conform/conformtest.pl (@headers): Add fenv.h.
22112 * conform/data/fenv.h-data: New file.
22113 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22114 include of <math/fenv.h>.
22115
caf7f573
JM
22116 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22117 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22118 && !UNIX98]. Enables tests for XOPEN2K8.
22119 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22120 POSIX2008]: Likewise.
22121
6c073ad6
JM
22122 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22123 (struct rusage): Do not expect type or its members.
22124
0155d5b2
JM
22125 [BZ #3439]
22126 * math/math.h (FP_NAN): Define macro to integer constant usable in
22127 #if and use that to give value to enum constant.
22128 (FP_INFINITE): Likewise.
22129 (FP_ZERO): Likewise.
22130 (FP_SUBNORMAL): Likewise.
22131 (FP_NORMAL): Likewise.
22132
b5dcacb4
AS
221332012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22134
22135 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22136 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22137 arguments.
22138
f7934be8
RM
221392012-11-02 Roland McGrath <roland@hack.frob.com>
22140
22141 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22142 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22143 autoconf-time if not.
22144 * configure.in: Remove AC_PREREQ.
22145
d7d08bde
TMQMF
221462012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22147
22148 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22149 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22150 of the internal implementation.
22151
dcdae19a
JM
221522012-11-02 Joseph Myers <joseph@codesourcery.com>
22153
22154 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22155 except include of <misc/sys/syslog.h>.
22156
d6cffd3e
AS
221572012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22158
22159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22160 function returns with a NULL context exit with zero.
22161
b3563932
TMQMF
221622012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22163
22164 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22165
b288a93d
L
221662012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22167
22168 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22169 (run_program_cmd): This.
22170 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22171 (tst_langinfo): New variable. Use it.
22172
a2421a68
SAS
221732012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22174
22175 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22176 floating point opcodes.
22177
6f796e1b
TS
221782012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22179
7402596b
TS
22180 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22181 variable.
22182
d0d4f868
TS
22183 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22184
6f796e1b
TS
22185 * sysdeps/mach/hurd/powerpc: Remove directory.
22186 * sysdeps/mach/powerpc: Likewise.
22187
4da224a2
AS
221882012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22189
22190 * scripts/check-local-headers.sh: Ignore c++ headers.
22191
341dd673
TS
221922012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22193
22194 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22195 __libc_cleanup_region_start argument.
22196
473611b2
JM
221972012-11-01 Joseph Myers <joseph@codesourcery.com>
22198
22199 [BZ #14784]
22200 [BZ #14785]
22201 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22202 x * y using scaling, not as x * y + z.
22203 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22204 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22205 * math/libm-test.inc (fma_test): Add more tests.
22206 (fma_test_towardzero): Likewise.
22207 (fma_test_downward): Likewise.
22208 (fma_test_upward): Likewise.
22209
4078da3d
TS
222102012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22211
22212 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22213
903252aa
JM
222142012-10-31 Joseph Myers <joseph@codesourcery.com>
22215
22216 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22217 New variable.
22218
cbc818d0
TS
222192012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22220
22221 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22222
5a03cb1e
AS
222232012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22224
22225 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22226 Fix sort order.
22227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22228 Likewise.
22229
90aff2ff
TMQMF
222302012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22231
22232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22233 Fix the order of the list for glibc 2.17.
22234 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22235 Likewise.
22236
1818fcb7
AS
222372012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22238
22239 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22240
ef82f4da
JM
222412012-10-31 Joseph Myers <joseph@codesourcery.com>
22242
16a0e2ec
JM
22243 [BZ #14610]
22244 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22245 for low part of x being zero before using __atanl (y).
22246 * math/libm-test.inc (atan2_test): Add another test.
22247
0eb69512
JM
22248 * manual/install.texi (Configuring and compiling): Document
22249 general use of test-wrapper and test-wrapper-env.
22250 * INSTALL: Regenerated.
22251
ef82f4da
JM
22252 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22253 (__fma): Do not extract and scale down low bits on after-rounding
22254 systems when result rounded to normal precision would have normal
22255 exponent.
22256 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22257 (__fmal): Do not extract and scale down low bits on after-rounding
22258 systems when result rounded to normal precision would have normal
22259 exponent.
22260 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22261 (__fmal): Do not extract and scale down low bits on after-rounding
22262 systems when result rounded to normal precision would have normal
22263 exponent.
22264 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22265 macro.
22266 (fma_test): Add more tests.
22267 (fma_test_towardzero): Likewise.
22268 (fma_test_downward): Likewise.
22269 (fma_test_upward): Likewise.
22270
954ef0d9
L
222712012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22272
22273 * sysdeps/i386/tininess.h: Renamed to ...
22274 * sysdeps/x86/tininess.h: This.
22275 * sysdeps/x86_64/tininess.h: Removed.
22276
df61ffb2
JM
222772012-10-30 Joseph Myers <joseph@codesourcery.com>
22278
22279 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22280 input. Use $(build-program-cmd).
22281 ($(objpfx)tst-array1-static.out): Likewise.
22282 ($(objpfx)tst-array2.out): Likewise.
22283 ($(objpfx)tst-array3.out): Likewise.
22284 ($(objpfx)tst-array4.out): Likewise.
22285 ($(objpfx)tst-array5.out): Likewise.
22286 ($(objpfx)tst-array5-static.out): Likewise.
22287
01767843
CM
222882012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22289
47cc1490
CM
22290 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22291 if defined.
22292
01767843
CM
22293 * nss/nsswitch.h (nss_interface_function): Provide new
22294 macro for use with NSS functions.
22295 * grp/initgroups.c: Use new macro.
22296 * nss/getXXbyYY.c: Likewise.
22297 * nss/getXXbyYY_r.c: Likewise.
22298 * nss/getXXent.c: Likewise.
22299 * nss/getXXent_r.c: Likewise.
22300 * sysdeps/posix/getaddrinfo.c: Likewise.
22301
8321aa97
AJ
223022012-10-30 Andreas Jaeger <aj@suse.de>
22303
22304 * po/ru.po: Update Russion translation from translation project.
22305
2a27fd6d
JM
223062012-10-30 Joseph Myers <joseph@codesourcery.com>
22307
8627a232
JM
22308 [BZ #14152]
22309 [BZ #14783]
22310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22311 result and shift together with sticky bit instead of replicating
22312 round-to-nearest rounding.
22313 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22314 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22315 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22316 missing underflow exceptions.
22317 (fma_test_towardzero): Add more tests.
22318 (fma_test_downward): Likewise.
22319 (fma_test_upward): Likewise.
22320
2a27fd6d
JM
22321 [BZ #14047]
22322 * sysdeps/generic/tininess.h: New file.
22323 * sysdeps/i386/tininess.h: Likewise.
22324 * sysdeps/sh/tininess.h: Likewise.
22325 * sysdeps/x86_64/tininess.h: Likewise.
22326 * stdlib/tst-strtod-underflow.c: Likewise.
22327 * stdlib/tst-tininess.c: Likewise.
22328 * stdlib/strtod_l.c: Include <tininess.h>.
22329 (round_and_return): Do not set errno for exact underflow cases.
22330 Force an underflow exception when setting errno for underflow.
22331 Determine underflow based on rounding to normal precision if
22332 TININESS_AFTER_ROUNDING.
22333 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22334 ERANGE for exact underflow cases.
22335 * stdlib/Makefile (tests): Add tst-tininess and
22336 tst-strtod-underflow.
22337 ($(objpfx)tst-tininess): Use $(link-libm).
22338 ($(objpfx)tst-strtod-underflow): Likewise.
22339
e7170363
AJ
223402012-10-30 Andreas Jaeger <aj@suse.de>
22341
e5088dc6
AJ
22342 [BZ#14767]
22343 * elf/Makefile (tests): Remove conditional for have-initfini-array
22344 since this is now always required and the variable does not exist
22345 anymore.
22346 (tests-static): Likewise.
22347 (modules-names): Likewise.
22348
e7170363 22349 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22350
22351 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22352 merged with constructor/destructor.
22353 (init_array): Likewise.
22354 * elf/tst-array2dep.c (fini_array): Likewise.
22355 (init_array): Likewise.
22356
60457d8a
MF
223572012-10-29 Mike Frysinger <vapier@gentoo.org>
22358
22359 * manual/message.texi: Delete @cartouche tags.
22360
8bece752
PT
223612012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22362
94ce799f
PT
22363 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22364 EOPNOTSUPP.
22365 * sysdeps/mach/hurd/fsync.c: Likewise.
22366
8bece752
PT
22367 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22368 [_POSIX_REALTIME_SIGNALS]: Change condition to
22369 [_POSIX_REALTIME_SIGNALS > 0].
22370
86ebe6b1
AJ
223712012-10-27 Andreas Jaeger <aj@suse.de>
22372
22373 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22374 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22375 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22376 [__WORDSIZE != 64]: Likewise.
22377
54399c08
L
223782012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22379
22380 * iconvdata/tst-table.sh: Remove ${SHELL}.
22381 * iconvdata/tst-tables.sh: Likewise.
22382
e2211bed
DM
223832012-10-25 David S. Miller <davem@davemloft.net>
22384
22385 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22386 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22387 of strtoull.
22388
f303f97c
DM
22389 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22390 ifunc-impl-list.c
22391 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22392 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22393 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22394 file.
22395
1e9d84cd
RM
223962012-10-25 Roland McGrath <roland@hack.frob.com>
22397
22398 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22399 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22400 __getdirentries.
22401
df381762
JM
224022012-10-25 Joseph Myers <joseph@codesourcery.com>
22403 Jim Blandy <jimb@codesourcery.com>
22404
22405 * scripts/cross-test-ssh.sh: New file.
22406 * manual/install.texi (Configuring and compiling): Document use of
22407 cross-test-ssh.sh.
22408 * INSTALL: Regenerated.
22409
bff64913
PT
224102012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22411
22412 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22413 EOPNOTSUPP.
22414
25fe8932
JM
224152012-10-25 Joseph Myers <joseph@codesourcery.com>
22416
22417 * Makeconfig (run-program-prefix): Fix comment.
22418
cc1290d0
JM
224192012-10-24 Joseph Myers <joseph@codesourcery.com>
22420 Jim Blandy <jimb@codesourcery.com>
22421
22422 * Makeconfig (test-wrapper): New variable,
22423 (test-wrapper-env): Likewise.
22424 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22425 (run-built-tests): Define to yes.
22426 (run-program-prefix): Use $(test-wrapper).
22427 (built-program-cmd): Likewise.
22428 * Rules (make-test-out): Use $(test-wrapper-env) and
22429 $(host-built-program-cmd).
22430 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22431 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22432 tst-pathopt.sh.
22433 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22434 $(test-wrapper-env) to tst-rtld-load-self.sh.
22435 ($(objpfx)order2.out): Use $(test-wrapper).
22436 ($(objpfx)tst-initorder.out): Likewise.
22437 ($(objpfx)tst-initorder2.out): Likewise.
22438 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22439 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22440 (test_wrapper_env): New variable. Use it to run ld.so.
22441 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22442 Use it to run ld.so.
22443 (test_wrapper_env): Likewise.
22444 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22445 $(test-wrapper) to run-iconv-test.sh.
22446 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22447 (ICONV): Use $test_wrapper.
22448 * posix/Makefile ($(objpfx)globtest.out): Pass
22449 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22450 globtest.sh, not $(run-program-prefix).
22451 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22452 (test_wrapper): Likewise.
22453 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22454 set together with run_via_rtld_prefix.
22455 (run_program_prefix): Define in terms of test_wrapper and
22456 run_via_rtld_prefix.
22457
6e6249d0
RM
224582012-10-24 Roland McGrath <roland@hack.frob.com>
22459
22460 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22461 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22462 Targets removed.
22463
22464 [BZ #14743]
22465 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22466 Declare __clock_getres, __clock_gettime, __clock_settime,
22467 __clock_nanosleep, and __clock_getcpuclockid.
22468 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22469 Remove librt_hidden_def (clock_gettime).
22470 * sysdeps/unix/clock_gettime.c: Likewise.
22471 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22472 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22473 * rt/clock_getres.c: Define __clock_getres as an alias.
22474 * sysdeps/posix/clock_getres.c: Likewise.
22475 * rt/clock_settime.c: Define __clock_settime as an alias.
22476 * sysdeps/unix/clock_settime.c: Likewise.
22477 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22478 * sysdeps/unix/clock_nanosleep.c: Likewise.
22479 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22480 * rt/clock-compat.c: New file.
22481 * rt/Makefile (librt-routines): Add clock-compat and move
22482 $(clock-routines) to ...
22483 (routines): ... here, new variable.
22484 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22485 Don't add get_clockfreq here.
22486 * rt/Versions (libc: GLIBC_2.17): New version set.
22487 Add clock_* symbols here.
22488 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22489 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22490 (GLIBC_2.17): Add clock_* symbols.
22491 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22492 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22493 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22495 Likewise.
22496 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22497 Likewise.
22498 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22499 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22500 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22501 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22502 * NEWS: Mention the move.
22503
22504 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22505 Use __open, __read, __close rather than their public counterparts.
22506 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22507 (__get_clockfreq_via_cpuinfo): Likewise.
22508 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22509 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22510
22511 * config.h.in (HAVE_IFUNC): New #undef.
22512 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22513 was successful.
22514 * configure: Regenerated.
22515
0cae3f4b
MF
225162012-10-24 Mike Frysinger <vapier@gentoo.org>
22517
22518 * configure.in: Move READELF check to start of file.
22519 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22520 libc_cv_asm_gnu_indirect_function in the process.
22521 * configure: Regenerated.
22522
8175a253
MF
225232012-10-24 Mike Frysinger <vapier@gentoo.org>
22524
22525 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22526 send the output to /dev/null.
22527 (libc_cv_cc_with_libunwind): Likewise.
22528 (libc_cv_as_noexecstack): Likewise.
22529 * configure: Regenerate.
22530
0708a7d1
JM
225312012-10-24 Joseph Myers <joseph@codesourcery.com>
22532
10b40d85
JM
22533 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22534
0708a7d1
JM
22535 * posix/globtest.sh (TMPDIR): Do not set.
22536 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22537 (testout): Likewise.
22538
9fddec1a
AJ
225392012-10-24 Andreas Jaeger <aj@suse.de>
22540
3a8db22f
AJ
22541 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22542 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22543 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22544 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22545 posix_fadvise64, posix_fallocate64.
22546
9fddec1a
AJ
22547 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22548 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22549 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22550 Likewise.
22551 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22552 Likewise.
22553 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22554
22555 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22556 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22557 <bits/fcntl-linux.h>.
22558 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22559
22560 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22561 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22562 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22563 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22564 [__WORDSIZE != 64]: Likewise.
22565
ebfd1bbd
JM
225662012-10-23 Joseph Myers <joseph@codesourcery.com>
22567
03ac099f
JM
22568 * Makeconfig (run-built-tests): New variable.
22569 * Rules [$(cross-compiling) = yes]: Change condition to
22570 [$(run-built-tests) = no].
22571 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22572 to [$(run-built-tests) = yes].
22573 * elf/Makefile [$(cross-compiling) = no]: Likewise
22574 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22575 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22576 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22577 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22578 * io/Makefile [$(cross-compiling) = no]: Likewise.
22579 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22580 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22581 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22582 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22583 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22584 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22585 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22586 * string/Makefile [$(cross-compiling) = no]: Likewise.
22587
ebfd1bbd
JM
22588 * posix/Makefile ($(objpfx)globtest.out): Pass
22589 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22590 $(rtld-installed-name).
22591 * posix/globtest.sh (elf_objpfx): Remove variable.
22592 (rtld_installed_name): Likewise.
22593 (library_path): Likewise.
22594 (run_program_prefix): New variable. Use for running globtest
22595 binary.
22596
166bca24
JB
225972012-10-23 Jim Blandy <jimb@codesourcery.com>
22598 Joseph Myers <joseph@codesourcery.com>
22599
22600 * Makeconfig (host-built-program-cmd): New variable.
22601 * elf/Makefile (tst-stackguard1-ARGS): Use
22602 $(host-built-program-cmd).
22603 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22604 (tst-spawn-ARGS): Likewise.
22605 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22606
88866099
JM
226072012-10-23 Joseph Myers <joseph@codesourcery.com>
22608 Jim Blandy <jimb@codesourcery.com>
22609
22610 * Makeconfig (run-via-rtld-prefix): New variable.
22611 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22612 (built-program-cmd): Likewise.
22613
b4b4c296
AJ
226142012-10-22 Andreas Jaeger <aj@suse.de>
22615
22616 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22617 __O_RSYNC if it exists, otherwise to O_SYNC.
22618
6fb54a22
JB
226192012-10-22 Jim Blandy <jimb@codesourcery.com>
22620 Joseph Myers <joseph@codesourcery.com>
22621
22622 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22623 /dev/null.
22624 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22625 from /dev/null
22626 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22627 /dev/null.
22628
481b90b9
AJ
226292012-10-22 Andreas Jaeger <aj@suse.de>
22630
2a0e2669
AJ
22631 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22632 Define always.
22633 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22634
76e38f9a
AJ
22635 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22636 bits/fcntl-linux.h.
22637
7cd37b43
AJ
22638 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22639 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22640
481b90b9
AJ
22641 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22642 to __O_LARGEFILE.
22643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22644 to __O_LARGEFILE.
22645
aba75984
JB
226462012-10-21 Jim Blandy <jimb@codesourcery.com>
22647 Joseph Myers <joseph@codesourcery.com>
22648
22649 * config.make.in (NM): New variable.
22650
88d4247f
AJ
226512012-10-21 Andreas Jaeger <aj@suse.de>
22652
22653 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22654 definitions and declarations that are provided by
22655 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22656
f2eed205
L
226572012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22658
22659 [BZ #14683]
22660 * elf/Makefile (tests-static): Add tst-leaks1-static.
22661 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22662 ($(objpfx)tst-leaks1-static): New rule.
22663 ($(objpfx)tst-leaks1-static-mem): Likewise.
22664 (tst-leaks1-static-ENV): New macro.
22665 * elf/dl-open.c (dl_open_worker): Check the main application
22666 only if SHARED is defined.
22667 * elf/tst-leaks1-static.c: New file.
22668
335e6931
AJ
226692012-10-20 Andreas Jaeger <aj@suse.de>
22670
22671 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22672 generic values for Linux.
22673 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22674 and declarations that are provided by <bits/fcntl-linux.h> and
22675 include <bits/fcntl-linux.h>.
22676 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22677 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22678
ac5c94d3
RM
226792012-10-20 Roland McGrath <roland@hack.frob.com>
22680
22681 * io/fcntl.h: Move include of <bits/types.h> to the top and
22682 include it unconditionally.
22683
de54b33a
L
226842012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22685
228cfb01
L
22686 * wcsmbs/Makefile (tests-ifunc): New variable.
22687 (tests): Add $(tests-ifunc).
22688 * wcsmbs/test-wcschr-ifunc.c: New file.
22689 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22690 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22691 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22692 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22693 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22694
69f07e5f
L
22695 * string/Makefile (tests-ifunc): New variable.
22696 (tests): Add $(tests-ifunc).
22697 * string/test-memccpy.c (TEST_NAME): New macro.
22698 * string/test-memchr.c (TEST_NAME): Likewise.
22699 * string/test-memcmp.c (TEST_NAME): Likewise.
22700 * string/test-memcpy.c (TEST_NAME): Likewise.
22701 * string/test-memmem.c (TEST_NAME): Likewise.
22702 * string/test-memmove.c (TEST_NAME): Likewise.
22703 * string/test-memset.c (TEST_NAME): Likewise.
22704 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22705 * string/test-stpcpy.c (TEST_NAME): Likewise.
22706 * string/test-stpncpy.c (TEST_NAME): Likewise.
22707 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22708 * string/test-strcasestr.c (TEST_NAME): Likewise.
22709 * string/test-strcat.c (TEST_NAME): Likewise.
22710 * string/test-strchr.c (TEST_NAME): Likewise.
22711 * string/test-strcmp.c(TEST_NAME): Likewise.
22712 * string/test-strcpy.c (TEST_NAME): Likewise.
22713 * string/test-strcspn.c (TEST_NAME): Likewise.
22714 * string/test-strlen.c (TEST_NAME): Likewise.
22715 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22716 * string/test-strncmp.c (TEST_NAME): Likewise.
22717 * string/test-strncpy.c (TEST_NAME): Likewise.
22718 * string/test-strnlen.c (TEST_NAME): Likewise.
22719 * string/test-strpbrk.c (TEST_NAME): Likewise.
22720 * string/test-strrchr.c (TEST_NAME): Likewise.
22721 * string/test-strspn.c (TEST_NAME): Likewise.
22722 * string/test-strstr.c (TEST_NAME): Likewise.
22723 * string/test-bcopy-ifunc.c: New file.
22724 * string/test-bzero-ifunc.c: Likewise.
22725 * string/test-memccpy-ifunc.c: Likewise.
22726 * string/test-memchr-ifunc.c: Likewise.
22727 * string/test-memcmp-ifunc.c: Likewise.
22728 * string/test-memcpy-ifunc.c: Likewise.
22729 * string/test-memmem-ifunc.c: Likewise.
22730 * string/test-memmove-ifunc.c: Likewise.
22731 * string/test-mempcpy-ifunc.c: Likewise.
22732 * string/test-memset-ifunc.c: Likewise.
22733 * string/test-rawmemchr-ifunc.c: Likewise.
22734 * string/test-stpcpy-ifunc.c: Likewise.
22735 * string/test-stpncpy-ifunc.c: Likewise.
22736 * string/test-strcasecmp-ifunc.c: Likewise.
22737 * string/test-strcasestr-ifunc.c: Likewise.
22738 * string/test-strcat-ifunc.c: Likewise.
22739 * string/test-strchr-ifunc.c: Likewise.
22740 * string/test-strchrnul-ifunc.c: Likewise.
22741 * string/test-strcmp-ifunc.c: Likewise.
22742 * string/test-strcpy-ifunc.c: Likewise.
22743 * string/test-strcspn-ifunc.c: Likewise.
22744 * string/test-strlen-ifunc.c: Likewise.
22745 * string/test-strncasecmp-ifunc.c: Likewise.
22746 * string/test-strncat-ifunc.c: Likewise.
22747 * string/test-strncmp-ifunc.c: Likewise.
22748 * string/test-strncpy-ifunc.c: Likewise.
22749 * string/test-strnlen-ifunc.c: Likewise.
22750 * string/test-strpbrk-ifunc.c: Likewise.
22751 * string/test-strrchr-ifunc.c: Likewise.
22752 * string/test-strspn-ifunc.c: Likewise.
22753 * string/test-strstr-ifunc.c: Likewise.
22754
de54b33a
L
22755 * debug/Makefile (tests-ifunc): New variable.
22756 (tests): Add $(tests-ifunc).
22757 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22758 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22759 * debug/test-stpcpy_chk-ifunc.c: New file.
22760 * debug/test-strcpy_chk-ifunc.c: Likewise.
22761
88481c16
SP
227622012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22763
22764 [BZ #13601]
22765 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22766 header is not read in.
22767
135948bd
JM
227682012-10-19 Joseph Myers <joseph@codesourcery.com>
22769
89f1c388
JM
22770 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22771 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22772 directly. Pass built executable to script as
22773 $(built-program-cmd).
22774 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22775 $testprogram without using LD_LIBRARY_PATH and $ldso.
22776
e40a0d21
JM
22777 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22778 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22779 $(rtld-installed-name).
22780 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22781 (rtld_installed_name): Likewise.
22782 (library_path): Likewise.
22783 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22784 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22785 $(run-program-prefix) to tst-tables.sh.
22786 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22787 it to run tst-table-from and tst-table-to.
22788 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22789 Pass it to tst-table.sh.
22790 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22791 $(run-program-prefix) to tst-gettext.sh.
22792 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22793 tst-translit.sh.
22794 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22795 tst-gettext2.sh.
22796 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22797 to run tst-gettext.
22798 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22799 to run tst-gettext2.
22800 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22801 to run tst-translit.
22802 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22803 $(run-program-prefix) to tst-mtrace.sh.
22804 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22805 to run tst-mtrace.
22806 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22807 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22808 $(rtld-installed-name).
22809 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22810 (rtld_installed_name): Likewise.
22811 (run_program_prefix): New variable. Use it to run wordexp-test.
22812
728e272a
JM
22813 * Makeconfig (ARCH): Remove all definitions.
22814 (machine): Likewise.
22815 [ARCH]: Remove conditional code.
22816 [!objdir]: Give error.
22817 [!objdir] (objpfx): Remove.
22818 [!objdir] (common-objpfx): Likewise.
22819 [!objdir] (common-objdir): Likewise.
22820 * configure.in (config_makefile): Remove. Hardcode Makefile in
22821 AC_CONFIG_FILES call.
22822 * configure: Regenerated.
22823
d528cdcf
JM
22824 [BZ #13888]
22825 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22826 or TMPDIR.
22827 (testout): Likewise.
22828
135948bd
JM
22829 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22830 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22831 $(rtld-installed-name).
22832 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22833 (rtld_installed_name): Likwise.
22834 (runit): Remove function.
22835 (run_getconf): New variable, Use it for running getconf binary.
22836
38c78296
L
228372012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22838
22839 [BZ #14716]
22840 * string/test-memmem.c (check_result): New function.
22841 (do_one_test): Use it.
22842 (check1): New function.
22843 (test_main): Use it.
22844
d077f65f
MT
228452012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22846
22847 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22848
ced52c71
JM
228492012-10-18 Joseph Myers <joseph@codesourcery.com>
22850
22851 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22852 (_G_LSEEK64): Likewise.
22853 (_G_MMAP64): Likewise.
22854 (_G_FSTAT64): Likewise.
22855 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22856 (_G_LSEEK64): Likewise.
22857 (_G_MMAP64): Likewise.
22858 (_G_FSTAT64): Likewise.
22859 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22860 unconditional. Call __mmap64 directly.
22861 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22862 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22863 __lseek64 directly.
22864 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22865 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22866 __mmap64 directly.
22867 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22868 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22869 __lseek64 directly.
22870 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22871 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22872 __lseek64 directly.
22873 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22874 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22875 __lseek64 directly.
22876 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22877 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22878 __fxstat64 directly.
22879 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22880 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22881 unconditional.
22882 (freopen64) [!_G_OPEN64]: Remove conditional code.
22883 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22884 unconditional.
22885 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22886 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22887 unconditional.
22888 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22889 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22890 unconditional.
22891 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22892 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22893 unconditional.
22894 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22895 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22896 unconditional.
22897 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22898 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22899 unconditional.
22900 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22901 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22902 unconditional.
22903 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22904
b741de23
SP
229052012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22906
22907 [BZ #12140]
22908 * manual/memory.texi (Malloc Tunable Parameters): Add note
22909 about free list pointers overwriting some perturb bytes.
22910 Wording suggested by Roland McGrath.
22911
f9b9d9c9
JM
229122012-10-17 Joseph Myers <joseph@codesourcery.com>
22913
22914 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22915 (lgamma_test): Likewise.
22916 (tgamma_test): Likewise.
22917
172a631a
FW
229182012-10-16 Florian Weimer <fweimer@redhat.com>
22919
22920 [BZ #14700]
22921 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22922 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22923
e9f37252
MK
229242012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22925
22926 * NEWS: Mention BZ #14716.
22927 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22928 when removing AVAILABLE1_USES_J macro.
22929
d394eb74
L
229302012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22931
22932 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22933 (__bswap_64): __uint64_t for unsigned 64-bit int.
22934
ca38dc17
AS
229352012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22936
22937 * include/string.h (memmem): Declare libc hidden alias.
22938 * string/memmem.c (memmem): Define libc hidden alias.
22939 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22940 __read, __close instead of open, read, close.
22941
9a387d1f
L
229422012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22943
ac49ecaf
L
22944 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22945 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22946 global and hidden.
22947 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22948 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22949 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22950 Likewise.
22951 (__rawmemchr_sse2): Likewise.
22952 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22953 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22954 (__strchr_sse2): Likewise.
22955 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22956 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
22957 (__strcasecmp_sse2): Likewise.
22958 (__strncasecmp_sse2): Likewise.
22959 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
22960 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
22961 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
22962 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
22963 (__strrchr_sse2): Likewise.
22964 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
22965 ifunc-impl-list.c.
22966 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22967 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22968 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22969 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22970 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22971 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22972 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22973 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22974 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
22975 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
22976 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
22977 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
22978 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
22979 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22980 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
22981 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22982 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
22983 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
22984 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
22985 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
22986 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
22987 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
22988 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
22989 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
22990 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
22991 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22992 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
22993 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
22994 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
22995 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
22996
b090e8ea
L
22997 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
22998 global and hidden.
22999 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23000 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23001 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23002 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23003 Likewise.
23004 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23005 Likewise.
23006 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23007 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23008 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23009 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23010 ifunc-impl-list.c.
23011 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23012 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23013 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23014 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23015 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23016 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23017 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23018 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23019 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23020 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23021 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23022 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23023 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23024 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23025 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23026 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23027 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23028 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23029 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23030 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23031 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23032 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23033 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23034 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23035 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23036 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23037 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23038 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23039 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23040 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23041 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23042 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23043 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23044 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23045 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23046 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23047 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23048 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23049 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23050 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23051 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23052
11dd4af6
L
23053 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23054 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23055 * include/ifunc-impl-list.h: New file.
23056 * misc/ifunc-impl-list.c: Likewise.
23057 * misc/Makefile (routines): Add ifunc-impl-list.
23058 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23059 * string/test-string.h: Include <ifunc-impl-list.h>.
23060 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23061 impl_array): New variables.
23062 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23063 are defined.
23064 (test_init): Call __libc_ifunc_impl_list to initialize
23065 func_list if TEST_IFUNC and TEST_NAME are defined.
23066
9a387d1f
L
23067 * string/Makefile (strop-tests): Add bcopy and bzero.
23068 * string/test-bcopy.c: New file.
23069 * string/test-bzero.c: Likewise.
23070 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23071 defined.
23072 * string/test-memset.c: Support bzero test if TEST_BZERO is
23073 defined.
23074 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23075 __libc_memmove.
23076 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23077 __libc_memset.
23078 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23079 of memset.
23080
472371b9
JM
230812012-10-10 Joseph Myers <joseph@codesourcery.com>
23082
1e4a9536
JM
23083 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23084 * configure: Regenerated.
23085
d173d12e
JM
23086 * Makeconfig (+link-static-before-libc): Don't include
23087 $(link-static-libc).
23088
472371b9
JM
23089 * libio/libio.h (_IO_pos_t): Remove.
23090
89a3ad0b
AO
230912012-10-10 Alexandre Oliva <aoliva@redhat.com>
23092
23093 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23094 McGrath.
23095
e7451425
AO
230962012-10-10 Alexandre Oliva <aoliva@redhat.com>
23097
23098 * crypt/crypt-entry.c: Include fips-private.h.
23099 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23100 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23101 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23102 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23103
4ba74a35
AO
231042012-10-10 Alexandre Oliva <aoliva@redhat.com>
23105
23106 * crypt/crypt-private.h: Include stdbool.h.
23107 (_ufc_setup_salt_r): Return bool.
23108 * crypt/crypt-entry.c: Include errno.h.
23109 (__crypt_r): Return NULL with EINVAL for bad salt.
23110 * crypt/crypt_util.c (bad_for_salt): New.
23111 (_ufc_setup_salt_r): Check that salt is long enough and within
23112 the specified alphabet.
23113 * crypt/badsalttest.c: New file.
23114 * crypt/Makefile (tests): Add it.
23115 ($(objpfx)badsalttest): New.
23116
f96f1242
MK
231172012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23118
23119 * NEWS: Add entry for BZ #14602.
23120
0e8e0c1c
JM
231212012-10-09 Joseph Myers <joseph@codesourcery.com>
23122
23123 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23124 type-generic.
23125 * math/libm-test.inc: Update comment listing what functions and
23126 macros are tested.
23127 (isgreater_test): New function.
23128 (isgreaterequal_test): Likewise.
23129 (isless_test): Likewise.
23130 (islessequal_test): Likewise.
23131 (islessgreater_test): Likewise.
23132 (isunordered_test): Likewise.
23133 (main): Call the new functions.
23134
273edc5e
RM
231352012-10-09 Roland McGrath <roland@hack.frob.com>
23136
b8493de0
RM
23137 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23138 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23139 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23140 * sysdeps/i386/configure: Regenerated.
23141 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23142 * sysdeps/mach/configure: Regenerated.
23143 * sysdeps/mach/hurd/configure: Regenerated.
23144 * sysdeps/powerpc/configure: Regenerated.
23145 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23146 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23147 * sysdeps/s390/s390-32/configure: Regenerated.
23148 * sysdeps/s390/s390-64/configure: Regenerated.
23149 * sysdeps/sh/configure: Regenerated.
23150 * sysdeps/sparc/configure: Regenerated.
23151 * sysdeps/unix/sysv/linux/configure: Regenerated.
23152 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23153 * sysdeps/x86_64/configure: Regenerated.
23154
273edc5e
RM
23155 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23156 defined. Don't check if MAP is NULL.
23157
c8450f70
JM
231582012-10-09 Joseph Myers <joseph@codesourcery.com>
23159
23160 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23161 (_G_stat64): Likewise.
23162 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23163 (_G_stat64): Likewise.
23164 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23165 instead of struct _G_stat64.
23166 * libio/fileops.c (mmap_remap_check): Likewise.
23167 (decide_maybe_mmap): Likewise.
23168 (_IO_new_file_seekoff): Likewise.
23169 (_IO_file_stat): Likewise.
23170 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23171 _G_off64_t.
23172 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23173 instead of struct _G_stat64.
23174 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23175
57e605ba
MK
231762012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23177
23178 [BZ #14602]
23179 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23180 Replace with ...
23181 (CHECK_EOL): New macro.
23182 (two_way_short_needle): Check beginning of haystack for EOL. Use
23183 CHECK_EOL.
23184 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23185 Replace with CHECK_EOL.
23186 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23187 Replace with CHECK_EOL.
23188
ef1bb361
JM
231892012-10-08 Joseph Myers <joseph@codesourcery.com>
23190
23191 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23192 type-generic.
23193 * math/libm-test.inc: Update comment listing what functions and
23194 macros are tested.
23195 (finite_test): New function.
23196 (isinf_test): Likewise.
23197 (isnan_test): Likewise.
23198 (fpclassify_test): Test subnormal input.
23199 (isfinite_test): Likewise.
23200 (isnormal_test): Likewise.
23201 (main): Call the new functions.
23202
55f11534
JN
232032012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23204
23205 [BZ #14660]
23206 * Makerules (%.dynsym): Force C locale when running
23207 $(OBJDUMP) --dynamic-syms.
23208
1ab29350
AS
232092012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23210
23211 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23212 <stdint.h>.
23213
f1ecb7ef
DM
232142012-10-06 David S. Miller <davem@davemloft.net>
23215
23216 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23217 upper 32-bits of the length value in %o2 since we use branch-on-register
23218 tests which consider the entire 64-bit register.
23219
5d41d91a
L
232202012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23221
23222 * string/test-strstr.c (check2): Add a test for page boundary.
23223
3baddb72
DM
232242012-10-05 David S. Miller <davem@davemloft.net>
23225
23226 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23227 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23228 file.
23229 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23230 sysdep_routines.
23231 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23232 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23233 and bzero when HWCAP_SPARC_CRYPTO is present.
23234
9cee5585
L
232352012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23236
d7e0dab9
L
23237 [BZ #14602]
23238 * string/test-strstr.c (check2): New function.
23239 (test_main): Call check2.
23240
03759f47
L
23241 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23242 and bug-strchr1.
23243 * string/bug-strcasestr1.c (do_test): Moved to ...
23244 * string/test-strcasestr.c (check1): Here. New function.
23245 (do_one_test): Break out result checking code into ...
23246 (check_result): This. New function.
23247 (do_one_test): Call check_result.
23248 (test_main): Call check1.
23249 * string/bug-strchr1.c (do_test): Moved to ...
23250 * string/test-strchr.c (check1): Here. New function.
23251 (do_one_test): Break out result checking code into ...
23252 (check_result): This. New function.
23253 (do_one_test): Call check_result.
23254 (test_main): Call check1.
23255 * string/bug-strstr1.c (main): Moved to ...
046f153e 23256 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23257 (do_one_test): Break out result checking code into ...
23258 (check_result): This. New function.
23259 (do_one_test): Call check_result.
23260 (test_main): Call check1.
23261 * string/bug-strcasestr1.c: Removed.
23262 * string/bug-strchr1.c: Likewise.
23263 * string/bug-strstr1.c: Likewise.
23264
53cea63e
L
23265 * elf/Makefile (dl-routines): Add hwcaps.
23266 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23267 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23268 (_dl_important_hwcaps): Moved to ...
23269 * elf/dl-hwcaps.c: Here. New file.
23270 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23271
9cee5585 23272 [BZ #14557]
bb859b06
L
23273 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23274 if IS_IN_rtld isn't defined.
23275
9cee5585
L
23276 * elf/dl-support.c (_dl_sysinfo_map): New.
23277 Include "get-dynamic-info.h" and "setup-vdso.h".
23278 (_dl_non_dynamic_init): Call setup_vdso.
23279 * elf/dynamic-link.h: Don't include <assert.h>.
23280 (elf_get_dynamic_info): Moved to ...
23281 * elf/get-dynamic-info.h: Here. New file.
23282 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23283 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23284 * elf/setup-vdso.h: Here. New file.
23285 * elf/rtld.c: Include "setup-vdso.h".
23286 (dl_main): Call setup_vdso.
23287
23c31b76
JM
232882012-10-05 Joseph Myers <joseph@codesourcery.com>
23289
28234b07
JM
23290 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23291 creal in comment listing functions tested. List finite, isinf,
23292 isnan, isless, islessequal, isgreater, isgreaterequal,
23293 islessgreater, isunordered, lgamma_r and pow10 as functions and
23294 macros not tested. Mention which functions not tested are aliases
23295 for other functions. Fix typo. Note that signs of NaNs are not
23296 tested.
23297
23c31b76
JM
23298 * scripts/config.guess: Update from config.git.
23299 * scripts/config.sub: Likewise.
23300
9043e228
RM
233012012-10-04 Roland McGrath <roland@hack.frob.com>
23302
23303 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23304 * misc/madvise.c (madvise): Renamed to __madvise.
23305 Make madvise a weak alias.
23306 * include/sys/mman.h: Declare __madvise.
23307 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23308 * sysdeps/unix/syscalls.list
23309 (madvise): Make __madvise the strong name, and madvise a weak alias.
23310 * sysdeps/unix/sysv/linux/syscalls.list
23311 (madvise, mmap): Remove redundant entries.
23312 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23313 * malloc/malloc.c (mtrim): Likewise.
23314 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23315
f57f8055
RM
233162012-10-03 Roland McGrath <roland@hack.frob.com>
23317
23318 * sysdeps/mach/hurd/dl-cache.c: File removed.
23319 * config.h.in (USE_LDCONFIG): New #undef.
23320 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23321 * configure: Regenerated.
23322 * elf/Makefile (dl-routines): Add dl-cache only under
23323 [$(use-ldconfig) = yes].
23324 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23325 cache on [USE_LDCONFIG].
23326 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23327 [USE_LDCONFIG].
23328 * elf/rtld.c (dl_main): Likewise.
23329
5bb0c10a
PT
233302012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23331
23332 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23333 _SC_LEVEL4_CACHE_LINESIZE.
23334
010188c6
RM
233352012-10-03 Roland McGrath <roland@hack.frob.com>
23336
23337 * sysdeps/unix/bsd/confstr.h: File removed.
23338
b6c5ec07
AO
233392012-10-02 Alexandre Oliva <aoliva@redhat.com>
23340
23341 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23342 sys/sdt-config.h.
23343
408223d4
RM
233442012-10-02 Roland McGrath <roland@hack.frob.com>
23345
23346 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23347 Make 'mapoff' field ElfW(Off) rather than off_t.
23348
bb9510dc
DL
233492012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23350
fc997c6e
DL
23351 * nscd/Makefile: Remove nscd-cflags and all its users.
23352 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23353 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23354
bb9510dc
DL
23355 [BZ #10631]
23356 * malloc.c (malloc_printerr): Clarify error message.
23357
05699367
L
233582012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23359
23360 [BZ #14648]
23361 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23362 Set bit_FMA_Usable if FMA is supported.
23363 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23364 macro.
23365 (bit_FMA4_Usable): Updated.
23366 (index_FMA_Usable): New macro.
23367 (CPUID_FMA): Likewise
23368 (HAS_FMA): Defined with bit_FMA_Usable.
23369
51367701
RM
233702012-10-01 Roland McGrath <roland@hack.frob.com>
23371
23372 * bits/types.h (__swblk_t): Type removed.
23373 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23374 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23375 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23376 (__SWBLK_T_TYPE): Likewise.
23377 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23378 (__SWBLK_T_TYPE): Likewise.
23379 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23380 (__SWBLK_T_TYPE): Likewise.
23381 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23382 (__SWBLK_T_TYPE): Likewise.
23383
4d57bf63 233842012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23385 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23386
23387 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23388 (xdr_mapname): Use YPMAXMAP as maxsize.
23389 (xdr_peername): Use YPMAXPEER as maxsize.
23390 (xdr_keydat): Use YPAXRECORD as maxsize.
23391 (xdr_valdat): Use YPMAXRECORD as maxsize.
23392
93c65d43
RM
233932012-10-01 Roland McGrath <roland@hack.frob.com>
23394
497a03d6
RM
23395 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23396
93c65d43
RM
23397 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23398 * csu/init-first.c: ... here.
23399 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23400 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23401 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23402 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23403 * sysdeps/i386/init-first.c: File removed.
23404 * sysdeps/sh/init-first.c: File removed.
23405
bec749fd
JM
234062012-10-01 Joseph Myers <joseph@codesourcery.com>
23407
23408 [BZ #14645]
23409 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23410 if x * y might underflow to zero and z is zero.
23411 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23412 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23413 * math/libm-test.inc (min_subnorm_value): New variable.
23414 (fma_test): Add more tests.
23415 (fma_test_towardzero): Likewise.
23416 (fma_test_downward): Likewise
23417 (fma_test_upward): Likewise.
23418 (initialize): Set min_subnorm_value.
23419
8ec5b013
JM
234202012-09-29 Joseph Myers <joseph@codesourcery.com>
23421
23422 [BZ #14638]
23423 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23424 0 + 0.
23425 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23426 mode for addition resulting in exact zero.
23427 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23428 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23429 exact 0 + 0.
23430 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23431 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23432 * math/libm-test.inc (fma_test): Add more tests.
23433 (fma_test_towardzero): New function.
23434 (fma_test_downward): Likewise.
23435 (fma_test_upward): Likewise.
23436 (main): Call the new functions.
23437
b1fa802e
DM
234382012-09-28 David S. Miller <davem@davemloft.net>
23439
23440 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23441
d3b9fd9e
RM
234422012-09-28 Roland McGrath <roland@hack.frob.com>
23443
ea4d37b3
RM
23444 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23445 instead of SIGALRM.
23446
ac51c949
RM
23447 * sysdeps/gnu/_G_config.h: Moved to ...
23448 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23449 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23450 * sysdeps/generic/_G_config.h: ... here.
23451
28c195f7
RM
23452 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23453
848917f9
RM
23454 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23455
6bacf05b
RM
23456 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23457 Conditionalize target on [libnss_test1.so-version].
23458
91363dbb
RM
23459 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23460
cc87f7d8
RM
23461 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23462 (elfobjdir): Move out of conditionals.
23463
b1c608fe
RM
23464 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23465 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23466 (__nss_lookup_function): Conditionalize label remove_from_tree on
23467 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23468
1d9a6d96
DM
234692012-09-28 David S. Miller <davem@davemloft.net>
23470
23471 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23472 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23473 file.
23474 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23475 sysdep_routines.
23476 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23477 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23478 when HWCAP_SPARC_CRYPTO is present.
23479
72581615
PT
234802012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23481
23482 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23483
715a900c
JL
234842012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23485
23486 [BZ #6530]
23487 * stdio-common/vfprintf.c (process_string_arg): Revert
23488 2000-07-22 change.
23489
234902011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23491
23492 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23493 for testcase.
23494 * stdio-common/tst-sprintf.c: Include <locale.h>
23495 (main): Test sprintf's handling of incomplete multibyte
23496 characters.
23497
9bac1d86
L
234982012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23499
23500 * elf/dl-runtime.c (VERSYMIDX): Removed.
23501 * elf/dl-version.c (VERSYMIDX): Likewise.
23502 * elf/do-rel.h (VERSYMIDX): Likewise.
23503 (VALIDX): Likewise.
23504 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23505 * elf/rtld.c (VALIDX): Likewise.
23506 (ADDRIDX): Likewise.
9bac1d86
L
23507 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23508 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23509 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23510 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23511 (VALIDX): Likewise.
23512 (ADDRIDX): Likewise.
9bac1d86 23513
b31606c0
PT
235142012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23515
23516 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23517
11541177
JL
235182012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23519
23520 [BZ #11438]
23521 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23522 to global scope.
23523 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23524 addresses are in the same scope as 192.0.2/24.
23525 * posix/gai.conf: Document new scope table defaults.
23526
adb26fae
SP
235272012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23528
23529 [BZ #5298]
23530 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23531 for ftell. Compute offsets from write pointers instead.
23532 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23533
4573c6b0
SP
235342012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23535
23536 [BZ #14543]
23537 * libio/Makefile (tests): New test case tst-fseek.
23538 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23539 combination works in wide mode.
23540 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23541 state when the external buffer state changes.
23542
aa9bbfe6
DM
235432012-09-27 David S. Miller <davem@davemloft.net>
23544
23545 [BZ #14376]
23546 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23547 pass reloc->r_addend in as the 'high' argument to
23548 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23549
784421e7
DM
23550 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23551
c39bc8b8
PT
235522012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23553
23554 * rt/tst-aio2.c: Include <pthread.h>.
23555 * rt/tst-aio3.c: Likewise.
23556
1ccc2399
SE
235572012-09-27 Steve Ellcey <sellcey@mips.com>
23558
23559 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23560
31ed4153
L
235612012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23562
25f5f885
L
23563 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23564 contents on [SHARED].
31ed4153 23565
b7bfe116
MP
235662012-09-26 Marek Polacek <polacek@redhat.com>
23567
23568 [BZ #14530]
23569 [BZ #13741]
23570 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23571 for C++ and GCC <4.3 as well as for non GCC compilers.
23572
43c4edba
MT
235732012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23574
23575 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23576
6a1bf82f
RM
235772012-09-25 Roland McGrath <roland@hack.frob.com>
23578
23579 * Makefile.in (all, install): Declare with .PHONY.
23580 Reported by Michael Hope <michael.hope@linaro.org>.
23581
8ad11b9a
TMQMF
235822012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23583
23584 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23585 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23586 system header.
23587 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23588 Likewise.
23589 (sydep_routines): Add the new and the internal functions.
23590 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23591 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23592 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23593 (GLIBC_2.17): Add the new function.
23594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23595 (GLIBC_2.17): Likewise.
23596 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23597 (GLIBC_2.17): Likewise.
23598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23599 (GLIBC_2.17): Likewise.
23600 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23601
7e2fca8d
AM
236022012-09-25 Alan Modra <amodra@gmail.com>
23603
23604 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23605 Add release barrier before setting once_control to say
23606 initialisation is done. Add hints on lwarx. Use macro in
23607 place of isync.
23608 (clear_once_control): Add release barrier.
23609
b87c4b24
JM
236102012-09-25 Joseph Myers <joseph@codesourcery.com>
23611
d032e0d2
JM
23612 [BZ #13629]
23613 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23614 specially.
23615 * math/s_clog10.c (__clog10): Likewise.
23616 * math/s_clog10f.c (__clog10f): Likewise.
23617 * math/s_clog10l.c (__clog10l): Likewise.
23618 * math/s_clogf.c (__clogf): Likewise.
23619 * math/s_clogl.c (__clogl): Likewise.
23620 * math/Makefile (libm-calls): Add x2y2m1.
23621 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23622 (__x2y2m1): Likewise.
23623 (__x2y2m1l): Likewise.
23624 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23625 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23626 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23627 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23628 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23629 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23630 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23631 * sysdeps/i386/fpu/libm-test-ulps: Update.
23632 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23633
b87c4b24
JM
23634 [BZ #14621]
23635 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23636 int as type of variable DEPTH.
23637 (glob): Use size_t instead of int as type of variables NEWCOUNT
23638 and OLD_PATHC.
23639
6d3bf199
LD
236402012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23641
22bf5c17
LD
23642 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23643 Add s_sincosf-sse2.
23644 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23645 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23646 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23647 macros for using routine as __sincosf_ia32.
23648 Use macro for function declaration and weak_alias.
23649 * sysdeps/i386/fpu/libm-test-ulps: Update.
23650
23651 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23652 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23653
23654 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23655 subnormal argument.
23656 * math/s_cexpf.c (__cexpf): Likewise.
23657 * math/s_csinf.c (__csinf): Likewise.
23658 * math/s_csinhf.c (__csinhf): Likewise.
23659 * math/s_ctanf.c (__ctanf): Likewise.
23660 * math/s_ctanhf.c (__ctanhf): Likewise.
23661 * math/s_ccosh.c (__ccoshf): Likewise.
23662 * math/s_cexp.c (__cexpl): Likewise.
23663 * math/s_csin.c (__csin): Likewise.
23664 * math/s_csinh.c (__csinh): Likewise.
23665 * math/s_ctan.c (__ctan): Likewise.
23666 * math/s_ctanh.c (ctanh): Likewise.
23667 * math/s_ccoshl.c (__ccoshl): Likewise.
23668 * math/s_cexpl.c (__cexpl): Likewise.
23669 * math/s_csinl.c (__csinl): Likewise.
23670 * math/s_csinhl.c (__csinhl): Likewise.
23671 * math/s_ctanl.c (__ctanl): Likewise.
23672 * math/s_ctanhl.c (__ctanhl): Likewise.
23673
203e5603
JM
236742012-09-25 Joseph Myers <joseph@codesourcery.com>
23675
23676 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23677 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23678 (_IO_off_t): Define to __off_t, not _G_off_t.
23679 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23680 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23681 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23682 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23683 type of __dummy and __dummy2 fields.
23684 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23685 (_G_ssize_t): Likewise.
23686 (_G_off_t): Likewise.
23687 (_G_pid_t): Likewise.
23688 (_G_uid_t): Likewise.
23689 (_G_wchar_t): Likewise.
23690 (_G_wint_t): Likewise.
23691 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23692 (_G_ssize_t): Likewise.
23693 (_G_off_t): Likewise.
23694 (_G_pid_t): Likewise.
23695 (_G_uid_t): Likewise.
23696 (_G_wchar_t): Likewise.
23697 (_G_wint_t): Likewise.
23698 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23699 (_G_ssize_t): Likewise.
23700 (_G_off_t): Likewise.
23701 (_G_pid_t): Likewise.
23702 (_G_uid_t): Likewise.
23703 (_G_wchar_t): Likewise.
23704 (_G_wint_t): Likewise.
23705
9fab36eb
SP
237062012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23707
23708 * malloc/arena.c: Include malloc-sysdep.h.
23709 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23710 is sufficient to shrink the heap or an unmap is needed.
23711 * sysdeps/generic/malloc-sysdep.h: New file. Define
23712 new function check_may_shrink_heap.
23713 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23714 new function check_may_shrink_heap.
23715
2b4f00d1
SP
237162012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23717
23718 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23719 comments.
23720
9a9028b1
DL
237212012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23722
57c69bef
DL
23723 * catgets/test-gencat.sh: Add "set -e".
23724 * elf/tst-pathopt.sh: Likewise.
23725 * grp/tst_fgetgrent.sh: Likewise.
23726 * iconvdata/run-iconv-test.sh: Likewise.
23727 * intl/tst-gettext.sh: Likewise.
23728 * intl/tst-gettext2.sh: Likewise.
23729 * intl/tst-gettext4.sh: Likewise.
23730 * intl/tst-gettext6.sh: Likewise.
23731 * intl/tst-translit.sh: Likewise.
23732 * io/ftwtest-sh: Likewise.
23733 * libio/test-freopen.sh: Likewise.
23734 * malloc/tst-mtrace.sh: Likewise.
23735 * posix/globtest.sh: Likewise.
23736 * posix/tst-getconf.sh: Likewise.
23737 * posix/wordexp-tst.sh: Likewise.
23738 * stdio-common/tst-printf.sh: Likewise.
23739 * stdio-common/tst-unbputc.sh: Likewise.
23740 * stdlib/tst-fmtmsg.sh: Likewise.
23741 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23742 * catgets/Makefile: Do not specify -e option when running
23743 testsuite shell scripts.
23744 * elf/Makefile: Likewise.
23745 * grp/Makefile: Likewise.
23746 * iconvdata/Makefile: Likewise.
23747 * intl/Makefile: Likewise.
23748 * io/Makefile: Likewise.
23749 * libio/Makefile: Likewise.
23750 * malloc/Makefile: Likewise.
23751 * posix/Makefile: Likewise.
23752 * stdio-common/Makefile: Likewise.
23753 * stdlib/Makefile: Likewise.
23754 * sysdeps/x86_64/Makefile: Likewise.
23755
9a9028b1
DL
23756 * io/ftwtest-sh: Add copyright header.
23757 * posix/globtest.sh: Likewise.
23758 * posix/tst-getconf.sh: Likewise.
23759 * posix/wordexp-tst.sh: Likewise.
23760 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23761
ced6f16e
L
237622012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23763
94b32c39
L
23764 [BZ #13679]
23765 * Makeconfig (+link): Defined as $(+link-static) if
23766 $(build-shared) isn't yes.
23767 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23768 isn't yes.
23769 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23770
189e935b
L
23771 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23772
ced6f16e
L
23773 [BZ #14562]
23774 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23775 new chunk size with MALLOC_ALIGN_MASK.
23776
a9f8e53a
JM
237772012-09-24 Joseph Myers <joseph@codesourcery.com>
23778
23779 [BZ #5044]
23780 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23781 <rounding-mode.h>.
23782 (__printf_fphex): Determine rounding using get_rounding_mode and
23783 round_away.
23784 * stdio-common/tst-printf-round.c (struct hex_test): New
23785 structure.
23786 (hex_tests): New variable.
23787 (test_hex_in_one_mode): New function.
23788 (do_test): Also run tests for hex float output.
23789
43153109
JM
237902012-09-21 Joseph Myers <joseph@codesourcery.com>
23791
23792 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23793 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23794 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23795 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23796 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23797 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23798 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23799 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23800
8a26625d
JM
238012012-09-20 Joseph Myers <joseph@codesourcery.com>
23802
23803 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23804 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23805 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23806 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23807
f3fd569c
DL
238082012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23809
23810 [BZ #14579]
23811 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23812 mode only.
23813 * elf/tst-rtld-load-self.sh: New test.
23814 * elf/Makefile: Run it.
23815
63bbedd4
JM
238162012-09-18 Joseph Myers <joseph@codesourcery.com>
23817
23818 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23819 (tst-writev-ENV): Remove.
23820 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23821
626f8b6a
CM
238222012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23823
23824 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23825
b7aaa4d6
JM
238262012-09-17 Joseph Myers <joseph@codesourcery.com>
23827
23828 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23829 unconditional.
23830 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23831 Likewise.
23832 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23833 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23834 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23835 Likewise.
23836
65513990
L
238372012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23838
23839 [BZ #14587]
23840 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23841 * config.make.in (have-cpp-asm-debuginfo): Removed.
23842 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23843 * configure: Regenerated.
23844
784761be
JM
238452012-09-14 Joseph Myers <joseph@codesourcery.com>
23846
23847 [BZ #5044]
23848 * stdio-common/printf_fp.c: Include <stdbool.h> and
23849 <rounding-mode.h>.
23850 (___printf_fp): Determine rounding using get_rounding_mode and
23851 round_away.
23852 * stdio-common/tst-printf-round.c: New file.
23853 * stdio-common/Makefile (tests): Add tst-printf-round.
23854 (link-libm): New variable.
23855 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23856
9503345f
L
238572012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23858
23859 [BZ #14576]
23860 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23861 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23862 Likewise.
23863 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23864 Likewise.
23865
ad35fc00
JM
238662012-09-13 Joseph Myers <joseph@codesourcery.com>
23867
23868 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23869 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23870 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23871 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23872
6c9b0f68
JM
238732012-09-12 Joseph Myers <joseph@codesourcery.com>
23874
23875 [BZ #14518]
23876 * include/rounding-mode.h: New file.
23877 * sysdeps/generic/get-rounding-mode.h: Likewise.
23878 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23879 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23880 (MAX_VALUE): New macro.
23881 (MIN_VALUE): Likewise.
23882 (overflow_value): New function.
23883 (underflow_value): Likewise.
23884 (round_and_return): Use overflow_value and underflow_value to
23885 determine return values in overflow and underflow cases. Use
23886 round_away to determine rounding depending on rounding mode.
23887 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23888 determine return values in overflow and underflow cases.
23889 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23890 (struct test_results): New structure.
23891 (struct test): Use struct test_results to store expected results
23892 for all rounding modes.
23893 (TEST): Include expected results for all rounding modes.
23894 (test_in_one_mode): New function.
23895 (do_test): Use test_in_one_mode to compute and check results.
23896 Check results for all rounding modes.
23897 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23898 $(link-libm).
23899
19fcedd5
AM
239002012-12-09 Allan McRae <allan@archlinux.org>
23901
1e9d84cd 23902 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23903
8bbfd2f1
JM
239042012-09-11 Joseph Myers <joseph@codesourcery.com>
23905
23906 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23907 (_G_int32_t): Likewise.
23908 (_G_uint16_t): Likewise.
23909 (_G_uint32_t): Likewise.
23910 (_G_HAVE_BOOL): Likewise.
23911 (_G_HAVE_ATEXIT): Likewise.
23912 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23913 (_G_HAVE_IO_FILE_OPEN): Likewise.
23914 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23915 (_G_int32_t): Likewise.
23916 (_G_uint16_t): Likewise.
23917 (_G_uint32_t): Likewise.
23918 (_G_HAVE_BOOL): Likewise.
23919 (_G_HAVE_ATEXIT): Likewise.
23920 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23921 (_G_HAVE_IO_FILE_OPEN): Likewise.
23922 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23923 (_G_int32_t): Likewise.
23924 (_G_uint16_t): Likewise.
23925 (_G_uint32_t): Likewise.
23926 (_G_HAVE_BOOL): Likewise.
23927 (_G_HAVE_ATEXIT): Likewise.
23928 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23929 (_G_HAVE_IO_FILE_OPEN): Likewise.
23930
b1dc5912
L
239312012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23932
23933 * csu/libc-tls.c: Update copyright years.
23934
0e886ef9
JM
239352012-09-10 Joseph Myers <joseph@codesourcery.com>
23936
28361c5e
JM
23937 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23938 [!_G_USING_THUNKS]: Remove conditional code.
23939 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23940 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23941
0e886ef9
JM
23942 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23943 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23944 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23945 (_G_VTABLE_LABEL_PREFIX): Likewise.
23946 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23947 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23948 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23949 (_G_VTABLE_LABEL_PREFIX): Likewise.
23950 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23951 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23952 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23953 (_G_VTABLE_LABEL_PREFIX): Likewise.
23954 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23955
bcba7aa2
L
239562012-09-10 H.J. Lu <hongjiu.lu@intel.com>
23957
23958 * libio/Makefile: Include ../Makeconfig before tests.
23959 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
23960 only if $(build-shared) is yes.
23961
06585ee8
L
23962 * iconv/gconv_db.c: Update copyright years.
23963
80ccd52c
LD
239642012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23965
23966 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
23967 unwind info if defined PIC. Fix special cases description.
23968 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
23969
23970 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
23971 DP_HI_MASK entry.
23972 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
23973
691bc9c1
L
239742012-09-07 H.J. Lu <hongjiu.lu@intel.com>
23975
3d9b46b3
L
23976 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
23977
de2139a9
L
23978 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
23979 is NULL.
23980
5ca78dd0
L
23981 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
23982 (LDLIBS-tst-chk4): This.
23983 (LDFLAGS-tst-chk5): Renamed to ...
23984 (LDLIBS-tst-chk5): This.
23985 (LDFLAGS-tst-chk6): Renamed to ...
23986 (LDLIBS-tst-chk6): This.
23987 (LDFLAGS-tst-lfschk4): Renamed to ...
23988 (LDLIBS-tst-lfschk4): This.
23989 (LDFLAGS-tst-lfschk5): Renamed to ...
23990 (LDLIBS-tst-lfschk5): This.
23991 (LDFLAGS-tst-lfschk6): Renamed to ...
23992 (LDLIBS-tst-lfschk6): This.
23993
691bc9c1
L
23994 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
23995 on $(common-objpfx)soversions.mk.
23996
65cafb1c
JM
239972012-09-07 Joseph Myers <joseph@codesourcery.com>
23998
23999 [BZ #10014]
24000 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24001 example host name.
24002
c78ab094
SP
240032012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24004
24005 * malloc/arena.c (arena_get_retry): New function that gets
24006 another arena for the caller to try its request on.
24007 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24008 current arena cannot fulfill the request.
24009 (__libc_memalign): Likewise.
24010 (__libc_memalign): Likewise.
24011 (__libc_pvalloc): Likewise.
24012 (__libc_calloc): Likewise.
24013
01f49f59
JT
240142012-09-05 John Tobey <john.tobey@gmail.com>
24015
24016 [BZ #13542]
24017 * manual/arith.texi (Operations on Complex): Fix description
24018 of carg branch cut.
24019
4c23fed5
JM
240202012-09-06 Joseph Myers <joseph@codesourcery.com>
24021
1d3c8572
JM
24022 [BZ #10014]
24023 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24024 host name.
24025
4c23fed5
JM
24026 [BZ #10038]
24027 * manual/memory.texi (Memory): Make order of menu items match
24028 order of sections.
24029
04570aaa
L
240302012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24031
24032 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24033 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24034 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24035
b80af2f4
L
240362012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24037
24038 * csu/libc-tls.c (static_dtv): Renamed to ...
24039 (_dl_static_dtv): This. Make it global.
24040 (_dl_initial_dtv): Removed.
24041 (__libc_setup_tls): Updated.
24042 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24043 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24044 DL_INITIAL_DTV.
24045
2abe9f15
PM
240462012-09-06 Petr Machata <pmachata@redhat.com>
24047
24048 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24049 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24050 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24051 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24052
0948c3af
L
240532012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24054
24055 [BZ #14545]
24056 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24057 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24058 freeing dtv[-1].
24059
a5055ad1
L
240602012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24061
24062 [BZ #14544]
24063 * Makeconfig (link-static-before-libc): Replace $(+prector)
24064 with $(+prectorT).
24065 (link-static-after-libc): Replace $(+postctor) with
24066 $(+postctorT).
24067 (link-bounded): Replace $(+prector)/$(+postctor) with
24068 $(+prectorT)/$(+postctorT).
24069 (+prectorT): New macro.
24070 (+postctorT): Likewise.
24071
ed8c2ecd
JM
240722012-09-06 Joseph Myers <joseph@codesourcery.com>
24073
24074 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24075 (round_str): Handle values above the maximum for IBM long double
24076 as inexact.
24077 * stdlib/tst-strtod-round.c (tests): Regenerated.
24078
14c996c8
AK
240792012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24080
24081 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24082 assembler flag.
24083 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24084 zarch_nohighgprs around the zarch optimized routines.
24085 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24086 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24087 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24088 for zarch.
24089
430d6ce6
DM
240902012-09-05 David S. Miller <davem@davemloft.net>
24091
24092 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24093
ff04dda4
DM
24094 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24095 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24096 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24097 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24098 entries.
24099
24d4e01b
AO
241002012-09-05 Alexandre Oliva <aoliva@redhat.com>
24101
24102 * malloc/arena.c: Fold copyright years.
24103 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24104
61d58174
AO
241052012-09-05 Alexandre Oliva <aoliva@redhat.com>
24106
24107 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24108
20196a5e
AO
241092012-09-05 Alexandre Oliva <aoliva@redhat.com>
24110
24111 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24112
5c447383
AO
241132012-09-05 Alexandre Oliva <aoliva@redhat.com>
24114
24115 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24116 change internal state upon failure.
24117
fad64255
AO
241182012-09-05 Alexandre Oliva <aoliva@redhat.com>
24119
24120 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24121 * malloc/memusage.c (mmap): Likewise.
24122 (mmap64, mremap): Likewise. Adjust name in comment.
24123
1ffb8c90
SP
241242012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24125
24126 * libio/fileops.c: Fix typos in comments.
24127 * libio/oldfileops.c: Likewise.
24128 * libio/wfileops.c: Likewise.
24129
6ef9cc37
SP
241302012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24131
24132 [BZ #1349]
24133 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24134 (tst-malloc-usable-ENV): Set environment for test case.
24135 * malloc/hooks.c (malloc_check_get_size): New function to get
24136 requested size.
24137 * malloc/malloc.c (musable): Use malloc_check_get_size.
24138 * malloc/tst-malloc-usable.c: New test case.
24139
4d038ae3
AS
241402012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24141
24142 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24143
c4e85184
AM
241442012-09-05 Allan McRae <allan@archlinux.org>
24145
b9dafc56 24146 [BZ #13966]
c4e85184
AM
24147 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24148 determine header location.
24149 * configure: Regenerated.
24150
e1343020
AS
241512012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24152
24153 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24154 float format.
24155 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24156 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24157 format.
e1343020
AS
24158 (test): Regenerate.
24159
0a9f1987
DM
241602012-09-04 David S. Miller <davem@davemloft.net>
24161
24162 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24163 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24164 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24165
29237804
FW
241662012-09-04 Florian Weimer <fweimer@redhat.com>
24167
24168 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24169 failures.
24170
edb3cb88
FW
24171 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24172
60160d83
JM
241732012-09-04 Joseph Myers <joseph@codesourcery.com>
24174
24175 [BZ #9914]
24176 * libio/iogetdelim.c: Include <limits.h>.
24177 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24178 + len + 1 would overflow.
24179
bcd6c8dc
AJ
241802012-09-03 Andreas Jaeger <aj@suse.de>
24181
24182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24183 * sysdeps/i386/fpu/libm-test-ulps: Update.
24184
4ffffbd2
LD
241852012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24186
24187 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24188 Add s_sinf-sse2, s_conf-sse2.
24189
24190 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24191 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24192 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24193 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24194
24195 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24196 for using routine as __sinf_ia32.
24197 Use macro for function declaration and weak_alias.
24198 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24199 for using routine as __cosf_ia32.
24200 Use macro for function declaration and weak_alias.
24201
24202 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24203 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24204
24205 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24206 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24207 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24208
24209 * math/libm-test.inc (cos_test): Add more test cases.
24210 (sin_test): Likewise.
24211 (sincos_test): Likewise.
24212
511fa286
AK
242132012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24214
24215 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24216 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24217 hidden.
24218 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24219
5f30cfec
L
242202012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24221
24222 [BZ #14538]
24223 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24224 first element of the GOT.
24225 (elf_machine_load_address): Return the difference between
24226 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24227
0786794f
AM
242282012-09-01 Allan McRae <allan@archlinux.org>
24229
5f30cfec
L
24230 [BZ #13412]
24231 * configure.in (AWK): Require gawk version 3.0 or later.
24232 * configure: Regenerated.
0786794f 24233
26889eac
JM
242342012-09-01 Joseph Myers <joseph@codesourcery.com>
24235
24236 * sysdeps/unix/sysv/linux/kernel-features.h
24237 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24238 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24239 [__NR_clock_getres]: Make code unconditional.
24240 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24241 (clock_getcpuclockid): Remove code left unreachable by removal of
24242 conditionals.
24243 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24244 code unconditional.
24245 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24246 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24247 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24248 Make code unconditional.
24249 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24250 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24251 * sysdeps/unix/sysv/linux/clock_settime.c
24252 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24253 conditional code.
24254 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24255 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24256
d22e28b0
L
242572012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24258
24259 [BZ #14476]
24260 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24261 scripts/test-installation.pl.
24262
24263 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24264 and $ld_so_version if it is set.
24265
050af9c4
SP
242662012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24267
24268 [BZ #14516]
24269 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24270 failure if reading from procfs failed.
24271 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24272
ad845c0b
JM
242732012-08-27 Joseph Myers <joseph@codesourcery.com>
24274
24275 * sysdeps/unix/sysv/linux/kernel-features.h
24276 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24277 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24278 Remove conditional code.
24279 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24280 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24281 Remove conditional code.
24282 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24283 * sysdeps/unix/sysv/linux/i386/fxstat.c
24284 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24285 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24286 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24287 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24288 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24289 * sysdeps/unix/sysv/linux/i386/lxstat.c
24290 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24292 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24293 Remove conditional code.
24294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24295 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24296 Remove conditional code.
24297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24298 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24299 <kernel-features.h>.
24300 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24301 Remove.
24302 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24303 Remove conditional code.
24304 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24305 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24306 Remove conditional.
24307
5dbf56af
MF
243082012-08-27 Mike Frysinger <vapier@gentoo.org>
24309
24310 [BZ #5400]
24311 * NEWS: Add fixed bug number.
24312
d6e70f43
JM
243132012-08-27 Joseph Myers <joseph@codesourcery.com>
24314
7efb4737
JM
24315 [BZ #14519]
24316 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24317 underflowing exponent in case of negative sign.
24318 * stdlib/tst-strtod-round-data: Add more tests.
24319 * stdlib/tst-strtod-round.c (tests): Regenerated.
24320
af92131a
JM
24321 [BZ #3479]
24322 * stdlib/strtod_l.c (NDIG): Remove.
24323 (HEXNDIG): Likewise.
24324 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24325 smallest representable value.
24326 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24327 lie within an exact representation of 1/2 ulp of the result.
24328 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24329 unconditionally.
24330 (TENS_P9_IDX): Define unconditionally.
24331 (TENS_P9_SIZE): Likewise.
24332 (TENS_P10_IDX): Likewise.
24333 (TENS_P10_SIZE): Likewise.
24334 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24335 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24336 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24337 entries for 10^2^13 and 10^2^14.
24338 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24339 (TENS_P13_IDX): Define.
24340 (TENS_P13_SIZE): Likewise.
24341 (TENS_P14_IDX): Likewise.
24342 (TENS_P14_SIZE): Likewise.
24343 (_fpioconst_pow10): Change array size to
24344 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24345 unconditional.
24346 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24347 1024]: Add entries for 10^2^13 and 10^2^14.
24348 [LAST_POW10 > _LAST_POW10]: Remove #error.
24349 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24350 (_fpioconst_pow10): Change array size to
24351 FPIOCONST_POW10_ARRAY_SIZE.
24352 * stdlib/gen-fpioconst.c: New file.
24353 * stdlib/gen-tst-strtod-round.c: Likewise.
24354 * stdlib/tst-strtod-round-data: Likewise.
24355 * stdlib/tst-strtod-round.c: Likewise.
24356 * stdlib/Makefile (tests): Add tst-strtod-round.
24357
d6e70f43
JM
24358 [BZ #14459]
24359 * stdlib/strtod_l.c: Include <stdint.h>.
24360 (NDEBUG): Do not define.
24361 (round_and_return): Change EXPONENT parameter to type intmax_t.
24362 Rearrange calculations to avoid internal overflow possibilities.
24363 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24364 Rearrange calculations to avoid internal overflow possibilities.
24365 Assert that number fits inside MPNSIZE limbs.
24366 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24367 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24368 calculations and add assertions to avoid internal overflow
24369 possibilities. Add casts to avoid signed/unsigned operations.
24370 * stdlib/tst-strtod-overflow.c: New file.
24371 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24372
1f529f7d
MP
243732012-08-25 Marek Polacek <polacek@redhat.com>
24374
24375 * time/time.h: Fix some typos in comments.
24376
59a629f1
RM
243772012-08-23 Roland McGrath <roland@hack.frob.com>
24378
24379 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24380 * posix/tst-rfc3484-2.c: Likewise.
24381 * posix/tst-rfc3484-3.c: Likewise.
24382
d3bafbc9
SM
243832012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24384
24385 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24386 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24387
4efcc022
JM
243882012-08-23 Joseph Myers <joseph@codesourcery.com>
24389
24390 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24391 #include of fxstatat64.c.
24392
3cc3ef96
RM
243932012-08-22 Roland McGrath <roland@hack.frob.com>
24394
f04e2132
RM
24395 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24396 * shadow/getspent_r.c: Likewise.
24397 * shadow/getspnam.c: Likewise.
24398 * shadow/getspnam_r.c: Likewise.
24399 * gshadow/getsgent.c: Likewise.
24400 * gshadow/getsgent_r.c: Likewise.
24401 * gshadow/getsgnam.c: Likewise.
24402 * gshadow/getsgnam_r.c: Likewise.
24403 * inet/getnetbyad.c: Likewise.
24404 * inet/getnetbyad_r.c: Likewise.
24405 * inet/getnetbynm.c: Likewise.
24406 * inet/getnetbynm_r.c: Likewise.
24407 * inet/getnetent.c: Likewise.
24408 * inet/getnetent_r.c: Likewise.
24409 * inet/getproto.c: Likewise.
24410 * inet/getproto_r.c: Likewise.
24411 * inet/getprtent.c: Likewise.
24412 * inet/getprtent_r.c: Likewise.
24413 * inet/getprtname.c: Likewise.
24414 * inet/getprtname_r.c: Likewise.
24415 * inet/getrpcbyname.c: Likewise.
24416 * inet/getrpcbyname_r.c: Likewise.
24417 * inet/getrpcbynumber.c: Likewise.
24418 * inet/getrpcbynumber_r.c: Likewise.
24419 * inet/getrpcent.c: Likewise.
24420 * inet/getrpcent_r.c: Likewise.
24421 * inet/getaliasent.c: Likewise.
24422 * inet/getaliasent_r.c: Likewise.
24423 * inet/getaliasname.c: Likewise.
24424 * inet/getaliasname_r.c: Likewise.
24425 * nscd/getgrgid_r.c: Likewise.
24426 * nscd/getgrnam_r.c: Likewise.
24427 * nscd/gethstbyad_r.c: Likewise.
24428 * nscd/gethstbynm3_r.c: Likewise.
24429 * nscd/getpwnam_r.c: Likewise.
24430 * nscd/getpwuid_r.c: Likewise.
24431 * nscd/getsrvbynm_r.c: Likewise.
24432 * nscd/getsrvbypt_r.c: Likewise.
24433 * nscd/gai.c: Likewise.
24434
c53d909c
RM
24435 * configure.in (build_nscd): New substituted variable, set
24436 by --disable-build-nscd and defaults to $use_nscd.
24437 * configure: Regenerated.
24438 * config.make.in (build-nscd): New substituted variable.
24439 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24440 Change conditional to require [$(build-nscd) = yes] as well.
24441 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24442
3cc3ef96
RM
24443 [BZ# 13696]
24444 * configure.in (use_nscd): New substituted variable, set by
24445 --disable-nscd. If enabled, define USE_NSCD.
24446 * configure: Regenerated.
24447 * config.h.in: Add USE_NSCD.
24448 * config.make.in (use-nscd): New substituted variable.
24449 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24450 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24451 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24452 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24453 (CFLAGS-getgrnam_r.c): Likewise.
24454 (CFLAGS-initgroups.c): Likewise.
24455 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24456 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24457 Variables removed.
24458 * inet/getnetgrent_r.c
24459 (nscd_setnetgrent): New function, broken out of ...
24460 (setnetgrent): ... here. Call it.
24461 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24462 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24463 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24464 * nscd/Makefile (routines, aux): Move definitions after include of
24465 Makeconfig. Conditionalize on [$(use-nscd) != no].
24466 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24467 Conditionalize on [USE_NSCD].
24468 (is_nscd, nscd_init_cb): Likewise.
24469 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24470 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24471 * nss/nss_db/db-init.c: Likewise.
24472 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24473 [USE_NSCD].
24474 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24475 (make_request): Use it.
24476 (cache_valid_p): New function.
24477 (__check_pf): Use it.
24478 * NEWS: Add item for --disable-nscd.
24479
07e51550
DL
244802012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24481
24482 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24483 to support sed >= 4.2.1-20-ga9bf076.
24484 * configure: Regenerated.
24485
35a5b08b
RM
244862012-08-22 Roland McGrath <roland@hack.frob.com>
24487
24488 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24489 Conditionalize whole body on [IREL].
24490
8479f23a
JL
244912012-08-22 Jeff Law <law@redhat.com>
24492
24493 [BZ #14505]
24494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24495 if the family is PF_UNSPEC.
24496
48da0b21
MF
244972012-08-22 Mike Frysinger <vapier@gentoo.org>
24498
24499 * Makerules (lib-version): Rename from V.
24500 (install-lib-nosubdir): Change V to lib-version.
24501
15d0da8c
WS
245022012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24503
24504 [BZ #14252]
24505 * powerpc32/power6/wcschr.c: New file.
24506 * powerpc32/power6/wcscpy.c: New file.
24507 * powerpc32/power6/wcsrchr.c: New file.
24508 * powerpc64/power6/wcschr.c: New file.
24509 * powerpc64/power6/wcscpy.c: New file.
24510 * powerpc64/power6/wcsrchr.c: New file.
24511
bcca0895
MK
245122012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24513
24514 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24515 (two_way_short_needle): Use it.
5a4aaa33
RM
24516 * string/strstr.c (AVAILABLE1_USES_J): Define.
24517 * string/strcasestr.c: Likewise.
99677e57
MK
24518
24519 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24520 array references.
24521 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24522
400726de
MK
24523 [BZ #11607]
24524 * NEWS: Add an entry.
24525 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24526 define their defaults.
24527 (two_way_short_needle): Detect end-of-string on-the-fly.
24528 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24529 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24530 * string/bug-strcasestr1.c: New test.
24531 * string/Makefile: Run it.
24532
20a71f2c
MK
245332012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24534
24535 [BZ #11607]
24536 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24537 the first character.
24538
21ad0558
RM
245392012-08-21 Roland McGrath <roland@hack.frob.com>
24540
24541 * csu/elf-init.c (__libc_csu_irel): Function removed.
24542 * csu/libc-start.c (apply_irel): New function.
24543 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24544
0e1d9911
JM
245452012-08-21 Joseph Myers <joseph@codesourcery.com>
24546
24547 * sysdeps/unix/sysv/linux/kernel-features.h
24548 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24549 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24550 <kernel-features.h>.
24551 [__NR_fadvise64_64]: Make code unconditional.
24552 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24553 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24554 !__NR_fadvise64_64)]: Likewise.
24555 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24556 !__NR_fadvise64_64))]: Likewise.
24557 [__NR_fadvise64]: Make code unconditional.
24558 [!__NR_fadvise64]: Remove conditional code.
24559 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24560 <kernel-features.h>.
24561 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24562 unconditional.
24563 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24564 conditional code.
24565 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24566 not include <kernel-features.h>.
24567 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24568 unconditional.
24569 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24570 conditional code.
24571 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24572 include <kernel-features.h>.
24573 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24574 unconditional.
24575 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24576 conditional code.
24577
14a50c9d
WS
245782012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24579
24580 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24581 slight instruction rearrangements per scrollpipe analysis.
24582 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24583
c0f4faf0
RM
245842012-08-20 Roland McGrath <roland@hack.frob.com>
24585
696da859
RM
24586 * manual/syslog.texi (syslog; vsyslog, closelog):
24587 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24588 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24589
c0f4faf0
RM
24590 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24591 DSOCAPS to match condition on defining it.
24592
348363b2
JM
245932012-08-20 Joseph Myers <joseph@codesourcery.com>
24594
a35cbf28
JM
24595 * sysdeps/unix/sysv/linux/kernel-features.h
24596 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24598 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24599 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24601 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24602 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24604 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24605 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24606
445f7ecd
JM
24607 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24608 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24609
348363b2
JM
24610 * sysdeps/unix/sysv/linux/kernel-features.h
24611 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24612 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24613 unconditional.
24614 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24615 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24616 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24617 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24618 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24619 Make code unconditional.
24620 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24621 (__mmap64) [!__NR_mmap2]: Likewise.
24622 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24623 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24624 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24625 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24626 [__NR_mmap2]: Make code unconditional.
24627 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24628 (__mmap64) [!__NR_mmap2]: Likewise.
24629
bc5bc0e5
AK
246302012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24631
24632 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24633
88d506de
AJ
246342012-08-18 Andreas Jaeger <aj@suse.de>
24635
24636 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24637
493387d2
MF
246382012-08-18 Mike Frysinger <vapier@gentoo.org>
24639
24640 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24641 * include/unistd.h (__have_sock_cloexec): Likewise.
24642 (__have_pipe2): Likewise.
24643 (__have_dup3): Likewise.
24644
a277af22
MF
246452012-08-18 Mike Frysinger <vapier@gentoo.org>
24646
24647 [BZ #9685]
24648 * include/unistd.h (__have_pipe2): Change define into an extern int.
24649 (__have_dup3): Likewise.
24650 * socket/have_sock_cloexec.c: Include fcntl.h.
24651 (__have_pipe2): New variable.
24652 (__have_dup3): Likewise.
24653
fdab8fd3
MF
246542012-08-17 Mike Frysinger <vapier@gentoo.org>
24655
24656 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24657
31035e80
MP
246582012-08-17 Marek Polacek <polacek@redhat.com>
24659
24660 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24661 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24662
3bd9e993
RM
246632012-08-17 Roland McGrath <roland@hack.frob.com>
24664
c91c505f
RM
24665 * configure.in: Add AC_SUBST for sysheaders.
24666 * configure: Regenerated.
24667 * config.make.in (sysheaders): New substituted variable.
24668
7c6f9d53
RM
24669 * sysdeps/unix/mkfifo.c: Moved ...
24670 * sysdeps/posix/mkfifo.c: ... here.
24671 * sysdeps/unix/mkfifoat.c: Moved ...
24672 * sysdeps/posix/mkfifoat.c: ... here.
24673
24674 * sysdeps/unix/utime.c: Moved ...
24675 * sysdeps/posix/utime.c: ... here.
24676
24677 * sysdeps/unix/time.c: Moved ...
24678 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24679 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24680 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24681
24682 * sysdeps/unix/nice.c: Moved ...
24683 * sysdeps/posix/nice.c: ... here.
24684
24685 * sysdeps/unix/alarm.c: Moved ...
24686 * sysdeps/posix/alarm.c: ... here.
24687
3bd9e993
RM
24688 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24689
d1f09384
JL
246902012-08-17 Jeff Law <law@redhat.com>
24691
24692 * intl/Makefile (codeset_mo): New variable.
24693 ($(codeset_mo)): New target.
24694 (tst-codeset.out): Depend on that. Remove explicit rule.
24695 (tst-gettext3.out, tst-gettext5.out): Likewise.
24696 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24697 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24698 * intl/tst-codeset.sh: Remove.
24699 * intl/tst-gettext3.sh: Likewise.
24700 * intl/tst-gettext5.sh: Likewise.
24701
2ae1ae5c
RM
247022012-08-17 Roland McGrath <roland@hack.frob.com>
24703
c31fdb83
RM
24704 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24705 * sysdeps/unix/syscalls.list: ... here.
24706
a0844057
RM
24707 * sysdeps/posix/getaddrinfo.c
24708 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24709 (gaiconf_init, gaiconf_reload): Use them.
24710 [!_STATBUF_ST_NSEC]
24711 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24712 Define using time_t rather than struct timespec.
24713
750c1f2a
RM
24714 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24715 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24716 Macros removed.
24717 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24718 [!NO_THREADS].
24719 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24720 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24721 Likewise.
24722
2ae1ae5c
RM
24723 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24724 __libc_cleanup_push argument.
24725
e66a42f5
RM
24726 * bits/param.h: New file.
24727 * misc/sys/param.h: New file.
24728 * include/sys/param.h: New file.
24729 * misc/Makefile (headers): Add bits/param.h.
24730 * sysdeps/generic/sys/param.h: File removed.
24731 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24732 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24733 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24734 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24735
b7c08a66
RM
24736 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24737 last change.
24738
b2e1c562
RM
24739 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24740 [_IO_MTSAFE_IO].
24741 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24742 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24743 New macros.
24744
c75ccd4c
RM
24745 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24746 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24747 rather than -D_IO_MTSAFE_IO conditionally.
24748 * stdio-common/Makefile (CPPFLAGS): Likewise.
24749 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24750 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24751 Use $(libio-mtsafe).
24752 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24753 of -D_IO_MTSAFE_IO.
24754 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24755 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24756 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24757 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24758 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24759 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24760 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24761 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24762 (CFLAGS-fread_u_chk.c): Likewise.
24763 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24764 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24765 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24766 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24767 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24768 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24769 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24770 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24771 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24772
24773 * libio/Makefile: Test [$(libc-reentrant) = yes]
24774 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24775
24776 * Makeconfig
24777 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24778 * sysdeps/pthread/configure: File removed.
24779 * sysdeps/pthread/Makeconfig: New file.
24780 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24781 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24782
d9195db8
GB
247832012-08-16 Gary Benson <gbenson@redhat.com>
24784
24785 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24786 unmapping the first object in a namespace.
24787
86466cd9
RM
247882012-08-16 Roland McGrath <roland@hack.frob.com>
24789
24790 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24791 (__internal_setnetgrent): ... this. Add internal_function to
24792 definition. Add libc_hidden_def.
24793 (setnetgrent): Update caller.
24794 (internal_endnetgrent): Renamed to ...
24795 (__internal_endnetgrent): ... this. Add internal_function to
24796 definition. Add libc_hidden_def.
24797 (endnetgrent): Update caller.
24798 (internal_getnetgrent_r): Renamed to ...
24799 (__internal_getnetgrent_r): ... this. Add internal_function to
24800 definition. Add libc_hidden_def.
24801 (__getnetgrent_r): Update caller.
24802 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24803
c3c8283c
JM
248042012-08-16 Joseph Myers <joseph@codesourcery.com>
24805
24806 * stdlib/longlong.h: Update from GCC.
24807
db1ee0a8
RM
248082012-08-16 Roland McGrath <roland@hack.frob.com>
24809
24810 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24811 on _QL, which is set by umul_ppmm but never used.
24812 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24813 variables, which are set by GMP macros but never used.
24814 * stdio-common/_itowa.c (_itowa): Likewise.
24815 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24816 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24817
30f69637
CD
248182012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24819
24820 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24821 struct La_sh_regs is not constant.
24822 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24823 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24824 and struct La_sparc64_regs are not constant.
24825
93a78ac4
JM
248262012-08-16 Joseph Myers <joseph@codesourcery.com>
24827
24828 * sysdeps/unix/sysv/linux/kernel-features.h
24829 (__ASSUME_POSIX_TIMERS): Remove.
24830 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24831 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24832 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24833 Make code unconditional.
24834 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24835 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24836 Make code unconditional.
24837 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24838 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24839 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24840 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24841 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24842 Make code unconditional.
24843 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24844 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24845 (__libc_missing_posix_timers): Remove.
24846
dd924cd7
RM
248472012-08-15 Roland McGrath <roland@hack.frob.com>
24848
4b4f2771
RM
24849 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24850 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24851
601c888b
RM
24852 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24853
176790a7
RM
24854 * elf/dl-sym.c: Include <stdlib.h>.
24855
329bc018
RM
24856 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24857 constants, which avoids warnings in 32-bit builds.
24858
e04e272d
RM
24859 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24860 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24861
952bf94a
RM
24862 * misc/lseek.c: File moved to ...
24863 * io/lseek.c: ... here.
24864
7c99b50a
RM
24865 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24866
dd924cd7
RM
24867 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24868 shifting LEN more than 31 bits at once.
24869
b3f479a8
LD
248702012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24871
24872 [BZ #14195]
8c4ae0d4
RM
24873 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24874 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24875 * string/test-strncasecmp.c (check1): Renamed to...
24876 (bz12205): ...this.
24877 (bz14195): Add new testcase for two empty input strings and N > 0.
24878 (test_main): Call new testcase, adapt for renamed function.
24879
9c55864e
AJ
248802012-08-15 Andreas Jaeger <aj@suse.de>
24881
24882 [BZ #14090]
24883 * crypt/md5test2.c: New test, based on test supplied by Serge
24884 Belyshev <belyshev@depni.sinp.msu.ru>.
24885 * crypt/Makefile (xtests): Add md5test-giant..
24886 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24887
02dcb6c5
PE
248882012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24889
24890 [BZ #14090]
24891 * crypt/md5.c (md5_process_block): Don't assume the buffer
24892 length is less than 2**32.
24893 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24894 length is less than 2**64.
24895
a3f95dcc
RM
248962012-08-15 Roland McGrath <roland@hack.frob.com>
24897
be75d758
RM
24898 * string/str-two-way.h: Include <sys/param.h>.
24899 (MAX): Macro removed.
24900
7312ca90
RM
24901 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24902 Move #define and #undef of memmove to just before and after
24903 including <string.h>.
24904
9a0a5486
RM
24905 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24906 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24907 and after including <string.h>. Move declarations of
24908 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24909 to before #include "string/memmove.c".
24910
67cc348d
RM
24911 * include/dirent.h: Declare __getdirentries.
24912
a3f95dcc
RM
24913 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24914 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24915
ca98e171
MF
249162012-08-14 Mike Frysinger <vapier@gentoo.org>
24917
24918 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24919 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24920 * sysdeps/i386/configure: Regenerated.
24921 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24922 STABS_CURRENT_FILE, and STABS_FUN.
24923 (END): Remove call to STABS_FUN_END.
24924 (STABS_CURRENT_FILE1): Delete.
24925 (STABS_CURRENT_FILE): Likewise.
24926 (STABS_FUN): Likewise.
24927 (STABS_FUN_END): Likewise.
24928 (STABS_FUN2): Likewise.
24929 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24930 * sysdeps/x86_64/configure: Regenerated.
24931
5908bf46
RM
249322012-08-14 Roland McGrath <roland@hack.frob.com>
24933
24934 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24935 * elf/dl-lookup.c: Likewise.
5908bf46 24936
f2c05b9e
JM
249372012-08-14 Joseph Myers <joseph@codesourcery.com>
24938
24939 * sysdeps/unix/sysv/linux/kernel-features.h
24940 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24941 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24942 unconditionally.
24943 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24944 unconditionally.
24945 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24946 condition on __ASSUME_CLONE_THREAD_FLAGS.
24947
e11f5155
AJ
249482012-08-14 Andreas Jaeger <aj@suse.de>
24949
24950 * sysdeps/i386/fpu/libm-test-ulps: Update.
24951
51a9ba86
MK
249522012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24953
2fdd4f78
AJ
24954 * include/atomic.h (atomic_exchange_and_add): Split into ...
24955 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24956 New atomic macros.
51a9ba86 24957
ba6cba9e
MT
249582012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
24959
24960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24961
42443a47
JL
249622012-08-13 Jeff Law <law@redhat.com>
24963
24964 * manual/stdio.texi (snprintf): Clarify handling of the trailing
24965 null byte in the output string.
24966
121dce05
JM
249672012-08-10 Joseph Myers <joseph@codesourcery.com>
24968
24969 * sysdeps/unix/sysv/linux/kernel-features.h
24970 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
24971 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
24972 (__ASSUME_ARG_MAX_STACK_BASED): Define.
24973 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
24974 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
24975 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
24976 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
24977
bf51f568
JL
249782012-08-09 Jeff Law <law@redhat.com>
24979
24980 [BZ #13939]
24981 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
24982 When avoid_arena is set, don't retry in the that arena. Pick the
24983 next one, whatever it might be.
24984 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
24985 (arena_lock): Pass in new parameter to arena_get2.
24986 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
24987 arena_get2.
24988 (__libc_malloc): Unify retrying after main arena failure with
24989 __libc_memalign version.
24990 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
24991
f85fa270
L
249922012-08-09 H.J. Lu <hongjiu.lu@intel.com>
24993
24994 [BZ #14166]
24995 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
24996 to __redirect_strstr.
24997 (__strstr_sse42): Use typeof __redirect_strstr.
24998 (__strstr_ia32): Likewise.
24999 (__libc_strstr): New prototype.
25000 (strstr): Renamed to ...
25001 (__libc_strstr): This.
25002 (strstr): New strong alias of __libc_strstr.
25003 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25004 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25005 __redirect_time.
25006 Include <time.h>.
25007 (__libc_time): New prototype.
25008 (time_ifunc): Replace time with __libc_time.
25009 (time): New strong alias and hidden definition of __libc_time.
25010 (__GI_time): Remove strong alias.
25011 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25012 Include <stddef.h>.
25013 (memmove): Redefined to __redirect_memmove.
25014 (__memmove_sse2): Use typeof __redirect_memmove.
25015 (__memmove_ssse3): Likewise.
25016 (__memmove_ssse3_back): Likewise.
25017 (__libc_memmove): New prototype.
25018 (memmove): Renamed to ...
25019 (__libc_memmove): This.
25020 (memmove): New strong alias of __libc_memmove.
25021
33b4a91e
MS
250222012-08-08 Mark Salter <msalter@redhat.com>
25023
25024 * elf/elf.h
25025 (R_MN10300_TLS_GD): Define.
25026 (R_MN10300_TLS_LD): Likewise.
25027 (R_MN10300_TLS_LDO): Likewise.
25028 (R_MN10300_TLS_GOTIE): Likewise.
25029 (R_MN10300_TLS_IE): Likewise.
25030 (R_MN10300_TLS_LE): Likewise.
25031 (R_MN10300_TLS_DTPMOD): Likewise.
25032 (R_MN10300_TLS_DTPOFF): Likewise.
25033 (R_MN10300_TLS_TPOFF): Likewise.
25034 (R_MN10300_SYM_DIFF): Likewise.
25035 (R_MN10300_ALIGN): Likewise.
25036 (R_MN10300_NUM): Update.
25037
b36137f1
JM
250382012-08-08 Joseph Myers <joseph@codesourcery.com>
25039
25040 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25041 Remove.
25042
cdd915fd
RM
250432012-08-08 Roland McGrath <roland@hack.frob.com>
25044
a2433aac
RM
25045 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25046
cdd915fd
RM
25047 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25048 sysdeps/unix -> sysdeps/posix move.
25049 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25050
bf9b740a
AM
250512012-08-07 Allan McRae <allan@archlinux.org>
25052
25053 [BZ #14303]
25054 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25055 (SUNOS_CPP): Likewise.
25056 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25057 not found.
25058 (open_input): Call CPP using execvp.
25059
93df14ee
JM
250602012-08-07 Joseph Myers <joseph@codesourcery.com>
25061
25062 * sysdeps/unix/sysv/linux/kernel-features.h
25063 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25064 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25065 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25066 (__ASSUME_WAITID_SYSCALL): Likewise.
25067 * sysdeps/unix/sysv/linux/dl-execstack.c
25068 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25069 code unconditional.
25070 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25071 conditional code.
25072 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25073 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25074 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25075 code.
25076 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25077 unconditional.
25078 [__ASSUME_WAITID_SYSCALL]: Likewise.
25079 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25080
d34689de
RM
250812012-08-07 Roland McGrath <roland@hack.frob.com>
25082
a281decc
RM
25083 * sysdeps/unix/closedir.c: Renamed to ...
25084 * sysdeps/posix/closedir.c: ... here.
25085 * sysdeps/unix/dirfd.c: Renamed to ...
25086 * sysdeps/posix/dirfd.c: ... here.
25087 * sysdeps/unix/dirstream.h: Renamed to ...
25088 * sysdeps/posix/dirstream.h: ... here.
25089 * sysdeps/unix/fdopendir.c: Renamed to ...
25090 * sysdeps/posix/fdopendir.c: ... here.
25091 * sysdeps/unix/opendir.c: Renamed to ...
25092 * sysdeps/posix/opendir.c: ... here.
25093 * sysdeps/unix/readdir.c: Renamed to ...
25094 * sysdeps/posix/readdir.c: ... here.
25095 * sysdeps/unix/readdir_r.c: Renamed to ...
25096 * sysdeps/posix/readdir_r.c: ... here.
25097 * sysdeps/unix/rewinddir.c: Renamed to ...
25098 * sysdeps/posix/rewinddir.c: ... here.
25099 * sysdeps/unix/seekdir.c: Renamed to ...
25100 * sysdeps/posix/seekdir.c: ... here.
25101 * sysdeps/unix/telldir.c: Renamed to ...
25102 * sysdeps/posix/telldir.c: ... here.
25103 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25104 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25105 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25106 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25107
22895b47
RM
25108 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25109 * bits/fcntl.h: ... here.
25110
707a53b6
RM
25111 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25112 not 0.
25113 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25114 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25115 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25116 (struct flock): Move l_start, l_len to the beginning.
25117 Use __pid_t for l_pid.
25118 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25119 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25120 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25121 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25122 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25123 [__USE_LARGEFILE64] (struct flock64): New type.
25124 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25125
f0bd3e25
RM
25126 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25127 * bits/dirent.h: ... here.
25128
d34689de
RM
25129 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25130 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25131
6dad2c06
JM
251322012-08-07 Joseph Myers <joseph@codesourcery.com>
25133
25134 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25135 Change from 2.6.0 to 2.6.16.
25136 * sysdeps/unix/sysv/linux/configure: Regenerated.
25137 * sysdeps/unix/sysv/linux/kernel-features.h
25138 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25139 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25140 version.
25141 (__ASSUME_UTIMES): Likewise.
25142 (__ASSUME_CLONE_STOPPED): Remove.
25143 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25144 architectures, not kernel version.
25145 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25146 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25147 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25148 (__ASSUME_WAITID_SYSCALL): Likewise.
25149 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25150 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25151 * README: State 2.6.16 as minimum Linux kernel version. Do not
25152 refer to older versions.
25153
03af9520
RM
251542012-08-06 Roland McGrath <roland@hack.frob.com>
25155
8e49df1d
RM
25156 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25157 Define alphasort64 as an alias.
25158 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25159 Define versionsort64 as an alias.
25160 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25161 Define scandir64 as an alias.
25162 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25163 Define scandirat64 as an alias.
25164 * dirent/alphasort64.c (alphasort64):
25165 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25166 * dirent/versionsort64.c: Likewise.
25167 * dirent/scandir64.c: Likewise.
25168 * dirent/scandirat64.c: Likewise.
25169 * sysdeps/wordsize-64/alphasort.c: File removed.
25170 * sysdeps/wordsize-64/alphasort64.c: File removed.
25171 * sysdeps/wordsize-64/scandir.c: File removed.
25172 * sysdeps/wordsize-64/scandir64.c: File removed.
25173 * sysdeps/wordsize-64/scandirat.c: File removed.
25174 * sysdeps/wordsize-64/scandirat64.c: File removed.
25175 * sysdeps/wordsize-64/versionsort.c: File removed.
25176 * sysdeps/wordsize-64/versionsort64.c: File removed.
25177 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25178 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25179 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25180 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25181 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25182 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25183 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25184 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25185
25186 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25187 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25188 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25189 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25190 [defined __arch64__ || defined __sparcv9]
25191 (__INO_T_MATCHES_INO64_T): New macro.
25192 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25193 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25194 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25195 * sysdeps/unix/sysv/linux/bits/dirent.h
25196 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25197 (_DIRENT_MATCHES_DIRENT64): New macro.
25198
03af9520
RM
25199 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25200 Define lockf64 as an alias.
25201 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25202 Define fseeko64 as an alias.
25203 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25204 Define ftello64 as an alias.
25205 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25206 Define _IO_fgetpos64 and fgetpos64 as aliases.
25207 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25208 Define _IO_fsetpos64 and fsetpos64 as aliases.
25209 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25210 Conditionalize body on this.
25211 * libio/fseeko64.c: Likewise.
25212 * libio/ftello64.c: Likewise.
25213 * libio/iofgetpos64.c: Likewise.
25214 * libio/iofsetpos64.c: Likewise.
25215 * sysdeps/wordsize-64/lockf.c: File removed.
25216 * sysdeps/wordsize-64/lockf64.c: File removed.
25217 * sysdeps/wordsize-64/fseeko.c: File removed.
25218 * sysdeps/wordsize-64/fseeko64.c: File removed.
25219 * sysdeps/wordsize-64/ftello.c: File removed.
25220 * sysdeps/wordsize-64/ftello64.c: File removed.
25221 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25222 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25223 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25224 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25225 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25226 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25227 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25228 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25229 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25230 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25231 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25232 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25233 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25234 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25235
25236 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25237 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25238 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25239 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25240 [defined __arch64__ || defined __sparcv9]
25241 (__OFF_T_MATCHES_OFF64_T): New macro.
25242 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25243 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25244 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25245 (__OFF_T_MATCHES_OFF64_T): New macro.
25246
c5757acd
L
252472012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25248
25249 * stdlib/secure-getenv.c (__secure_getenv): Replace
25250 GLIBC_2_16 with GLIBC_2_17.
25251
3a31811e
L
252522012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25253
25254 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25255 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25256
faa2bccb
DM
252572012-08-03 David S. Miller <davem@davemloft.net>
25258
25259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25260
85fe1997
JM
252612012-08-03 Joseph Myers <joseph@codesourcery.com>
25262
25263 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25264 Remove.
25265 (__ASSUME_CORRECT_SI_PID): Likewise.
25266 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25267 (__ASSUME_TMPFS_NAME): Likewise.
25268 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25269 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25270 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25271 (HAVE_AUX_SECURE): Make definition unconditional.
25272 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25273 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25274
4f75b7a0
RM
252752012-08-03 Roland McGrath <roland@hack.frob.com>
25276
25277 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25278 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25279 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25280 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25281 __eloop_threshold instead of SYMLOOP_MAX.
25282
25283 * sysdeps/generic/eloop-threshold.h: New file.
25284 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25285 of MAXSYMLINKS.
25286 * elf/chroot_canon.c (chroot_canon): Likewise.
25287
7aab07e4
JM
252882012-08-03 Joseph Myers <joseph@codesourcery.com>
25289
25290 [BZ #13717]
25291 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25292 Change to 2.6.0 everywhere.
25293 * sysdeps/unix/sysv/linux/configure: Regenerated.
25294 * sysdeps/unix/sysv/linux/kernel-features.h
25295 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25296 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25297 kernel versions.
25298 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25299 (__ASSUME_FUTEX_REQUEUE): Remove.
25300 (__ASSUME_STATFS64): Define unconditionally.
25301 (__ASSUME_AT_SECURE): Likewise.
25302 (__ASSUME_CORRECT_SI_PID): Likewise.
25303 (__ASSUME_TGKILL): Define without depending on kernel version for
25304 i386.
25305 (__ASSUME_UTIMES): Likewise.
25306 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25307 kernel version.
25308 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25309 (__ASSUME_TMPFS_NAME): Likewise.
25310 * README: Update reference to Linux kernel versions.
25311
b67e9372
MP
253122012-08-02 Marek Polacek <polacek@redhat.com>
25313
1f529f7d 25314 [BZ# 14150]
b67e9372
MP
25315 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25316 libc_cv_asm_type_prefix with %.
25317 * configure: Regenerated.
d2441631
RM
25318 * include/libc-symbols.h: Remove comment about
25319 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25320 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25321 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25322 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25323 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25324 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25325 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25326 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25327 * elf/tst-unique2mod1.c: Likewise.
25328 * elf/tst-unique1mod2.c: Likewise.
25329 * elf/tst-unique1mod1.c: Likewise.
25330 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25331 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25332 Replace ASM_TYPE_DIRECTIVE with .type.
25333 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25334 * sysdeps/i386/sysdep.h: Likewise.
25335 * sysdeps/x86_64/sysdep.h: Likewise.
25336 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25338 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25339 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25340 * sysdeps/powerpc/powerpc32/sysdep.h:
25341 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25342 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25343 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25344 * sysdeps/i386/fpu/e_powf.S: Likewise.
25345 * sysdeps/i386/fpu/e_expl.S: Likewise.
25346 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25347 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25348 * sysdeps/i386/fpu/e_pow.S: Likewise.
25349 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25350 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25351 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25352 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25353 * sysdeps/i386/fpu/e_log2.S: Likewise.
25354 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25355 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25356 * sysdeps/i386/fpu/e_powl.S: Likewise.
25357 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25358 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25359 * sysdeps/i386/fpu/e_logl.S: Likewise.
25360 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25361 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25362 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25363 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25364 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25365 * sysdeps/i386/fpu/e_log.S: Likewise.
25366 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25367 * sysdeps/i386/fpu/e_logf.S: Likewise.
25368 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25369 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25370 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25371 * sysdeps/i386/fpu/e_log10.S: Likewise.
25372 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25373 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25374 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25375 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25376 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25377 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25378 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25379 * sysdeps/i386/i686/strtok.S: Likewise.
25380 * sysdeps/i386/i386-mcount.S: Likewise.
25381 * sysdeps/i386/strtok.S: Likewise.
25382 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25383 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25384 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25385 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25386 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25387 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25388 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25389 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25390 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25391 * sysdeps/x86_64/_mcount.S: Likewise.
25392 * sysdeps/x86_64/strtok.S: Likewise.
25393 * sysdeps/sh/_mcount.S: Likewise.
25394
2747bf9a
RM
253952012-08-01 Roland McGrath <roland@hack.frob.com>
25396
25397 * libio/iofopen.c: Include <fcntl.h>.
25398 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25399 (_IO_fopen64, fopen64): Define as aliases.
25400 * libio/iofopen64.c: Include <fcntl.h>.
25401 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25402 Conditionalize body on this.
25403 * sysdeps/wordsize-64/iofopen.c: File removed.
25404 * sysdeps/wordsize-64/iofopen64.c: File removed.
25405
3fb791b8
MP
254062012-08-01 Marek Polacek <polacek@redhat.com>
25407
25408 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25409 Use dlfcn directly instead of a variable.
25410 (binfmt-subdir): Do not define.
25411 (dlfcn): Likewise.
25412
a9f1039f
JM
254132012-08-01 Joseph Myers <joseph@codesourcery.com>
25414
23bddc06
JM
25415 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25416 Remove all definitions.
25417 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25418 <kernel-features.h>.
25419 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25420 (miss_F_GETOWN_EX): Remove all definitions.
25421 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25422 macro definition.
25423 [!__ASSUME_FCNTL64]: Remove conditional code.
25424 [__ASSUME_FCNTL64]: Make code unconditional.
25425 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25426 <kernel-features.h>.
25427 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25428 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25429 (lockf64) [__NR_fcntl64]: Make code unconditional.
25430 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25431
a9f1039f
JM
25432 * sysdeps/unix/sysv/linux/kernel-features.h
25433 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25434 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25435 Make code unconditional.
25436 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25437 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25439 [__NR_vfork]: Make code unconditional.
25440 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25441 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25443 [__NR_vfork]: Make code unconditional.
25444 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25445 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25446
09c0ee5f
RM
254472012-08-01 Roland McGrath <roland@hack.frob.com>
25448
48aec5b9
RM
25449 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25450 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25451
cd97c966
RM
25452 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25453 Define mkstemp64 as an alias.
3f55550c
RM
25454 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25455 Define mkstemps64 as an alias.
cd97c966
RM
25456 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25457 Define mkostemp64 as an alias.
b8625cfc
RM
25458 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25459 Define mkostemps64 as an alias.
cd97c966
RM
25460 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25461 Conditionalize body on this.
25462 * misc/mkostemp64.c: Likewise.
b8625cfc 25463 * misc/mkostemps64.c: Likewise.
3f55550c 25464 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25465 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25466 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25467 * sysdeps/wordsize-64/mkostemp.c: File removed.
25468 * sysdeps/wordsize-64/mkstemp.c: File removed.
25469 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25470 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25471 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25472 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25473
09c0ee5f
RM
25474 [BZ #14138]
25475 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25476 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25477 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25478 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25479
25480 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25481 compat_symbol macros from <shlib-compat.h> rather than the underlying
25482 default_symbol_version and symbol_version macros, so that DEFAULT
25483 lines in shlib-versions are respected.
25484 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25485
7e66ee51
FW
254862012-08-01 Florian Weimer <fweimer@redhat.com>
25487
25488 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25489 Declare with warn_unused_result.
25490 (setgid, setregid, setegid, setresgid): Likewise.
25491 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25492 Likewise.
25493 * WUR-REPORT: Remove set*id functions.
25494
d2a54255
PT
254952012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25496
25497 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25498
7ecdb005
RM
254992012-07-31 Roland McGrath <roland@hack.frob.com>
25500
b4180a5e 25501 [BZ #10191]
789bd351
RM
25502 * include/sys/socket.h (__libc_accept, __libc_accept4):
25503 Add attribute_hidden.
25504 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25505
40ce302d
RM
25506 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25507 use of PTR_MANGLE.
25508 * inet/getnetgrent_r.c (setup): Likewise.
25509
7ecdb005
RM
25510 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25511
e2eabb2c
DM
255122012-07-31 David S. Miller <davem@davemloft.net>
25513
25514 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25515
d0419dbf
JM
255162012-07-31 Joseph Myers <joseph@codesourcery.com>
25517
25518 [BZ #13629]
25519 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25520 value between 1.0 and 2.0 and smaller part has absolute value less
25521 than 1.0.
25522 * math/s_clog10.c (__clog10): Likewise.
25523 * math/s_clog10f.c (__clog10f): Likewise.
25524 * math/s_clog10l.c (__clog10l): Likewise.
25525 * math/s_clogf.c (__clogf): Likewise.
25526 * math/s_clogl.c (__clogl): Likewise.
25527 * math/libm-test.inc (clog_test): Add more tests.
25528 (clog10_test): Likewise.
25529 * sysdeps/i386/fpu/libm-test-ulps: Update.
25530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25531
2bc13872
FW
255322012-07-31 Florian Weimer <fweimer@redhat.com>
25533
25534 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25535 Exit with zero in case no suitable GID is found, and write a
25536 message to standard error.
25537
bea9b193
RM
255382012-07-30 Roland McGrath <roland@hack.frob.com>
25539
25540 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25541 rather than to 1.
25542 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25543 (MAXPATHLEN): Removed.
25544 (NOGROUP, NODEV): New macros.
25545 (setbit, clrbit, isset, isclr): New macros.
25546 (howmany, roundup, powerof2): New macros.
25547 (DEV_BSIZE): New macro.
25548
25549 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25550 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25551
25552 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25553 definition on [!__NO_LONG_DOUBLE_MATH].
25554
25555 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25556 PTR_MANGLE and PTR_DEMANGLE.
25557
25558 * socket/accept4.c (accept4): Rename to __libc_accept4.
25559 Define accept4 as a weak alias.
25560
25561 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25562 on [_DIRENT_HAVE_D_TYPE].
25563 * io/ftw.c (ftw_dir): Likewise.
25564
25565 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25566
25567 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25568
25569 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25570 Use the BSD numbers rather than the arbitrary ones we had.
25571 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25572 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25573 (SIGXCPU, SIGXFSZ): New macros.
25574 (_NSIG): Now 32.
25575
25576 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25577 initializer on [_LIBC_REENTRANT].
25578
25579 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25580 definitions inside [_POSIX_MAPPED_FILES].
25581
25582 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25583
25584 * dirent/opendir.c: Include <fcntl.h>.
25585
25586 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25587 (__libc_getspecific): Likewise.
25588 (__libc_key_create): Likewise.
25589
25590 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25591 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25592 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25593 (tmpfile64): Define as alias.
25594 * sysdeps/wordsize-64/tmpfile.c: File removed.
25595 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25596 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25597 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25598
25599 * stdio-common/vfscanf.c: Include <stdbool.h>.
25600 * nss/makedb.c: Likewise.
25601 * stdio-common/_i18n_number.h: Likewise.
25602 * argp/argp-help.c: Likewise.
25603 * posix/wordexp.c: Likewise.
25604 * sysdeps/posix/spawni.c: Likewise.
25605 * nss/nss_files/files-initgroups.c: Likewise.
25606 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25607 * nss/nss_files/files-initgroups.c: Likewise.
25608 * nss/nss_db/db-netgrp.c: Likewise.
25609 * nss/nss_db/db-initgroups.c: Likewise.
25610 * io/fchmodat.c: Include <sys/stat.h>.
25611
25612 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25613 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25614
25615 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25616 [HAVE_MMAP].
25617
25618 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25619 Add multiple inclusion protection.
25620
e5abc686
DM
256212012-07-27 David S. Miller <davem@davemloft.net>
25622
25623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25624
815e6fa3
GB
256252012-07-27 Gary Benson <gbenson@redhat.com>
25626
25627 [BZ #14298]
25628 * elf/rtld.c: Include <stap-probe.h>.
25629 (dl_main): Added static probes "init_start" and "init_complete".
25630 * elf/dl-load.c: Include <stap-probe.h>.
25631 (lose): Take new parameter "nsid".
25632 Added static probe "map_failed".
25633 (_dl_map_object_from_fd): Pass namespace id to lose.
25634 Added static probe "map_start".
25635 (open_verify): Pass namespace id to lose.
25636 * elf/dl-open.c: Include <stap-probe.h>.
25637 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25638 and "reloc_complete".
25639 * elf/dl-close.c: Include <stap-probe.h>.
25640 (_dl_close_worker): Added static probes "unmap_start" and
25641 "unmap_complete".
25642 * elf/rtld-debugger-interface.txt: New file documenting the above.
25643
9f98c16c
RM
256442012-07-26 Roland McGrath <roland@hack.frob.com>
25645
25646 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25647 rather than a string variable.
25648 * sunrpc/rpc_main.c (h_output): Likewise.
25649 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25650
f3c22df3
PT
256512012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25652
25653 * inet/check_native.c: New file.
25654
3129cfc6
JM
256552012-07-26 Joseph Myers <joseph@codesourcery.com>
25656
da865e95
JM
25657 [BZ #13629]
25658 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25659 if larger part has absolute value 1.0.
25660 * math/s_clog10.c (__clog10): Likewise.
25661 * math/s_clog10f.c (__clog10f): Likewise.
25662 * math/s_clog10l.c (__clog10l): Likewise.
25663 * math/s_clogf.c (__clogf): Likewise.
25664 * math/s_clogl.c (__clogl): Likewise.
25665 * math/libm-test.inc (clog_test): Add more tests.
25666 (clog10_test): Likewise.
25667 * sysdeps/i386/fpu/libm-test-ulps: Update.
25668 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25669
3129cfc6
JM
25670 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25671 (pltexit): Likewise.
25672 (La_regs): Likewise.
25673 (La_retval): Likewise.
25674 (int_retval): Likewise.
25675 Update #error for removed macros to refer only to definitions in
25676 tst-audit.h.
25677 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25678 macro.
25679 (pltexit): Likewise.
25680 (La_regs): Likewise.
25681 (La_retval): Likewise.
25682 (int_retval): Likewise.
25683 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25684 macro.
25685 (pltexit): Likewise.
25686 (La_regs): Likewise.
25687 (La_retval): Likewise.
25688 (int_retval): Likewise.
25689 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25690 macro.
25691 (pltexit): Likewise.
25692 (La_regs): Likewise.
25693 (La_retval): Likewise.
25694 (int_retval): Likewise.
25695 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25696 macro.
25697 (pltexit): Likewise.
25698 (La_regs): Likewise.
25699 (La_retval): Likewise.
25700 (int_retval): Likewise.
25701 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25702 macro.
25703 (pltexit): Likewise.
25704 (La_regs): Likewise.
25705 (La_retval): Likewise.
25706 (int_retval): Likewise.
25707 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25708 macro.
25709 (pltexit): Likewise.
25710 (La_regs): Likewise.
25711 (La_retval): Likewise.
25712 (int_retval): Likewise.
25713 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25714 macro definitions in tst-audit.h.
25715 * sysdeps/i386/tst-audit.h: New file.
25716 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25717 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25718 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25719 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25720 * sysdeps/sh/tst-audit.h: Likewise.
25721 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25722 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25723 * sysdeps/x86_64/tst-audit.h: Likewise.
25724
bfc07087
AJ
257252012-07-26 Andreas Jaeger <aj@suse.de>
25726
b1b2aaf8
AJ
25727 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25728 ptrace.
25729
25730 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25731 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25732 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25733 PTRACE_O_MASK.
25734 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25735 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25736 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25737
bfc07087
AJ
25738 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25739 value.
25740
25741 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25742 _sigsys.
25743 (si_call_addr, si_syscall, si_arch): Define new macro.
25744 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25745 _sigsys.
25746 (si_call_addr, si_syscall, si_arch): Define new marcro.
25747 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25748 _sigsys.
25749 (si_call_addr, si_syscall, si_arch): Define new macro.
25750 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25751 _sigsys.
25752 (si_call_addr, si_syscall, si_arch): Define new macro.
25753
89b4b02f
JM
257542012-07-25 Joseph Myers <joseph@codesourcery.com>
25755
25756 [BZ #13717]
25757 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25758 Change to 2.4.21 where previously 2.4.1.
25759 * sysdeps/unix/sysv/linux/configure: Regenerated.
25760 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25761 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25762 Linux kernel version.
25763 (__ASSUME_STD_AUXV): Remove.
25764 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25765 kernel version.
25766 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25767 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25768 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25769 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25770 (__ASSUME_NETLINK_SUPPORT): Likewise.
25771 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25772 (__no_netlink_support): Remove conditional definition.
25773 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25774 Remove.
25775 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25776 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25777 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25778 (if_nameindex_ioctl): Remove.
25779 (if_nameindex_netlink): Do not handle __no_netlink_support.
25780 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25781 code.
25782 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25783 Remove conditional code.
25784 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25785 code.
25786 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25787 unconditional.
25788 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25789 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25790 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25791 Remove.
25792 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25793 [!__ASSUME_STD_AUXV]: Remove conditional code.
25794 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25795 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25796 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25797 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25798 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25799 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25800 code.
25801 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25803 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25804 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25805 conditional code.
25806 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25807 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25808 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25809 code.
25810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25811 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25812 conditional code.
25813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25814 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25815 code unconditional.
25816 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25817 conditional code.
25818 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25819 unconditional.
25820 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25821 conditional code.
25822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25823 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25824 unconditional.
25825 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25826 conditional code.
25827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25828 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25829 code unconditional.
25830 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25831 conditional code.
25832 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25833 unconditional.
25834 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25835 conditional code.
25836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25837 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25838 code unconditional.
25839 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25840 conditional code.
25841 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25842 unconditional.
25843 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25844 conditional code.
25845
842a39cd
AS
258462012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25847
25848 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25849 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25850 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25851 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25852 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25853 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25854 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25855 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25856 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25857 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25858 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25859 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25860 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25861 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25862 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25863 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25864 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25865 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25866 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25867 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25868 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25869 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25870 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25871
84b3fd84
FW
258722012-07-25 Florian Weimer <fweimer@redhat.com>
25873
25874 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25875 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25876 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25877 Introduce __libc_secure_getenv.
0c7936d5
FW
25878 * stdlib/Versions (2.17): Add secure_getenv
25879 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25880 * stdlib/secure-getenv.c: Rename __secure_getenv to
25881 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25882 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25883 * stdlib/tst-secure-getenv.c: New.
25884 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25885 * manual/startup.texi (Environment Access): Document
25886 secure_getenv.
84b3fd84
FW
25887 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25888 __libc_secure_getenv.
25889 * inet/ruserpass.c (ruserpass): Likewise.
25890 * malloc/mtrace.c (mtrace): Likewise.
25891 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25892 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25893 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25894 * sysdeps/posix/tempname.c: Likewise. Evaluate
25895 HAVE_SECURE_GETENV.
25896 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25897 __secure_getenv to __libc_secure_getenv.
84b3fd84 25898 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25899 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25900 Likewise.
25901 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25902 Likewise.
25903 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25904 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25905 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25906 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25907 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25908 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25910
56e49b71
JM
259112012-07-25 Joseph Myers <joseph@codesourcery.com>
25912
25913 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25914 (struct La_i86_retval): Likewise.
25915 (struct La_x86_64_regs): Likewise.
25916 (struct La_x86_64_retval): Likewise.
25917 (struct La_x32_regs): Likewise.
25918 (struct La_x32_retval): Likewise.
25919 (struct La_ppc32_regs): Likewise.
25920 (struct La_ppc32_retval): Likewise.
25921 (struct La_ppc64_regs): Likewise.
25922 (struct La_ppc64_retval): Likewise.
25923 (struct La_sh_regs): Likewise.
25924 (struct La_sh_retval): Likewise.
25925 (struct La_s390_32_regs): Likewise.
25926 (struct La_s390_32_retval): Likewise.
25927 (struct La_s390_64_regs): Likewise.
25928 (struct La_s390_64_retval): Likewise.
25929 (struct La_sparc32_regs): Likewise.
25930 (struct La_sparc32_retval): Likewise.
25931 (struct La_sparc64_regs): Likewise.
25932 (struct La_sparc64_retval): Likewise.
25933 (struct audit_ifaces): Remove architecture-specific pltenter and
25934 pltexit members.
25935 * sysdeps/i386/ldsodefs.h: New file.
25936 * sysdeps/powerpc/ldsodefs.h: Likewise.
25937 * sysdeps/s390/ldsodefs.h: Likewise.
25938 * sysdeps/sh/ldsodefs.h: Likewise.
25939 * sysdeps/sparc/ldsodefs.h: Likewise.
25940 * sysdeps/x86_64/ldsodefs.h: Likewise.
25941
354691b7
MP
259422012-07-25 Marek Polacek <polacek@redhat.com>
25943
25944 [BZ #6808]
25945 * math/libm-test.inc (yn_test): Add another test.
25946 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25947 to ERANGE when the result is +-Inf.
25948 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25949 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25950 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25951 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25952
bf9e2071
JM
259532012-07-24 Joseph Myers <joseph@codesourcery.com>
25954
25955 * conform/data/time.h-data (NULL): Use macro-constant. Require
25956 equal to 0.
25957 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
25958 clock_t.
25959 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
25960
57633811
TS
259612012-07-23 Thomas Schwinge <thomas@codesourcery.com>
25962
25963 * configure.in <sysdeps resolving>: Correct printing
25964 Implies_before.
25965 * configure: Regenerate.
25966
c23c33b0
TS
259672012-07-22 Thomas Schwinge <thomas@codesourcery.com>
25968
25969 * math/w_ilogb.c: Include <limits.h>.
25970 * math/w_ilogbl.c: Likewise.
25971
b5982523
JM
259722012-07-20 Joseph Myers <joseph@codesourcery.com>
25973
25974 * manual/lang.texi (__va_copy): Document primarily as ISO C99
25975 va_copy. Document allowing for unavailable va_copy only as
25976 pre-C99 compatibility.
25977 * manual/string.texi (Copying and Concatenation): Use va_copy
25978 instead of __va_copy in concat example.
25979
ac4ea442
PT
259802012-07-20 Pino Toscano <toscano.pino@tiscali.it>
25981
25982 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
25983 (__sendto): Use create_address_port. Initialize APORT and deallocate
25984 it if not null.
25985
f98eafbd
PT
25986 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
25987 with O_NOLINK passed to __file_name_lookup.
25988
898c7aab
PT
25989 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
25990 with O_NOLINK passed to __file_name_lookup.
25991
0ced335a
PT
25992 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
25993 negative N or less than NGIDS.
25994
b3404dbd
PT
25995 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
25996 type to string_t. Set ERANGE as errno and return it if NAME is not big
25997 enough. Use memcpy instead of strncpy.
25998
0f48659e
JM
259992012-07-20 Joseph Myers <joseph@codesourcery.com>
26000
26001 * elf/Makefile (check-data): Remove.
26002 (localplt.data): New vpath directive.
26003 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26004 instead of $(check-data).
26005 * scripts/data/localplt-generic.data: Move to ...
26006 * sysdeps/generic/localplt.data: ... here.
26007 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26008 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26009 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26011 ... here.
26012 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26014 ... here.
26015 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26016 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26017 ... here.
26018 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26020 ... here.
26021 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26022 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26023 ... here.
26024 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26025 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26026 ... here.
26027
d37cbdaa
AZ
260282012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26029
26030 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26031 PPC32 and PPC64 files.
26032 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26033 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26034
46f85fc2
AK
260352012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26036
26037 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26038 __makecontext_ret to ...
26039 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26040 ... here and call exit if uc_link is NULL. New file.
26041 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26042 __makecontext_ret.S.
26043 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26044 __makecontext_ret to ...
26045 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26046 ... here and call exit if uc_link is NULL. New file.
26047 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26048 __makecontext_ret.S.
26049
08f43f9b
AK
260502012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26051
26052 * elf/elf.h (R_390_IRELATIVE): New definition.
26053 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26054 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26055 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26056 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26057 (elf_machine_lazy_rel): Likewise.
26058 * sysdeps/s390/dl-irel.h: New file.
26059 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26060 * sysdeps/s390/s390-64/memset.S: New asm code.
26061 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26062 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26063 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26064 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26065 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26066 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26067 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26068 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26069 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26070 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26071 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26072 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26073 * sysdeps/s390/s390-32/memset.S: New asm code.
26074 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26075
3b05db33
MP
260762012-07-17 Marek Polacek <polacek@redhat.com>
26077
26078 [BZ #14349]
26079 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26080 * sysdeps/s390/s390-64/configure.in: Likewise.
26081 * sysdeps/sparc/configure.in: Likewise.
26082 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26083 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26084 * sysdeps/i386/configure.in: Likewise.
26085 * sysdeps/x86_64/configure.in: Likewise.
26086 * sysdeps/sh/configure.in: Likewise.
26087 * sysdeps/s390/s390-32/configure: Regenerated.
26088 * sysdeps/s390/s390-64/configure: Likewise.
26089 * sysdeps/x86_64/configure: Likewise.
26090 * sysdeps/sh/configure: Likewise.
26091 * sysdeps/powerpc/powerpc64/configure: Likewise.
26092 * sysdeps/powerpc/powerpc32/configure: Likewise.
26093 * sysdeps/sparc/configure: Likwise.
26094 * sysdeps/i386/configure: Likewise.
26095
a66877c6
MP
26096 * elf/dl-open.c: Comment fixes.
26097
cfc82fd8
JM
260982012-07-17 Joseph Myers <joseph@codesourcery.com>
26099
bd29910a
JM
26100 * Makefile [CXX] (check-data): Remove.
26101 [CXX] (c++-types.data): New vpath directive.
26102 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26103 vpath. Do not allow for C++ type data being missing.
26104 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26105 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26106 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26107 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26108 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26109 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26110 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26112 ... here.
26113 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26115 ... here.
26116 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26117 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26118 ... here.
26119 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26121 ... here.
26122 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26123 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26124 ... here.
26125 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26126 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26127 ... here.
26128 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26129 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26130 ... here.
26131 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26132 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26133
cfc82fd8
JM
26134 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26135 definitions to architecture-specific files.
26136 (TLS_IE): Likewise.
26137 (TLS_LD): Likewise.
26138 (TLS_GD): Likewise.
26139 * sysdeps/i386/tls-macros.h: New file.
26140 * sysdeps/powerpc/tls-macros.h: Likewise.
26141 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26142 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26143 * sysdeps/sh/tls-macros.h: Likewise.
26144 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26145 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26146 * sysdeps/x86_64/tls-macros.h: Likewise.
26147
f7db3170
TS
261482012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26149
07cbfc23
TS
26150 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26151 zero value for regular exit case.
26152
f7db3170
TS
26153 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26154 (__start_context): Preserve zero value for regular exit case.
26155
dc97c227
TS
261562012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26157 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26158
26159 * manual/setjmp.texi (setcontext): Clarify normal process
26160 termination when uc_link is the null pointer.
26161 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26162 exit call.
26163
d0cd7d02
AS
261642012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26165
26166 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26167 preprocessor. Test for each exception mask separately.
26168
dd318934
AJ
261692012-07-16 Andreas Jaeger <aj@suse.de>
26170
26171 * po/ru.po: Update from translation team.
26172
8048311a
JM
261732012-07-15 Joseph Myers <joseph@codesourcery.com>
26174
26175 * conform/data/string.h-data (NULL): Use macro-constant. Require
26176 equal to 0.
26177 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26178 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26179 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26180 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26181 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26182
b637d46e
AJ
261832012-07-13 Andreas Jaeger <aj@suse.de>
26184
26185 * po/fr.po: Update from translation team.
26186
541428fe
MP
261872012-07-12 Marek Polacek <polacek@redhat.com>
26188
26189 [BZ #14173]
26190 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26191 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26192 loop condition.
26193
ec332e94
JM
261942012-07-12 Joseph Myers <joseph@codesourcery.com>
26195
26196 [BZ #13717]
26197 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26198 Change to 2.4.1 where previously 2.4.0.
26199 * sysdeps/unix/sysv/linux/configure: Regenerated.
26200 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26201 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26202 version.
26203 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26204 (__ASSUME_AT_CLKTCK): Remove.
26205 (__ASSUME_AT_PAGESIZE): Likewise.
26206 (__ASSUME_AT_XID): Likewise.
26207 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26208 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26209 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26210 unconditionally.
26211 (HAVE_AUX_PAGESIZE): Likewise.
26212 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26213 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26214 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26215
7b6e99be
JB
262162012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26217
26218 [BZ #14307]
26219 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26220 the temporary buffer used to invoke __gethostbyname2_r,
26221 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26222 host_data / struct gaih_addrtuple.
26223 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26224 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26225 header file nss/nsswitch.h.
26226 * nss/nsswitch.h (global scope): Add definition of implementation
26227 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26228 resolv/nss_dns/dns-host.c).
26229
608404eb
AJ
262302012-07-11 Andreas Jaeger <aj@suse.de>
26231
26232 * po/fr.po: Update from translation team.
26233
71220aca
AJ
26234 * po/sv.po: Update from translation team
26235 * po/fr.po: Another update from translation team.
26236
28cfe843
AZ
262372012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26238
26239 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26240 for subnormals or multiply small sinh result by itself.
26241 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26242 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26243
6b90f981
DM
262442012-07-11 David S. Miller <davem@davemloft.net>
26245
26246 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26247
c6825772
AS
262482012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26249
26250 [BZ #14347]
26251 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26252 (INTERNAL_MARK): Shift it here.
26253
7b8e0d49
MP
262542012-07-10 Marek Polacek <polacek@redhat.com>
26255
26256 [BZ #14151]
26257 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26258 libc_cv_asm_global_directive with .globl.
26259 * configure: Regenerated.
26260 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26261 with .globl.
26262 * sysdeps/i386/configure: Regenerated.
26263 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26264 with .globl.
26265 * sysdeps/x86_64/configure: Regenerated.
26266 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26267 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26268 * elf/tst-unique2mod2.c: Likewise.
26269 * elf/tst-unique2mod1.c: Likewise.
26270 * elf/tst-unique1mod2.c: Likewise.
26271 * elf/tst-unique1mod1.c: Likewise.
26272 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26273 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26274 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26275 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26276 * sysdeps/mach/sysdep.h: Likewise.
26277 * sysdeps/i386/sysdep.h: Likewise.
26278 * sysdeps/i386/i386-mcount.S: Likewise.
26279 * sysdeps/x86_64/_mcount.S: Likewise.
26280 * sysdeps/x86_64/sysdep.h: Likewise.
26281 * sysdeps/sh/_mcount.S: Likewise.
26282 * sysdeps/sh/sysdep.h: Likewise.
26283 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26284 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26285 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26286 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26287 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26288 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26289 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26290 * locale/localeinfo.h: Likewise.
26291 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26292 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26293
6c55cda3
RM
262942012-07-09 Roland McGrath <roland@hack.frob.com>
26295
26296 [BZ #14336]
26297 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26298 system".
26299 * manual/message.texi (The Uniforum approach): Likewise.
26300 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26301 (glibc iconv Implementation): Likewise.
26302
638a572e
JM
263032012-07-09 Joseph Myers <joseph@codesourcery.com>
26304
26305 [BZ #14337]
26306 * math/s_clog.c (__clog): Avoid scaling a value down where that
26307 could result in underflow.
26308 * math/s_clog10.c (__clog10): Likewise.
26309 * math/s_clog10f.c (__clog10f): Likewise.
26310 * math/s_clog10l.c (__clog10l): Likewise.
26311 * math/s_clogf.c (__clogf): Likewise.
26312 * math/s_clogl.c (__clogl): Likewise.
26313 * math/libm-test.inc (clog_test): Add more tests.
26314 (clog10_test): Likewise.
26315 * sysdeps/i386/fpu/libm-test-ulps: Update.
26316 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26317
261f4859
AS
263182012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26319
0abaf3e4
AS
26320 [BZ #14283]
26321 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26322 by 7 not 8 to examine high bit of fractional part.
26323
261f4859
AS
26324 [BZ #14042]
26325 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26326 for call to __mcount_internal.
26327 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26328 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26329 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26330
f17ac40d
JM
263312012-07-06 Joseph Myers <joseph@codesourcery.com>
26332
9ad63c23
JM
26333 [BZ #14154]
26334 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26335 approximation for values within 0x1p-13f of an odd multiple of
26336 pi/4.
26337 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26338 exception. Add more tests.
26339 * sysdeps/i386/fpu/libm-test-ulps: Update.
26340
f17ac40d
JM
26341 [BZ #6778]
26342 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26343 inputs and return -1 for them. Do not check for +Inf in case not
26344 reachable for +Inf.
26345 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26346 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26347 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26348 and return -1 for them. Do not check for +Inf in case not
26349 reachable for +Inf.
26350 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26351 define.
26352 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26353 and return -1 for them. Do not check for +Inf in case not
26354 reachable for +Inf.
26355 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26356 spurious underflow.
26357 * sysdeps/i386/fpu/libm-test-ulps: Update.
26358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26359
fb21f89b
MF
263602012-07-06 Mike Frysinger <vapier@gentoo.org>
26361
26362 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26363
cdfe2c5e
JM
263642012-07-05 Joseph Myers <joseph@codesourcery.com>
26365
26366 [BZ #14157]
26367 [BZ #14331]
26368 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26369 could result in spurious underflow. Scale down values above
26370 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26371 * math/s_csqrtf.c (__csqrtf): Likewise.
26372 * math/s_csqrtl.c (__csqrtl): Likewise.
26373 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26374 spurious underflow.
26375 * sysdeps/i386/fpu/libm-test-ulps: Update.
26376 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26377
70d35b67
AS
263782012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26379
704bc459
AS
26380 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26381 xopen-msg.sed.
26382 * catgets/xopen-msg.awk: New file.
26383 * catgets/xopen-msg.sed: Removed.
26384
70d35b67
AS
26385 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26386 po2text.sed.
26387 * intl/po2test.awk: New file.
26388 * intl/po2test.sed: Removed.
26389
ca61cf32
JM
263902012-07-04 Joseph Myers <joseph@codesourcery.com>
26391
26392 [BZ #14328]
26393 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26394 or multiply small sinh result by itself.
26395 * math/s_ctanf.c (__ctanf): Likewise.
26396 * math/s_ctanh.c (__ctanh): Likewise.
26397 * math/s_ctanhf.c (__ctanhf): Likewise.
26398 * math/s_ctanhl.c (__ctanhl): Likewise.
26399 * math/s_ctanl.c (__ctanl): Likewise.
26400 * math/libm-test.inc (ctan_test_tonearest): New function.
26401 (ctan_test_towardzero): Likewise.
26402 (ctan_test_downward): Likewise.
26403 (ctan_test_upward): Likewise.
26404 (ctanh_test_tonearest): Likewise.
26405 (ctanh_test_towardzero): Likewise.
26406 (ctanh_test_downward): Likewise.
26407 (ctanh_test_upward): Likewise.
26408 (main): Call these new functions.
26409 * sysdeps/i386/fpu/libm-test-ulps: Update.
26410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26411
ca48a46a
MF
264122012-07-03 Mike Frysinger <vapier@gentoo.org>
26413
26414 * .gitignore: Delete /ports entry.
26415
9d63d37d
AJ
264162012-07-03 Andreas Jaeger <aj@suse.de>
26417
26418 * po/bg.po: Update from translation team.
26419 * po/cs.po: Likewise.
26420 * po/de.po: Likewise.
26421 * po/hr.po: Likewise.
26422 * po/nl.pl: Likewise.
26423 * po/pl.po: Likewise.
26424 * po/vi.po: Likewise.
26425
370ca3d2
JM
264262012-07-03 Joseph Myers <joseph@codesourcery.com>
26427
95f5a9a8
JM
26428 * Makeconfig [!+link] (+link-before-libc): New variable.
26429 [!+link] (+link-after-libc): Likewise.
26430 [!+link] (+link-tests): Likewise.
26431 [!+link] (+link): Define in terms of $(+link-before-libc) and
26432 $(+link-after-libc).
26433 [!+link-static] (+link-static-before-libc): New variable.
26434 [!+link-static] (+link-static-after-libc): Likewise.
26435 [!+link-static] (+link-static-tests): Likewise.
26436 [!+link-static] (+link-static): Define in terms of
26437 $(+link-static-before-libc) and $(+link-static-after-libc).
26438 [build-shared] (link-libc-before-gnulib): New variable.
26439 [build-shared] (link-libc-tests): Likewise.
26440 [build-shared] (link-libc): Define in terms of
26441 $(link-libc-before-gnulib).
26442 [!build-shared] (link-libc-tests): New variable.
26443 (link-libc-static-tests): New variable.
26444 [!gnulib] (gnulib-arch): New variable.
26445 [!gnulib] (gnulib-tests): Likewise.
26446 [!gnulib] (static-gnulib-arch): Likewise.
26447 [!gnulib] (static-gnulib-tests): Likewise.
26448 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26449 Define with "=" instead of ":=".
26450 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26451 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26452 * Rules (binaries-all-notests): New variable.
26453 (binaries-all-tests): Likewise.
26454 (binaries-static-notests): Likewise.
26455 (binaries-static-tests): Likewise.
26456 (binaries-all): Define using $(binaries-all-notests) and
26457 $(binaries-all-tests).
26458 (binaries-static): Define using $(binaries-static-notests) and
26459 $(binaries-static-tests).
26460 (binaries-shared-tests): New variable.
26461 (binaries-shared-notests): Likewise.
26462 (binaries-shared): Remove variable.
26463 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26464 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26465 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26466 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26467 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26468 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26469 * elf/Makefile (sln-modules): New variable.
26470 (extra-objs): Add $(sln-modules:=.o).
26471 (ldconfig-modules): Add static-stubs.
26472 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26473 * elf/static-stubs.c: New file.
26474
7a845b2c
JM
26475 [BZ #14283]
26476 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26477 by 7 not 8 to examine high bit of fractional part. Use volatile
26478 variables when splitting into final array of floats if
26479 __FLT_EVAL_METHOD__ != 0.
26480 * math/libm-test.inc (cos_test): Add another test.
26481 (sin_test): Likewise.
26482 * sysdeps/i386/fpu/libm-test-ulps: Update.
26483
e2283f38
JM
26484 [BZ #14273]
26485 * math/libm-test.inc (cosh_test): Add more tests.
26486
370ca3d2
JM
26487 * version.h (RELEASE): Set to "development".
26488 (VERSION): Set to "2.16.90".
26489
ee9247c3
CD
264902012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26491
26492 * NEWS: Update copyright. Remove last-updated date.
26493 Mention math library bug fixes and timezone data changes.
26494 * README: Mention GNU/Hurd, x32, and HPPA support status.
26495
4648c381
TS
264962012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26497
26498 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26499
aac78a43
AJ
265002012-06-27 Andreas Jaeger <aj@suse.de>
26501
26502 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26503
ed3dbfad
AJ
265042012-06-25 Andreas Jaeger <aj@suse.de>
26505
26506 * sysdeps/s390/fpu/libm-test-ulps: Update.
26507
4d0ee855
AS
265082012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26509 Thomas Schwinge <thomas@codesourcery.com>
26510
26511 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26512 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26513 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26514 fanotify_mark.
26515
af1bce34
TS
265162012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26517
a9fa33ba
TS
26518 * sysdeps/mach/start.c: Remove file.
26519 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26520 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26521 * sysdeps/sh/init-first.c: Likewise.
26522
58f902b8
TS
26523 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26524 registers for frame unwinding purposes, add CFI directives.
26525 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26526 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26527 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26528 Likewise.
26529
1518f58b
TS
26530 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26531 __fortify_fail returning.
26532 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26533
db9b5059
TS
26534 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26535 sysdeps/sh/____longjmp_chk.S.
26536 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26537 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26538 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26539 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26540
967705fe
TS
26541 * sysdeps/sh/abort-instr.h: New file.
26542 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26543 process in case exit returns.
26544
a9def8c4
TS
26545 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26546 initialize the GOT register before use.
26547
2a649725
TS
26548 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26549 calculation of ARGC > 4.
26550
af1bce34
TS
26551 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26552 meaningful names to some local labels.
26553
d230f50a
KK
265542012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26555 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26556
26557 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26558 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26559 (__arch_compare_and_exchange_val_16_acq): Likewise.
26560 (__arch_compare_and_exchange_val_32_acq): Likewise.
26561 (atomic_exchange_and_add): Fix gUSA sequence.
26562 (atomic_add): Likewise.
26563 (atomic_add_negative): Likewise.
26564 (atomic_add_zero): Likewise.
26565 (atomic_bit_test_set): Likewise.
26566
0479b305
AS
265672012-06-22 Andreas Schwab <schwab@redhat.com>
26568
26569 [BZ #13579]
26570 * include/link.h (struct link_map): Add l_free_initfini.
26571 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26572 l_initfini.
26573 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26574 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26575 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26576 set.
26577
0e3933b9
CD
265782012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26579
26580 * configure.in: Use AC_LANG_SOURCE.
26581 * configure: Regenerate.
26582
4248b1b1
RM
265832012-06-22 Roland McGrath <roland@hack.frob.com>
26584
26585 * configure.in (libc_cv_localstatedir): New substituted variable.
26586 * configure: Regenerated.
26587 * config.make.in (localstatedir): New variable, substituted from
26588 libc_cv_localstatedir.
26589 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26590 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26591 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26592 * sysdeps/gnu/configure: Regenerated.
26593
006dd861
JL
265942012-06-21 Jeff Law <law@redhat.com>
26595
26596 [BZ #14277]
26597 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26598 free. Simplify list management for _LIBC case.
26599
79662d42
JM
266002012-06-21 Joseph Myers <joseph@codesourcery.com>
26601
b7abb4bf
JM
26602 [BZ #14273]
26603 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26604 Clear sign bit of 64-bit integer value before comparing against
26605 overflow value.
26606
79662d42
JM
26607 * sysdeps/mach/configure: Regenerated.
26608
1f150908
L
266092012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26610
26611 [BZ #14278]
26612 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26613
28363bbf
JL
266142012-06-21 Jeff Law <law@redhat.com>
26615
26616 [BZ #13882]
26617 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26618 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26619 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26620 * elf/dl-open.c (dl_open_worker): Likewise.
26621
09615db4
CD
266222012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26623
26624 * scripts/list-sources.sh: Scan PORTS for translations.
26625 * po/libc.pot: Regenerated.
26626
2174c6dd
AJ
266272012-06-21 Andreas Jaeger <aj@suse.de>
26628
26629 [BZ #12194]
26630 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26631 warning.
26632 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26633 * bits/byteswap-16.h (__bswap_16): Likewise.
26634 * bits/byteswap.h (__bswap_constant_16): Likewise.
26635
3ee947b1
L
266362012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26637
26638 [BZ #14117]
a2f34833
L
26639 * sysdeps/i386/fpu_control.h: Removed.
26640 * sysdeps/x86_64/fpu_control.h: Moved to ...
26641 * sysdeps/x86/fpu_control.h: Here.
26642
3ee947b1
L
26643 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26644 (_FPU_SETCW): Likewise.
26645
ed1825f8
L
266462012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26647
25f1282a
L
26648 [BZ #14117]
26649 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26650 * sysdeps/x86/fpu/bits/mathinline.h: This.
26651 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26652
ed1825f8
L
26653 [BZ #14050]
26654 [BZ #14117]
26655 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26656 functions if __x86_64__ is defined.
26657
36d54b74
CLT
266582012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26659
26660 * string/endian.h: Add !__ASSEMBLER__ condition for including
26661 conversion interfaces.
26662
10285c21
JM
266632012-06-15 Joseph Myers <joseph@codesourcery.com>
26664
26665 [BZ #14241]
26666 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26667 of ABS(x) in calculating zero to negative powers other than odd
26668 integers.
26669 * math/libm-test.inc (pow_test): Add more tests.
26670
06c5abbd
AJ
266712012-06-15 Andreas Jaeger <aj@suse.de>
26672
26673 * manual/contrib.texi (Contributors): Update entry of Liubov
26674 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26675 Machado Filho.
26676
a3aeac40
CH
266772012-06-15 Cyril Hrubis <metan@ucw.cz>
26678
26679 * string/string.h: Add __wur to GNU version of strerror_r.
26680
49bdf4c1
L
266812012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26682
26683 [BZ #14229]
26684 * string/Makefile (tests): Add tst-strtok_r.
26685 * string/tst-strtok_r.c: New file.
26686 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26687 RAX_LP/RDX_LP on SAVE_PTR.
26688
834f9b8d
RM
266892012-06-14 Roland McGrath <roland@hack.frob.com>
26690
26691 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26692
75fa1921
JM
266932012-06-14 Joseph Myers <joseph@codesourcery.com>
26694
26695 * libm_test.inc (csqrt_test): Allow more spurious underflow
26696 exceptions.
26697 (j0_test): Likewise.
26698 (j1_test): Likewise.
26699 (y0_test): Likewise.
26700 (y1_test): Likewise.
26701
771766df
CD
267022012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26703
26704 * po/Makefile (libc.pot): Use UTF-8 charset.
26705
ceb9e56b
PP
267062012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26707
26708 [BZ #14210]
26709 Suppress sign-conversion warning from FD_SET.
26710 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26711 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26712 not unsigned long int.
26713 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26714
ddb28975
L
267152012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26716
26717 [BZ #14050]
26718 [BZ #14117]
26719 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26720 __extern_always_inline instead of __extern_inline.
26721 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26722 (__signbit): Likewise.
26723 (__signbitl): Support C++ namespace.
26724 (lrintf): New inline function.
26725 (lrint): Likewise.
26726 (llrintf): Likewise.
26727 (llrint): Likewise.
26728 (fmaxf): Likewise.
26729 (fmax): Likewise.
26730 (fminf): Likewise.
26731 (fmin): Likewise.
26732 (rint): Likewise.
26733 (rintf): Likewise.
26734 (ceil): Likewise.
26735 (ceilf): Likewise.
26736 (floor): Likewise.
26737 (floorf): Likewise.
26738 (nearbyint): Likewise.
26739 (nearbyintf): Likewise.
26740
d7b4fb26
TS
267412012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26742
26743 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26744 non-default versions.
26745
eb55f5c2
RM
267462012-06-11 Roland McGrath <roland@hack.frob.com>
26747
26748 [BZ #14218]
26749 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26750
366af02c
TS
267512012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26752
99ff6e5c
TS
26753 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26754 (FE_UPWARD, FE_DOWNWARD): Don't define.
26755 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26756 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26757
366af02c
TS
26758 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26759 reading it.
26760 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26761 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26762
793ea851
KK
267632012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26764
26765 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26766 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26767 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26768 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26769
a728a38f
L
267702012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26771
26772 [BZ #14117]
c08010c7
L
26773 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26774 * sysdeps/i386/fpu/Implies: New file.
26775 * sysdeps/x86_64/fpu/Implies: Likewise.
26776 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26777 * sysdeps/x86/fpu/bits/fenv.h: This.
26778
a728a38f
L
26779 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26780 __SSE_MATH__.
26781
6e230d11
SP
267822012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26783
26784 [BZ #14134]
26785 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26786 character 0xffff that matches the last element of the
26787 conversion table.
26788
1b671feb
AZ
267892012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26790
26791 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26792 fmodl commit.
26793
6043738b
AZ
267942012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26795
26796 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26797 values higher than 25.6283.
26798
34ae0b32
AZ
267992012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26800
26801 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26802 subnormal exponent extraction and add some __builtin_expect.
26803 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26804 Fix for subnormal mantissa calculation.
26805
1214ec8f
MF
268062012-06-04 Mike Frysinger <vapier@gentoo.org>
26807
26808 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26809 cpu2 is -1 and errno is not ENOSYS.
26810
f3d1f93c
L
268112012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26812
26813 [BZ #14117]
0e4a3cd7
L
26814 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26815 * sysdeps/x86/bits/string.h: This.
26816 * sysdeps/x86_64/bits/string.h: Removed.
26817
6704c645
L
26818 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26819 if not compiling for x86-64, but compiling for >= i486.
26820
48495318
L
26821 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26822 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26823
14adcbfc
L
26824 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26825 New macro from Linux kernel 3.4.0.
26826 (FP_XSTATE_MAGIC2): Likewise.
26827 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26828 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26829 (struct _fpx_sw_bytes): New struct.
26830 (struct _xsave_hdr): Likewise.
26831 (struct _ymmh_state): Likewise.
26832 (struct _xstate): Likewise.
26833
68e408ab
L
26834 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26835 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26836 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26837 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26838 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26839 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26840
f3d1f93c
L
26841 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26842 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26843 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26844 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26845 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26846 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26847
d9dc34cd
TMQMF
268482012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26849
26850 [BZ #13743]
26851 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26852 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26853 (sysdep_headers): Include sys/platform/ppc.h.
26854 * sysdeps/powerpc/test-gettimebase.c: Test for
26855 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26856 * manual/Makefile (appendices): Include platform.texi.
26857 * manual/contrib.texi (Contributors): Update @node pointers.
26858 * manual/maint.texi (Maintenance): Likewise.
26859 (Platform): New node.
26860 * manual/platform.texi: New file. Document the new features.
26861
4af3879c
SP
268622012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26863 Jakub Jelinek <jakub@redhat.com>
26864
26865 [BZ #14188]
26866 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26867 where __builtin_expect is unavailable.
26868
2fd6ff13
DM
268692012-06-03 David S. Miller <davem@davemloft.net>
26870
26871 * stdlib/longlong.h: Updated from GCC.
26872
173f7220
AS
268732012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26874
26875 [BZ #14042]
26876 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26877 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26878 __mcount_internal.
26879 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26880 (GLIBC_2.16): Likewise.
26881
f34a1c6f
L
268822012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26883
26884 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26885
88a4576f
JM
268862012-06-01 Joseph Myers <joseph@codesourcery.com>
26887
ea32bcdd
JM
26888 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26889 (default-abi): New variable.
26890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26891 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26892 variable.
26893 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26894 Likewise.
26895 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26896 Likewise.
26897 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26898 Likewise.
26899
88a4576f
JM
26900 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26901 definition. Document in comment.
26902
402fe938
DM
269032012-06-01 David S. Miller <davem@davemloft.net>
26904
26905 * stdlib/longlong.h: Updated from GCC.
26906
3553723f
L
269072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26908
26909 [BZ #14117]
3bd872c4
L
26910 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26911 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26912 sys/debugreg.h sys/io.h here.
26913 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26914 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26915 sys/io.h.
26916 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26917 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26918 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26919 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26920 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26921 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26922
3553723f
L
26923 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26924 Define only if __x86_64__ is defined.
26925
4842e4fe
JM
269262012-06-01 Joseph Myers <joseph@codesourcery.com>
26927
c5bfe3d5
JM
26928 [BZ #14048]
26929 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26930 Use int64_t for variable i.
26931 * math/libm-test.inc (fmod_test): Add more tests.
26932
4842e4fe
JM
26933 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26934 z computation is not scheduled after fetestexcept.
26935 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26936 Use math_force_eval instead of asm to ensure calculation scheduled
26937 before exception test.
26938 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26939 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26940
efb73488
AJ
269412012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26942
26943 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26944 computation is not scheduled after fetestexcept.
26945
29bcce7c
L
269462012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26947
26948 [BZ #14117]
26949 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26950 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26951
73a68f94
AZ
269522012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26953
26954 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26955 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26956
67b6df78
L
269572012-05-31 H.J. Lu <hongjiu.lu@intel.com>
26958
edf2933a 26959 [BZ #14117]
ebc64a18
L
26960 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
26961 <bits/wordsize.h>.
26962 (__WCHAR_MIN): Support __WORDSIZE == 64.
26963 (__WCHAR_MAX): Likewise.
26964
edf2933a
L
26965 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
26966 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
26967
57c6cf40
L
26968 [BZ #14183]
26969 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
26970 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
26971
67b6df78 26972 [BZ #14117]
8eb6281e
L
26973 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
26974 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
26975
aac639f4
L
26976 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
26977 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
26978
67b6df78
L
26979 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
26980 Defined to 1 if __x86_64__ isn't defined.
26981 (_STAT_VER_LINUX_OLD): New.
26982 (st_atime): Remove duplicate.
26983 (st_mtime): Likewise.
26984 (st_ctime): Likewise.
26985
1c2cfe81
DM
269862012-05-31 David S. Miller <davem@davemloft.net>
26987
26988 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
26989 entries.
26990
5be8418c
AS
269912012-06-01 Andreas Schwab <schwab@linux-m68k.org>
26992
e7725326
AS
26993 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
26994 gen-libm-test.pl.
26995
5be8418c
AS
26996 [BZ #14132]
26997 * elf/dl-reloc.c: Include <_itoa.h>.
26998 (_dl_reloc_bad_type): Remove use of INTUSE.
26999 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27000 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27001 * stdio-common/psiginfo.c (psiginfo): Likewise.
27002 * stdio-common/psignal.c (psignal): Likewise.
27003 * string/strsignal.c (strsignal): Likewise.
27004 * include/signal.h (_sys_siglist): Declare hidden proto.
27005 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27006 INTVARDEF with libc_hidden_data_def.
27007 * stdio-common/itoa-udigits.c: Likewise.
27008 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27009 (_itoa_lower_digits_internal): Remove declaration.
27010 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27011 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27012 (_sys_sigabbrev_internal): Remove aliases.
27013 (_sys_siglist): Define hidden alias.
27014
507352f1
MT
270152012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27016
27017 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27018 bits/sysctl.h.
27019
42bbb1c3
L
270202012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27021
27022 [BZ #14117]
6bd784b6
L
27023 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27024 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27025
8bca20f0
L
27026 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27027 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27028 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27029 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27030 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27031 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27032
f9e890a9
L
27033 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27034 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27035 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27036
471101a1
L
27037 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27038 with __addr.
27039 (insw): Likewise.
27040 (insl): Likewise.
27041 (outsb): Likewise.
27042 (outsw): Likewise.
27043 (outsl): Likewise.
27044
6451c862
L
27045 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27046 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27047 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27048
a254b8c9
L
27049 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27050 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27051 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27052 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27053 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27054 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27055
b8dfdd92
L
27056 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27057 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27058
578cd270
L
27059 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27060 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27061
de662f5f
L
27062 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27063 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27064 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27065
25653439
L
27066 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27067 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27068 to ...
27069 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27070
6bad24a0
L
27071 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27072 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27073 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27074
42bbb1c3
L
27075 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27076 for x86-64.
27077 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27078
2d10d547
JM
270792012-05-31 Joseph Myers <joseph@codesourcery.com>
27080
27081 * math/math.h (M_El): Use two more decimal places.
27082 (M_LOG2El): Likewise.
27083 (M_LOG10El): Likewise.
27084 (M_LN2l): Likewise.
27085 (M_LN10l): Likewise.
27086 (M_PIl): Likewise.
27087 (M_PI_2l): Likewise.
27088 (M_PI_4l): Likewise.
27089 (M_1_PIl): Likewise.
27090 (M_2_PIl): Likewise.
27091 (M_2_SQRTPIl): Likewise.
27092 (M_SQRT2l): Likewise.
27093 (M_SQRT1_2l): Likewise.
27094
f230c29b
DM
270952012-05-31 David S. Miller <davem@davemloft.net>
27096
27097 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27098 values between float registers.
27099 * sysdeps/sparc/sparc64/memset.S: Likewise.
27100 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27101
fed806c3
MF
271022012-05-31 Mike Frysinger <vapier@gentoo.org>
27103
27104 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27105 -D_FORTIFY_SOURCE=1.
27106 (CPPFLAGS-tst-longjmp_chk.c): Define.
27107 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27108 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27109 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27110 CFLAGS-tst-wchar-h.c.
27111
30917259
MP
271122012-05-31 Marek Polacek <polacek@redhat.com>
27113
27114 [BZ #14132]
27115 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27116 __endmntent_internal): Remove declaration.
27117 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27118 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27119 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27120
1c58d5dc
DM
271212012-05-30 David S. Miller <davem@davemloft.net>
27122
27123 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27124 (___Q_simulate_exceptions): Use real FP ops rather than writing
27125 into the %fsr.
27126 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27127 Likewise.
27128
7dc00e0d
L
271292012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27130
27131 [BZ #14117]
0bd53985
L
27132 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27133 * sysdeps/x86/bits/xtitypes.h: This.
27134
3a257e66
L
27135 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27136 * sysdeps/x86/bits/wordsize.h: This.
27137
62f62904
L
27138 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27139 * sysdeps/x86/bits/huge_vall.h: This.
27140
404fe9d9
L
27141 * sysdeps/i386/bits/select.h: Removed.
27142 * sysdeps/x86_64/bits/select.h: Renamed to ...
27143 * sysdeps/x86/bits/select.h: This.
27144
d48d0446
L
27145 * sysdeps/i386/bits/setjmp.h: Removed.
27146 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27147 * sysdeps/x86/bits/setjmp.h: This.
27148
7dc00e0d
L
27149 * sysdeps/i386/bits/mathdef.h: Removed.
27150 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27151 * sysdeps/x86/bits/mathdef.h: This.
27152
03277f8f
AS
271532012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27154
27155 [BZ #14132]
27156 * include/sys/socket.h (__connect_internal)
27157 (__libc_sa_len_internal): Remove declaration.
27158 (__connect, __libc_sa_len): Declare hidden_proto.
27159 (SA_LEN): Remove use of INTUSE.
27160 * socket/connect.c: Add libc_hidden_def.
27161 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27162 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27163 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27164 alias.
27165 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27166 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27167 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27168 of adding _internal alias.
27169
13764867
L
271702012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27171
27172 [BZ #14117]
6bd97696
L
27173 * sysdeps/i386/bits/link.h: Removed.
27174 * sysdeps/i386/bits/linkmap.h: Likewise.
27175 * sysdeps/x86_64/bits/link.h: Renamed to ...
27176 * sysdeps/x86/bits/link.h: This.
27177 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27178 * sysdeps/x86/bits/linkmap.h: This.
27179
f726f0bb
L
27180 * sysdeps/i386/bits/endian.h: Removed.
27181 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27182 * sysdeps/x86/bits/endian.h: This.
27183
13764867
L
27184 * sysdeps/i386/bits/byteswap.h: Removed.
27185 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27186 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27187 * sysdeps/x86/bits/byteswap.h: This.
27188 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27189 * sysdeps/x86/bits/byteswap-16.h: This.
27190 * sysdeps/i386/Implies: Add x86.
27191 * sysdeps/x86_64/Implies: Likewise.
27192
ae251b0b
DM
271932012-05-30 David S. Miller <davem@davemloft.net>
27194
27195 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27196 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27197 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27198 (FP_TRAPPING_EXCEPTIONS): Define.
27199 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27200 (FP_TRAPPING_EXCEPTIONS): Define.
27201 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27202 subnormals only when inexact has been signalled or underflow
27203 exceptions are enabled.
27204 (_FP_PACK_CANONICAL): Likewise.
27205
d5c90867
L
272062012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27207
27208 [BZ #14183]
27209 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27210 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27211
63f1549e
RH
272122012-05-30 Richard Henderson <rth@twiddle.net>
27213
8d8f2279
RH
27214 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27215 with #ifndef NOT_IN_libc.
27216
63f1549e
RH
27217 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27218 marked to avoid plt entry.
27219
0ab0291b
L
272202012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27221
27222 [BZ #14112]
27223 * Makeconfig (default-abi): New macro.
27224 (abi-includes): Likewise.
27225 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27226 $(abi-$(default-abi)-lib-soname) for soname if defined.
27227 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27228 abi-variants.
27229 * Makefile (installed-stubs): Likewise.
27230 * include/stubs-biarch.h: Removed.
27231 * scripts/lib-names.awk: Only handle one library at a time.
27232 * scripts/soversions.awk: Remove WORDSIZE support.
27233 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27234 entries.
27235 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27236 Removed.
27237 (syscall-list-default-condition): Likewise.
27238 (syscall-list-default-condition): Likewise.
27239 (syscall-list-includes): Likewise.
27240 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27241 syscall-list-* with abi-*. Handle undefined abi-variants.
27242 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27243 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27244 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27245 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27246 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27247 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27248 Removed.
27249 (syscall-list-32-options): Likewise.
27250 (syscall-list-32-condition): Likewise.
27251 (syscall-list-64-options): Likewise.
27252 (syscall-list-64-condition): Likewise.
27253 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27254 macro.
27255 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27256 Renamed to ...
27257 (abi-*): This.
27258 (abi-64-ld-soname): New macro.
27259 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27260 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27261 Renamed to ...
27262 (abi-*): This.
27263 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27264 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27265
4da0431d
JM
272662012-05-30 Joseph Myers <joseph@codesourcery.com>
27267
3a85279c
JM
27268 * sysdeps/unix/sysv/linux/kernel-features.h
27269 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27270 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27271 include <kernel-features.h>.
27272 [!__NR_ftruncate64]: Remove conditional code.
27273 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27274 [__NR_ftruncate64]: Make code unconditional.
27275 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27276 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27277 include <kernel-features.h>.
27278 [!__NR_ftruncate64]: Remove conditional code.
27279 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27280 [__NR_ftruncate64]: Make code unconditional.
27281 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27282 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27283 include <kernel-features.h>.
27284 [!__NR_ftruncate64]: Remove conditional code.
27285 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27286 [__NR_ftruncate64]: Make code unconditional.
27287 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27288 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27289 include <kernel-features.h>.
27290 [!__NR_ftruncate64]: Remove conditional code.
27291 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27292 [__NR_ftruncate64]: Make code unconditional.
27293 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27294
4da0431d
JM
27295 * configure.in (libc_cv_fpie): Weaken to a compile test using
27296 LIBC_TRY_CC_OPTION.
27297 * configure: Regenerated.
27298
11ef492c
AK
272992012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27300
27301 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27302 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27303 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27304 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27305 Refreshed.
27306 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27307 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27308 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27309 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27310 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27311 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27312 Refreshed.
27313
d66ef399
DM
273142012-05-27 David S. Miller <davem@davemloft.net>
27315
27316 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27317 (___Q_zero): New.
27318 (__Q_simulate_exceptions): Return void. Change to simulate
27319 exceptions by writing into the %fsr.
27320 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27321 (__Qp_handle_exceptions): Likewise.
27322 (numbers): Delete.
27323 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27324 __Qp_handle_exceptions.
27325 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27326 __Qp_handle_exceptions.
27327 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27328 as unused and give dummy FP_RND_NEAREST initializer.
27329 (FP_INHIBIT_RESULTS): Define.
27330 (___Q_simulate_exceptions): Update declaration.
27331 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27332 formatting.
27333 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27334 as unused and give dummy FP_RND_NEAREST initializer.
27335 (__Qp_handle_exceptions): Update declaration.
27336 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27337 formatting.
27338
04fb54b5
TS
273392012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27340
27341 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27342 the temporary FPU control word.
27343 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27344 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27345 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27346 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27347 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27348 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27349 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27350 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27351 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27352 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27353 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27354
3f99608f
KK
273552012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27356
27357 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27358 fields.
27359
65a4de4e
CLT
273602012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27361
27362 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27363 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27364 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27365 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27366 Likewise.
27367 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27368 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27369 Likewise.
27370
15749d40
UD
273712012-05-27 Ulrich Drepper <drepper@gmail.com>
27372
27373 * po/h.po: Update from translation team.
27374
25dbcb27
AS
273752012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27376
3d3f8e55
AS
27377 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27378
25dbcb27
AS
27379 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27380 handling of denormals.
27381 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27382 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27383 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27384 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27385 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27386 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27387 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27388 Likewise.
27389
7ad47a80 273902012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27391
27392 [BZ #14152]
27393 * math/libm-test.inc (fma_test): Don't always expect underflow
27394 exception.
27395
9c6ea9fa
SP
273962012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27397
27398 [BZ #12416]
27399 * elf/tst-execstack.c: Include stackinfo.h.
27400 (do_test): Adjust test case to ensure that pthread_getattr_np
27401 behaviour remains the same after marking stack executable.
27402
a8239222
JM
274032012-05-25 Joseph Myers <joseph@codesourcery.com>
27404
27405 * sysdeps/unix/sysv/linux/kernel-features.h
27406 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27407 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27408 kernel-features.h.
27409 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27410 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27411 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27412 kernel-features.h.
27413 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27414 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27415
918b5606
L
274162012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27417
27418 * configure.in: Define the default includes to being none.
27419 * configure: Regenerated.
27420
3a097cc7
RM
274212012-05-25 Roland McGrath <roland@hack.frob.com>
27422
8422c9a5
RM
27423 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27424 * sysdeps/x86_64/setjmp.S: Likewise.
27425 * sysdeps/i386/bsd-setjmp.S: Likewise.
27426 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27427 * sysdeps/i386/setjmp.S: Likewise.
27428 * sysdeps/i386/__longjmp.S: Likewise.
27429 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27430 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27431
3a097cc7
RM
27432 * include/stap-probe.h: New file.
27433 * configure.in: Handle --enable-systemtap.
27434 * configure: Regenerated.
27435 * config.h.in (USE_STAP_PROBE): New #undef.
27436 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27437 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27438 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27439
21708942
JM
274402012-05-25 Joseph Myers <joseph@codesourcery.com>
27441
27442 [BZ #13717]
27443 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27444 to 2.4.0 where earlier.
27445 * sysdeps/unix/sysv/linux/configure: Regenerated.
27446 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
27447 <kernel-features.h>.
27448 [__ASSUME_32BITUIDS]: Make code unconditional.
27449 [!__ASSUME_32BITUIDS]: Remove conditional code.
27450 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
27451 <kernel-features.h>.
27452 [__ASSUME_32BITUIDS]: Make code unconditional.
27453 [!__ASSUME_32BITUIDS]: Remove conditional code.
27454 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
27455 [__ASSUME_32BITUIDS]: Make code unconditional.
27456 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27457 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27458 <kernel-features.h>.
27459 [__ASSUME_32BITUIDS]: Make code unconditional.
27460 [!__ASSUME_32BITUIDS]: Remove conditional code.
27461 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27462 <kernel-features.h>.
27463 [__ASSUME_32BITUIDS]: Make code unconditional.
27464 [!__ASSUME_32BITUIDS]: Remove conditional code.
27465 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27466 <kernel-features.h>.
27467 [__ASSUME_32BITUIDS]: Make code unconditional.
27468 [!__ASSUME_32BITUIDS]: Remove conditional code.
27469 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27470 <kernel-features.h>.
27471 [__ASSUME_32BITUIDS]: Make code unconditional.
27472 [!__ASSUME_32BITUIDS]: Remove conditional code.
27473 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27474 <kernel-features.h>.
27475 [__ASSUME_32BITUIDS]: Make code unconditional.
27476 [!__ASSUME_32BITUIDS]: Remove conditional code.
27477 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27478 <kernel-features.h>.
27479 [__ASSUME_32BITUIDS]: Make code unconditional.
27480 [!__ASSUME_32BITUIDS]: Remove conditional code.
27481 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27482 <kernel-features.h>.
27483 [__ASSUME_32BITUIDS]: Make code unconditional.
27484 [!__ASSUME_32BITUIDS]: Remove conditional code.
27485 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27486 <kernel-features.h>.
27487 [__ASSUME_32BITUIDS]: Make code unconditional.
27488 [!__ASSUME_32BITUIDS]: Remove conditional code.
27489 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27490 <kernel-features.h>.
27491 [__ASSUME_32BITUIDS]: Make code unconditional.
27492 [!__ASSUME_32BITUIDS]: Remove conditional code.
27493 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27494 <kernel-features.h>.
27495 [__ASSUME_32BITUIDS]: Make code unconditional.
27496 [!__ASSUME_32BITUIDS]: Remove conditional code.
27497 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27498 <kernel-features.h>.
27499 [__NR_setresgid] (__setresgid): Do not declare.
27500 [__ASSUME_32BITUIDS]: Make code unconditional.
27501 [!__ASSUME_32BITUIDS]: Remove conditional code.
27502 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27503 <kernel-features.h>.
27504 [__NR_setresuid] (__setresuid): Do not declare.
27505 [__ASSUME_32BITUIDS]: Make code unconditional.
27506 [!__ASSUME_32BITUIDS]: Remove conditional code.
27507 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27508 <kernel-features.h>.
27509 [__ASSUME_32BITUIDS]: Make code unconditional.
27510 [!__ASSUME_32BITUIDS]: Remove conditional code.
27511 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27512 <kernel-features.h>.
27513 [__ASSUME_32BITUIDS]: Make code unconditional.
27514 [!__ASSUME_32BITUIDS]: Remove conditional code.
27515 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27516 <kernel-features.h>.
27517 [__ASSUME_32BITUIDS]: Make code unconditional.
27518 [!__ASSUME_32BITUIDS]: Remove conditional code.
27519 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27520 <kernel-features.h>.
27521 [__ASSUME_32BITUIDS]: Make code unconditional.
27522 [!__ASSUME_32BITUIDS]: Remove conditional code.
27523 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27524 <kernel-features.h>.
27525 [__ASSUME_32BITUIDS]: Make code unconditional.
27526 [!__ASSUME_32BITUIDS]: Remove conditional code.
27527 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27528 <kernel-features.h>.
27529 [__ASSUME_32BITUIDS]: Make code unconditional.
27530 [!__ASSUME_32BITUIDS]: Remove conditional code.
27531 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27532 <kernel-features.h>.
27533 [__ASSUME_32BITUIDS]: Make code unconditional.
27534 [!__ASSUME_32BITUIDS]: Remove conditional code.
27535 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27536 <kernel-features.h>.
27537 [__ASSUME_32BITUIDS]: Make code unconditional.
27538 [!__ASSUME_32BITUIDS]: Remove conditional code.
27539 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27540 <kernel-features.h>.
27541 [__ASSUME_32BITUIDS]: Make code unconditional.
27542 [!__ASSUME_32BITUIDS]: Remove conditional code.
27543 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27544 <kernel-features.h>.
27545 [__ASSUME_32BITUIDS]: Make code unconditional.
27546 [!__ASSUME_32BITUIDS]: Remove conditional code.
27547 * sysdeps/unix/sysv/linux/kernel-features.h
27548 (__ASSUME_SETRESUID_SYSCALL): Remove.
27549 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27550 (__ASSUME_32BITUIDS): Likewise.
27551 (__ASSUME_LDT_WORKS): Likewise.
27552 (__ASSUME_O_DIRECTORY): Likewise.
27553 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27554 architecture but not kernel version.
27555 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27556 (__ASSUME_MMAP2_SYSCALL): Likewise.
27557 (__ASSUME_STAT64_SYSCALL): Likewise.
27558 (__ASSUME_IPC64): Likewise.
27559 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27560 <kernel-features.h>.
27561 [__ASSUME_32BITUIDS]: Make code unconditional.
27562 [!__ASSUME_32BITUIDS]: Remove conditional code.
27563 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27564 <kernel-features.h>.
27565 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27566 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27567 132096]: Remove conditional code.
27568 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27569 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27570 <kernel-features.h>.
27571 [__ASSUME_32BITUIDS]: Make code unconditional.
27572 [!__ASSUME_32BITUIDS]: Remove conditional code.
27573 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27574 <kernel-features.h>.
27575 [__ASSUME_32BITUIDS]: Make code unconditional.
27576 [!__ASSUME_32BITUIDS]: Remove conditional code.
27577 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27578 <kernel-features.h>.
27579 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27580 unconditional.
27581 (__setresgid): Do not declare.
27582 [__ASSUME_32BITUIDS]: Make code unconditional.
27583 [!__ASSUME_32BITUIDS]: Remove conditional code.
27584 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27585 <kernel-features.h>.
27586 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27587 unconditional.
27588 (__setresuid): Do not declare.
27589 [__ASSUME_32BITUIDS]: Make code unconditional.
27590 [!__ASSUME_32BITUIDS]: Remove conditional code.
27591 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27592 <kernel-features.h>.
27593 [__ASSUME_32BITUIDS]: Make code unconditional.
27594 [!__ASSUME_32BITUIDS]: Remove conditional code.
27595 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27596 <kernel-features.h>.
27597 [__ASSUME_32BITUIDS]: Make code unconditional.
27598 [!__ASSUME_32BITUIDS]: Remove conditional code.
27599
a386f1cc
RH
276002012-05-25 Richard Henderson <rth@twiddle.net>
27601
27602 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27603 dl_hwcap to ifunc resolver.
27604 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27605 elf_ifunc_invoke.
27606 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27607 dl_hwcap to ifunc resolver.
27608 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27609
b6550497
JM
276102012-05-24 Joseph Myers <joseph@codesourcery.com>
27611
27612 [BZ #14153]
27613 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27614 for |x| <= 2**-26, not 2**-57.
27615 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27616 exception.
27617
b0bc23a1
JL
276182012-05-24 Jeff Law <law@redhat.com>
27619
27620 * stdio-common/Makefile (tests): Add bug25.
27621 * stdio-common/bug25.c: New test.
27622
347c92e9
L
276232012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27624
27625 [BZ #13576]
27626 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27627 multiple of MALLOC_ALIGNMENT in size.
27628 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27629
6bcc8b3f
JM
276302012-05-24 Joseph Myers <joseph@codesourcery.com>
27631
27632 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27633 Require >= 256.
27634 (FILENAME_MAX): Use macro-int-constant.
27635 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27636 (_IOFBF): Use macro-int-constant.
27637 (_IOLBF): Likewise.
27638 (_IONBF): Likewise.
27639 (SEEK_CUR): Likewise.
27640 (SEEK_END): Likewise.
27641 (SEEK_SET): Likewise.
27642 (TMP_MAX): Likewise.
27643 (EOF): Use macro-int-constant. Require < 0.
27644 (NULL): Use macro-constant. Require == 0.
27645 (stdin): Require type to be FILE *.
27646 (stdout): Likewise.
27647 (stderr): Likewise.
27648 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27649 macro-int-constant.
27650 (EXIT_SUCCESS): Likewise.
27651 (NULL): Use macro-constant. Require == 0.
27652 (RAND_MAX): Use macro-int-constant.
27653 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27654 [C99-based standards] (strtof): Require function.
27655 [C99-based standards] (strtold): Likewise.
27656 [C99-based standards] (strtoll): Likewise.
27657 [C99-based standards] (strtoull): Likewise.
27658 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27659 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27660 [ISO || ISO99 || ISO11] (math.h): Likewise.
27661 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27662 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27663 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27664
d18ea0c5
AS
276652012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27666
27667 [BZ #14132]
56d25bb8
AS
27668 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27669 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27670 * intl/dgettext.c (DCGETTEXT): Likewise.
27671 * intl/gettext.c (DCGETTEXT): Likewise.
27672 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27673 * posix/regex_internal.h (gettext): Likewise.
27674 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27675 Remove declaration.
27676 * include/argz.h (__argz_count_internal)
27677 (__argz_stringify_internal): Remove declaration.
27678 (__argz_count, __argz_stringify): Declare hidden proto.
27679 * intl/dcgettext.c: Remove use of INTDEF.
27680 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27681 * string/argz-stringify.c: Likewise.
27682 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27683 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27684 Declare hidden proto.
d18ea0c5
AS
27685 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27686 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27687 Declare hidden proto.
27688 * include/stdio.h (__asprintf_internal): Don't declare.
27689 (__asprintf): Don't define as macro. Declare hidden proto.
27690 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27691 (__fsetlocking): Declare hidden proto.
27692 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27693 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27694 hidden proto.
27695 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27696 (_IO_setlinebuf): Remove use of INTUSE.
27697 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27698 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27699 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27700 Remove declaration.
27701 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27702 (_IO_do_flush): Remove use of INTUSE.
27703 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27704 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27705 (_IO_adjust_column, _IO_least_wmarker)
27706 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27707 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27708 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27709 (_IO_default_doallocate, _IO_wdefault_doallocate)
27710 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27711 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27712 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27713 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27714 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27715 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27716 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27717 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27718 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27719 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27720 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27721 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27722 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27723 proto.
27724 (_IO_flush_all_internal, _IO_adjust_column_internal)
27725 (_IO_default_uflow_internal, _IO_default_finish_internal)
27726 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27727 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27728 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27729 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27730 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27731 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27732 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27733 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27734 (_IO_file_close_internal, _IO_file_close_it_internal)
27735 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27736 (_IO_file_init_internal, _IO_file_attach_internal)
27737 (_IO_file_fopen_internal, _IO_file_read_internal)
27738 (_IO_file_sync_internal, _IO_file_seek_internal)
27739 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27740 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27741 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27742 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27743 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27744 (_IO_list_all_internal, _IO_link_in_internal)
27745 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27746 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27747 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27748 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27749 (_IO_do_write_internal, _IO_padn_internal)
27750 (_IO_getline_info_internal, _IO_getline_internal)
27751 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27752 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27753 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27754 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27755 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27756 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27757 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27758 with libc_hidden_ver, remove use of INTUSE.
27759 * libio/genops.c: Likewise.
27760 * libio/freopen.c: Likewise.
27761 * libio/freopen64.c: Likewise.
27762 * libio/iofclose.c: Likewise.
27763 * libio/iofdopen.c: Likewise.
27764 * libio/iofflush.c: Likewise.
27765 * libio/iofflush_u.c: Likewise.
27766 * libio/iofgets.c: Likewise.
27767 * libio/iofgets_u.c: Likewise.
27768 * libio/iofopen.c: Likewise.
27769 * libio/iofopncook.c: Likewise.
27770 * libio/iofread.c: Likewise.
27771 * libio/iofread_u.c: Likewise.
27772 * libio/ioftell.c: Likewise.
27773 * libio/iofwrite.c: Likewise.
27774 * libio/iogetline.c: Likewise.
27775 * libio/iogets.c: Likewise.
27776 * libio/iogetwline.c: Likewise.
27777 * libio/iopadn.c: Likewise.
27778 * libio/iopopen.c: Likewise.
27779 * libio/ioseekoff.c: Likewise.
27780 * libio/ioseekpos.c: Likewise.
27781 * libio/iosetbuffer.c: Likewise.
27782 * libio/iosetvbuf.c: Likewise.
27783 * libio/ioungetc.c: Likewise.
27784 * libio/ioungetwc.c: Likewise.
27785 * libio/iovdprintf.c: Likewise.
27786 * libio/iovsprintf.c: Likewise.
27787 * libio/iovsscanf.c: Likewise.
27788 * libio/memstream.c: Likewise.
27789 * libio/obprintf.c: Likewise.
27790 * libio/oldfileops.c: Likewise.
27791 * libio/oldiofclose.c: Likewise.
27792 * libio/oldiofdopen.c: Likewise.
27793 * libio/oldiofopen.c: Likewise.
27794 * libio/oldiopopen.c: Likewise.
27795 * libio/oldstdfiles.c: Likewise.
27796 * libio/putc.c: Likewise.
27797 * libio/setbuf.c: Likewise.
27798 * libio/setlinebuf.c: Likewise.
27799 * libio/stdfiles.c: Likewise.
27800 * libio/strops.c: Likewise.
27801 * libio/vasprintf.c: Likewise.
27802 * libio/vscanf.c: Likewise.
27803 * libio/vsnprintf.c: Likewise.
27804 * libio/vswprintf.c: Likewise.
27805 * libio/wfiledoalloc.c: Likewise.
27806 * libio/wfileops.c: Likewise.
27807 * libio/wgenops.c: Likewise.
27808 * libio/wmemstream.c: Likewise.
27809 * libio/wstrops.c: Likewise.
27810 * libio/__fpurge.c: Likewise.
27811 * libio/__fsetlocking.c: Likewise.
27812 * assert/assert.c: Likewise.
27813 * debug/fgets_chk.c: Likewise.
27814 * debug/fgets_u_chk.c: Likewise.
27815 * debug/fread_chk.c: Likewise.
27816 * debug/fread_u_chk.c: Likewise.
27817 * debug/gets_chk.c: Likewise.
27818 * debug/obprintf_chk.c: Likewise.
27819 * debug/vasprintf_chk.c: Likewise.
27820 * debug/vdprintf_chk.c: Likewise.
27821 * debug/vsnprintf_chk.c: Likewise.
27822 * debug/vsprintf_chk.c: Likewise.
27823 * malloc/mtrace.c: Likewise.
27824 * misc/error.c: Likewise.
27825 * misc/syslog.c: Likewise.
27826 * stdio-common/asprintf.c: Likewise.
27827 * stdio-common/fxprintf.c: Likewise.
27828 * stdio-common/getw.c: Likewise.
27829 * stdio-common/isoc99_fscanf.c: Likewise.
27830 * stdio-common/isoc99_scanf.c: Likewise.
27831 * stdio-common/isoc99_vfscanf.c: Likewise.
27832 * stdio-common/isoc99_vscanf.c: Likewise.
27833 * stdio-common/isoc99_vsscanf.c: Likewise.
27834 * stdio-common/printf-prs.c: Likewise.
27835 * stdio-common/printf_fp.c: Likewise.
27836 * stdio-common/printf_fphex.c: Likewise.
27837 * stdio-common/printf_size.c: Likewise.
27838 * stdio-common/putw.c: Likewise.
27839 * stdio-common/scanf.c: Likewise.
27840 * stdio-common/sprintf.c: Likewise.
27841 * stdio-common/tmpfile.c: Likewise.
27842 * stdio-common/vfprintf.c: Likewise.
27843 * stdio-common/vfscanf.c: Likewise.
27844 * stdlib/strfmon_l.c: Likewise.
27845 * sunrpc/openchild.c: Likewise.
27846 * sunrpc/xdr_stdio.c: Likewise.
27847 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27848 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27849
d6c33fda
RM
278502012-05-24 Roland McGrath <roland@hack.frob.com>
27851
c1487492
RM
27852 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27853
27854 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27855 in the third column, to generate for the shared library an IFUNC
27856 that uses _dl_vdso_vsym.
27857 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27858 * Makeconfig (object-suffixes-noshared): New variable.
27859
27860 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27861 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27862 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27863 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27864
d6c33fda
RM
27865 [BZ #14132]
27866 * include/sys/time.h (__gettimeofday): Remove macro.
27867 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27868 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27869 Remove INTDEF.
27870 (__gettimeofday): Add libc_hidden_def.
27871 (gettimeofday): Add libc_hidden_weak.
27872 * sysdeps/mach/gettimeofday.c: Likewise.
27873 * sysdeps/posix/gettimeofday.c: Likewise.
27874 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27875 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27876 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27877 (__gettimeofday_internal): Remove strong_alias.
27878 (__gettimeofday): Add libc_hidden_def.
27879 (gettimeofday): Add libc_hidden_weak.
27880 * sysdeps/unix/syscalls.list (gettimeofday):
27881 Remove __gettimeofday_internal alias.
27882
b5a2bbe6
L
278832012-05-24 Daniel Jacobowitz <drow@false.org>
27884 H.J. Lu <hongjiu.lu@intel.com>
27885
27886 [BZ #12495]
27887 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27888 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27889 (largebin_index_32_big): New.
27890 (largebin_index): Use it for 16-byte alignment.
27891 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27892 correction with front_misalign.
27893
cfba4fda
L
278942012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27895
7f907421
L
27896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27898 Likewise.
27899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27900 Likewise.
27901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27902 Likewise.
27903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27904 Likewise.
27905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27906 Likewise.
27907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27908 Likewise.
27909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27910 Likewise.
27911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27912 Likewise.
27913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27914 Likewise.
27915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27916 Likewise.
27917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27918 Likewise.
27919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27920 Likewise.
27921
cfba4fda
L
27922 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27923 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27924
80bad0cc
JM
279252012-05-24 Joseph Myers <joseph@codesourcery.com>
27926
7a25eb06
JM
27927 [BZ #10846]
27928 [BZ #14036]
27929 * math/libm-test.inc (exp_test): Add test from bug 14036.
27930 (pow_test): Add test from bug 10846.
27931
795405f9
JM
27932 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27933 and other flags.
27934 (special_function): Do not include flags in test name.
27935 (parse_args): Likewise.
27936 * sysdeps/i386/fpu/libm-test-ulps: Update.
27937 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27938 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27939 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27941
80bad0cc
JM
27942 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27943 exceptions.
27944 * math/libm-test.inc ("Philosophy"): Update comment about
27945 exception testing.
27946 (UNDERFLOW_EXCEPTION): New macro.
27947 (UNDERFLOW_EXCEPTION_OK): Likewise.
27948 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27949 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27950 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27951 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27952 (INVALID_EXCEPTION_OK): Update value.
27953 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27954 (OVERFLOW_EXCEPTION_OK): Likewise.
27955 (IGNORE_ZERO_INF_SIGN): Likewise.
27956 (test_exceptions): Handle underflow exceptions.
27957 (acos_test): Update for underflow exception expectations.
27958 (cexp_test): Likewise.
27959 (clog_test): Likewise.
27960 (clog10_test): Likewise.
27961 (csqrt_test): Likewise.
27962 (ctan_test): Likewise.
27963 (ctanh_test): Likewise.
27964 (exp_test): Likewise.
27965 (exp10_test): Likewise.
27966 (exp2_test): Likewise.
27967 (expm1_test): Likewise.
27968 (fma_test): Likewise.
27969 (j0_test): Likewise.
27970 (jn_test): Likewise.
27971 (nexttoward_test): Likewise.
27972 (pow_test): Likewise.
27973 (scalbn_test): Likewise.
27974 (scalbln_test): Likewise.
27975 (tan_test): Likewise.
27976 (y1_test): Likewise.
27977 * sysdeps/i386/fpu/libm-test-ulps: Update.
27978 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27979
9e0e3d0b
DM
279802012-05-23 David S. Miller <davem@davemloft.net>
27981
27982 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
27983 (__libc_sigaction): Remove unused local variables.
27984
ccd0a08f
L
279852012-05-23 H.J. Lu <hongjiu.lu@intel.com>
27986
27987 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
27988
62bdf9a6
PE
279892012-05-23 Paul Eggert <eggert@cs.ucla.edu>
27990
f8591f80
PE
27991 mktime: avoid signed integer overflow
27992 * time/mktime.c (__mktime_internal): Do not mishandle the case
27993 where diff == INT_MIN.
27994
94c7d826
PE
27995 mktime: simplify computation of average
27996 * time/mktime.c (ranged_convert): Use new time_t_avg function
27997 instead of rolling our own (probably-slower) code.
27998
ce73d683
PE
27999 mktime: do not assume signed right shift propagates sign bit
28000 * time/mktime.c (isdst_differ): New static function.
28001 (__mktime_internal): No need to normalize tm_isdst now.
28002 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28003 tm_isdst values.
28004
72a22e59
PE
28005 mktime: merge another wrapv change from gnulib
28006 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28007 from some compilers.
28008
68605433
PE
28009 mktime: remove incorrect attempt at unusual arithmetics
28010 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28011 The code didn't really work on such machines anyway.
28012 (TYPE_MINIMUM): Assume two's complement.
28013 (twos_complement_arithmetic): Verify that long_int and time_t
28014 are two's complement (or unsigned, in the latter case).
28015
03cf7fe3
PE
28016 mktime: check signed shifts on long_int and time_t, too
28017 * time/mktime.c (SHR): Check that shifts work as desired
28018 on the types long_int and time_t too, as SHR is used on
28019 such types.
28020
f04dfbc2
PE
28021 mktime: do not assume 'long' is wide enough
28022 * time/mktime.c (verify): Move decl up.
28023 (long_int): New type.
28024 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28025 to remove assumption in the code that 'long' is wide enough to
28026 store year values. This assumption is not true on x32 and on
28027 some non-glibc platforms.
28028
62bdf9a6
PE
28029 mktime: merge wrapv change from gnulib
28030 * time/mktime.c (WRAPV): New macro.
28031 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28032 (guess_time_tm, __mktime_internal): Do not assume that signed
28033 integer overflow wraps around; modern compilers generate code
28034 where this assumption is no longer valid.
28035
5e292e4f
L
280362012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28037
28038 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28039 Replace "jmp L(pseudo_end)" with "ret".
28040 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28041 Likewise.
28042
8caf8c87
AJ
280432012-05-23 Andreas Jaeger <aj@suse.de>
28044
28045 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28046 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28047
1a09dc56
AJ
280482012-05-23 Andreas Jaeger <aj@suse.de>
28049 Maximilian Attems <max@stro.at>
28050
28051 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28052 New macros.
28053
1c87aba0
L
280542012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28055
28056 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28057 code so that pseudo_end is just ret and the stack pointer is
28058 correct also for static library in error case.
28059
40e45bd5
JM
280602012-05-23 Joseph Myers <joseph@codesourcery.com>
28061
c2670533
JM
28062 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28063 move to syscalls.list.
28064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28065 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28067 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28068
40e45bd5
JM
28069 * manual/install.texi (Running make install): Do not mention Linux
28070 kernel version for which pt_chown is not needed.
28071 (Linux): Do not mention problems with nscd with 2.0 kernels.
28072 * INSTALL: Regenerated.
28073
be08eda5
AJ
280742012-05-23 Andreas Jaeger <aj@suse.de>
28075
28076 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28077 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28078 macro.
28079 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28080 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28081 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28082 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28083 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28084 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28085 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28086 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28087 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28088 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28089 * sysdeps/unix/sysv/linux/bits/in.h
28090 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28091
a6a056bb
RM
280922012-05-22 Roland McGrath <roland@hack.frob.com>
28093
28094 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28095 (PREPARE_VERSION): Just use assert instead, it will be elided
28096 under [NDEBUG] anyway.
28097
c9009328
L
280982012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28099
28100 * sysdeps/unix/sysv/linux/Makefile: Include
28101 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28102 (sysdep_routines): Remove sysctl.
c9009328
L
28103 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28104 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28105 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28106 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28107 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28108
73338355
AJ
281092012-05-22 Andreas Jaeger <aj@suse.de>
28110
28111 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28112 that pseudo_end is just ret and the stack pointer is correct also
28113 for static library in error case.
28114
d44638b0
PP
281152012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28116
28117 [BZ #14122]
28118 * nss/nsswitch.c (defconfig_entries): New variable.
28119 (__nss_database_lookup): Don't leak defconfig entries.
28120 (nss_parse_service_list): Don't leak on error paths.
28121 (free_database_entries): New function.
28122 (free_defconfig): New function.
28123 (free_mem): Move common code to free_database_entries.
28124
31a39bd8
L
281252012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28126
da0331a8
L
28127 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28128 Add arch_prctl.
28129 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28130
31a39bd8
L
28131 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28132 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28133 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28134 New macro.
28135 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28136 (INTERNAL_SYSCALL_TYPES): Likewise.
28137 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28138 (LOAD_REGS_TYPES_[1-6]): Likewise.
28139 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28140 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28141
45470df3
AZ
281422012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28143
28144 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28145 copysignl for GLIBC_2_0.
28146 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28147 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28148 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28149 logbl for GLIBC_2_0.
28150 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28151 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28152
98a61bcb
L
281532012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28154
a4f6e481
L
28155 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28156 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28157
f63d5db6
L
28158 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28159 Use "neg %eax".
28160
98a61bcb
L
28161 * time/mktime.c: Update copyright years.
28162
95770f14
PE
281632012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28164
6226efbd
PE
28165 mktime: merge comment-quoting-style change from gnulib
28166 * time/mktime.c: Quote 'like this' in comments.
28167 The GNU coding standards suggest that we no longer quote `like this',
28168 as "`" and "'" are typically rendered asymmetrically nowadays.
28169 The typical gnulib style is to quote 'like this' when quoting
28170 code, and "like this" when quoting English.
28171
b99e4f78
PE
28172 * time/mktime.c (compile-command): Add "-I.".
28173
643e01e6
PE
28174 mktime: merge mktime-internal.h change from gnulib
28175 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28176
2554247d
PE
28177 mktime: merge time_r change from gnulib
28178 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28179
826dd0ab
PE
28180 mktime: merge DEBUG change from gnulib
28181 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28182 case system <time.h> has a #define.
28183
bd83aabe
PE
28184 mktime: merge <sys/types.h> change from gnulib
28185 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28186 since <time.t> is now guaranteed to define time_t.
28187
95770f14
PE
28188 mktime: merge HAVE_CONFIG_H change from gnulib
28189 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28190
5e1a27a9
L
281912012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28192
0e44a77e
L
28193 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28194 Use "neg %eax".
28195
5e1a27a9
L
28196 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28197 __rlim_t cast.
28198 (struct rusage): Use anonymous union to pad each field to
28199 __syscall_slong_t.
28200
46259bec
DM
282012012-05-21 David S. Miller <davem@davemloft.net>
28202
28203 * Makefules (o-iterator): Remove .s cases.
28204 (compile-command.s): Delete.
28205 (COMPILE.s): Delete.
28206 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28207
59f0c22e
JM
282082012-05-21 Joseph Myers <joseph@codesourcery.com>
28209
28210 * configure.in (libc_cv_predef_stack_protector): Only consider
28211 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28212 * configure: Regenerated.
28213
20c07380
L
282142012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28215
bbb3154b
L
28216 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28217 New macro. Use R*LP on int and pointer.
28218 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28219 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28220 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28221 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28222
20c07380
L
28223 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28224 [__WORDSIZE_TIME64_COMPAT32] instead of
28225 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28226 (struct utmp): Likewise.
28227 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28228 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28229 Renamed to ...
28230 (__WORDSIZE_TIME64_COMPAT32): This.
28231 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28232 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28233 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28234 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28235 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28236 (__WORDSIZE_TIME64_COMPAT32): New macro.
28237
d8d1017e
AJ
282382012-05-21 Andreas Jaeger <aj@suse.de>
28239
28240 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28241 only if [SHARED]. Add prototype for __wcschr_ia32.
28242
6c7fb145
RM
282432012-05-21 Roland McGrath <roland@hack.frob.com>
28244
28245 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28246 of %rbp unmolested in the jmp_buf while mangling the low bits.
28247 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28248 unmolested high bits of %rbp while demangling the low bits.
28249 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28250
66274218
AJ
282512012-05-21 Andreas Jaeger <aj@suse.de>
28252
07c58f8f
AJ
28253 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28254 * sunrpc/svc_simple.c: Use it for registerrpc.
28255 * sunrpc/xcrypt.c: Use it for passwd2des.
28256
66274218
AJ
28257 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28258
61f65140
L
282592012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28260
28261 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28262 Don't define if [__SYSCALL_WORDSIZE != 32].
28263 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28264 New macro.
28265
5fefb436
AJ
282662012-05-21 Bruno Haible <bruno@clisp.org>
28267 Andreas Jaeger <aj@suse.de>
28268
28269 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28270 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28271 inptr and inend for must_buffer_ch.
28272 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28273 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28274 * stdio-common/Makefile (tests): Remove bug15.
28275 (bug15-ENV): Remove macro.
28276 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28277 anymore.
28278
d8e272ab
AJ
282792012-05-19 Andreas Jaeger <aj@suse.de>
28280 Roland McGrath <roland@hack.frob.com>
28281
28282 * manual/contrib.texi: Completely rewritten. It contains now an
28283 alphabetical list of contributors and their contributions.
28284
4a56a162
RH
282852012-05-21 Richard Henderson <rth@twiddle.net>
28286
28287 * misc/getauxval.c (__getauxval): Use unsigned long int.
28288 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28289 (getauxval): Use unsigned long int.
28290
d024d23c
L
282912012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28292
28293 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28294
cbc00a03
RM
282952012-05-21 Roland McGrath <roland@hack.frob.com>
28296
28297 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28298 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28299 __alignof__ (long double).
28300
478143fa
AZ
283012012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28302
28303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28304
c7683a6d
RH
283052012-05-20 Richard Henderson <rth@twiddle.net>
28306
28307 * misc/getauxval.c: New file.
28308 * misc/sys/auxv.h: New file.
28309 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28310 (routines): Add getauxval.
28311 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28312 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28313 * elf/dl-sysdep.c (_dl_auxv): Remove.
28314 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28315 * elf/dl-support.c (_dl_auxv): New variable.
28316 (_dl_aux_init): Initialize it.
28317 * manual/startup.texi (Auxiliary Vector): New node.
28318 * sysdeps/generic/bits/hwcap.h: New file.
28319 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28320 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28321 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28322 * sysdeps/sparc/sysdep.h: ... here. Include it.
28323 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28324 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28326 Update.
c7683a6d
RH
28327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28328 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28329 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28330 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28331 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28332 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28333 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28334 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28335
a6f1845d
AZ
283362012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28337
28338 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28339
cbcbe830
DM
283402012-05-19 David S. Miller <davem@davemloft.net>
28341
28342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28343
e0b16cc2
JM
283442012-05-19 Joseph Myers <joseph@codesourcery.com>
28345
28346 [BZ #14123]
28347 * math/s_ccosh.c: Include <float.h>
28348 (__ccosh): Avoid internal overflow calculating sinh and cosh
28349 values before multiplying by sin and cos values.
28350 * math/s_ccoshf.c: Likewise.
28351 * math/s_ccoshl.c: Likewise.
28352 * math/s_csin.c: Likewise.
28353 * math/s_csinf.c: Likewise.
28354 * math/s_csinl.c: Likewise.
28355 * math/s_csinh.c: Likewise.
28356 * math/s_csinhf.c: Likewise.
28357 * math/s_csinhl.c: Likewise.
28358 * math/libm-test.inc (ccos_test): Add more tests.
28359 (ccosh_test): Likewise.
28360 (csin_test): Likewise.
28361 (csinh_test): Likewise.
28362 * sysdeps/i386/fpu/libm-test-ulps: Update.
28363 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28364
6ad13e08
L
283652012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28366
f66f0ce8
L
28367 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28368 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28369
6ad13e08
L
28370 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28371
b1d072a7
JM
283722012-05-19 Joseph Myers <joseph@codesourcery.com>
28373
28374 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28375 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28376 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28377 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28378 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28379 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28380 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28381 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28382 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28383 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28384 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28385 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28386 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28387 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28388 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28389 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28390 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28391 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28392 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28393 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28394 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28395 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28396 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28397 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28398 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28399 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28400 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28401 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28402 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28403 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28404 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28405
9eae47cb
AJ
284062012-05-18 Andreas Jaeger <aj@suse.de>
28407
28408 * csu/.gitignore: Delete.
28409
bb07f69f
L
284102012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28411
28412 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28413 (timex): Use __syscall_slong_t.
28414
e6bdb741
AJ
284152012-05-18 Andreas Jaeger <aj@suse.de>
28416 Carlos O'Donell <carlos_odonell@mentor.com>
28417
28418 * manual/install.texi (Configuring and compiling): Update
28419 description about files modified in the source directory.
d6c33fda 28420 * INSTALL: Regenerated.
e6bdb741 28421
1b74487e
L
284222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28423
28424 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28425 value. Use "or" to set return value to -1.
28426 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28427 negate return value.
28428
a88b64b9
TMQMF
284292012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28430
28431 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28432 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28433 failure if the compiler has Graphite support disabled.
28434 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28435 Likewise.
28436 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28437 CFLAGS-memmove.c): Likewise.
28438 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28439 Likewise.
28440
3707636e
L
284412012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28442
610b8622
L
28443 * sysdeps/x86_64/x32/_itoa.h: New file.
28444
7cd195df
L
28445 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28446 getdents system call only if kernel and user dirents have the
28447 same d_ino and d_off.
28448
94b07d20
L
28449 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28450 LLONG_MAX != LONG_MAX.
28451 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28452 (_fitoa_word): Likewise.
28453
18298070
L
28454 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28455 years.
28456 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28457 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28458 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28459
553c7ea4
L
28460 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28461 include <bits/wordsize.h>. Check __x86_64__ instead of
28462 __WORDSIZE.
28463 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28464 if __x86_64__ is defined. Use anonymous union on fpstate.
28465
3707636e
L
28466 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28467 anonymous union.
28468
b53ef01a
AS
284692012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28470
37fb1dc0
AS
28471 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28472 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28473 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28474 Refer to _rtld_local_ro instead of _rtld_global_ro.
28475 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28476 Likewise.
28477 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28478 Likewise.
28479 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28480 Likewise.
28481 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28482 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28483 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28484
b53ef01a
AS
28485 * sysdeps/powerpc/powerpc32/dl-machine.c
28486 (__elf_machine_runtime_setup) [PROF]: Don't reference
28487 _dl_prof_resolve.
28488
7a185db2
AJ
284892012-05-18 Andreas Jaeger <aj@suse.de>
28490
28491 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28492 function only available for GCCs before 3.4 since GCC 3.4
28493 introduced a builtin.
28494 (lrint): Likewise.
28495 (llrintf): Likewise.
28496 (llrint): Likewise.
28497 (fmaxf): Likewise.
28498 (fmax): Likewise.
28499 (fminf): Likewise.
28500 (fmin): Likewise.
28501 (rint): Likewise.
28502 (rintf): Likewise.
28503 (nearbyint): Likewise.
28504 (nearbyintf): Likewise.
28505 (ceil): Likewise.
28506 (ceilf): Likewise.
28507 (floor): Likewise.
28508 (floorf): Likewise.
28509
3e5aef87
L
285102012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28511
428bd707
L
28512 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28513 on both fields and cast pointer to __syscall_ulong_t.
28514
3e5aef87
L
28515 * bits/types.h (__fsword_t): New type.
28516 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28517 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28518 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28519 (__FSWORD_T_TYPE): Likewise.
28520 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28521 (__FSWORD_T_TYPE): Likewise.
28522 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28523 (__FSWORD_T_TYPE): Likewise.
28524 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28525 (__FSWORD_T_TYPE): Likewise.
28526 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28527 __SWORD_TYPE with __fsword_t.
28528 (statfs64): Likewise.
28529
1ba7c3dc
DM
285302012-05-17 David S. Miller <davem@davemloft.net>
28531
28532 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28533
59910343
AJ
285342012-05-17 Andreas Jaeger <aj@suse.de>
28535
28536 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28537 warning.
28538
2e4c1e9e
L
285392012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28540
28541 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28542
de7f5ce7
AJ
285432012-05-17 Andreas Jaeger <aj@suse.de>
28544
28545 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28546 when it is used.
28547
286abc3d
CM
285482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28549
28550 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28551
477cc68e
L
285522012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28553
28554 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28555 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28556
1a0994f5
CD
285572012-05-17 Andreas Jaeger <aj@suse.de>
28558 Carlos O'Donell <carlos_odonell@mentor.com>
28559
28560 [BZ #14059]
28561 * sysdeps/x86_64/multiarch/init-arch.h
28562 (bit_YMM_Usable): Rename to...
28563 (bit_AVX_Usable): ... this.
28564 (bit_FMA4_Usable): New macro.
28565 (bit_XMM_state): New macro.
28566 (bit_YMM_state): New macro.
28567 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28568 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28569 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28570 (CPUID_OSXSAVE): New macro.
28571 (CPUID_AVX): New macro.
28572 (CPUID_FMA4): New macro.
28573 (index_YMM_Usable): Rename to...
28574 (index_AVX_Usable): ... this.
28575 (HAS_AVX): Use HAS_ARCH_FEATURE.
28576 (HAS_FMA4): Likewise.
28577 (HAS_YMM_USABLE): Remove.
28578 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28579 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28580 are present.
28581 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28582 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28583 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28584 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28585 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28586
0af797de
CM
285872012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28588
28589 * math/libm-test.c: Support platforms without multiple rounding modes.
28590 * math/bug-nextafter.c: Support platforms without FP exceptions.
28591 * math/bug-nexttoward.c: Likewise.
28592 * math/test-fenv.c: Likewise.
28593 * math/test-misc.c: Likewise.
28594 * stdlib/bug-getcontext.c: Likewise.
28595
e39745ff
AJ
285962012-05-17 Andreas Jaeger <aj@suse.de>
28597
28598 * manual/examples/search.c (critter_cmp): Change signature to
28599 avoid warnings.
28600 * manual/string.texi (Collation Functions): Likewise.
28601
48970aba
L
286022012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28603
28604 * bits/types.h: Fold copyright years.
28605 * bits/typesizes.h: Likewise.
28606 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28607 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28608 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28609 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28610 * time/time.h: Likewise.
28611
bedee953
PP
286122012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28613
28614 [BZ #208]
28615 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28616 in instead of returning them. Return void.
28617 (__libc_mallinfo): Accumulate over all arenas.
28618 (__malloc_stats): Adjust for change in int_mallinfo interface.
28619
61653dfb
RM
286202012-05-16 Roland McGrath <roland@hack.frob.com>
28621
30b99d79
RM
28622 [BZ #10375]
28623 * configure.in (NM): Add AC_CHECK_TOOL for it.
28624 (libc_extra_cflags): New substituted variable.
28625 Check for -fstack-protector being used implicitly.
28626 * configure: Regenerated.
28627 * config.make.in (config-extra-cflags): New variable,
28628 gets @libc_extra_cflags@.
28629 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28630
61653dfb
RM
28631 [BZ #10375]
28632 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28633 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28634 * configure: Regenerated.
28635 * config.make.in (CPPUNDEFS): New substituted variable.
28636 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28637 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28638 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28639
661768bb
L
286402012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28641
28642 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28643 (mq_attr): Use __syscall_slong_t.
28644
d4261567
L
286452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28646
28647 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28648 Check __x86_64__ instead of __WORDSIZE.
28649 (_STAT_VER_LINUX): Likewise.
28650 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28651 __syscall_ulong_t and __syscall_slong_t.
28652 (stat64): Likewise.
28653
cf3ff365
L
286542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28655
28656 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28657
76cf3e4d
L
286582012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28659
28660 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28661
a637753a
L
286622012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28663
28664 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28665 __syscall_ulong_t.
28666
d5e05119
L
28667 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28668 include <bits/wordsize.h>. Check __x86_64__ instead of
28669 __WORDSIZE.
28670 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28671 defined.
28672 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28673
f62ee380
L
28674 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28675 include <bits/wordsize.h>. Check __x86_64__ instead of
28676 __WORDSIZE.
28677 (user_regs_struct): Use "__extension__ unsigned long long"
28678 instead of "unsigned long" if __x86_64__ is defined.
28679 (user): Likewise. Pad after pointer field if __ILP32__ is
28680 defined.
28681
4e124ced
JM
286822012-05-16 Joseph Myers <joseph@codesourcery.com>
28683
6a3951a0
JM
28684 * configure.in (makeinfo): Require version 4.5 or later. Allow
28685 versions 5 to 9.
28686 * configure: Regenerated.
28687 * manual/install.texi (texinfo): Increase version requirement to
28688 4.5 or later.
28689 * INSTALL: Regenerated.
28690
4e124ced
JM
28691 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28692
953ca31a
L
286932012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28694
28695 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28696
617aca05
L
28697 * sysdeps/x86_64/x32/ffs.c: New file.
28698
5762f7ae
L
28699 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28700 __syscall_ulong_t.
28701 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28702 defined. Use __syscall_ulong_t.
28703 (shminfo): Use __syscall_ulong_t.
28704 (shm_info): Likewise.
28705
a26b6856
L
28706 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28707 __syscall_ulong_t.
28708
cb2b9ef7
L
28709 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28710 <bits/wordsize.h>.
28711 (msgqnum_t): Use __syscall_ulong_t.
28712 (msglen_t): Likewise.
28713 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28714 __syscall_ulong_t.
28715
34683bb0
L
28716 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28717 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28718
84a68786
L
28719 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28720
48baa5f1
L
28721 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28722 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28723
180be88b
L
28724 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28725 __syscall_slong_t.
28726
5e90c8ad
L
28727 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28728 include <bits/wordsize.h>. Check __x86_64__ instead of
28729 __WORDSIZE.
28730
23dfb58b
L
28731 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28732 "unsigned long long int" if __x86_64__ is defined.
28733 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28734
ce5d54b0
L
28735 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28736 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28737 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28738
13dc9eac
L
28739 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28740 <stdint.h>.
28741 (GET_PC): Cast to uintptr_t first.
28742 (GET_FRAME): Likewise.
28743 (GET_STACK): Likewise.
28744
a7895d15
L
28745 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28746 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28747 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28748 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28749 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28750 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28751 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28752 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28753 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28754 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28755 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28756 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28757 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28758 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28759 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28760 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28761 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28762 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28763 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28764 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28765 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28766 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28767 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28768 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28769 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28770 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28771 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28772 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28773 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28774
656416c9
AS
287752012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28776
5bd66283
AS
28777 * Makerules (+depfiles): Also collect depfiles from .oS in
28778 $(extra-objs).
28779 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28780 .oS, $(libnldbl-routines)).
28781
656416c9
AS
28782 * Makerules (native-compile-mkdep-flags): Define.
28783 * sunrpc/Makefile (extra-objs): Add $(addprefix
28784 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28785 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28786 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28787 calling $(make-target-directory).
28788
a46f2169
L
287892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28790
28791 * bits/types.h (__snseconds_t): Removed.
28792 * time/time.h (struct timespec): Replace __snseconds_t with
28793 __syscall_slong_t.
28794 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28795 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28796 Likewise.
28797 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28798 (__SNSECONDS_T_TYPE): Likewise.
28799 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28800 (__SNSECONDS_T_TYPE): Likewise.
28801 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28802 (__SNSECONDS_T_TYPE): Likewise.
28803
6af6528b
L
288042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28805
28806 * sysdeps/mach/hurd/bits/typesizes.h
28807 (__SYSCALL_SLONG_TYPE): New macro.
28808 (__SYSCALL_ULONG_TYPE): Likewise.
28809
de986b56
L
288102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28811
28812 * bits/types.h (__syscall_slong_t): New type.
28813 (__syscall_ulong_t): Likewise.
28814
28815 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28816 (__SYSCALL_ULONG_TYPE): Likewise.
28817 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28818 (__SYSCALL_SLONG_TYPE): Likewise.
28819 (__SYSCALL_ULONG_TYPE): Likewise.
28820 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28821 (__SYSCALL_SLONG_TYPE): Likewise.
28822 (__SYSCALL_ULONG_TYPE): Likewise.
28823 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28824 (__SYSCALL_SLONG_TYPE): Likewise.
28825 (__SYSCALL_ULONG_TYPE): Likewise.
28826
85736dc7
L
288272012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28828
28829 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28830 Add sigaltstack-offsets.sym.
28831 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28832 <sigaltstack-offsets.h>.
28833 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28834 longjmp_msg pointer.
28835 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28836 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28837 signal stack.
28838 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28839
cc03b296
JM
288402012-05-15 Joseph Myers <joseph@codesourcery.com>
28841
a9538892
JM
28842 * elf/stackguard-macros.h: Remove file.
28843 * sysdeps/generic/stackguard-macros.h: New file.
28844 * sysdeps/i386/stackguard-macros.h: Likewise.
28845 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28846 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28847 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28848 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28849 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28850 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28851 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28852 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28853 <elf/stackguard-macros.h>.
28854
cc03b296
JM
28855 [BZ #14109]
28856 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28857 __aligned__ in attribute.
28858 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28859 (gregset_t): Likewise.
28860
93171016
L
288612012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28862
28863 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28864 * sysdeps/x86_64/64/Implies-after: Here. New file.
28865 * sysdeps/x86_64/x32/Implies-after: New file.
28866
d86813a0
L
288672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28868
28869 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28870 and access return value for _dl_profile_fixup. Use R10_LP to
28871 load frame size.
28872
2953ec75
L
288732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28874
28875 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28876
3b550e9e
L
288772012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28878
28879 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28880 * sysdeps/x86_64/x32/sysdep.h: New file.
28881
eda41706
L
288822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28883
28884 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28885 * sysdeps/x86_64/setjmp.S: Likewise.
28886
9ea01d93
AZ
288872012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28888
28889 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28890 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28891 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28892 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28893 remove unused global constant.
28894
02a91938
CM
288952012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28896
28897 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28898 include of <not-cancel.h>.
28899
6540185f
RM
289002012-05-15 Roland McGrath <roland@hack.frob.com>
28901
28902 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28903
509072a0
AJ
289042012-05-15 Jeff Law <law@redhat.com>
28905 Andreas Jaeger <aj@suse.de>
28906
28907 [BZ #13594]
28908 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28909 out from...
28910 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28911 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28912 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28913 code changing __hst_map_handle.map.
28914
ba75122d
RM
289152012-05-15 Roland McGrath <roland@hack.frob.com>
28916
28917 * configure.in (sysnames): Look for Implies-before and Implies-after
28918 files.
28919 * configure: Regenerated.
28920
890d8bd8
L
289212012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28922
28923 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28924 8-byte data alignment with LP_SIZE alignment.
28925
f6ee6623
L
289262012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28927
28928 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28929 into R10_LP.
28930
ea2626f6
L
289312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28932
28933 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28934
085f715e
L
289352012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28936
28937 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28938 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28939 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28940 Likewise.
28941 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28942
be8498fc
L
289432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28944
28945 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28946 (stackinfo_sub_sp): Likewise.
28947
70bc83b9
L
289482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28949
28950 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28951 RAX_LP.
28952
9bc0b730
L
289532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28954
28955 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28956 into R*_LP.
28957
6d2850e7
L
289582012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28959
28960 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
28961 sizes into R*_LP.
28962
3cb84561
L
289632012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28964
28965 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
28966
54e2ed81
L
289672012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28968
28969 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
28970 into R11_LP and load __x86_64_shared_cache_size_half into
28971 R8_LP.
28972
8a17f349
L
289732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28974
28975 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
28976 R8_LP.
28977
777b1eea
AZ
289782012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28979
28980 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
28981 logb for POWER7.
28982 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
28983 logbf for POWER7.
28984 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
28985 logbl for POWER7.
28986 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
28987 powerpc32/power7/fpu/s_logb.c via #include.
28988 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
28989 powerpc32/power7/fpu/s_logbf.c via #include.
28990 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
28991 powerpc32/power7/fpu/s_logbl.c via #include.
28992
d20d4ac2
JM
289932012-05-15 Joseph Myers <joseph@codesourcery.com>
28994
28995 * README.libm: Remove file.
28996
6cdef1ab
L
289972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
28998
28999 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29000 count for x32. Use R*_LP and omit operand-size suffix.
29001
0b254d8f
L
290022012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29003
29004 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29005 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29006 * sysdeps/x86_64/x32/shlib-versions: New file.
29007
ceb809dc
RM
290082012-05-14 Roland McGrath <roland@hack.frob.com>
29009
29010 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29011 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29012 Use _dl_fatal_printf instead.
29013
37f1abd4
JM
290142012-05-14 Joseph Myers <joseph@codesourcery.com>
29015
29016 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29017 set if not set by the user. Do not allow for being unset.
29018 * sysdeps/unix/sysv/linux/configure: Regenerated.
29019
11de3a33
L
290202012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29021
29022 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29023 the `q' suffix from lea and replace .quad with ASM_ADDR.
29024
e02f153a
L
290252012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29026
29027 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29028 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29029 instead of $17.
29030 (PTR_DEMANGLE): Likewise.
29031
520ae0fd
L
290322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29033
29034 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29035 (LP_OP): Likewise.
29036 (ASM_ADDR): Likewise.
29037 (RAX_LP): Likewise.
29038 (RBP_LP): Likewise.
29039 (RBX_LP): Likewise.
29040 (RCX_LP): Likewise.
29041 (RDI_LP): Likewise.
29042 (RSI_LP): Likewise.
29043 (RSP_LP): Likewise.
29044 (R8_LP): Likewise.
29045 (R9_LP): Likewise.
29046 (R10_LP): Likewise.
29047 (R10_LP): Likewise.
29048 (R11_LP): Likewise.
29049 (R12_LP): Likewise.
29050 (R13_LP): Likewise.
29051 (R14_LP): Likewise.
29052 (R15_LP): Likewise.
29053
b985be81
L
290542012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29055
29056 * sysdeps/x86_64/x32/dl-machine.h: New file.
29057
6a4888ff
AJ
290582012-05-14 Andreas Jaeger <aj@suse.de>
29059
29060 * manual/Makefile (subdir): Remove export of subdir.
29061 (all): Remove target.
29062 (.PHONY): Remove all from list.
29063 (mkinstalldirs): Remove.
29064 (.PHONY): Remove installdirs from list.
29065 ($(inst_infodir)/libc.info): Use make-target-directory.
29066 (installdirs): Remove.
29067 (subdir_%): Remove.
29068 (glibc-targets): Remove.
29069 (lib): Remove.
29070 (stubs): Remove.
29071 ($(objpfx)stubs ../po/manual.pot): Remove.
29072 ($(objpfx)stamp%): Remove.
29073 (make-target-directory): Remove.
29074 (subdir_install): Remove.
29075 (routines): Remove.
29076 (aux): Remove.
29077 (sources): Remove.
29078 (objects): Remove.
29079 (headers): Remove.
29080
29081 [BZ #13750]
29082 * manual/.gitignore: Remove, it's not needed anymore.
29083 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29084 all files in it.
29085 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29086 directory.
29087 (texis): Renamed to $(objpfx)texis.
29088 (texis-path): New, contains path to generated files.
29089 (chapters.%): Use texis-path for complete path, add extra argument
29090 libc-texinfo.sh.
29091 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29092 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29093 (summary,texi, stamp-summary): Use complete path of
29094 files. Generate files in build dir.
29095 (dir-add.texi): Build in build dir.
29096 (libm-err.texi,stamp-libm-err): Likewise.
29097 (version.texi, stamp-version): Likewise.
29098 (.%c.texi): Likewise.
29099 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29100 (mostlyclean): Remove target.
29101 (realclean): Remove target.
29102 (generated): Add new variable with contents from mostlyclean and
29103 realclean, remove entries duplicated in common-mostlyclean, add
29104 stamp-libm-err and stamp-version.
29105 (generated-dirs): Add libc directory.
29106 ($(inst_infodir)/libc.info): Install files from build dir.
29107
29108 * manual/install.texi (Configuring and compiling): Adjust since
29109 the info files are not part of the tar ball anymore.
29110
7ac77294
AJ
291112012-05-14 Andreas Jaeger <aj@suse.de>
29112
29113 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29114 variable.
29115
ffb7875d
JM
291162012-05-14 Joseph Myers <joseph@codesourcery.com>
29117
29118 [BZ #13717]
29119 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29120 to 2.2.0 where earlier.
29121 * sysdeps/unix/sysv/linux/configure: Regenerated.
29122 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29123 Remove conditional code.
29124 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29125 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29126 Remove conditional code.
29127 [!__NR_lchown]: Likewise.
29128 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29129 [__NR_lchown]: Likewise.
29130 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29131 comment referencing __ASSUME_LCHOWN_SYSCALL.
29132 * sysdeps/unix/sysv/linux/i386/sigaction.c
29133 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29134 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29135 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29136 Remove conditional code.
29137 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29138 (__protocol_available): Remove #if 0 code.
29139 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29140 conditional code.
29141 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29142 * sysdeps/unix/sysv/linux/kernel-features.h
29143 (__ASSUME_GETCWD_SYSCALL): Don't define.
29144 (__ASSUME_REALTIME_SIGNALS): Likewise.
29145 (__ASSUME_PREAD_SYSCALL): Likewise.
29146 (__ASSUME_PWRITE_SYSCALL): Likewise.
29147 (__ASSUME_POLL_SYSCALL): Likewise.
29148 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29149 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29150 non-SPARC.
29151 (__ASSUME_SIOCGIFNAME): Don't define.
29152 (__ASSUME_MSG_NOSIGNAL): Likewise.
29153 (__ASSUME_SENDFILE): Define unconditionally.
29154 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29155 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29156 conditional code.
29157 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29158 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29159 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29160 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29161 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29162 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29163 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29164 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29165 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29166 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29167 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29168 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29169 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29170 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29171 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29172 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29173 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29174 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29175 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29177 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29178 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29179 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29180 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29183 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29185 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29186 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29188 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29189 Remove conditional code.
29190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29191 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29192 Remove conditional code.
29193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29194 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29195 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29196 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29197 Remove conditional code.
29198 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29199 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29200 Remove conditional code.
29201 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29202 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29203 Remove conditional code.
29204 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29205 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29206 Remove conditional code.
29207 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29208 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29209 Remove conditional code.
29210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29211 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29212 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29213 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29214 * sysdeps/unix/sysv/linux/sigaction.c
29215 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29216 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29217 * sysdeps/unix/sysv/linux/sigpending.c
29218 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29219 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29220 * sysdeps/unix/sysv/linux/sigprocmask.c
29221 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29222 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29223 * sysdeps/unix/sysv/linux/sigsuspend.c
29224 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29225 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29226 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29227 (__libc_missing_rt_sigs): Remove.
29228 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29229 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29230 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29231 Remove conditional code.
29232 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29233 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29234 return 1.
29235 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29236 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29237 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29238 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29239
1bfb7291
AJ
292402012-05-14 Andreas Jaeger <aj@suse.de>
29241
caae5a81
AJ
29242 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29243 it's not used in glibc.
29244 (__coshm1): Likewise.
29245 (__acosh1p): Likewise.
29246 (__sgn): Likewise.
29247
1bfb7291
AJ
29248 * manual/string.texi (Copying and Concatenation): Add missing
29249 variable in concat example.
29250 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29251
c044d724
L
292522012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29253
144c5467 29254 [BZ #14103]
c044d724
L
29255 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29256 __builtin_clzl with __builtin_clzll.
29257
2523c62b
L
292582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29259
29260 [BZ #14104]
29261 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29262 libc_freeres_ptr.
29263
d7bb4c42
LD
292642012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29265
29266 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29267 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29268 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29269 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29270
9dc4e1fb
MF
292712012-05-14 Mike Frysinger <vapier@gentoo.org>
29272
29273 * NEWS: Update ia64 info.
29274
c7df0112
AS
292752012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29276
29277 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29278 used as bcopy.
29279
dc70356c
TS
292802012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29281
29282 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29283 * sysdeps/unix/syscalls.list (dup3): Likewise.
29284 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29285 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29286
9fb1a21f
L
292872012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29288
29289 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29290 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29291
4822a2a5
L
292922012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29293
29294 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29295 thread pointer.
29296 (TLS_IE): Use mov/add instead of movq/addq to load thread
29297 pointer.
29298 (TLS_GD_PREFIX): New.
29299 (TLS_GD): Use it.
29300
842b81d6
DM
293012012-05-11 David S. Miller <davem@davemloft.net>
29302
29303 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29304 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29305 (_FPU_SETCW): Likewise.
29306
1cf463cd
L
293072012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29308
29309 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29310 is 32-byte aligned.
29311
60cc4a18
AS
293122012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29313
29314 [BZ #11837]
29315 * iconvdata/gb18030.c: Update tables.
29316 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29317 characters specially.
29318 (BODY for TO_LOOP): Add encoding of missing ranges.
29319
febb44a4
TS
293202012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29321
29322 [BZ #13673]
29323 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29324 * sysdeps/mach/hurd/dup3.c: Likewise.
29325 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29326 * sysdeps/powerpc/memmove.c:: Likewise.
29327
0a10fb9e
L
293282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29329
29330 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29331 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29332
df8a552f
L
293332012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29334
29335 * elf/elf.h (R_X86_64_RELATIVE64): New.
29336 (R_X86_64_NUM): Updated.
29337 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29338 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29339 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29340 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29341 tst-quad1pie tst-quad2pie
29342 (modules-names): Add tst-quadmod1 tst-quadmod2.
29343 ($(objpfx)tst-quad1): New dependency.
29344 ($(objpfx)tst-quad2): Likewise.
29345 ($(objpfx)tst-quad1pie): Likewise.
29346 ($(objpfx)tst-quad2pie): Likewise.
29347 * sysdeps/x86_64/tst-quad1.c: New file.
29348 * sysdeps/x86_64/tst-quad1pie.c: New file.
29349 * sysdeps/x86_64/tst-quad2.c: Likewise.
29350 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29351 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29352 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29353 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29354 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29355
f34d6f84
ST
293562012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29357
f42d41d1
ST
29358 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29359 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29360 * streams/stropts.h (t_scalar_t): Define type.
29361
3c3571fc
ST
29362 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29363 (_PATH_PRESERVE): Set to "/var/lib".
29364 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29365
61f06bd3
ST
29366 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29367 instead of int.
29368
918d4d71
ST
29369 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29370 if __dir_mkfile succeeded.
29371
f34d6f84
ST
29372 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29373 checking for _hurd_dtablesize. Unlock it right after having
29374 finished _hurd_dtable allocation.
29375
10589b4a
TS
293762012-05-10 Thomas Schwinge <thomas@schwinge.name>
29377
674cdbc7
TS
29378 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29379 * sysdeps/mach/hurd/configure: Regenerated.
29380 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29381 special-casing to...
29382 * sysdeps/gnu/configure.in: ... this new file.
29383 * sysdeps/unix/sysv/linux/configure: Regenerated.
29384 * sysdeps/gnu/configure: New generated file.
29385
8e41b99f
TS
29386 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29387 for Linux: use nsec instead of usec, as well as:
29388 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29389 members of type struct timespec.
29390 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29391 New macros.
29392 (struct stat64): Likewise.
29393 (_STATBUF_ST_NSEC): New macro.
29394 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29395
10589b4a
TS
29396 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29397 __strtoul_internal rather than strtoul.
29398
63643c85
PT
293992012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29400
29401 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29402 and reject them.
29403
3faebe6a
ST
294042012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29405
29406 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29407 which preserves existing values.
29408 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29409
c6474b07
PT
294102012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29411
29412 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29413 TIMEOUT values. Return EINVAL for NFDS values either negative or
29414 greater than FD_SETSIZE.
29415
1043890b
ST
294162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29417
29418 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29419 allocated, call __vm_protect to finish enabling the existing space, and
29420 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29421 allocate the remainder.
29422
37ed8b9b
PT
294232012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29424
29425 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29426 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29427
db653660
ST
294282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29429
37ed8b9b
PT
29430 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29431 sysdeps/mach/hurd/readlink.c.
b29d4053 29432
db653660
ST
29433 * posix/tst-sysconf.c (posix_options): Only use
29434 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29435 _POSIX_SYNCHRONIZED_IO when they are defined
29436 * sysdeps/mach/hurd/bits/posix_opt.h:
29437 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29438 (_XOPEN_REALTIME): Undefine macro.
29439 (_XOPEN_REALTIME_THREADS): Undefine macro.
29440 (_XOPEN_SHM): Undefine macro.
29441 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29442 macro to -1.
29443 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29444 macro to -1.
29445 (_POSIX_ASYNC_IO): Undefine macro.
29446 (_POSIX_PRIORITIZED_IO): Undefine macro.
29447 (_POSIX_SPIN_LOCKS): Define macro to -1.
29448
ee16e894
ST
29449 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29450 SA_NODEFER, SA_RESETHAND.
29451 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29452 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29453 F_DUPFD_CLOEXEC.
29454
6103ae3b
TS
294552012-05-10 Thomas Schwinge <thomas@schwinge.name>
29456
29457 * elf/Makefile (pldd-modules): Define unconditionally.
29458
80b4e5f3
TS
294592012-05-10 Thomas Schwinge <thomas@schwinge.name>
29460
29461 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29462
edadcbd6
ST
294632012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29464
29465 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29466 Return ENOENT when name is empty.
29467 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29468
80694780
TS
294692012-05-10 Thomas Schwinge <thomas@schwinge.name>
29470
1792c087
TS
29471 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29472
80694780
TS
29473 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29474
6b645f0d
ST
294752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29476
80694780
TS
29477 Fix mlock in all cases except non-readable pages.
29478 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29479 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29480
6b645f0d
ST
29481 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29482 (__mkdir): When path is `/', just fail with EEXIST.
29483 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29484
e468f8a3
TS
294852012-05-10 Thomas Schwinge <thomas@schwinge.name>
29486
29487 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29488 <sys/uio.h> (for writev).
29489 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29490 and <sys/param.h> (for MIN).
29491
a4186cff
PT
294922012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29493
29494 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29495 REQUESTED_TIME. Properly set the remaining time and return EINTR
29496 if interrupted.
29497
510bbf14
TS
294982012-05-10 Thomas Schwinge <thomas@schwinge.name>
29499
29500 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29501 Depend on against $(link-rpcuserlibs).
29502
5d5722e8
ST
295032012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29504
a4186cff
PT
29505 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29506 (__libc_stack_end): Do not use attribute_relro.
29507 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29508 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29509 to libthread-provided value.
a4186cff
PT
29510 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29511 attribute_relro.
5d5722e8 29512
37233df9
TS
295132012-05-10 Thomas Schwinge <thomas@schwinge.name>
29514
be971a2b
TS
29515 [BZ #3748]
29516 * bits/libc-lock.h (__libc_once_get): New macro.
29517 * sysdeps/mach/bits/libc-lock.h: Likewise.
29518 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29519 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29520 instead of using implementation details.
29521
37233df9
TS
29522 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29523 * libio/freopen.c: Likewise.
29524 * libio/freopen64.c: Likewise.
29525 * misc/syslog.c: Likewise.
29526 * nscd/connections.c: Likewise.
29527 * nscd/netgroupcache.c: Likewise.
29528 * sysdeps/posix/getcwd.c: Likewise.
29529
38de94a5
RM
295302012-05-10 Roland McGrath <roland@hack.frob.com>
29531
29532 * math/w_ilogbf.c: Add #include <limits.h>.
29533
67530489
ST
295342012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29535
a4186cff 29536 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29537 path instead of returning without unlocking.
29538
67530489
ST
29539 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29540 immediate-write ioctls.
29541 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29542
5aa3a74a
TS
295432012-05-10 Thomas Schwinge <thomas@schwinge.name>
29544
18bad2ae
TS
29545 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29546 __builtin_frame_address instead of making assumptions about the
29547 location of the return address relative to DATA. Force early load of
29548 the return address.
29549 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29550 __builtin_frame_address.
29551
5aa3a74a
TS
29552 dup3 for GNU Hurd.
29553 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29554 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29555 implement dup3 and do some further code clean-ups.
29556 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29557 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29558
ecd0de9a
ST
295592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29560
cd9fa985
ST
29561 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29562
a4186cff
PT
29563 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29564 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29565 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29566 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29567 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29568 d->port.lock.
802ca5a5 29569
a4186cff
PT
29570 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29571 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29572 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29573
bcf55240
TS
295742012-05-10 Thomas Schwinge <thomas@schwinge.name>
29575
6960eb42
TS
29576 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29577 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29578 definitions.
29579
eb43375f
TS
29580 accept4 for GNU Hurd.
29581 * include/sys/socket.h (__libc_accept4): New prototype.
29582 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29583 to implement __libc_accept4.
29584 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29585 __libc_accept4.
29586 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29587
bcf55240
TS
29588 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29589 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29590 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29591 signal-defines.sym.
29592
6178c55b
ST
295932012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29594
a4186cff 29595 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29596
6f080c2f
TS
295972012-05-10 Thomas Schwinge <thomas@schwinge.name>
29598
29599 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29600 assertion on O_CLOEXEC flag.
29601 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29602 * hurd/intern-fd.c: Likewise.
29603 * hurd/port2fd.c: Likewise.
29604
bcfe3a54
ST
296052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29606
29607 [BZ #3906]
29608 * bits/in.h (IPV6_PKTINFO): Define new macro.
29609 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29610
89c9aa49
AZ
296112012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29612
29613 [BZ #13954]
29614 [BZ #13955]
29615 [BZ #13956]
29616 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29617 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29618 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29619 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29620 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29621 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29622 * math/libm-test.inc (logb_test) : Additional logb tests.
29623
021db4be
AJ
296242012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29625 Andreas Jaeger <aj@suse.de>
29626
29627 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29628 * configure: Regenerated.
29629 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29630 * config.make.in (link-obsolete-rpc): New substituted variable.
29631 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29632 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29633 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29634 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29635 so that libc.a contains the symbols.
29636 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29637 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29638 * sunrpc/auth_none.c: Likewise.
29639 * sunrpc/auth_unix.c: Likewise.
29640 * sunrpc/authdes_prot.c: Likewise.
29641 * sunrpc/authuxprot.c: Likewise.
29642 * sunrpc/clnt_gen.c: Likewise.
29643 * sunrpc/clnt_perr.c: Likewise.
29644 * sunrpc/clnt_raw.c: Likewise.
29645 * sunrpc/clnt_simp.c: Likewise.
29646 * sunrpc/clnt_tcp.c: Likewise.
29647 * sunrpc/clnt_udp.c: Likewise.
29648 * sunrpc/clnt_unix.c: Likewise.
29649 * sunrpc/des_crypt.c: Likewise.
29650 * sunrpc/des_soft.c: Likewise.
29651 * sunrpc/get_myaddr.c: Likewise.
29652 * sunrpc/key_call.c: Likewise.
29653 * sunrpc/key_prot.c: Likewise.
29654 * sunrpc/netname.c: Likewise.
29655 * sunrpc/pm_getmaps.c: Likewise.
29656 * sunrpc/pm_getport.c: Likewise.
29657 * sunrpc/pmap_clnt.c: Likewise.
29658 * sunrpc/pmap_prot.c: Likewise.
29659 * sunrpc/pmap_prot2.c: Likewise.
29660 * sunrpc/pmap_rmt.c: Likewise.
29661 * sunrpc/publickey.c: Likewise.
29662 * sunrpc/rpc_cmsg.c: Likewise.
29663 * sunrpc/rpc_common.c: Likewise.
29664 * sunrpc/rpc_dtable.c: Likewise.
29665 * sunrpc/rpc_prot.c: Likewise.
29666 * sunrpc/rpc_thread.c: Likewise.
29667 * sunrpc/rtime.c: Likewise.
29668 * sunrpc/svc.c: Likewise.
29669 * sunrpc/svc_auth.c: Likewise.
29670 * sunrpc/svc_raw.c: Likewise.
29671 * sunrpc/svc_run.c: Likewise.
29672 * sunrpc/svc_tcp.c: Likewise.
29673 * sunrpc/svc_udp.c: Likewise.
29674 * sunrpc/svc_unix.c: Likewise.
29675 * sunrpc/svcauth_des.c: Likewise.
29676 * sunrpc/xcrypt.c: Likewise.
29677 * sunrpc/xdr.c: Likewise.
29678 * sunrpc/xdr_array.c: Likewise.
29679 * sunrpc/xdr_float.c: Likewise.
29680 * sunrpc/xdr_intXX_t.c: Likewise.
29681 * sunrpc/xdr_mem.c: Likewise.
29682 * sunrpc/xdr_rec.c: Likewise.
29683 * sunrpc/xdr_ref.c: Likewise.
29684 * sunrpc/xdr_sizeof.c: Likewise.
29685 * sunrpc/xdr_stdio.c: Likewise.
29686
b5c086a2
RM
296872012-05-10 Roland McGrath <roland@hack.frob.com>
29688
29689 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29690 change. Update copyright years.
29691
6d74dd09
JM
296922012-05-10 Joseph Myers <joseph@codesourcery.com>
29693
29694 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29695
28e72501
MK
296962012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29697 Joseph Myers <joseph@codesourcery.com>
29698 Paul Pluzhnikov <ppluzhnikov@google.com>
29699
29700 [BZ #14012]
29701 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29702 requiring rpcgen.
29703 [cross-compiling] (extra-libs): Likewise.
29704 [cross-compiling] (extra-libs-others): Likewise.
29705 [cross-compiling] (librpcsvc-routines): Likewise.
29706 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29707 [cross-compiling] (omit-deps): Likewise.
29708 (sunrpc-CPPFLAGS): New variable.
29709 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29710 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29711 (cross-rpcgen-objs): New variable.
29712 (extra-objs): Append $(cross-rpcgen-objs).
29713 ($(cross-rpcgen-objs)): New rule.
29714 ($(objpfx)cross-rpcgen): Likewise.
29715 (rpcgen-cmd): Define to use $(built-program-file). Expand
29716 comment.
29717 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29718 ($(objpfx)x%.stmp): Likewise.
29719 * sunrpc/proto.h [IS_IN_build] (_): Define.
29720 [IS_IN_build] (_libc_intl_domainname): Likewise.
29721
c8c59454
L
297222012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29723
29724 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29725 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29726 and R_X86_64_TPOFF64.
29727
6f27cd16
JM
297282012-05-10 Joseph Myers <joseph@codesourcery.com>
29729
29730 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29731 sysdeps/unix/sysv/syscalls.list.
29732 (stime): Likewise.
29733 (utime): Likewise.
29734 * sysdeps/unix/sysv/syscalls.list: Remove file.
29735
02467e1c
PE
297362012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29737
29738 [BZ #3440]
29739 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29740 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29741 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29742 (__LC_IDENTIFICATION): Make these macros useful in #if
29743 expressions, as required by C99.
29744
da392631
AS
297452012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29746
29747 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29748 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29749 after this.
29750
8115f29b
L
297512012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29752
29753 * stdlib/longlong.h: Updated from GCC.
29754
bdd74070
AJ
297552012-05-09 Andreas Jaeger <aj@suse.de>
29756
edfe0dbe
AJ
29757 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29758 default is first entry.
29759 (run_mode): Set type.
29760 (main): Remove informal message about syslog.
29761 (options): Fix typo.
29762
bcfe3a54
ST
29763 [BZ #14053]
29764 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29765 to asm.
bcfe3a54
ST
29766 (lrint): Likewise.
29767 (llrintf): Likewise.
29768 (llrint): Likewise.
29769 (rint): Likewise.
29770 (rintf): Likewise.
29771 (nearbyint): Likewise.
29772 (nearbyintf): Likewise.
bdd74070 29773
91d8d69e
AJ
297742012-05-09 Andreas Jaeger <aj@suse.de>
29775 Pedro Alves <palves@redhat.com>
29776
29777 * nscd/nscd.c (run_mode): Use enum.
29778 (main): Cleanup coding style issue.
29779
bb90b80b
AJ
297802012-05-09 Alexandre Oliva <aoliva@redhat.com>
29781 Andreas Jaeger <aj@suse.de>
29782
bcfe3a54
ST
29783 * nscd/nscd.c (go_background): Replaced with...
29784 (run_mode): ... this.
bb90b80b 29785 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29786 (options): Add -F --foreground.
29787 (main): Implement it.
29788 (parse_opt): Parse it.
bb90b80b 29789
1a4b75a1
AJ
297902012-05-09 Andreas Jaeger <aj@suse.de>
29791
29792 [BZ #14083]
29793 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29794 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29795 -Wconversion warning.
29796 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29797 Likewise.
29798
b1cc2472
JM
297992012-05-09 Joseph Myers <joseph@codesourcery.com>
29800
29801 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29802 == 0.
29803 (LC_ALL): Use macro-int-constant.
29804 (LC_COLLATE): Likewise.
29805 (LC_CTYPE): Likewise.
29806 (LC_MESSAGES): Likewise.
29807 (LC_MONETARY): Likewise.
29808 (LC_NUMERIC): Likewise.
29809 (LC_TIME): Likewise.
29810 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29811 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29812 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29813 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29814 Specify type.
29815 [C99-based standards] (float_t): Expect type.
29816 [C99-based standards] (double_t): Expect type.
29817 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29818 type.
29819 [C99-based standards] (HUGE_VALL): Likewise.
29820 [C99-based standards] (INFINITY): Likewise.
29821 [C99-based standards] (NAN): Likewise.
29822 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29823 [C99-based standards] (FP_NAN): Likewise.
29824 [C99-based standards] (FP_NORMAL): Likewise.
29825 [C99-based standards] (FP_SUBNORMAL): Likewise.
29826 [C99-based standards] (FP_ZERO): Likewise.
29827 [C99-based standards] (FP_FAST_FMA): Use
29828 optional-macro-int-constant. Specify type. Require == 1.
29829 [C99-based standards] (FP_FAST_FMAF): Likewise.
29830 [C99-based standards] (FP_FAST_FMAL): Likewise.
29831 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29832 [C99-based standards] (FP_ILOGBNAN): Likewise.
29833 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29834 Specify type.
29835 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29836 [C99-based standards] (math_errhandling): Specify type.
29837 [ISO99 || ISO11] (signgam): Do not allow.
29838 [non-C99-based standards] (copysignf): Do not allow.
29839 [non-C99-based standards] (exp2f): Likewise.
29840 [non-C99-based standards] (log2f): Likewise.
29841 [non-C99-based standards] (modff): Allow.
29842 [non-C99-based standards] (erff): Do not allow.
29843 [non-C99-based standards] (erfcf): Likewise.
29844 [non-C99-based standards] (gammaf): Likewise.
29845 [non-C99-based standards] (hypotf): Likewise.
29846 [non-C99-based standards] (j0f): Likewise.
29847 [non-C99-based standards] (j1f): Likewise.
29848 [non-C99-based standards] (jnf): Likewise.
29849 [non-C99-based standards] (lgammaf): Likewise.
29850 [non-C99-based standards] (tgammaf): Likewise.
29851 [non-C99-based standards] (y0f): Likewise.
29852 [non-C99-based standards] (y1f): Likewise.
29853 [non-C99-based standards] (ynf): Likewise.
29854 [non-C99-based standards] (isnanf): Likewise.
29855 [non-C99-based standards] (acoshf): Likewise.
29856 [non-C99-based standards] (asinhf): Likewise.
29857 [non-C99-based standards] (atanhf): Likewise.
29858 [non-C99-based standards] (cbrtf): Likewise.
29859 [non-C99-based standards] (expm1f): Likewise.
29860 [non-C99-based standards] (ilogbf): Likewise.
29861 [non-C99-based standards] (log1pf): Likewise.
29862 [non-C99-based standards] (logbf): Likewise.
29863 [non-C99-based standards] (nextafterf): Likewise.
29864 [non-C99-based standards] (remainderf): Likewise.
29865 [non-C99-based standards] (rintf): Likewise.
29866 [non-C99-based standards] (scalbf): Likewise.
29867 [non-C99-based standards] (copysignl): Likewise.
29868 [non-C99-based standards] (exp2l): Likewise.
29869 [non-C99-based standards] (log2l): Likewise.
29870 [non-C99-based standards] (modfl): Allow.
29871 [non-C99-based standards] (erfl): Do not allow.
29872 [non-C99-based standards] (erfcl): Likewise.
29873 [non-C99-based standards] (gammal): Likewise.
29874 [non-C99-based standards] (hypotl): Likewise.
29875 [non-C99-based standards] (j0l): Likewise.
29876 [non-C99-based standards] (j1l): Likewise.
29877 [non-C99-based standards] (jnl): Likewise.
29878 [non-C99-based standards] (lgammal): Likewise.
29879 [non-C99-based standards] (tgammal): Likewise.
29880 [non-C99-based standards] (y0l): Likewise.
29881 [non-C99-based standards] (y1l): Likewise.
29882 [non-C99-based standards] (ynl): Likewise.
29883 [non-C99-based standards] (isnanl): Likewise.
29884 [non-C99-based standards] (acoshl): Likewise.
29885 [non-C99-based standards] (asinhl): Likewise.
29886 [non-C99-based standards] (atanhl): Likewise.
29887 [non-C99-based standards] (cbrtl): Likewise.
29888 [non-C99-based standards] (expm1l): Likewise.
29889 [non-C99-based standards] (ilogbl): Likewise.
29890 [non-C99-based standards] (log1pl): Likewise.
29891 [non-C99-based standards] (logbl): Likewise.
29892 [non-C99-based standards] (nextafterl): Likewise.
29893 [non-C99-based standards] (remainderl): Likewise.
29894 [non-C99-based standards] (rintl): Likewise.
29895 [non-C99-based standards] (scalbl): Likewise.
29896 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29897 [non-C99-based standards] (FP_*): Do not allow.
29898 [C99-based standards] (FP_*): Change to
29899 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29900 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29901 allow.
29902 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29903 (SIG_ERR): Likewise.
29904 [X/Open-based standards] (SIG_HOLD): Likewise.
29905 (SIG_IGN): Likewise.
29906 (SIGABRT): Use macro-int-constant. Specify type. Require
29907 positive value.
29908 (SIGFPE): Likewise.
29909 (SIGILL): Likewise.
29910 (SIGINT): Likewise.
29911 (SIGSEGV): Likewise.
29912 (SIGTER): Likewise.
29913 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29914 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29915 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29916 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29917 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29918 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29919 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29920 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29921 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29922 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29923 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29924 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29925 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29926 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29927 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29928 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29929 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29930 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29931 [X/Open-based standards] (SIGTRAP): Likewise.
29932 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29933 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29934 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29935 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29936 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29937 allow.
29938
b9f1922d
IW
299392012-05-08 Ian Wienand <ianw@vmware.com>
29940
29941 [BZ #14080]
29942 * time/tzset.c (__tzset_parse_tz): Update default rules for
29943 daylight time changes in the Energy Policy Act of 2005.
29944
1db86e88
AJ
299452012-05-09 Andreas Jaeger <aj@suse.de>
29946
29947 [BZ #13983]
29948 * elf/ldconfig.c (parse_conf): Change string to make clear that
29949 ldconfig only issued a warning if ld.so.conf does not exist.
29950
dee4a4e3
DM
299512012-05-08 David S. Miller <davem@davemloft.net>
29952
ee0db190
DM
29953 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29954 movxtod instead of popping the value on the stack.
29955
dee4a4e3
DM
29956 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29957
6a43ec98
CD
299582012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
29959
29960 * config.h.in: Add HAVE_ARM_PCS_VFP.
29961
05c2c961
RMG
299622012-05-08 Roland Mc Grath <roland@hack.frob.com>
29963
bcfe3a54
ST
29964 [BZ #13979]
29965 * include/features.h: Warn if user requests __FORTIFY_SOURCE
29966 checking but the checks are disabled for any reason.
05c2c961 29967
4b30f61a
L
299682012-05-08 H.J. Lu <hongjiu.lu@intel.com>
29969
29970 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
29971 and ELF64_R_TYPE with ELFW(R_TYPE).
29972
eee2bc67
JM
299732012-05-08 Joseph Myers <joseph@codesourcery.com>
29974
7ea5391a
JM
29975 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
29976 (ulimit): Likewise.
29977
eee2bc67
JM
29978 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
29979 (settimeofday): Likewise.
29980
abb66a67
MF
299812012-05-08 Mike Frysinger <vapier@gentoo.org>
29982
29983 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
29984 a struct th_u2 inside the union, and move tu_block/tu_code into
29985 a new th_u3 union of tu_block/tu_code inside of that. Move
29986 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
29987 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
29988 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
29989 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
29990 (th_stuff): Change to th_u1.tu_stuff.
29991 (th_data): Define.
29992 (th_msg): Change to th_u1.th_u2.tu_data.
29993
7f18b530
DM
299942012-05-07 David S. Miller <davem@davemloft.net>
29995
05760585
DM
29996 * sysdeps/sparc/fpu/libm-test-ulps: Update.
29997
7f18b530
DM
29998 [BZ #14074]
29999 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30000 (SETUP_PIC_REG): Use it.
30001 (SETUP_PIC_REG_LEAF): Use it.
30002
495fd99f
JM
300032012-05-07 Joseph Myers <joseph@codesourcery.com>
30004
30005 [BZ #13885]
30006 [BZ #13923]
30007 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30008 USE_AS_EXPM1L.
30009 (EXPL_FINITE): Likewise.
30010 (FLDLOG): Likewise.
30011 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30012 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30013 e_expl.S.
30014 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30015 USE_AS_EXPM1L.
30016 (EXPL_FINITE): Likewise.
30017 (FLDLOG): Likewise.
30018 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30019 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30020 e_expl.S.
30021 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30022 test of -max_value argument for long double.
30023 * sysdeps/i386/fpu/libm-test-ulps: Update.
30024 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30025
6693d694
DM
300262012-05-06 David S. Miller <davem@davemloft.net>
30027
30028 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30029 quad soft-float symbols whose references which are compiler
30030 generated.
30031 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30032
6c23e11c
JM
300332012-05-06 Joseph Myers <joseph@codesourcery.com>
30034
d8b82cad
JM
30035 [BZ #13884]
30036 [BZ #13914]
30037 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30038 USE_AS_EXP10L.
30039 (EXPL_FINITE): Likewise.
30040 (FLDLOG): Likewise.
30041 (c0): Likewise.
30042 (c1): Likewise.
30043 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30044 Adjust comments for base varying.
30045 (__expl_finite): Change alias to EXPL_FINITE.
30046 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30047 e_expl.S.
30048 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30049 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30050 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30051 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30052 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30053 USE_AS_EXP10L.
30054 (EXPL_FINITE): Likewise.
30055 (FLDLOG): Likewise.
30056 (c0): Likewise.
30057 (c1): Likewise.
30058 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30059 Adjust comments for base varying.
30060 (__expl_finite): Change alias to EXPL_FINITE.
30061 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30062 tests for bugs.
30063 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30064
6c23e11c
JM
30065 [BZ #14064]
30066 * math/libm-test.inc (check_float_internal): Correct ulp
30067 calculation for subnormal expected results.
30068
29ba805c
AJ
300692012-05-06 Andreas Jaeger <aj@suse.de>
30070
30071 * Makeconfig (+math-flags): New, set to -frounding-math.
30072 (+cflags): Add +math-flags so that all of glibc gets compiled with
30073 it.
30074
30075 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30076
7b17aeda
JM
300772012-05-05 Joseph Myers <joseph@codesourcery.com>
30078
5779f134
JM
30079 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30080 Disable one test.
30081
41498f4d
JM
30082 [BZ #13787]
30083 [BZ #13922]
30084 [BZ #14036]
30085 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30086 (__ieee754_expl): Allow for and saturate large arguments.
30087 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30088 (u_threshold): Likewise.
30089 (__exp): Call __ieee754_exp before checking for overflow and
30090 underflow.
30091 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30092 (u_threshold): Likewise.
30093 (__expf): Call __ieee754_expf before checking for overflow and
30094 underflow.
30095 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30096 (u_threshold): Likewise.
30097 (__expl): Call __ieee754_expl before checking for overflow and
30098 underflow.
30099 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30100 (__ieee754_expl): Allow for and saturate large arguments.
30101 * math/libm-test.inc (exp_test): Add another test. Do not allow
30102 missing overflow exception on overflow.
30103 (expm1_test): Do not allow missing overflow exception on overflow.
30104
6698b8bf
JM
30105 * sysdeps/i386/fpu/e_expl.c: Move to ...
30106 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30107 rather than using inline asm.
30108 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30109 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30110 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30111
7b17aeda
JM
30112 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30113 (nice): Likewise.
30114 (poll): Likewise.
30115 (signal): Likewise.
30116 (time): Likewise.
30117 (times): Likewise.
30118
f7c85819
JM
301192012-05-04 Joseph Myers <joseph@codesourcery.com>
30120
30121 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30122 sysdeps/unix/common/syscalls.list.
30123 (fchmod): Likewise.
30124 (fchown): Likewise.
30125 (ftruncate): Likewise.
30126 (getrusage): Likewise.
30127 (gettimeofday): Likewise.
30128 (setpgid): Likewise.
30129 (setregid): Likewise.
30130 (setreuid): Likewise.
30131 (sigaction): Likewise.
30132 (truncate): Likewise.
30133 (vhangup): Likewise.
30134 * sysdeps/unix/common/syscalls.list: Remove file.
30135 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30136 * sysdeps/unix/sysv/linux/Implies: Likewise.
30137
336270d0
L
301382012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30139
30140 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30141 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30142 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30143 Moved to ...
30144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30145 Here.
30146 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30147 to ...
30148 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30149 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30150 to ...
30151 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30152 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30153 to ...
30154 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30155 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30156 to ...
30157 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30158 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30159 to ...
30160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30161 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30162 to ...
30163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30164 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30165 to ...
30166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30167 Here.
30168 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30169 to ...
30170 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30171 Here.
30172 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30173 to ...
30174 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30175 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30176 Moved to ...
30177 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30178 Here.
30179 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30180 to ...
30181 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30182
d128e450
JM
301832012-05-04 Joseph Myers <joseph@codesourcery.com>
30184
fa8ee516
JM
30185 * sysdeps/unix/common/bits/dirent.h: Remove file.
30186 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30187
d128e450
JM
30188 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30189 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30190 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30191 * sysdeps/unix/bsd/isatty.c: Likewise.
30192 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30193 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30194 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30195
ff8faaf0 301962012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30197
62881be4 30198 [BZ #13563]
31dc8730
AZ
30199 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30200 long double comparison inaccuracies.
30201 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30202 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30203
6fef930c
AS
302042012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30205
30206 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30207 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30208
8f203e6c
JM
302092012-05-04 Joseph Myers <joseph@codesourcery.com>
30210
30211 [BZ #14049]
30212 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30213 nonzero digits before rounding a hex value.
30214 * stdlib/tst-strtod.c (tests): Add another test.
30215
5197d9c2
AK
302162012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30217
30218 * sysdeps/s390/fpu/libm-test-ulps: Update.
30219
f0c1dedf
AJ
302202012-05-03 Andreas Jaeger <aj@suse.de>
30221
30222 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30223 does not get optimized out.
30224 (malloc_opt_barrier): New.
30225
a65ef2ae 302262012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30227 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30228
2b942cb7 30229 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30230 intermediate file deletion.
2b942cb7 30231 (generated): Add .symlist files.
a65ef2ae 30232
54b71e02
JM
302332012-05-03 Joseph Myers <joseph@codesourcery.com>
30234
30235 [BZ #13775]
30236 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30237 Redirect under this condition.
30238 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30239 [__USE_GNU] (__dprintf_chk): Not under this condition.
30240 [__USE_GNU] (__vdprintf_chk): Likewise.
30241 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30242 under this condition.
30243 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30244 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30245 [__USE_XOPEN2K8] (vdprintf): Likewise.
30246 [__USE_GNU] (__dprintf_chk): Not under this condition.
30247 [__USE_GNU] (__vdprintf_chk): Likewise.
30248 [__USE_GNU] (dprintf): Likewise.
30249 [__USE_GNU] (vdprintf): Likewise.
30250
d3dfcc41
RM
302512012-05-03 Roland McGrath <roland@hack.frob.com>
30252
30253 * elf/Makefile (common-generated): Set this instead of generated for
30254 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30255 $(all-built-dso)-derived lists.
30256
7ac30cc5
AJ
302572012-05-03 Andreas Jaeger <aj@suse.de>
30258
0c51e550
AJ
30259 * sysdeps/i386/fpu/libm-test-ulps: Update.
30260
7ac30cc5
AJ
30261 * FAQ: Removed.
30262 * FAQ.in: Likewise.
30263 * scripts/gen-FAQ.pl: Likewise.
30264 * manual/install.texi (Installation): Point to online location of
30265 FAQ.
30266 * Makefile (files-for-dist): Remove FAQ.
30267 (FAQ): Remove.
30268
d4c2917f
AM
302692012-05-02 Allan McRae <allan@archlinux.org>
30270
30271 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30272 (LDFLAGS-reldepmod5.so): Likewise.
30273 (LDFLAGS-reldep6mod1.so): Likewise.
30274 (LDFLAGS-reldep6mod4.so): Likewise.
30275 (LDFLAGS-reldep8mod3.so): Likewise.
30276 (LDFLAGS-unload4mod1.so): Likewise.
30277 (LDFLAGS-unload4mod2.so): Likewise.
30278 (LDFLAGS-tst-initorder): Likewise.
30279 (LDFLAGS-tst-initordera2.so): Likewise.
30280 (LDFLAGS-tst-initordera3.so): Likewise.
30281 (LDFLAGS-tst-initordera4.so): Likewise.
30282 (LDFLAGS-tst-initorderb2.so): Likewise.
30283 (LDFLAGS-noload): Likewise.
30284 (LDFLAGS-next): Likewise.
30285 (LDFLAGS-order2mod1.so): Likewise.
30286 (LDFLAGS-order2mod2.so): Likewise.
30287 (LDFLAGS-tst-initorder2): Likewise.
30288 (LDFLAGS-tst-initorder2a.so): Likewise.
30289 (LDFLAGS-tst-initorder2b.so): Likewise.
30290 (LDFLAGS-tst-initorder2c.so): Likewise.
30291 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30292
d77f993f
DM
302932012-05-02 David S. Miller <davem@davemloft.net>
30294
30295 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30296
171a70b4
PP
302972012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30298
30299 [BZ #14055]
30300 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30301
0be196ad
AJ
303022012-05-02 Andreas Jaeger <aj@suse.de>
30303
30304 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30305 since we manipulate rounding mode.
30306 (CPPFLAGS-test-idouble.c): Likewise.
30307 (CPPFLAGS-test-ifloat.c): Likewise.
30308 (CFLAGS-test-ldouble.c): Likewise.
30309 (CFLAGS-test-double.c): Likewise.
30310 (CFLAGS-test-float.c): Likewise.
30311 (CFLAGS-test-misc.c): Likewise.
30312 (CFLAGS-test-test-fenv.c): Likewise.
30313
4f9d04aa
AZ
303142012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30315
2b942cb7
RM
30316 [BZ #2550]
30317 [BZ #2570]
30318 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30319 comparisons to determine direction to adjust input.
4f9d04aa 30320
82a79e7d
RM
303212012-05-01 Roland McGrath <roland@hack.frob.com>
30322
f5a01ca9
RM
30323 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30324 output to the target.
30325
90fe4186
RM
30326 * scripts/localplt.awk: New file.
30327 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30328 (check-localplt-CFLAGS): Variable removed.
30329 ($(all-built-dso:=.jmprel)): New static pattern rule.
30330 (generated): Add those targets.
30331 (localplt-built-dso): New variable.
30332 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30333
30334 * elf/check-localplt.c: File removed.
30335
82397ed6
RM
30336 * scripts/check-execstack.awk: New file.
30337 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30338 (check-execstack-CFLAGS): Variable removed.
30339 ($(objpfx)check-execstack.h): Target removed.
30340 ($(objpfx)execstack-default): New target.
30341 (generated): Add that instead of check-execstack.h.
30342 ($(all-built-dso:=.phdr)): New static pattern rule.
30343 (generated): Add those targets.
30344 * elf/check-execstack.c: File removed.
30345
82a79e7d
RM
30346 * scripts/check-textrel.awk: New file.
30347 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30348 (check-textrel-CFLAGS): Variable removed.
30349 (all-built-dso): Use := to define.o
30350 ($(all-built-dso:=.dyn)): New static pattern rule.
30351 (generated): Add those targets.
30352 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30353 * config.make.in (READELF): New substituted variable.
30354 * elf/check-textrel.c: File removed.
30355
62fde54f 303562012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30357
615605c9
JM
30358 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30359 allow.
30360 * conform/data/ctype.h-data [C99-based standards] (isblank):
30361 Expect function.
30362 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30363 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30364 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30365 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30366 Specify type. Require positive value.
30367 (EILSEQ): Likewise.
30368 (ERANGE): Likewise.
30369 [ISO || POSIX] (EILSEQ): Do not expect.
30370 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30371 Specify type. Require positive value.
30372 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30373 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30374 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30375 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30376 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30377 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30378 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30379 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30380 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30381 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30382 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30383 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30384 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30385 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30386 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30387 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30388 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30389 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30390 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30391 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30392 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30393 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30394 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30395 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30396 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30397 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30398 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30399 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30400 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30401 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30402 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30403 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30404 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30405 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30406 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30407 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30408 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30409 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30410 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30411 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30412 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30413 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30414 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30415 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30416 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30417 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30418 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30419 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30420 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30421 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30422 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30423 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30424 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30425 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30426 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30427 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30428 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30429 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30430 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30431 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30432 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30433 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30434 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30435 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30436 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30437 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30438 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30439 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30440 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30441 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30442 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30443 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30444 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30445 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30446 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30447 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30448 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30449 Require >= 2.
30450 (FLT_ROUNDS): Expect as macro, not constant.
30451 (FLT_MANT_DIG): Use macro-int-constant.
30452 (DBL_MANT_DIG): Likewise.
30453 (LDBL_MANT_DIG): Likewise.
30454 (FLT_DIG): Likewise.
30455 (DBL_DIG): Likewise.
30456 (LDBL_DIG): Likewise.
30457 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30458 (DBL_MIN_EXP): Likewise.
30459 (LDBL_MIN_EXP): Likewise.
30460 (FLT_MAX_EXP): Use macro-int-constant.
30461 (DBL_MAX_EXP): Likewise.
30462 (LDBL_MAX_EXP): Likewise.
30463 (FLT_MAX_10_EXP): Likewise.
30464 (DBL_MAX_10_EXP): Likewise.
30465 (LDBL_MAX_10_EXP): Likewise.
30466 (FLT_MAX): Use macro-constant.
30467 (DBL_MAX): Likewise.
30468 (LDBL_MAX): Likewise.
30469 (FLT_EPSILON): Use macro-constant. Give upper bound.
30470 (DBL_EPSILON): Likewise.
30471 (LDBL_EPSILON): Likewise.
30472 (FLT_MIN): Likewise.
30473 (DBL_MIN): Likewise.
30474 (LDBL_MIN): Likewise.
30475 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30476 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30477 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30478 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30479 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30480 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30481 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30482 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30483 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30484 [ISO11] (FLT_TRUE_MIN): Likewise.
30485 [ISO11] (LDBL_TRUE_MIN): Likewise.
30486 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30487 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30488 (SCHAR_MIN): Use macro-int-constant. Specify type.
30489 (SCHAR_MAX): Likewise.
30490 (UCHAR_MAX): Likewise.
30491 (CHAR_MIN): Likewise.
30492 (CHAR_MAX): Likewise.
30493 (MB_LEN_MAX): Use macro-int-constant.
30494 (SHRT_MIN): Use macro-int-constant. Specify type.
30495 (SHRT_MAX): Likewise.
30496 (USHRT_MAX): Likewise.
30497 (INT_MAX): Likewise.
30498 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30499 bound negative.
30500 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30501 bound with "U".
30502 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30503 bound with "L".
30504 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30505 bound negative. Suffix upper bound with "L".
30506 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30507 bound with "UL".
30508 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30509 Specify type.
30510 [C99-based standards] (LLONG_MAX): Likewise.
30511 [C99-based standards] (ULLONG_MAX): Likewise.
30512 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30513 == 0.
30514 [ISO11] (max_align_t): Require type.
30515 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30516
c9140a62
JM
30517 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30518 from $CFLAGS, without defining away __attribute__ calls.
30519 (checknamespace): Use $CFLAGS_namespace.
30520
9af0bf29
JM
30521 * conform/conformtest.pl (@keywords): Only include C99 keywords
30522 for standards based on C99 or C11.
30523
343222a2
JM
30524 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30525 Disable tests.
30526 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30527 UNIX98]: Likewise.
30528
661f8cf0
JM
30529 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30530 usability of symbols in #if.
30531
ee74b9cb
JM
30532 * conform/conformtest.pl: If macro or constant types start
30533 "promoted:", expect the symbol to be of the following type
30534 promoted by the integer promotions.
62fde54f 30535
aafc49b3
JM
30536 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30537 in one place. Also handle "macro-constant".
30538
fefdf574
JM
30539 * conform/conformtest.pl: Only accept expected macro values with
30540 "==". Parse all "macro" lines in one place.
30541 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30542
f2d922fe
JM
30543 * conform/conformtest.pl: Handle braced types on "constant" lines
30544 instead of handling "typed-constant".
30545 * conform/data/signal.h-data: Use "constant" instead of
30546 "typed-constant".
30547
d22956c9
JM
30548 * conform/conformtest.pl: Handle "optional-" at start of lines in
30549 one place rather than duplicating several cases. Handle each
30550 format of "macro" line with initial "optional-".
30551
028e2e38
JM
30552 * conform/conformtest.pl: Only accept expected constant or
30553 optional-constant values with "==". Parse all "constant" lines in
30554 one place. Parse all "optional-constant" lines in one place.
30555 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30556 * conform/data/fmtmsg.h-data: Likewise.
30557 * conform/data/netinet/in.h-data: Likewise.
30558 * conform/data/tar.h-data: Likewise.
30559 * conform/data/limits.h-data: Use "==" form on "constant" and
30560 "optional-constant" lines.
30561
1b8f2850
JM
30562 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30563 Use -std=c99 for XOPEN2K.
30564 (@knownproblems): Remove.
30565 (newtoken): Don't check %isknown.
30566
a05a144b
JM
30567 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30568 Do not expect macro.
30569 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30570 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30571 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30572 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30573 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30574 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30575 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30576 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30577 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30578 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30579 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30580 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30581 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30582 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30583 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30584 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30585 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30586 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30587 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30588 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30589 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30590 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30591 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30592 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30593 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30594 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30595 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30596 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30597 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30598 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30599 [XPG3] (acosh): Likewise.
30600 [XPG3] (asinh): Likewise.
30601 [XPG3] (atanh): Likewise.
30602 [XPG3] (cbrt): Likewise.
30603 [XPG3] (expm1): Likewise.
30604 [XPG3] (ilogb): Likewise.
30605 [XPG3] (log1p): Likewise.
30606 [XPG3] (logb): Likewise.
30607 [XPG3] (nextafter): Likewise.
30608 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30609 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30610 [XPG3] (remainder): Likewise.
30611 [XPG3] (rint): Likewise.
30612 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30613 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30614 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30615 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30616 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30617 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30618 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30619 [UNIX98 || XOPEN2K] (scalb): Expect.
30620 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30621 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30622 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30623 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30624 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30625 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30626 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30627 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30628 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30629 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30630 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30631 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30632 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30633 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30634 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30635 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30636 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30637 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30638 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30641 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30642 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30643 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30644 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30645 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30646 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30647 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30648 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30649 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30650 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30651 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30652 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30653 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30654 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30658 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30659 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30660 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30662 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30663 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30664 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30667 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30668 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30677 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30678 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30679 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30680 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30681 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30682 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30683 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30685 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30688 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30689 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30727 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30757
73c5ebe3
JM
30758 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30759 _XOPEN_SOURCE_EXTENDED for XPG4.
30760
39c33b6c
JM
30761 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30762
62fde54f
JM
30763 * Makeconfig (localtime): Remove variable.
30764 (inst_localtime-file): Likewise.
30765
0741d64c
AS
307662012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30767
30768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30769 Update.
30770 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30771 Update.
30772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30773 Update.
30774 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30775 Update.
30776 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30777 Update.
30778 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30779 Update.
30780 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30781 Update.
30782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30783 Update.
30784 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30785 Update.
30786
7cb029ee
JM
307872012-05-01 Joseph Myers <joseph@codesourcery.com>
30788
30789 [BZ #2550]
30790 [BZ #2570]
30791 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30792 comparisons to determine direction to adjust input.
30793 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30794 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30795 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30796 Likewise.
30797 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30798 Likewise.
30799 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30800 Likewise.
30801 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30802 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30803 Likewise.
30804 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30805 Likewise.
30806 * math/libm-test.inc (nexttoward_test): Add more tests.
30807
412bd966
AS
308082012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30809
30810 [BZ #14040]
30811 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30812 in version GLIBC_2.1, not GLIBC_2.0.
30813 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30814 Likewise.
30815
9568c0c2
JM
308162012-04-30 Joseph Myers <joseph@codesourcery.com>
30817
adfbc8ac
JM
30818 [BZ #13942]
30819 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30820 (1 - x) * (1 + x).
30821 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30822 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30823 * math/libm-test.inc (acos_test): Add more tests.
30824 (asin_test): Likewise.
30825 * sysdeps/i386/fpu/libm-test-ulps: Update.
30826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30827
5ba3cc69
JM
30828 [BZ #14034]
30829 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30830 of square root.
30831 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30832 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30833 * math/libm-test.inc (acos_test_tonearest): New function.
30834 (acos_test_towardzero): Likewise.
30835 (acos_test_downward): Likewise.
30836 (acos_test_upward): Likewise.
30837 (asin_test_tonearest): Likewise.
30838 (asin_test_towardzero): Likewise.
30839 (asin_test_downward): Likewise.
30840 (asin_test_upward): Likewise.
30841 (main): Call the new functions.
30842 * sysdeps/i386/fpu/libm-test-ulps: Update.
30843 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30844
9568c0c2
JM
30845 [BZ #13884]
30846 [BZ #13924]
30847 * math/e_exp10.c: Include <float.h>.
30848 (__ieee754_exp10): Handle underflow here rather than multiplying
30849 large negative argument by M_LN10.
30850 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30851 of __ieee754_expf.
30852 * math/e_exp10l.c: Include <float.h>.
30853 (__ieee754_exp10l): Handle underflow here rather than multiplying
30854 large negative argument by M_LN10l.
30855 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30856 spurious overflow exception on underflow.
30857
5ac3ea17
MP
308582012-04-29 Marek Polacek <polacek@redhat.com>
30859
30860 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30861 (__fortify_function): New macro.
30862 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30863 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30864 __extern_always_inline.
30865 * libio/bits/stdio2.h: Likewise.
30866 * libio/bits/stdio.h: Likewise.
30867 * string/string.h: Likewise.
30868 * string/bits/string3.h: Likewise.
30869 * include/stdio.h: Likewise.
30870 * stdlib/bits/stdlib.h: Likewise.
30871 * stdlib/stdlib.h: Likewise.
30872 * rt/bits/mqueue2.h: Likewise.
30873 * rt/mqueue.h: Likewise.
30874 * posix/bits/unistd.h: Likewise.
30875 * posix/unistd.h: Likewise.
30876 * io/bits/poll2.h: Likewise.
30877 * io/bits/fcntl2.h: Likewise.
30878 * io/fcntl.h: Likewise.
30879 * io/sys/poll.h: Likewise.
30880 * misc/bits/syslog.h: Likewise.
30881 * misc/bits/syslog-ldbl.h: Likewise.
30882 * misc/sys/syslog.h: Likewise.
30883 * socket/bits/socket2.h: Likewise.
30884 * socket/sys/socket.h: Likewise.
30885 * debug/tst-chk1.c: Likewise.
30886 * wcsmbs/bits/wchar2.h: Likewise.
30887 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30888 * wcsmbs/wchar.h: Likewise.
30889
ecf0ebfb
AJ
308902012-04-29 Andreas Jaeger <aj@suse.de>
30891
30892 * Makerules (tests): Remove enable-check-abi protection.
30893 (check-abi-warn): Remove.
30894 (check-abi-%): Remove check-abi-warn usage.
30895
30896 * configure.in: Remove check-abi configure option.
30897 * configure: Regenerated.
30898 * config.make.in (enable-check-abi): Remove.
30899
6d5c57fa
AS
309002012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30901
24c5d07e 30902 [BZ #14033]
ded5180a
AS
30903 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30904 double functions to double *_finite functions.
30905
7e0d315d
AS
30906 [BZ #13941]
30907 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30908 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30909 LDBL_MIN_EXP.
30910 * stdio-common/Makefile (tests): Add tst-sprintf3.
30911 * stdio-common/tst-sprintf3.c: New file.
30912
6d5c57fa
AS
30913 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30914 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30915
0749ff8b
JM
309162012-04-28 Joseph Myers <joseph@codesourcery.com>
30917
30918 * conform/conformtest.pl: Remove duplicate typed-constant
30919 handling.
30920
8dbd5d7b
DM
309212012-04-28 David S. Miller <davem@davemloft.net>
30922
30923 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30924 (check-abi-%): Remove AWK script prerequisite and explicit
30925 abilist directory.
30926 (check-abi): Rewrite to just diff the symlist with the abilist.
30927 (config-tls, config-abi-config): Delete, no longer used.
30928 (update-abi-%): Remove AWK script and explicit abilist directory.
30929 (update-abi): Rewrite to simply compare and conditionally copy the
30930 symlist and the sysdep abilist file. Remove update-abi-config
30931 checks.
30932 * abilist/ld.abilist: Remove.
30933 * abilist/libBrokenLocale.abilist: Remove.
30934 * abilist/libanl.abilist: Remove.
30935 * abilist/libcrypt.abilist: Remove.
30936 * abilist/libdl.abilist: Remove.
30937 * abilist/librt.abilist: Remove.
30938 * abilist/libthread_db.abilist: Remove.
30939 * abilist/libutil.abilist: Remove.
30940 * scripts/extract-abilist.awk: Remove.
30941 * scripts/merge-abilist.awk: Remove.
30942 * sysdeps/generic/libcidn.abilist: New file.
30943 * sysdeps/generic/libnss_compat.abilist: New file.
30944 * sysdeps/generic/libnss_db.abilist: New file.
30945 * sysdeps/generic/libnss_dns.abilist: New file.
30946 * sysdeps/generic/libnss_files.abilist: New file.
30947 * sysdeps/generic/libnss_hesiod.abilist: New file.
30948 * sysdeps/generic/libnss_nis.abilist: New file.
30949 * sysdeps/generic/libnss_nisplus.abilist: New file.
30950 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30951 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30952 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30953 file.
30954 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30955 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30956 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
30957 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
30958 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
30959 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
30960 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
30961 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
30962 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
30963 file.
30964 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
30965 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
30966 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
30967 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
30968 file.
30969 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
30970 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
30971 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
30972 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
30973 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
30974 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
30975 file.
30976 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
30977 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
30978 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
30979 file.
30980 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
30981 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
30982 New file.
30983 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
30984 New file.
30985 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
30986 New file.
30987 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
30988 New file.
30989 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
30990 New file.
30991 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
30992 New file.
30993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
30994 New file.
30995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
30996 New file.
30997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
30998 New file.
30999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31000 New file.
31001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31002 New file.
31003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31004 New file.
31005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31006 New file.
31007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31008 file.
31009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31010 New file.
31011 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31012 New file.
31013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31014 file.
31015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31016 New file.
31017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31018 New file.
31019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31020 file.
31021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31022 New file.
31023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31024 New file.
31025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31026 New file.
31027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31028 New file.
31029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31030 New file.
31031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31032 New file.
31033 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31034 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31035 file.
31036 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31037 New file.
31038 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31039 file.
31040 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31041 file.
31042 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31043 file.
31044 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31045 file.
31046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31047 file.
31048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31049 New file.
31050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31051 file.
31052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31053 file.
31054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31055 New file.
31056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31057 file.
31058 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31059 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31060 file.
31061 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31062 New file.
31063 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31064 file.
31065 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31066 file.
31067 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31068 file.
31069 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31070 file.
31071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31072 file.
31073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31074 New file.
31075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31076 file.
31077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31078 file.
31079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31080 New file.
31081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31082 file.
31083 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31084 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31085 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31086 file.
31087 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31088 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31089 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31090 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31091 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31092 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31093 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31094 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31095 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31096 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31097 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31098 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31099 file.
31100 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31101 New file.
31102 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31103 file.
31104 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31105 file.
31106 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31107 file.
31108 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31109 file.
31110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31111 file.
31112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31113 New file.
31114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31115 New file.
31116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31117 file.
31118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31119 New file.
31120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31121 file.
31122 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31123 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31124 file.
31125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31126 New file.
31127 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31128 file.
31129 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31130 file.
31131 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31132 file.
31133 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31134 file.
31135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31136 file.
31137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31138 New file.
31139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31140 New file.
31141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31142 file.
31143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31144 New file.
31145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31146 file.
31147
41d73a1b
JM
311482012-04-28 Joseph Myers <joseph@codesourcery.com>
31149
31150 * conform/conformtest.pl: Fix typo in handling typed-constant from
31151 allow-header.
31152
28aeeda4
JM
311532012-04-27 Joseph Myers <joseph@codesourcery.com>
31154
adae8f5e
JM
31155 * README: Cut down references to pre-2.6 Linux kernels and
31156 Linuxthreads. Update lists of configurations in libc and ports
31157 and sort alphabetically. Say "or newer" with Linux kernel version
31158 requirements.
31159
28aeeda4
JM
31160 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31161
a462cb63
RA
311622012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31163
31164 [BZ #887]
31165 * math/libm-test.inc (logb_test_downward): New test to expose
31166 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31167 rounding mode.
31168
6ad3493e
JM
311692012-04-27 Joseph Myers <joseph@codesourcery.com>
31170
31171 [BZ #14027]
31172 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31173 to be done.
31174 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31175 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31176
2ce4f015
JM
311772012-04-26 Joseph Myers <joseph@codesourcery.com>
31178
5aeb141a
JM
31179 * sysdeps/unix/i386/brk.S: Remove file.
31180 * sysdeps/unix/i386/dl-brk.S: Likewise.
31181 * sysdeps/unix/i386/pipe.S: Likewise.
31182 * sysdeps/unix/i386/sigreturn.S: Likewise.
31183 * sysdeps/unix/i386/syscall.S: Likewise.
31184 * sysdeps/unix/i386/vfork.S: Likewise.
31185 * sysdeps/unix/i386/wait.S: Likewise.
31186
7143acae
JM
31187 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31188 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31189
2ce4f015
JM
31190 * configure.in (arm*-none*): Do not allow without
31191 --enable-hacker-mode.
31192 (netbsd*): Remove case setting base_os.
31193 (386bsd*): Likewise.
31194 (freebsd*): Likewise.
31195 (bsdi*): Likewise.
31196 (osf*): Likewise.
31197 (sunos*): Likewise.
31198 (ultrix*): Likewise.
31199 (newsos*): Likewise.
31200 (dynix*): Likewise.
31201 (*bsd*): Likewise.
31202 (sysv*): Likewise.
31203 (isc*): Likewise.
31204 (esix*): Likewise.
31205 (sco*): Likewise.
31206 (minix*): Likewise.
31207 (irix4*): Likewise.
31208 (irix6*): Likewise.
31209 (solaris[2-9]*): Likewise.
31210 (none): Likewise.
31211 * configure: Regenerated.
31212
0ac229c8
AZ
312132012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31214
31215 [BZ #11521]
31216 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31217 overflow or cancellation in calculating denominator.
31218 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31219 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31220 down expression to avoid unexpected rounding in newer GCCs.
31221 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31222
33f244f4
DM
312232012-04-26 David S. Miller <davem@davemloft.net>
31224
31225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31226 long-double compat symbols.
31227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31229 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31232 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31233 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31234 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31235 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31236 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31237 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31238 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31239 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31240
cfa1f3e8
DM
312412012-04-25 David S. Miller <davem@davemloft.net>
31242
31243 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31244 HWCAP_* values only after the memory barriers have been defined.
31245 (atomic_full_barrier): Define.
31246 (atomic_read_barrier): Define.
31247 (atomic_write_barrier): Define.
31248
6e236b92
SP
312492012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31250
31251 * shlib-versions: Add libgcc_s version information.
31252 * sysdeps/generic/libgcc_s.h: Remove.
31253 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31254 libgcc_s.h.
31255 * sysdeps/gnu/unwind-resume.c: Likewise.
31256 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31257
aab39a09
DM
312582012-04-25 David S. Miller <davem@davemloft.net>
31259
31260 * sysdeps/unix/sparc/brk.S: Delete.
31261 * sysdeps/unix/sparc/dl-brk.S: Delete.
31262 * sysdeps/unix/sparc/pipe.S: Delete.
31263 * sysdeps/unix/sparc/sysdep.S: Delete.
31264 * sysdeps/unix/sparc/sysdep.h: Delete.
31265 * sysdeps/unix/sparc/vfork.S: Delete.
31266 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31267 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31268 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31269 ret_ERRVAL, r0, r1, MOVE): Define.
31270 (JUMPTARGET): Remove.
31271 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31272 sysdeps/unix/sparc/sysdep.h
31273 (ENTRY, END): Remove.
31274 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31275
a3cc4f48
JM
312762012-04-25 Joseph Myers <joseph@codesourcery.com>
31277
2ed8cda2
JM
31278 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31279 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31280 -DIS_IN_build.
31281
35d76d59
JM
31282 * timezone/README: Update upstream location and email address for
31283 tzcode and tzdata.
31284 * timezone/zdump.c: Update from tzcode 2012b.
31285 * timezone/zic.c: Likewise.
31286
a3cc4f48
JM
31287 * configure.in (libc_cv_as_needed): Remove test.
31288 * configure: Regenerated.
31289 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31290 conditional definition.
31291 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31292 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31293 * config.make.in (have-as-needed): Remove variable.
31294
ceab42c3
SP
312952012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31296 Paul Pluzhnikov <ppluzhnikov@google.com>
31297
31298 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31299 strings correctly.
31300
3ce2865f
CLT
313012012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31302
31303 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31304 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31305 * sysdeps/sh/strlen.S: Likewise.
31306
f37e0d68
JM
313072012-04-24 Joseph Myers <joseph@codesourcery.com>
31308
ae186e9a
JM
31309 * sysdeps/unix/fork.S: Remove file.
31310 * sysdeps/unix/i386/fork.S: Likewise.
31311 * sysdeps/unix/sparc/fork.S: Likewise.
31312
b96914af
JM
31313 * sysdeps/unix/system.c: Remove file.
31314 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31315
f37e0d68
JM
31316 * sysdeps/unix/getegid.S: Remove file.
31317 * sysdeps/unix/geteuid.S: Likewise.
31318
87ef29ca
RM
313192012-04-24 Roland McGrath <roland@hack.frob.com>
31320
83bcd236
RM
31321 * scripts/check-localplt.awk: New file.
31322 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31323 of diff.
31324 * scripts/data/localplt-generic.data: Add a comment.
31325
87ef29ca
RM
31326 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31327 NODE when __dir_mkfile failed.
31328 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31329 Reported by Ludovic Courtès <ludo@gnu.org>.
31330
e5a6e567
AJ
313312012-04-24 Andreas Jaeger <aj@suse.de>
31332
31333 * Makerules (common-clean): Also remove gen-as-const-headers
31334 files.
31335
c1820385
JM
313362012-04-24 Joseph Myers <joseph@codesourcery.com>
31337
31338 * Makerules (native-compile): Do not change working directory for
31339 build. Use $(OUTPUT_OPTION) in command.
31340 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31341
94e02fc4
AZ
313422012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31343
31344 [BZ #13886]
31345 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31346 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31347 * math/libm-test.inc (floor_test): Add more tests.
31348 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31349
3a533ca3
JM
313502012-04-24 Joseph Myers <joseph@codesourcery.com>
31351
940ab4b3
JM
31352 * sysdeps/unix/getdents.c: Remove file.
31353 * sysdeps/unix/sysv/getdents.c: Likewise.
31354 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31355
90e037bd
JM
31356 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31357 sysdeps/unix/mman/syscalls.list.
31358 (mmap): Likewise.
31359 (mprotect): Likewise.
31360 (msync): Likewise.
31361 (munmap): Likewise.
31362 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31363 * sysdeps/unix/mman/syscalls.list: Remove.
31364 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31365
3a533ca3
JM
31366 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31367 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31368 * configure: Regenerated.
31369 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31370 $(libgcc_s_suffix).
31371 * config.make.in (libgcc_s_suffix): Remove variable.
31372
1ad743de
JM
313732012-04-23 Joseph Myers <joseph@codesourcery.com>
31374
4ad451e2
JM
31375 * sysdeps/unix/sysv/gethostname.c: Move to ...
31376 * sysdeps/posix/gethostname.c: ... here.
31377
5e37ce39
JM
31378 * sysdeps/unix/execve.S: Remove file.
31379
1ad743de
JM
31380 * sysdeps/unix/_exit.S: Remove file.
31381
4e681b5b
AJ
313822012-04-23 Andreas Jaeger <aj@suse.de>
31383
31384 [BZ #13739]
31385 * manual/Makefile: Remove make dist support, there's no
31386 need for a stand-alone documentation tar ball.
31387 (TEXI2DVI): Define always, it's not in Makeconfig.
31388 (dist): Removed.
31389 (tar-it): Removed.
31390 (edition): Removed.
31391 (glibc-doc-$(edition).tar): Removed
31392 (%.Z): Removed.
31393 (%.gz): Removed.
31394 (%.uu): Removed.
31395 (ETAGS): Remove, it's in Makeconfig.
31396 (move-if-change): Remove, it's in Makeconfig.
31397
38686a03 313982012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31399
31400 [BZ #13970]
31401 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31402 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31403 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31404 (strtod_l, strtof_l, strtold_l): Remove __wur.
31405 It is not necessarily an error to ignore strtol's return value.
31406 One can reliably look at the stored endptr to decide whether
31407 the number had valid syntax.
31408
7c0616fa
AJ
314092012-04-21 Andreas Jaeger <aj@suse.de>
31410
803cb6b7 31411 [BZ #13739]
7c0616fa
AJ
31412 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31413
b0fe253f
JM
314142012-04-21 Joseph Myers <joseph@codesourcery.com>
31415
31416 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31417 * sysdeps/unix/sysv/Versions: Remove file.
31418
8280f22d
MT
314192012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31420
31421 [BZ #13927]
31422 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31423
75ce411f 314242012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31425
31426 [BZ #7064]
31427 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31428 version from __vm86.
31429
097d59fa
JM
314302012-04-20 Joseph Myers <joseph@codesourcery.com>
31431
a90f3bcb
JM
31432 * sysdeps/unix/common/lxstat.c: Remove file.
31433 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31434
edc7ea78
JM
31435 * sysdeps/unix/sysv/Makefile: Remove file.
31436
cb78c221
JM
31437 * sysdeps/unix/sysv/direct.h: Remove file.
31438
efa6a45f
JM
31439 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31440 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31441 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31442 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31443 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31444 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31445 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31446
9c9f2d0c
JM
31447 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31448
4541c83b
JM
31449 * sysdeps/unix/xmknod.c: Remove file.
31450 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31451
f5d153a0
JM
31452 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31453
aa746595
JM
31454 * sysdeps/unix/sysv/i386/time.S: Remove file.
31455
cce5905e
JM
31456 * sysdeps/unix/fxstat.c: Remove file.
31457 * sysdeps/unix/xstat.c: Likewise.
31458 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31459
37fa3841
JM
31460 * sysdeps/unix/sysv/sigaction.c: Remove file.
31461
ff1962a3
JM
31462 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31463 (sysdep_headers): Remove variable.
31464 [termio.h not in sysdep_headers] (generated): Likewise.
31465 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31466 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31467 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31468 * sysdeps/unix/sysv/tcflow.c: Likewise.
31469 * sysdeps/unix/sysv/tcflush.c: Likewise.
31470 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31471 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31472 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31473 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31474 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31475
e7740d31
JM
31476 * sysdeps/unix/siglist.c: Remove file.
31477
ee06f18b
JM
31478 * sysdeps/unix/getppid.S: Remove file.
31479
097d59fa
JM
31480 * sysdeps/unix/mkdir.c: Remove file.
31481 * sysdeps/unix/rmdir.c: Likewise.
31482
ff3d51ec
AS
314832012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31484
31485 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31486 ERR_MAX value.
31487 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31488 errlist-compat value.
31489
50f81fd7
DM
314902012-04-18 David S. Miller <davem@davemloft.net>
31491
31492 * sysdeps/generic/memcopy.h (reg_char): Delete.
31493 * debug/strcat_chk.c: Use char, not reg_char.
31494 * debug/strcpy_chk.c: Likewise.
31495 * debug/strncat_chk.c: Likewise.
31496 * debug/strncpy_chk.c: Likewise.
31497 * string/memchr.c: Likewise.
31498 * string/memrchr.c: Likewise.
31499 * string/rawmemchr.c: Likewise.
31500 * string/strcat.c: Likewise.
31501 * string/strchr.c: Likewise.
31502 * string/strchrnul.c: Likewise.
31503 * string/strcmp.c: Likewise.
31504 * string/strcpy.c: Likewise.
31505 * string/strncat.c: Likewise.
31506 * string/strncmp.c: Likewise.
31507 * string/strncpy.c: Likewise.
31508
8ff41c46
WS
315092012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31510
31511 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31512 __builtin_memcopy is called when src and dest ranges are known to not
31513 overlap.
31514
6b652f46
WS
315152012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31516
31517 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31518 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31519 fwd_align_merge macro call.
31520 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31521 bwd_align_merge macro call.
31522 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31523
b282631e
WS
315242012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31525
31526 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31527 bwd_align_merge macros.
31528 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31529 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31530 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31531
95aa737c
DM
315322012-04-18 David S. Miller <davem@davemloft.net>
31533
31534 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31535
7a99a614
AJ
315362012-04-18 Andreas Jaeger <aj@suse.de>
31537
31538 [BZ# 6794]
31539 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31540 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31541 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31542
31543 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31544 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31545 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31546
31547 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31548 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31549 Adjust for changed ldbl-128 files.
31550
31551 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31552 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31553 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31554
e5270c23
DM
315552012-04-17 David S. Miller <davem@davemloft.net>
31556
31557 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31558
fb5e92c9
AS
315592012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31560
31561 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31562 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31563 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31564 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31565 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31566 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31567
76da7265
AZ
315682012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31569
31570 [BZ #6794]
31571 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31572 * math/libm-test.inc: Add ilogb errno and exception tests.
31573 * math/w_ilogb.c: New file: ilogb wrapper.
31574 * math/w_ilogbf.c: New file: ilogbf wrapper.
31575 * math/w_ilogbl.c: New file: ilogbl wrapper.
31576 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31577 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31578 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31579 exception being thrown with 0.0 as argument.
31580 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31581 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31582 exception being thrown with 0.0 as argument.
31583 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31584 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31585 exception being thrown with 0.0 as argument.
31586 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31587 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31588 exception being thrown with 0.0 as argument.
31589 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31590 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31591 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31592 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31593 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31594 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31595 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31596 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31597 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31598
0396e69d
PB
315992012-04-17 Petr Baudis <pasky@ucw.cz>
31600
31601 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31602 with altivec.
31603
750b5926
MP
316042012-04-16 Marek Polacek <polacek@redhat.com>
31605
31606 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31607
751728a1
MP
316082012-04-16 Marek Polacek <polacek@redhat.com>
31609
31610 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31611 operands of fdivp instruction.
31612
34a27407
L
316132012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31614
31615 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31616 * elf/tst-auditmod3b.c: Likewise.
31617 * elf/tst-auditmod4b.c: Likewise.
31618 * elf/tst-auditmod5b.c: Likewise.
31619 * elf/tst-auditmod6b.c: Likewise.
31620 * elf/tst-auditmod6c.c: Likewise.
31621 * elf/tst-auditmod7b.c: Likewise.
31622 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31623 * sysdeps/x86_64/preconfigure.in: Likewise.
31624 * sysdeps/x86_64/preconfigure: Regenerated.
31625
7e73e17d
L
316262012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31627
31628 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31629 __ILP32__.
31630
c7a6ab72
AB
316312012-04-13 Antoine Balestrat <merkil33@gmail.com>
31632
31633 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31634 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31635
a9e8e0e0
CL
316362012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31637
31638 [BZ #13973]
31639 * locale/iso-639.def: Fix gl language name. Spotted by
31640 Yaron Shahrabani.
31641
ec98af7d
RM
316422012-04-12 Roland McGrath <roland@hack.frob.com>
31643
31644 [BZ #2074]
31645 * libio/libio.h (__io_write_fn): Update comment.
31646
247c3ede
PB
316472012-04-12 Petr Baudis <pasky@ucw.cz>
31648
31649 [BZ #2074]
31650 * stdio.texi (Hook Functions): The user provided writer function
31651 is not allowed to return -1.
31652
55939d6d
DM
316532012-04-11 David S. Miller <davem@davemloft.net>
31654
31655 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31656
90020f5a
MF
316572012-04-11 Mike Frysinger <vapier@gentoo.org>
31658
31659 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31660 Add a leading slash to rtkaio.
31661
288f9098
JM
316622012-04-11 Jim Meyering <meyering@redhat.com>
31663
90020f5a
MF
31664 [BZ #11959]
31665 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31666 It is not necessarily an error to ignore fwrite's return
31667 value. One can reliably use ferror to test for errors after
31668 the fact.
288f9098 31669
4be2b570
L
316702012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31671
31672 * bits/types.h (__snseconds_t): New type.
31673 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31674
31675 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31676 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31677 (__SNSECONDS_T_TYPE): Likewise.
31678 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31679 (__SNSECONDS_T_TYPE): Likewise.
31680 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31681 (__SNSECONDS_T_TYPE): Likewise.
31682
288f9098 316832012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31684
31685 [BZ #2636]
31686 * manual/time.texi (Processor Time): Return type of times is
31687 elapsed real time since an arbitrary point in the past.
31688 (CPU Time): Move CLK_TCK from here...
31689 (Processor Time): ...to here. Correct description.
31690 * manual/conf.texi (Constants for Sysconf): Correct description of
31691 _SC_CLK_TCK.
31692
d7dd4413
DM
316932012-04-10 David S. Miller <davem@davemloft.net>
31694
31695 [BZ #13967]
31696 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31697 where the is a gap between DT_REL(A) and DT_JMPREL.
31698
b46068fc
L
316992012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31700
31701 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31702 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31703 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31704
73d65cc3
SP
317052012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31706
31707 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31708 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31709 (dl_main): Handle --inhibit-cache.
31710 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31711 _dl_inhibit_cache.
31712 * elf/dl-load.c (_dl_map_object): Use it.
31713 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31714
bcc8d661
JM
317152012-04-09 Joseph Myers <joseph@codesourcery.com>
31716
8f9a2fae
JM
31717 [BZ #13872]
31718 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31719 (__ieee754_powl): Saturate large exponents rather than testing for
31720 overflow of y*log2(x).
31721 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31722 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31723 exceptions.
31724
bcc8d661
JM
31725 [BZ #11521]
31726 * math/s_ctan.c: Include <float.h>.
31727 (__ctan): Avoid internal overflow or cancellation in calculating
31728 denominator.
31729 * math/s_ctanf.c: Likewise.
31730 * math/s_ctanl.c: Likewise.
31731 * math/s_ctanh.c: Likewise.
31732 * math/s_ctanhf.c: Likewise.
31733 * math/s_ctanhl.c: Likewise.
31734 * math/libm-test.inc (ctan_test): Add more tests.
31735 (ctanh_test): Likewise.
31736 * sysdeps/i386/fpu/libm-test-ulps: Update.
31737 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31738
823fbbb4
AJ
317392012-04-09 Andreas Jaeger <aj@suse.de>
31740
03879793
AJ
31741 [BZ #6894]
31742 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31743 is an optional BSD extension.
31744
823fbbb4
AJ
31745 [BZ #10254]
31746 * manual/stdio.texi (Opening Streams): Document additional fopen
31747 parameters.
31748
8de131cb
RM
317492012-04-09 Roland McGrath <roland@hack.frob.com>
31750
31751 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31752 %eax without telling the compiler.
31753
c0ed9d7d
CD
317542012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31755
31756 [BZ # 13963]
31757 * manual/install.texi: Use sourceware.org.
31758
c483f6b4
JM
317592012-04-09 Joseph Myers <joseph@codesourcery.com>
31760
d7dd9453
JM
31761 [BZ #13873]
31762 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31763 (__ieee754_pow): Generate overflow and underflow using huge*huge
31764 and tiny*tiny rather than just returning constant infinity or zero
31765 for large exponents.
31766 * math/libm-test.inc (pow_test): Require overflow exceptions for
31767 applicable cases of large exponents.
31768
c483f6b4
JM
31769 [BZ #706]
31770 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31771 (__ieee754_pow): Use iterative multiplication algorithm only for
31772 integer exponents with absolute value below 1024. Check for odd
31773 integer exponents when using algorithm for real exponents.
31774 * math/libm-test.inc (pow_test): Add more tests.
31775 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31776
d2de7579
JM
317772012-04-08 Joseph Myers <joseph@codesourcery.com>
31778
31779 [BZ #13705]
31780 * math/libm-test.inc (exp_test): Do not allow overflow exception
31781 on underflow test.
31782
f77f1232
AJ
317832012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31784
31785 [BZ #13705]
31786 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31787 instead of __kernel_standard_f.
31788
3884932b
MF
317892012-04-08 Mike Frysinger <vapier@gentoo.org>
31790
31791 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31792 * sysdeps/x86_64/memset_chk.S: Likewise.
31793
54472e9c
AJ
317942012-04-08 Andreas Jaeger <aj@suse.de>
31795
6ab0fbfc
AJ
31796 [BZ #10153]
31797 * manual/startup.texi (Environment Access): Describe return value
31798 for putenv and setenv.
31799
61efba8c
AJ
31800 [BZ #6895]
31801 * manual/filesys.texi (Directory Entries): Add description for
31802 DT_LNK.
31803
95c3f29a
AJ
31804 [BZ #6890]
31805 * manual/filesys.texi (Directory Entries): Clarify that it's file
31806 system not operating system in the description of DT_UNKNOWN.
31807
54472e9c
AJ
31808 [BZ #6578]
31809 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31810
624254b1
SC
318112012-04-08 Stephen Compall <s11@member.fsf.org>
31812
31813 [BZ #6649]
31814 * manual/llio.texi (Opening and Closing Files): Add cross
31815 reference to explain mode argument.
31816
1e4920e0
MF
318172012-04-07 Mike Frysinger <vapier@gentoo.org>
31818
31819 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31820 * sysdeps/x86_64/memset_chk.S: Likewise.
31821
5ed848f3
DM
318222012-04-07 David S. Miller <davem@davemloft.net>
31823
31824 * elf/elf.h (R_SPARC_WDISP10): Define.
31825 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31826 R_SPARC_SIZE32.
31827 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31828 R_SPARC_SIZE64 and R_SPARC_H34.
31829
96154cd8
CD
318302012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31831
31832 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31833 conditions and remove no longer applicable assertion.
31834
9904dc47
L
318352012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31836
31837 * bits/byteswap.h: Include <features.h>.
31838 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31839 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31840
f8887d0a
L
318412012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31842
31843 * bits/byteswap.h (__bswap_16): Removed.
31844 Include <bits/byteswap-16.h> to get __bswap_16.
31845 * sysdeps/i386/bits/byteswap.h: Likewise.
31846 * sysdeps/s390/bits/byteswap.h: Likewise.
31847 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31848 * bits/byteswap-16.h: New file.
31849 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31850 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31851 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31852 * string/Makefile (headers): Add bits/byteswap-16.h.
31853
62470f60
PP
318542012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31855
31856 [BZ #13895]
31857 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31858 extra indirection.
31859 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31860 * nss/tst-nss-static.c: New.
31861
4dad7bab
RM
318622012-04-06 Robert Millan <rmh@gnu.org>
31863
31864 [BZ #6486]
31865 * manual/llio.texi (File Position Primitive): lseek
31866 refers to WHENCE when it really means OFFSET.
31867
e9142a17
AJ
318682012-04-06 Andreas Jaeger <aj@suse.de>
31869
2c040eff
AJ
31870 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31871 strncmp declarations.
31872
e9142a17
AJ
31873 * abilist/libc.abilist: Add __poll and __ppoll.
31874
ff9f1c5f
DM
318752012-04-05 David S. Miller <davem@davemloft.net>
31876
dcd2ae90
DM
31877 * scripts/check-local-headers.sh: Accept a host triplet in the
31878 path matched by the exclude regexp.
31879
993eb054
DM
31880 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31881 definition.
31882 * sysdeps/powerpc/powerpc32/dl-machine.h
31883 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31884 * sysdeps/s390/s390-32/dl-machine.h
31885 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31886 * sysdeps/sparc/sparc32/dl-machine.h
31887 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31888 * sysdeps/sparc/sparc64/dl-machine.h
31889 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31890
ff9f1c5f
DM
31891 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31892 lazy binding.
48e2e132 31893 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31894 undefined symbol errors.
31895
48e2e132 31896 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31897 DT_NEEDED entries.
31898
e80d6f94
MM
318992012-04-05 Michael Matz <matz@suse.de>
31900
31901 [BZ #13592]
31902 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31903
349fa79f
AJ
319042012-04-05 Andreas Jaeger <aj@suse.de>
31905
31906 [BZ #13908]
31907 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31908 comment.
31909
f402708f
KK
319102012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31911
31912 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31913 which ROUND is no valid rounding mode.
31914
2ecccfc9
KK
319152012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31916
31917 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31918 read again.
31919 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31920
8a53f50f
KK
319212012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31922
31923 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31924 an exception using FPU order intentionally.
31925
319262012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31927
31928 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31929 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31930 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31931 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31932
d653abb7
SJ
319332012-04-05 Simon Josefsson <simon@josefsson.org>
31934
31935 [BZ #12340]
31936 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31937 EINVAL when BUFLEN is too smal.
31938
c3b1bf7d
TS
319392012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31940
31941 [BZ #13553]
31942 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31943 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31944
b1aa60f3
AJ
319452012-04-03 Andreas Jaeger <aj@suse.de>
31946
c3b1bf7d 31947 [BZ #13938]
67f60a26
AJ
31948 * manual/setjmp.texi (System V contexts): Fix sentence.
31949
b1aa60f3
AJ
31950 [BZ #13926]
31951 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31952 New macro for this case.
31953 [!__GNUC__] (__bswap_64): New inline function for this case.
31954 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31955 * bits/byteswap.h: Likewise.
31956 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
31957 ull, guard with __GLIBC_HAVE_LONG_LONG.
31958
31959 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
31960 __GLIBC_HAVE_LONG_LONG.
31961
31962 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
31963 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
31964
39c59c35
TMQMF
319652012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
31966
31967 [BZ #13691]
31968 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
31969 inptr and inend, rather than using last_ch.
31970
135ffda8
DM
319712012-04-02 David S. Miller <davem@davemloft.net>
31972
31973 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
31974 * stdio-common/printf-parse.h (read_int): Change return type to
31975 'int', return -1 on INT_MAX overflow.
31976 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
31977 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
31978 overflows INT_MAX. Check for overflow of in-format-string precision
31979 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
31980 SIZE_MAX not INT_MAX for integer overflow test.
31981 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
31982 skip the construct in the format string but do not record anything.
31983 * stdio-common/bug22.c: Adjust to test both width/prevision
31984 INT_MAX overflow as well as total length INT_MAX overflow. Check
31985 explicitly for proper errno values.
31986
228c019e
TS
319872012-04-02 Thomas Schwinge <thomas@codesourcery.com>
31988
302cadd3
TS
31989 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
31990 CHAR_MAX.
31991 * string/test-strcmp.c [! WIDE]: Likewise.
31992 * time/tst-mktime2.c: Likewise for INT_MAX.
31993 * string/test-string.h: #include <sys/param.h> for MIN.
31994
228c019e
TS
31995 * csu/init-first.c (__libc_init_first): Call __ctype_init.
31996 * sysdeps/i386/init-first.c (init): Likewise.
31997 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
31998 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
31999 * sysdeps/sh/init-first.c (init): Likewise.
32000
cfa633f5
UD
320012012-04-01 Ulrich Drepper <drepper@gmail.com>
32002
32003 * po/ru.po: Update from translation team.
d1635ef8 32004 * po/vi.po: Likewise.
cfa633f5 32005
6cd0a5ea
SP
320062012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32007
32008 * resolv/nss_dns/dns-host.c: Merge copyright years.
32009
4b43400f
LD
320102012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32011
32012 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32013 Optimize memcpy with prefetch if
32014 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32015 src, dst pointers have unequal 16 byte alignments.
32016
48c41d04
SP
320172012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32018
32019 [BZ #13928]
32020 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32021 from a CNAME entry and return the minimum ttl for the query.
32022 (gaih_getanswer_slice): Likewise.
32023
b8dc394d
JL
320242012-03-30 Jeff Law <law@redhat.com>
32025
32026 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32027 due to long keys.
32028 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32029 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32030
2f5a5ed0
JL
32031 * resolv/nss_dns/dns-host.c: Update copyright year.
32032
1d39e359
UD
320332012-03-30 Ulrich Drepper <drepper@gmail.com>
32034
c030f70c 32035 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32036 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32037
1d39e359
UD
32038 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32039 comments for sendmmsg.
32040
320412012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32042
32043 [BZ #13691]
32044 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32045 with only 1 character between 0x0041 and 0x01b0.
32046 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32047 * wcsmbs/tst-mbsnrtowcs.c: New file.
32048
20fde227
DM
320492012-03-29 David S. Miller <davem@davemloft.net>
32050
32051 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32052 small copies by hand.
32053
984a4237
JL
320542012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32055
32056 [BZ #13761]
32057 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32058 _nss_compat_initgroups_dyn): Fall back to malloc/free
32059 for large group memberships.
32060
18c9d62b
DM
320612012-03-28 David S. Miller <davem@davemloft.net>
32062
88d85d4f
DM
32063 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32064 that branches into memcpy.
32065 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32066 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32067 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32068 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32069 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32070 bits.
32071 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32072 implementation too.
32073 * sysdeps/sparc/mempcpy.S: New file.
32074
e5aa83e1
DM
32075 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32076 the IFUNC routine in the libc case.
32077 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32078
88570753
DM
32079 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32080 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32081 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32082 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32083 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32084 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32085 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32086 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32087
249d7567
DM
32088 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32089 loop to 256 bytes instead of 64 bytes and fix test signedness.
32090
18c9d62b
DM
32091 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32092 * sysdeps/sparc/sparc32/Makefile: rather than here...
32093 * sysdeps/sparc/sparc64/Makefile: and here.
32094
05f3d1f6
UD
320952012-03-28 Ulrich Drepper <drepper@gmail.com>
32096
32097 * malloc/mallocbug.c: Avoid warnings about unused variables.
32098
86ae07a8
JL
320992012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32100
32101 [BZ #13760]
32102 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32103 in the right place. Discard and retry query if response is
32104 larger than input buffer size.
32105
41bf21a1
JM
321062012-03-28 Joseph Myers <joseph@codesourcery.com>
32107
d6270972
JM
32108 [BZ #369]
32109 [BZ #2678]
32110 [BZ #3866]
32111 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32112 x for large integer exponent.
32113 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32114 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32115 sign of result as needed afterwards.
32116 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32117 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32118 result for underflowing pow the same as for overflow.
32119 (__kernel_standard_l): Handle powl overflow and underflow here
32120 rather than calling __kernel_standard.
32121 * math/libm-test.inc (pow_test): Add more tests.
32122
414fca03 32123 [BZ #3868]
41bf21a1
JM
32124 [BZ #13879]
32125 [BZ #13910]
32126 [BZ #13911]
32127 [BZ #13912]
32128 [BZ #13913]
32129 [BZ #13915]
32130 [BZ #13916]
32131 [BZ #13917]
32132 [BZ #13918]
32133 [BZ #13919]
32134 [BZ #13920]
32135 [BZ #13921]
32136 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32137 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32138 (__kernel_standard_l): New function.
32139 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32140 __kernel_standard.
32141 * math/w_acosl.c (__acosl): Likewise.
32142 * math/w_asinl.c (__asinl): Likewise.
32143 * math/w_atan2l.c (__atan2l): Likewise.
32144 * math/w_atanhl.c (__atanhl): Likewise.
32145 * math/w_coshl.c (__coshl): Likewise.
32146 * math/w_exp10l.c (__exp10l): Likewise.
32147 * math/w_exp2l.c (__exp2l): Likewise.
32148 * math/w_fmodl.c (__fmodl): Likewise.
32149 * math/w_hypotl.c (__hypotl): Likewise.
32150 * math/w_j0l.c (__j0l, __y0l): Likewise.
32151 * math/w_j1l.c (__j1l, __y1l): Likewise.
32152 * math/w_jnl.c (__jnl, __ynl): Likewise.
32153 * math/w_lgammal.c (__lgammal): Likewise.
32154 * math/w_log10l.c (__log10l): Likewise.
32155 * math/w_log2l.c (__log2l): Likewise.
32156 * math/w_logl.c (__logl): Likewise.
32157 * math/w_powl.c (__powl): Likewise.
32158 * math/w_remainderl.c (__remainderl): Likewise.
32159 * math/w_scalbl.c (sysv_scalbl): Likewise.
32160 * math/w_sinhl.c (__sinhl): Likewise.
32161 * math/w_sqrtl.c (__sqrtl): Likewise.
32162 * math/w_tgammal.c (__tgammal): Likewise.
32163 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32164 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32165 * math/libm-test.inc (acos_test): Add more tests.
32166 (acosh_test): Likewise.
32167 (asin_test): Likewise.
32168 (atanh_test): Likewise.
32169 (exp_test): Likewise.
32170 (exp10_test): Likewise.
32171 (exp2_test): Likewise.
32172 (expm1_test): Likewise.
32173 (lgamma_test): Likewise.
32174 (log_test): Likewise.
32175 (log10_test): Likewise.
32176 (log1p_test): Likewise.
32177 (log2_test): Likewise.
32178 (pow_test): Do not allow some spurious overflow exceptions.
32179 (sqrt_test): Add more tests.
32180 (tgamma_test): Likewise.
32181 (y0_test): Likewise.
32182 (y1_test): Likewise.
32183 (yn_test): Likewise.
32184
dd62fda6
AB
321852012-03-27 Anton Blanchard <anton@samba.org>
32186
32187 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32188 MAP_HUGETLB.
32189 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32190 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32191 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32192
1e3cdfda
AJ
321932012-03-27 David S. Miller <davem@davemloft.net>
32194
b855ab85
DM
32195 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32196
1e3cdfda
AJ
32197 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32198 have-as-vis3 check.
32199
322002012-03-27 Andreas Jaeger <aj@suse.de>
32201
32202 * sysdeps/x86_64/elf/configure.in: Moved to ...
32203 * sysdeps/x86_64/configure.in: ... here.
32204 * sysdeps/x86_64/elf/start.S: Moved to ...
32205 * sysdeps/x86_64/start.S: ... here.
32206 * sysdeps/x86_64/elf/configure: Delete.
32207
32208 * sysdeps/x86_64/configure.in: Merge contents from
32209 sysdeps/i386/configure.in (without i686 check).
32210
32211 * sysdeps/i386/elf/Versions: Merge into ...
32212 * sysdeps/i386/Versions: ... this.
32213 * sysdeps/i386/elf/Versions: Delete file.
32214 * sysdeps/i386/elf/start.S: Moved to ...
32215 * sysdeps/i386/start.S: ...here.
32216 * sysdeps/i386/elf/configure.in: Merge into...
32217 * sysdeps/i386/configure.in: ...here.
32218 * sysdeps/i386/elf/configure.in: Delete file.
32219 * sysdeps/i386/elf/configure: Delete file.
32220
32221 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32222 * debug/backtracesyms.c: ... here.
32223 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32224 * debug/backtracesymsfd.c: ... here.
32225 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32226 * sysdeps/generic/ifunc-sel.h: ... here.
32227
32228 * sysdeps/unix/i386/start.c: Delete file.
32229 * sysdeps/unix/sparc/start.c: Delete file.
32230 * sysdeps/unix/start.c: Delete file.
32231
32232 * sysdeps/sh/elf/configure.in: Moved to ...
32233 * sysdeps/sh/configure.in: ... here.
32234 * sysdeps/sh/elf/start.S: Moved to ...
32235 * sysdeps/sh/start.S: ... here.
32236 * sysdeps/sh/elf/configure: Delete file.
32237
32238 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32239 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32240 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32241 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32242 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32243 * sysdeps/powerpc/powerpc64/start.S: here.
32244 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32245 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32246 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32247 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32248 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32249
32250 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32251 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32252 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32253 * sysdeps/powerpc/powerpc32/start.S: ... here.
32254 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32255 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32256 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32257
32258 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32259 * sysdeps/powerpc/ifunc-sel.h: ... here.
32260 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32261 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32262
32263 * sysdeps/sparc/elf/configure.in: Moved to ...
32264 * sysdeps/sparc/configure.in: ... here.
32265 * sysdeps/sparc/elf/configure: Delete file.
32266 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32267 * sysdeps/sparc/sparc32/start.S: ... here.
32268 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32269 * sysdeps/sparc/sparc64/start.S: ... here.
32270 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32271 * sysdeps/sparc/sparc32/Makefile: ... this.
32272 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32273 * sysdeps/sparc/sparc64/Makefile: ... this.
32274
32275 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32276 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32277 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32278 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32279 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32280 * sysdeps/s390/s390-32/setjmp.S: ... here.
32281 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32282 * sysdeps/s390/s390-32/configure.in: ... here.
32283 * sysdeps/s390/s390-32/elf/configure: Delete file.
32284 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32285 * sysdeps/s390/s390-32/start.S: ... here.
32286
32287 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32288 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32289 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32290 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32291 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32292 * sysdeps/s390/s390-64/setjmp.S: ... here.
32293 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32294 * sysdeps/s390/s390-64/configure.in: ... here
32295 * sysdeps/s390/s390-64/elf/configure: Delete file.
32296 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32297 * sysdeps/s390/s390-64/start.S: ... here.
32298 * sysdeps/s390/s390-64/elf/configure: Delete.
32299
32300 * configure.in: Remove support for elf directories in sysdeps.
32301
32302 * configure: Regenerated.
32303 * sysdeps/i386/configure: Regenerated.
32304 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32305 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32306 * sysdeps/s390/s390-32/configure: Regenerated.
32307 * sysdeps/s390/s390-64/configure: Regenerated.
32308 * sysdeps/sh/configure: Regenerated.
32309 * sysdeps/sparc/configure: Regenerated.
32310 * sysdeps/x86_64/configure: Regenerated.
32311
a3f61311
AS
323122012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32313
c876e002
AS
32314 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32315
a3f61311
AS
32316 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32317 denormal result into account.
32318
ac4c54f0
RM
323192012-03-25 Roland McGrath <roland@hack.frob.com>
32320
32321 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32322 Reported by Allan McRae <allan@archlinux.org>.
32323
6a9b9c02
JL
323242012-03-23 Jeff Law <law@redhat.com>
32325
32326 * nss/getnssent.c (__nss_getent): Fix typo.
32327
4c42a0c1
DM
323282012-03-23 David S. Miller <davem@davemloft.net>
32329
32330 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32331
1532c7ac
L
323322012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32333
32334 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32335 to pad to uint64_t for each field.
32336 (dl_tls_index): Replace unsigned long with uint64_t.
32337
3ff42526
PP
323382012-03-23 Daniel Jacobowitz <dmj@google.com>
32339 Paul Pluzhnikov <ppluzhnikov@google.com>
32340
32341 [BZ #6528]
32342 * grp/Makefile (otherlibs): Don't set it.
32343 * inet/Makefile (otherlibs): Likewise.
32344 * login/Makefile (otherlibs): Likewise.
32345 * nscd/Makefile (otherlibs): Likewise.
32346 * posix/Makefile (otherlibs): Likewise.
32347 * pwd/Makefile (otherlibs): Likewise.
32348 * rt/Makefile (otherlibs): Likewise.
32349 * sunrpc/Makefile (otherlibs): Likewise.
32350 * nss/Makefile (otherlibs): Likewise.
32351 Add libnss_files to routines and static-only-routines.
32352 ($(objpfx)getent): Remove rule.
32353 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32354 static-only-routines.
32355
7c69cd14
JM
323562012-03-22 Joseph Myers <joseph@codesourcery.com>
32357
32358 [BZ #13892]
32359 * math/s_cexp.c: Include <float.h>.
32360 (__cexp): Handle exp result overflowing not necessarily
32361 overflowing both real and imaginary parts of result.
32362 * math/s_cexpf.c: Likewise.
32363 * math/s_cexpl.c: Likewise.
32364 * math/libm-test.inc (cexp_test): Add more tests.
32365 * sysdeps/i386/fpu/libm-test-ulps: Update.
32366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32367
81b035fe
L
323682012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32369
32370 * include/link.h (ELFW): New macro.
32371 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32372 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32373
1da7940c
L
323742012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32375
32376 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32377 with uint64_t.
32378
b749dbb9
L
323792012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32380
32381 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32382 declaration.
32383 (struct La_x32_retval): Likewise.
32384
2ff87f3f
L
323852012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32386
32387 * sysdeps/x86_64/preconfigure.in: New file.
32388 * sysdeps/x86_64/preconfigure: New generated file.
32389
c0df8e69
JM
323902012-03-22 Joseph Myers <joseph@codesourcery.com>
32391
48e44791
JM
32392 [BZ #13824]
32393 * math/e_exp2l.c: Include <float.h>.
32394 (__ieee754_exp2l): Handle overflow and underflow cases
32395 separately. Only pass fractional part of argument to
32396 __ieee754_expl.
32397 * math/libm-test.inc (exp2_test): Add more tests.
32398
c0df8e69
JM
32399 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32400 negating x to take absolute value.
32401 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32402 Likewise.
32403 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32404 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32405 Likewise.
32406 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32407 computing low part if x was negated.
32408 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32409
c8e43ba7
L
324102012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32411
32412 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32413 la_x32_gnu_pltexit.
32414 (pltexit): Cast int_retval to ptrdiff_t.
32415 * elf/tst-auditmod3b.c: Likewise.
32416 * elf/tst-auditmod4b.c: Likewise.
32417 * elf/tst-auditmod5b.c: Likewise.
32418 * elf/tst-auditmod6b.c: Likewise.
32419 * elf/tst-auditmod6c.c: Likewise.
32420 * elf/tst-auditmod7b.c: Likewise.
32421
32422 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32423 and x32_gnu_pltexit.
32424
32425 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32426 __ELF_NATIVE_CLASS.
32427 (La_x32_regs): New macro.
32428 (La_x32_retval): Likewise.
32429 (la_x32_gnu_pltenter): New function prototype.
32430 (la_x32_gnu_pltexit): Likewise.
32431
7998fa78
AS
324322012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32433
dcb33988
AS
32434 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32435 exponent.
32436
233fc563
AS
32437 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32438
7998fa78
AS
32439 * configure.in (libc_cv_cc_nofma): Check for option to disable
32440 generation of FMA instructions.
32441 * configure: Regenerate.
32442 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32443 * sysdeps/ieee754/dbl-64/Makefile: New file.
32444 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32445 Remove brandred-fma4.
32446 (CFLAGS-brandred-fma4.c): Remove.
32447 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32448 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32449 define.
32450 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32451 define.
32452
8e95c99a
L
324532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32454
32455 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32456 LLONG_MAX != LONG_MAX.
32457 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32458 (_fitoa_word): Likewise.
32459 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32460 LLONG_MAX != LONG_MAX.
32461 * stdio-common/_itowa.h: Include <_itoa.h>.
32462 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32463 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32464 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32465 only if not defined.
32466 (_ITOA_WORD_TYPE): Likewise.
32467 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32468 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32469
6f4db457
DM
324702012-03-21 David S. Miller <davem@davemloft.net>
32471
32472 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32473
7785fe5a
L
324742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32475
32476 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32477 of x86_64 when setting libc_cv_slibdir, libdir and
32478 libc_cv_localedir.
32479 * sysdeps/unix/sysv/linux/configure: Regenerated.
32480
4535cd55
JM
324812012-03-21 Joseph Myers <joseph@codesourcery.com>
32482
32483 * manual/lang.texi (Old Varargs): Remove section.
32484 (How Variadic): Update menu.
32485 (va_start): Do not mention varargs.h.
32486
17228132
TS
324872012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32488 Joseph Myers <joseph@codesourcery.com>
32489
32490 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32491 link test.
32492 * configure: Regenerated.
32493
8149f976
TS
324942012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32495
05f3d1f6
UD
32496 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32497 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32498 conformtest.pl
8149f976 32499
1a4ac776
JM
325002012-03-21 Joseph Myers <joseph@codesourcery.com>
32501
be22ce65
JM
32502 * NOTES: Remove.
32503 * Makefile (files-for-dist): Remove NOTES.
32504 (NOTES): Remove rule.
32505 * README: Don't refer to NOTES.
32506 * manual/creature.texi: Don't include macros.texi.
32507 * manual/intro.texi (creature.texi): Remove comment referring to
32508 NOTES.
32509
40b601fb
JM
32510 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32511 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32512 * configure: Regenerated.
32513 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32514 LIBC_TRY_CC_OPTION.
32515 (libc_cv_as_i686): Likewise.
32516 (libc_cv_cc_avx): Likewise.
32517 (libc_cv_cc_sse2avx): Likewise.
32518 (libc_cv_cc_fma4): Likewise.
32519 (libc_cv_cc_novzeroupper): Likewise.
32520 * sysdeps/i386/configure: Regenerated.
32521
1a4ac776
JM
32522 [BZ #13883]
32523 * sysdeps/i386/fpu/s_cexp.S: Remove.
32524 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32525 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32526 * math/libm-test.inc (cexp_test): Add more tests.
32527 * sysdeps/i386/fpu/libm-test-ulps: Update.
32528 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32529
a458e7fe
AM
325302012-03-21 Allan McRae <allan@archlinux.org>
32531
32532 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32533
0cb7efc5
JM
325342012-03-21 Joseph Myers <joseph@codesourcery.com>
32535
32536 [BZ #13871]
32537 * math/w_exp2.c: Do not include <float.h>.
32538 (o_threshold, u_threshold): Remove.
32539 (__exp2): Calculate result before checking finiteness and calling
32540 __kernel_standard.
32541 * math/w_exp2f.c: Likewise.
32542 * math/w_exp2l.c: Likewise.
32543 * math/libm-test.inc (exp2_test): Require overflow exception for
32544 1e6 input.
2460d3aa
JM
32545
32546 [BZ #3866]
32547 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32548 range of signed 64-bit integers before using fistpll. Remove
32549 checks for whether integers fit in mantissa bits.
32550 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32551 the range of signed 32-bit integers before using fistpl. Remove
32552 checks for whether integers fit in mantissa bits.
32553 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32554 (__ieee754_powl): Test for y outside the range of signed 64-bit
32555 integers before using fistpll. Reduce 64-bit values to 63-bit
32556 ones as needed.
32557 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32558 divide-by-zero is raised for zero to large negative powers.
32559 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32560 (__ieee754_powl): Test for y outside the range of signed 64-bit
32561 integers before using fistpll. Reduce 64-bit values to 63-bit
32562 ones as needed.
32563 * math/libm-test.inc (pow_test): Add more tests.
32564
eb96ffb0
L
325652012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32566
32567 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32568 <stdio-common/_itoa.h>.
32569 * debug/segfault.c: Likewise.
32570 * elf/dl-cache.c: Likewise.
32571 * elf/dl-minimal.c: Likewise.
32572 * elf/dl-misc.c: Likewise.
32573 * elf/dl-sysdep.c: Likewise.
32574 * elf/dl-version.c: Likewise.
32575 * elf/rtld.c: Likewise.
32576 * hurd/hurdsock.c: Likewise.
32577 * hurd/lookup-retry.c: Likewise.
32578 * malloc/malloc.c: Likewise.
32579 * malloc/mtrace.c: Likewise.
32580 * nscd/nscd_getgr_r.c: Likewise.
32581 * nscd/nscd_getpw_r.c: Likewise.
32582 * nscd/nscd_getserv_r.c: Likewise.
32583 * posix/getopt_init.c: Likewise.
32584 * posix/wordexp.c: Likewise.
32585 * stdio-common/_itoa.c: Likewise.
32586 * stdio-common/printf_fphex.c: Likewise.
32587 * stdio-common/vfprintf.c: Likewise.
32588 * string/_strerror.c: Likewise.
32589 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32590 * sysdeps/i386/i686/hp-timing.h: Likewise.
32591 * sysdeps/mach/_strerror.c: Likewise.
32592 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32593 * sysdeps/mach/hurd/sethostid.c: Likewise.
32594 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32595 * sysdeps/mach/xpg-strerror.c: Likewise.
32596 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32597 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32598 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32599 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32600 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32601 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32602 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32603 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32604 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32605 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32606 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32607 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32608 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32609 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32610 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32611 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32612 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32613 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32614 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32615 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32616 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32617
32618 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32619
32620 * stdio-common/_itoa.h: Moved to ...
32621 * sysdeps/generic/_itoa.h: Here.
32622
32623 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32624
32625 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32626 instead of "_itoa.h" and "_itowa.h".
32627 * stdio-common/vfprintf.: Likewise.
32628
d1af992d
L
326292012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32630
32631 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32632 <bits/wordsize.h>.
32633 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32634 (__signbit): Likwise.
32635 (llrintf): Likwise.
32636 (llrint): Likwise.
32637
114883e0
L
326382012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32639
32640 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32641 __WORDSIZE != 64.
32642
c135cc1b
JM
326432012-03-20 Joseph Myers <joseph@codesourcery.com>
32644
32645 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32646 OVERFLOW_EXCEPTION_OK.
32647 * math/libm-test.inc ("Philosophy"): Update comment about
32648 exception testing.
32649 (OVERFLOW_EXCEPTION): Define.
32650 (OVERFLOW_EXCEPTION_OK): Likewise.
32651 (INVALID_EXCEPTION_OK): Renumber.
32652 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32653 (IGNORE_ZERO_INF_SIGN): Likewise.
32654 (test_exceptions): Handle FE_OVERFLOW.
32655 (exp10_test): Expect overflow exceptions.
32656 (exp2_test): Likewise.
32657 (expm1_test): Likewise.
32658 (nextafter_test): Likewise.
32659 (pow_test): Likewise.
32660 (scalbn_test): Likewise.
32661 (scalbln_test): Likewise.
32662
95443d88
L
326632012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32664
32665 * sysdeps/x86_64/bits/atomic.h
32666 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32667 64bit integer.
32668 (atomic_exchange_acq): Likewise.
32669 (__arch_exchange_and_add_body): Likewise.
32670 (__arch_add_body): Likewise.
32671 (atomic_add_negative): Likewise.
32672 (atomic_add_zero): Likewise.
32673
490df6c4
L
326742012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32675
c2722551 32676 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32677 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32678
5e52b189
L
326792012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32680
32681 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32682 Check __x86_64__ instead of __WORDSIZE.
32683
a9879d4c
L
326842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32685
32686 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32687
5df98260
DM
326882012-03-19 David S. Miller <davem@davemloft.net>
32689
e1497744
DM
32690 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32691
5df98260
DM
32692 * sysdeps/sparc/fpu/fenv_private.h: New file.
32693 * sysdeps/sparc/fpu/math_private.h: Use it.
32694 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32695 Remove.
32696 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32697 (libc_feholdexcept_setroundl): Remove.
32698 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32699 Remove.
32700 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32701 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32702
b4c35121
L
327032012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32704
32705 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32706 int64_t instead of long int.
32707 (INSERT_WORDS64): Likwise.
32708
56965fd7
L
327092012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32710
32711 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32712 _Unwind_GetCFA return to _Unwind_Ptr first.
32713
83d1aec8
JM
327142012-03-19 Joseph Myers <joseph@codesourcery.com>
32715
1897ad44
JM
32716 [BZ #13629]
32717 * math/s_clog.c: Include <float.h>.
32718 (__clog): Scale large or subnormal inputs.
32719 * math/s_clogf.c: Likewise.
32720 * math/s_clogl.c: Likewise.
32721 * math/s_clog10.c: Include <float.h>.
32722 (M_LOG10_2): Define.
32723 (__clog10): Scale large or subnormal inputs.
32724 * math/s_clog10f.c: Likewise.
32725 * math/s_clog10l.c: Likewise.
32726 * math/libm-test.inc (clog_test): Add more tests.
32727 (clog10_test): Likewise.
32728 * sysdeps/i386/fpu/libm-test-ulps: Update.
32729 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32730
7726d6a9
JM
32731 [BZ #11451]
32732 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32733 x and y.
32734 * math/libm-test.inc (atan2_test): Add another test.
32735
83d1aec8
JM
32736 * Makerules (common-objdir-compile): Remove.
32737 * sysdeps/unix/Makefile (config-generated): Do not add
32738 $(unix-generated) to variable.
32739 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32740 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32741 Remove rule.
32742 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32743 Likewise.
32744 [generic bits/local_lim.h] (before-compile): Do not append to
32745 variable.
32746 [generic bits/local_lim.h] (common-generated): Likewise.
32747 [generic sys/param.h] (before-compile): Do not append to variable.
32748 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32749 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32750 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32751 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32752 include.
32753 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32754 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32755 [generic sys/param.h] ($(addprefix
32756 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32757 [generic sys/param.h] (common-generated): Do not append to
32758 variable.
32759 [generic sys/param.h] (sysdep_headers): Likewise.
32760 [generic bits/errno.h] (before-compile): Do not append to
32761 variable.
32762 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32763 rule.
32764 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32765 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32766 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32767 [generic bits/errno.h] (common-generated): Do not append to
32768 variable.
32769 [generic bits/ioctls.h] (before-compile): Do not append to
32770 variable.
32771 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32772 rule.
32773 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32774 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32775 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32776 rule.
32777 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32778 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32779 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32780 [generic bits/ioctls.h] (common-generated): Do not append to
32781 variable.
32782 [generic sys/syscall.h] (syscall.h): Remove variable.
32783 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32784 rule.
32785 [generic sys/syscall.h] (before-compile): Do not append to
32786 variable.
32787 [generic sys/syscall.h] (common-generated): Likewise.
32788 * sysdeps/unix/errnos-tmpl.c: Remove file.
32789 * sysdeps/unix/errnos.awk: Likewise.
32790 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32791 * sysdeps/unix/ioctls.awk: Likewise.
32792 * sysdeps/unix/mk-local_lim.c: Likewise.
32793 * sysdeps/unix/snarf-ioctls: Likewise.
32794
4851a949
RH
327952012-03-19 Richard Henderson <rth@twiddle.net>
32796
bd37f2ee
RH
32797 * sysdeps/i386/fpu/fenv_private.h: New file.
32798 * sysdeps/i386/fpu/math_private.h: Use it.
32799 (math_opt_barrier, math_force_eval): Remove.
32800 (libc_feholdexcept_setround_53bit): Remove.
32801 (libc_feupdateenv_53bit): Remove.
32802 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32803 (math_opt_barrier, math_force_eval): Remove.
32804 (libc_feholdexcept): Remove.
32805 (libc_feholdexcept_setround): Remove.
32806 (libc_fetestexcept, libc_fesetenv): Remove.
32807 (libc_feupdateenv_test): Remove.
32808 (libc_feupdateenv, libc_feholdsetround): Remove.
32809 (libc_feresetround): Remove.
32810
d0adc922
RH
32811 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32812 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32813
0fe0f1f8
RH
32814 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32815 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32816 (libc_feupdateenv_testl): New.
32817 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32818 (libc_feupdateenv_testf): New.
32819 (libc_feupdateenv): Use libc_feupdateenv_test.
32820 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32821 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32822
eb92c487
RH
32823 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32824 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32825 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32826 (libc_feresetround_noex): New.
32827 (libc_feresetround_noexf): New.
32828 (libc_feresetround_noexl): New.
32829 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32830 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32831 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32832 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32833 SET_RESTORE_ROUND.
32834 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32835 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32836 (__cos): Likewise.
32837 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32838 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32839 SET_RESTORE_ROUND_NOEX.
32840 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32841 SET_RESTORE_ROUND_NOEXF.
32842 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32843 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32844 (libc_feholdsetroundf): New.
32845 (libc_feresetround, libc_feresetroundf): New.
32846
7d2e8012
RH
32847 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32848 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32849 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32850
b4dabbb4
RH
32851 * sysdeps/generic/math_private.h: Include <fenv.h>.
32852 (default_libc_feholdexcept): New.
32853 (default_libc_feholdexcept_setround): New.
32854 (default_libc_fesetenv, default_libc_feupdateenv): New.
32855 (libc_feholdexcept): Only define if undefined.
32856 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32857 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32858 (libc_feholdexcept_setroundl): Likewise.
32859 (libc_feholdexcept_setround_53bit): Likewise.
32860 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32861 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32862 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32863 (libc_feupdateenv_53bit): Likewise.
32864 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32865 (libc_feholdexcept): Convert from macro to inline function.
32866 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32867 (libc_fesetenv, libc_feupdateenv): Likewise.
32868
4851a949
RH
32869 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32870 not previously defined.
32871 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32872 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32873 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32874 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32875 * sysdeps/ieee754/flt-32/math_private.h: New file.
32876 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32877 math_private.h below SET_FLOAT_WORD.
32878 (__isnan, __isinf_ns, __finite): Remove.
32879 (__isnanf, __isinf_nsf, __finitef): Remove.
32880
e79d442e
AS
328812012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32882
32883 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32884
90b80344
DM
328852012-03-17 David S. Miller <davem@davemloft.net>
32886
32887 [BZ #6471]
32888 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32889 for 2.16.
32890
edc21804
DM
328912012-03-16 David S. Miller <davem@davemloft.net>
32892
77e927af
DM
32893 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32894 warnings.
32895
374976dd
DM
32896 [BZ #6471]
32897 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32898 properly.
32899 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32900 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32901 sysdep_routines when subdir is sysvipc.
32902 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32903 __getshmlba helper.
32904
edc21804
DM
32905 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32906
473c3ef3
L
329072012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32908
32909 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32910 [__LP64__].
32911
eb0f39b6
L
329122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32913
32914 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32915 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32916 (__lround): Renamed to ...
32917 (__llround): This. Replace long int with long long int.
32918 Define lround functions as aliases of llround functions.
32919 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32920
6b6cd74b
L
329212012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32922
32923 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32924 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32925 adresses to uintptr_t. Replace "long int" and "unsigned long
32926 int" with "greg_t" on va_arg.
32927
f1a77b01
L
329282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32929
32930 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32931 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32932
32933 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32934 Move e_machine check before EI_CLASS check. Handle x32
32935 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32936 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32937 SKIP_EM_IA_64 and include
32938 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32939
32940 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32941 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32942 (add_system_dir): New macro.
32943
32944 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32945 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32946
11b90b9f
JM
329472012-03-16 Joseph Myers <joseph@codesourcery.com>
32948
c36e1d23
JM
32949 [BZ #2551]
32950 [BZ #2552]
32951 [BZ #2553]
32952 [BZ #2554]
32953 [BZ #2562]
32954 [BZ #2563]
32955 [BZ #2565]
32956 [BZ #2566]
32957 [BZ #2576]
32958 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
32959 (y0): Likewise.
32960 * math/w_j0f.c (j0f): Likewise.
32961 (y0f): Likewise.
32962 * math/w_j0l.c (__j0l): Likewise.
32963 (__y0l): Likewise.
32964 * math/w_j1.c (j1): Likewise.
32965 (y1): Likewise.
32966 * math/w_j1f.c (j1f): Likewise.
32967 (y1f): Likewise.
32968 * math/w_j1l.c (__j1l): Likewise.
32969 (__y1l): Likewise.
32970 * math/w_jn.c (jn): Likewise.
32971 (yn): Likewise.
32972 * math/w_jnf.c (jnf): Likewise.
32973 (ynf): Likewise.
32974 * math/w_jnl.c (__jnl): Likewise.
32975 (__ynl): Likewise.
32976 * math/libm-test.inc (j0_test): Add more tests.
32977 (j1_test): Likewise.
32978 (jn_test): Likewise. Add trailing semicolon to existing test.
32979 (y0_test): Likewise.
32980 (y1_test): Likewise.
32981 * sysdeps/i386/fpu/libm-test-ulps: Update.
32982 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32983
11b90b9f
JM
32984 [BZ #13851]
32985 [BZ #13854]
32986 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
32987 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
32988 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
32989 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
32990 (__tanl): Set errno for infinite argument.
32991 * sysdeps/i386/fpu/mptan.c: Remove.
32992 * sysdeps/i386/fpu/s_tan.S: Likewise.
32993 * sysdeps/i386/fpu/s_tanl.S: Likewise.
32994 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
32995 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
32996 * math/libm-test.inc (tan_test): Add more tests and enable more
32997 tests for double and long double.
32998 * sysdeps/i386/fpu/libm-test-ulps: Update.
32999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33000
6a1bd2a1
JK
330012012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33002
33003 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33004 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33005
10a803e0
RM
330062012-03-16 Roland McGrath <roland@hack.frob.com>
33007
33008 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33009 * configure.in: Use it for both main tree and add-ons.
33010 * configure: Regenerated.
33011
f196c7f7
L
330122012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33013
33014 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33015
8848d99d
JM
330162012-03-16 Joseph Myers <joseph@codesourcery.com>
33017
96cbe7f4
JM
33018 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33019 in comment.
33020
8848d99d
JM
33021 [BZ #13851]
33022 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33023 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33024 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33025 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33026 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33027 infinite argument.
33028 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33029 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33030 != 0 for prec == 2.
33031 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33032 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33033 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33034 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33035 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33036 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33037 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33038 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33039 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33040 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33041 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33042 * math/libm-test.inc (cos_test): Add more tests and enable more
33043 tests for long double.
33044 (sin_test): Likewise.
33045 (sincos_test): Likewise.
33046 * sysdeps/i386/fpu/libm-test-ulps: Update.
33047 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33048
dd7f4703
DM
330492012-03-16 David S. Miller <davem@davemloft.net>
33050
33051 * sysdeps/sparc/fpu/math_private.h: New file.
33052
006f1daa
DM
330532012-03-15 David S. Miller <davem@davemloft.net>
33054
c0c83bc8
DM
33055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33056 file.
e6a62e18 33057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33059 file.
e6a62e18
DM
33060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33061 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33062 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33063 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33065 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33066 sysdep routines.
33067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33068
88cb87d9
DM
33069 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33070 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33071
006f1daa 33072 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33073 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33074 sparc-ifunc.h
006f1daa 33075 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33076 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33077 Likewise.
33078 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33079 Likewise.
006f1daa
DM
33080 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33083 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33084 Likewise.
006f1daa
DM
33085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33086 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33089 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33090 Likewise.
33091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33092 Likewise.
006f1daa
DM
33093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33097 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33098 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33099 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33100 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33101 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33102 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33103 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33107 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33108 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33109 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33110 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33111 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33112 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33113 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33114 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33115 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33116 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33117
11e0098e
AS
331182012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33119
33120 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33121 scaling.
33122 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33123
e85b09d0
AJ
331242012-03-15 Andreas Jaeger <aj@suse.de>
33125
33126 [BZ #13852]
33127 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33128 ieee754/flt-32 implementation for sin, cos and sincos.
33129 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33130 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33131 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33132 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33133 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33134 ieee754/flt-32 implementation for tan.
33135
33136 * math/libm-test.inc (cos_test): Enable some large input tests for
33137 float as well
33138 (sin_test): Likewise.
33139 (sincos_test): Likewise.
33140 (tan_test): Add tests for large input.
33141
33142 * sysdeps/i386/fpu/libm-test-ulps: Update.
33143
81c64153
AJ
331442012-03-15 Andreas Jaeger <aj@suse.de>
33145
33146 [BZ #13658]
33147 * math/libm-test.inc (cos_test): Add more test cases.
33148 (sin_test): Likewise.
33149 (sincos_test): Likewise.
33150
7bbfa5c6
AJ
331512012-03-15 Andreas Jaeger <aj@suse.de>
33152
33153 [BZ #13837]
33154 * math/libm-test.inc (cos_test): Add a test case for large input
33155 value.
33156 (sin_test): Likewise.
33157 (sincos_test): Likewise.
33158
331592012-03-15 Andreas Jaeger <aj@suse.de>,
33160 Joseph Myers <joseph@codesourcery.com>
33161
33162 [BZ #13658]
0671f479 33163 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33164 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33165 * sysdeps/i386/fpu/branred.c: Likewise.
33166 * sysdeps/i386/fpu/dosincos.c: Likewise.
33167 * sysdeps/i386/fpu/mpa.c: Likewise.
33168 * sysdeps/i386/fpu/s_cos.S: Likewise.
33169 * sysdeps/i386/fpu/s_sin.S: Likewise.
33170 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33171 * sysdeps/i386/fpu/sincos32.c: Likewise.
33172
33173 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33174 Define.
33175 (libc_feupdateenv_53bit): Define.
33176 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33177 Define.
33178 (libc_feupdateenv_53bit): Define.
33179
33180 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33181 53 bit (without extend i386 double precision).
33182
33183 * math/libm-test.inc (sincos_test): Add tests for large input.
33184 (sin): Likewise.
33185 (cos): Likewise.
33186
33187 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33188
9cad04ea
AS
331892012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33190
33191 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33192
f7062b9a
DM
331932012-03-15 David S. Miller <davem@davemloft.net>
33194
33195 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33196 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33197 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33198 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33201 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33202 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33203 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33208 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33209 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33210 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33211 file.
f7062b9a 33212 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33213 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33214 file.
f7062b9a 33215 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33216 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33217 file.
f7062b9a 33218 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33220 file.
f7062b9a
DM
33221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33222 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33223 fmin/fmax sysdep routines.
33224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33225
7bd951ff
DM
332262012-03-14 David S. Miller <davem@davemloft.net>
33227
559398ab
DM
33228 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33229 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33230 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33231 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33232 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33233 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33234 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33235 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33236 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33237 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33238 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33239 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33240 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33241 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33242 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33243 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33244 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33245 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33246 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33247 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33248 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33249 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33250 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33251 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33252 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33253 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33254 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33255 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33256 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33257 routines.
33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33259 file.
559398ab 33260 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33262 file.
559398ab 33263 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33265 file.
559398ab 33266 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33268 file.
559398ab 33269 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33271 file.
559398ab 33272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33274 file.
33275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33276 file.
33277 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33278 file.
33279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33280 file.
33281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33282 New file.
33283 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33284 file.
33285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33286 file.
559398ab 33287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33288 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33289 file.
559398ab 33290 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33292 file.
559398ab 33293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33294 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33295 file.
559398ab 33296 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33298 VIS3 routines.
559398ab
DM
33299
33300 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33301 New file.
33302
5a1c1e32
DM
33303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33304
eae47a36
DM
33305 * sysdeps/sparc/configure.in: New file.
33306 * sysdeps/sparc/configure: Generate.
33307 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33308 * configure: Regenerate.
33309 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33310 * config.make.in (have-as-vis3): New.
33311 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33312 available use -Av9d instead of -Av9a.
33313 * sysdeps/sparc/sparc64/Makefile: Likewise.
33314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33316 New file.
33317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33318 file.
33319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33320 New file.
33321 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33322 file.
eae47a36
DM
33323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33324 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33325 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33326 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33327 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33328
c0c83bc8
DM
33329 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33330 fzeros/fnegs to load 0x80000000 into a float register instead of
33331 using the stack.
7bd951ff
DM
33332 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33333
bd951ccb
JM
333342012-03-14 Joseph Myers <joseph@codesourcery.com>
33335
33336 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33337 bits/syscall.h.
33338 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33339 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33340 ($(inst_includedir)/bits/syscall.h): Remove rule.
33341 ($(objpfx)bits/syscall.d): Include instead of
33342 $(objpfx)syscall-list.d.
33343 (generated): Change syscall-list.h and syscall-list.d to
33344 bits/syscall.h and bits/syscall.d.
33345
bb4e6db2
RM
333462012-03-14 Roland McGrath <roland@hack.frob.com>
33347
33348 [BZ #13846]
33349 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33350
aa4a2ae1
JM
333512012-03-14 Joseph Myers <joseph@codesourcery.com>
33352
e456826d
JM
33353 [BZ #13841]
33354 * math/s_csqrt.c: Include <float.h>.
33355 (__csqrt): Scale large or subnormal inputs.
33356 * math/s_csqrtf.c: Likewise.
33357 * math/s_csqrtl.c: Likewise.
33358 * math/libm-test.inc (csqrt_test): Add more tests.
33359 * sysdeps/i386/fpu/libm-test-ulps: Update.
33360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33361
aa4a2ae1
JM
33362 [BZ #13840]
33363 * math/libm-test.inc (hypot_test): Add more tests.
33364
7c10fd35
DM
333652012-03-13 David S. Miller <davem@davemloft.net>
33366
33367 [BZ #13840]
33368 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33369 double-precision for the calculation instead of scaling.
33370
f453b98b
JM
333712012-03-13 Joseph Myers <joseph@codesourcery.com>
33372
33373 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33374 manipulate bits before adding and subtracting TWO52[sx].
33375 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33376 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33377 Likewise.
33378 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33379
09a3453f
DM
333802012-03-13 David S. Miller <davem@davemloft.net>
33381
8e59da90
DM
33382 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33383 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33384 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33385 rtld-global-offsets.h
33386 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33387
2a8ab7f2
DM
33388 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33389 large parameters.
33390
10f62770
DM
33391 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33392
5f0bdb18
DM
33393 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33394 'err' in the ifdef scope in which it is actually used.
33395
09a3453f
DM
33396 * nss/nss_db/db-init.c: Include string.h
33397
b4b2eb5e
DM
333982012-03-12 David S. Miller <davem@davemloft.net>
33399
98bb2f1c
DM
33400 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33401 masking out of the most significant byte of random value used.
33402 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33403 Fix coding style in previous change.
33404
b4b2eb5e
DM
33405 * sysdeps/unix/sysv/linux/kernel-features.h
33406 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33407 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33408 expression.
33409 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33410 later.
33411
6e226b09
DM
334122012-03-11 David S. Miller <davem@davemloft.net>
33413
a1bcbd40
DM
33414 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33415 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33416 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33417 for 'resultvar' otherwise things get truncated on 64-bit.
33418
cb9d6174
DM
33419 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33420 Fix masking out of the most significant byte of random value used.
33421
6e226b09
DM
33422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33423
058c132d
AS
334242012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33425
33426 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33427
2d2cd515
DM
334282012-03-09 David S. Miller <davem@davemloft.net>
33429
33430 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33431 variables with appropriate CPP guards.
33432 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33433 frame pointer, not the stack pointer. Correct layout comments. Fix test
33434 on resulting framesize and the management of the outregs buffer for pltexit.
33435 Preserve floating point return values across _dl_call_pltexit call.
33436 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33437 framesize and the management of the outregs buffer for pltexit.
33438 Preserve floating point return values across _dl_call_pltexit
33439 call.
33440 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33441 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33442 (print_exit): Fix format string for return register value.
33443
9a07f9d0
JM
334442012-03-10 Joseph Myers <joseph@codesourcery.com>
33445
33446 * sunrpc/Makefile (others): Add rpcgen.
33447 ($(objpfx)rpcgen): Remove special build rule and dependency on
33448 libc.
33449 * sunrpc/rpcgen.c: New file.
33450
547b5e30
PE
334512012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33452
c524201a
PE
33453 [BZ #13673]
33454 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33455 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33456 * sysdeps/i386/crti.S: Likewise.
33457 * sysdeps/i386/crtn.S: Likewise.
33458 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33459 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33460 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33461 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33462 * sysdeps/sh/crti.S: Likewise.
33463 * sysdeps/sh/crtn.S: Likewise.
33464 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33465
7b6235f2
PE
33466 [BZ #13673]
33467 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33468 with URL.
33469 * locale/programs/locfile-kw.gperf: Likewise.
33470 * locale/programs/charmap-kw.h: Regenerated.
33471 * locale/programs/locfile-kw.h: Likewise.
33472
547b5e30
PE
33473 [BZ #13673]
33474 * intl/plural.y: Replace FSF snail mail address with URL.
33475 * intl/plural.c: Regenerated.
33476
5f0a5dae
RH
334772012-03-09 Richard Henderson <rth@twiddle.net>
33478
33479 * include/math_private.h: Remove file.
33480 * math/math_private.h: Move file ...
33481 * sysdeps/generic/math_private.h: ... here.
33482
b8c03620
RH
33483 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33484 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33485 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33486
4e234f5d 33487 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33488 and <math_private.h>.
33489 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33490 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33491 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33492 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33493 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33494 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33495 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33496 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33497 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33498 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33499 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33500 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33501 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33502 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33503 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33504 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33505 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33506 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33507 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33508 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33509 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33510 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33511 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33512 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33513 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33514 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33515 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33516 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33517 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33518 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33519 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33520 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33521 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33522 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33523 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33524 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33525 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33526 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33527 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33528 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33529 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33530 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33531 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33532 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33533 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33534 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33535 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33536 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33537 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33538 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33539 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33540 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33541 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33542 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33543 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33544 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33545 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33546 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33547 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33548 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33549 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33551 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33552 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33553 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33554 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33555 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33556 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33557 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33558 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33559 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33563 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33564 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33574 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33577 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33578 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33579 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33580 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33581 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33582 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33583 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33584 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33585 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33586 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33587 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33588 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33589 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33590 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33591 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33592 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33593 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33594 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33595 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33596 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33597 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33598 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33599 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33600 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33601 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33602 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33603 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33604 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33605 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33606 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33607 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33608 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33609 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33610 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33611 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33612 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33613 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33614 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33615 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33616 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33617 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33618 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33619 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33620 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33621 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33622 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33623 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33624 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33625 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33626 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33627 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33628 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33629 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33630 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33631 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33632 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33633 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33634 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33635 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33636 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33637 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33638 * sysdeps/ieee754/k_standard.c: Likewise.
33639 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33640 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33641 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33642 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33643 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33644 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33645 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33646 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33647 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33648 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33649 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33650 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33651 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33652 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33653 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33654 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33655 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33656 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33657 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33658 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33659 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33660 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33661 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33662 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33663 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33664 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33665 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33666 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33667 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33668 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33669 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33670 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33671 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33672 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33673 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33674 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33675 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33676 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33677 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33678 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33679 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33680 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33681 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33707 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33730 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33731 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33732 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33733 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33740 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33748 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33754 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33755 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33756 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33758 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33759 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33760 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33761 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33763 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33766 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33767 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33771 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33773 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33775 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33785 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33786 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33787 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33788 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33789 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33790 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33792 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33794 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33795 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33796 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33797 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33799 * sysdeps/ieee754/s_lib_version.c: Likewise.
33800 * sysdeps/ieee754/s_matherr.c: Likewise.
33801 * sysdeps/ieee754/s_signgam.c: Likewise.
33802 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33803 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33804 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33805 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33806 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33807 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33808 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33809 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33810 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33811 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33812 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33813 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33814 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33815 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33816 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33817 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33818 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33819 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33820 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33823
1991fa03
JM
338242012-03-09 Joseph Myers <joseph@codesourcery.com>
33825
33826 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33827 * sunrpc/rpc_main.c: Likewise.
33828 * sunrpc/rpc_svcout.c: Likewise.
33829
60d6f5a6
DM
338302012-03-09 David S. Miller <davem@davemloft.net>
33831
33832 * include/math_private.h: New file.
33833
4962050e
JM
338342012-03-09 Joseph Myers <joseph@codesourcery.com>
33835
02a6f887
JM
33836 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33837 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33838 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33839 from <bits/socket_type.h>.
33840 (enum __socket_type): Don't define here.
33841 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33842 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33843 bits/socket_type.h.
33844
c6e013c1
JM
33845 [BZ #13566]
33846 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33847 checking __USE_GNU.
33848
4962050e
JM
33849 * Makerules ($(inst_includedir)/%.h): New rule.
33850 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33851 (install-others): Remove variable setting.
33852 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33853
38842f45
RH
338542012-03-08 Richard Henderson <rth@twiddle.net>
33855
67bb6da6
RH
33856 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33857 from macro to inline function; merge with the
33858 !__LIBC_INTERNAL_MATH_INLINES version.
33859 (__ieee754_sqrtf): Likewise.
33860
15194b4b
RH
33861 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33862 to inline function.
33863 (__rintf, __floor, __floorf): Likewise.
33864
64e21ede
RH
33865 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33866 macro to inline function.
33867 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33868
38842f45
RH
33869 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33870 not <math/math_private.h>.
33871
c64bf5fe
DM
338722012-03-08 David S. Miller <davem@davemloft.net>
33873
33874 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33875 copyright year.
33876 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33877
82d86f28
TS
338782012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33879
33880 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33881 normalization.
33882 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33883 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33884
aea5d727
UD
338852012-03-08 Ulrich Drepper <drepper@gmail.com>
33886
33887 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33888 be defined individually, they must be defined as a block. Define
33889 S for printing a string instead of hidint the different by using a
33890 macro for adding the 'l'.
33891 * stdio-common/tst-fphex-wide.c: Adjust.
33892
70bca0a3
MP
338932012-03-07 Marek Polacek <polacek@redhat.com>
33894
33895 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33896
65b81130
MP
338972012-03-08 Marek Polacek <polacek@redhat.com>
33898
33899 [BZ #13806]
33900 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33901 * stdio-common/tst-fphex.c: Define a few macros to make the
33902 test reusable. Use them.
33903 * stdio-common/tst-fphex-wide.c: New file.
33904
07037eeb
JM
339052012-03-08 Joseph Myers <joseph@codesourcery.com>
33906
a7a93d50
JM
33907 [BZ #6911]
33908 * manual/macros.texi (gnusystems): New macro.
33909 (nongnusystems): Likewise.
33910 (gnulinuxhurdsystems): Likewise.
33911 (gnuhurdsystems): Likewise..
33912 (gnulinuxsystems): Likewise.
33913 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33914 variants of the GNU system, not "GNU system".
33915 * manual/conf.texi: Likewise.
33916 * manual/errno.texi: Likewise. Update example of errno macro
33917 expansion.
33918 * manual/filesys.texi: Likewise.
33919 (getumask): Document as specific to GNU/Hurd.
33920 * manual/install.texi: Likewise. Reword some references to
33921 GNU/Linux.
33922 * manual/intro.texi: Likewise.
33923 * manual/io.texi: Likewise.
33924 (File Name Portability): Detail which constraints are inapplicable
33925 to all GNU systems and which are only inapplicable to GNU/Hurd.
33926 * manual/job.texi: Likewise.
33927 * manual/llio.texi: Likewise.
33928 (O_NOCTTY): Document as present on GNU/Linux.
33929 * manual/maint.texi: Likewise.
33930 * manual/memory.texi: Likewise.
33931 * manual/pattern.texi: Likewise.
33932 * manual/pipe.texi: Likewise.
33933 * manual/process.texi: Likewise.
33934 * manual/resource.texi: Likewise.
33935 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33936 child on GNU/Hurd.
33937 * manual/setjmp.texi: Likewise.
33938 * manual/signal.texi: Likewise.
33939 * manual/startup.texi: Likewise.
33940 * manual/stdio.texi: Likewise.
33941 * manual/terminal.texi: Likewise.
33942 (ONLCR): Document as POSIX.
33943 (OXTABS): Document availability on GNU/Linux as XTABS.
33944 (ONOEOT): Document availability separately from other bits.
33945 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33946 * manual/time.texi: Likewise.
33947 * manual/users.texi: Likewise.
33948 * INSTALL: Regenerated.
33949 * sysdeps/gnu/errlist.c: Regenerated.
33950
07037eeb
JM
33951 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33952 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33953 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33954 puts.
33955 * configure: Regenerated.
33956
d1d3431a
JM
339572012-03-07 Joseph Myers <joseph@codesourcery.com>
33958
af6a1e37
JM
33959 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
33960 default includes instead of AC_HEADER_CHECK.
33961 * sysdeps/i386/configure: Regenerated.
33962
d1d3431a
JM
33963 [BZ #10716]
33964 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
33965 * math/s_cacoshf.c (__cacoshf): Likewise.
33966 * math/s_cacoshl.c (__cacoshl): Likewise.
33967 * math/s_casinh.c (__casinh): Set signs of result from argument.
33968 * math/s_casinhf.c (__casinhf): Likewise.
33969 * math/s_casinhl.c (__casinhl): Likewise.
33970 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
33971 (casinh_test): Add more tests.
33972 * sysdeps/i386/fpu/libm-test-ulps: Update.
33973 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33974
482ff4da
UD
339752012-03-07 Ulrich Drepper <drepper@gmail.com>
33976
872fda05
UD
33977 * po/zh_TW.po: Update from translation team.
33978
a4300c7a
UD
33979 * login/Makefile (distribute): Remove variable.
33980 * catgets/Makefile: Likewise.
33981 * mach/Makefile: Likewise.
33982 * malloc/Makefile: Likewise.
33983 * misc/Makefile: Likewise.
33984 * iconv/Makefile: Likewise.
33985 * nscd/Makefile: Likewise.
33986 * hurd/Makefile: Likewise.
33987 * manual/Makefile: Likewise.
33988 * locale/Makefile: Likewise.
33989 * intl/Makefile: Likewise.
33990 * conform/Makefile: Likewise.
33991 * nss/Makefile: Likewise.
33992 * time/Makefile: Likewise.
33993 * soft-fp/Makefile: Likewise.
33994 * dirent/Makefile: Likewise.
33995 * gmon/Makefile: Likewise.
33996 * po/Makefile: Likewise.
33997 * rt/Makefile: Likewise.
33998 * socket/Makefile: Likewise.
33999 * math/Makefile: Likewise.
34000 * signal/Makefile: Likewise.
34001 * debug/Makefile: Likewise.
34002 * elf/Makefile: Likewise.
34003 * timezone/Makefile: Likewise.
34004 * stdlib/Makefile: Likewise.
34005 * iconvdata/Makefile: Likewise.
34006 * sunrpc/Makefile: Likewise.
34007 * io/Makefile: Likewise.
34008 * argp/Makefile: Likewise.
34009 * inet/Makefile: Likewise.
34010 * hesiod/Makefile: Likewise.
34011 * grp/Makefile: Likewise.
34012 * csu/Makefile: Likewise.
34013 * wctype/Makefile: Likewise.
34014 * crypt/Makefile: Likewise.
34015 * libio/Makefile: Likewise.
34016 * string/Makefile: Likewise.
34017 * nis/Makefile: Likewise.
34018 * resolv/Makefile: Likewise.
34019 * stdio-common/Makefile: Likewise.
34020 * wcsmbs/Makefile: Likewise.
34021 * dlfcn/Makefile: Likewise.
34022 * posix/Makefile: Likewise.
34023
3b7c4e74 34024 [BZ #6959]
482ff4da
UD
34025 * timezone/Makefile: Don't install timezone files, just the programs
34026 and scripts.
34027
f72ed77d
UD
340282012-03-06 Ulrich Drepper <drepper@gmail.com>
34029
a000466f
UD
34030 * nss/databases.def: Add missing gshadow entry.
34031
f72ed77d
UD
34032 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34033
a53b7a4e
MP
340342012-03-06 Marek Polacek <polacek@redhat.com>
34035
34036 [BZ #13726]
34037 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34038 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34039 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34040 * stdio-common/tst-long-dbl-fphex.c: New file.
34041
e9258400
DM
340422012-03-06 David S. Miller <davem@davemloft.net>
34043
34044 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34045 (set_obp_int): New function.
34046 (get_obp_int): New function.
34047 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34048 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34049 Avoid unused variable warnings on 'val' and use builtin_expect.
34050 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34051 __builtin_expect.
e9258400
DM
34052 (INLINE_CLONE_SYSCALL): Likewise.
34053
3bd2c723
DM
340542012-03-05 David S. Miller <davem@davemloft.net>
34055
34056 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34057
bbb78d03
AS
340582012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34059
884c5db4
AS
34060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34061
bbb78d03
AS
34062 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34063 only for |x| >= 40.
34064 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34065
1c9f702a 340662012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34067
34068 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34069 Replace gettimeofday with __vdso_gettimeofday.
34070
7be16f82
RM
34071 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34072 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34073 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34074
34075 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34076 time with __vdso_time.
34077
ed58a00f
JM
340782012-03-05 Joseph Myers <joseph@codesourcery.com>
34079
34080 * manual/lang.texi (size_t): Note types to which size_t may be
34081 equivalent with the GNU C Library, but do not describe when
34082 differences between them are significant.
34083
30ee4ced
AJ
340842012-03-05 Andreas Jaeger <aj@suse.de>
34085
34086 * sysdeps/i386/fpu/libm-test-ulps: Update.
34087
b7cd39e8
JM
340882012-03-05 Joseph Myers <joseph@codesourcery.com>
34089
34090 [BZ #3976]
34091 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34092 (__ieee754_pow): Save and restore rounding mode and use
34093 round-to-nearest for main computations.
34094 * math/libm-test.inc (pow_test_tonearest): New function.
34095 (pow_test_towardzero): Likewise.
34096 (pow_test_downward): Likewise.
34097 (pow_test_upward): Likewise.
34098 (main): Call the new functions.
34099 * sysdeps/i386/fpu/libm-test-ulps: Update.
34100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34101
34102 [BZ #3976]
34103 * math/libm-test.inc (cosh_test_tonearest): New function.
34104 (cosh_test_towardzero): Likewise.
34105 (cosh_test_downward): Likewise.
34106 (cosh_test_upward): Likewise.
34107 (sinh_test_tonearest): Likewise.
34108 (sinh_test_towardzero): Likewise.
34109 (sinh_test_downward): Likewise.
34110 (sinh_test_upward): Likewise.
34111 (main): Call the new functions.
34112 * sysdeps/i386/fpu/libm-test-ulps: Update.
34113 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34114
6c6a98c9
TV
341152012-03-05 Tom de Vries <tom@codesourcery.com>
34116
34117 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34118 default stack guard is set in last bytes.
34119 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34120
21bb2d2e 341212012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34122
21bb2d2e 34123 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34124
21bb2d2e
AJ
34125 [BZ #13656]
34126 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34127 possibly allocate from heap instead of stack.
34128 * stdio-common/bug-vfprintf-nargs.c: New file.
34129 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34130
c6922934
AS
341312012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34132
34133 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34134
bc957d53
MP
341352012-03-03 Marek Polacek <polacek@redhat.com>
34136
34137 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34138 * math/math_private.h: Likewise.
34139 * stdlib/tst-strtod.c: Likewise.
34140 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34141 * sysdeps/x86_64/bits/atomic.h: Likewise.
34142
6358490d
DM
341432012-03-02 David S. Miller <davem@davemloft.net>
34144
34145 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34146 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34147 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34148 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34149 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34150 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34151 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34152 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34153
01ae168d
RM
341542012-03-02 Roland McGrath <roland@hack.frob.com>
34155
d9a17c07
RM
34156 [BZ #13792]
34157 * manual/examples/README: New file, says the example source files
34158 can be used under GPL>=2.
34159 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34160 line containing just "*/".
34161 * manual/examples/add.c: Add copyright header (GPL>=2).
34162 * manual/examples/argp-ex1.c: Likewise.
34163 * manual/examples/argp-ex2.c: Likewise.
34164 * manual/examples/argp-ex3.c: Likewise.
34165 * manual/examples/argp-ex4.c: Likewise.
34166 * manual/examples/atexit.c: Likewise.
34167 * manual/examples/db.c: Likewise.
34168 * manual/examples/dir.c: Likewise.
34169 * manual/examples/dir2.c: Likewise.
34170 * manual/examples/execinfo.c: Likewise.
34171 * manual/examples/filecli.c: Likewise.
34172 * manual/examples/filesrv.c: Likewise.
34173 * manual/examples/fmtmsgexpl.c: Likewise.
34174 * manual/examples/genpass.c: Likewise.
34175 * manual/examples/inetcli.c: Likewise.
34176 * manual/examples/inetsrv.c: Likewise.
34177 * manual/examples/isockad.c: Likewise.
34178 * manual/examples/longopt.c: Likewise.
34179 * manual/examples/memopen.c: Likewise.
34180 * manual/examples/memstrm.c: Likewise.
34181 * manual/examples/mkfsock.c: Likewise.
34182 * manual/examples/mkisock.c: Likewise.
34183 * manual/examples/mygetpass.c: Likewise.
34184 * manual/examples/pipe.c: Likewise.
34185 * manual/examples/popen.c: Likewise.
34186 * manual/examples/rprintf.c: Likewise.
34187 * manual/examples/search.c: Likewise.
34188 * manual/examples/select.c: Likewise.
34189 * manual/examples/setjmp.c: Likewise.
34190 * manual/examples/sigh1.c: Likewise.
34191 * manual/examples/sigusr.c: Likewise.
34192 * manual/examples/stpcpy.c: Likewise.
34193 * manual/examples/strdupa.c: Likewise.
34194 * manual/examples/strftim.c: Likewise.
34195 * manual/examples/strncat.c: Likewise.
34196 * manual/examples/subopt.c: Likewise.
34197 * manual/examples/swapcontext.c: Likewise.
34198 * manual/examples/termios.c: Likewise.
34199 * manual/examples/testopt.c: Likewise.
34200 * manual/examples/testpass.c: Likewise.
34201 * manual/examples/timeval_subtract.c: Likewise.
34202
01ae168d
RM
34203 [BZ #13792]
34204 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34205 function to ...
34206 * manual/timeval_subtract.c.texi: ... here, new file.
34207
49efa33d
DM
342082012-03-02 David S. Miller <davem@davemloft.net>
34209
34210 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34211
28afd92d
JM
342122012-03-02 Joseph Myers <joseph@codesourcery.com>
34213
804360ed
JM
34214 [BZ #3976]
34215 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34216 (__sin): Save and restore rounding mode and use round-to-nearest
34217 for all computations.
34218 (__cos): Save and restore rounding mode and use round-to-nearest
34219 for all computations.
34220 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34221 <fenv.h>.
34222 (tan): Save and restore rounding mode and use round-to-nearest for
34223 all computations.
34224 * math/libm-test.inc (cos_test_tonearest): New function.
34225 (cos_test_towardzero): Likewise.
34226 (cos_test_downward): Likewise.
34227 (cos_test_upward): Likewise.
34228 (sin_test_tonearest): Likewise.
34229 (sin_test_towardzero): Likewise.
34230 (sin_test_downward): Likewise.
34231 (sin_test_upward): Likewise.
34232 (tan_test_tonearest): Likewise.
34233 (tan_test_towardzero): Likewise.
34234 (tan_test_downward): Likewise.
34235 (tan_test_upward): Likewise.
34236 (main): Call the new functions.
34237 * sysdeps/i386/fpu/libm-test-ulps: Update.
34238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34239
a6d06d7b
JM
34240 [BZ #10135]
34241 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34242 small n, then large n, before computing and testing k+n.
34243 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34244 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34245 Likewise.
34246 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34247 Likewise.
34248 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34249 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34250 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34251 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34252 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34253 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34254 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34255 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34256 * math/libm-test.inc (scalbn_test): Add more tests.
34257 (scalbln_test): Likewise.
34258
07e12bb3
JM
34259 * manual/filesys.texi (mode_t): Describe constraints on size and
34260 signedness, not exact equivalence to a particular type.
34261 (ino_t): Likewise.
34262 (ino64_t): Likewise.
34263 (dev_t): Likewise.
34264 (nlink_t): Likewise.
34265 (blkcnt_t): Likewise.
34266 (blkcnt64_t): Likewise.
34267 * manual/llio.texi (off_t): Likewise.
34268
28afd92d
JM
34269 [BZ #3976]
34270 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34271 (__ieee754_exp): Save and restore rounding mode and use
34272 round-to-nearest for all computations.
34273 * math/libm-test.inc (exp_test_tonearest): New function.
34274 (exp_test_towardzero): Likewise.
34275 (exp_test_downward): Likewise.
34276 (exp_test_upward): Likewise.
34277 (main): Call the new functions.
34278 * sysdeps/i386/fpu/libm-test-ulps: Update.
34279 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34280
b1eeb65d
CD
342812012-03-01 Chris Demetriou <cgd@google.com>
34282
34283 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34284 have predictable order.
34285
53362a4b
DM
342862012-03-01 David S. Miller <davem@davemloft.net>
34287
3c969083
DM
34288 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34289
759707de
DM
34290 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34291 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34292 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34293 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34294
dfdb8ff2
DM
34295 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34296 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34297 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34298 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34299 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34300 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34301 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34302 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34303 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34304
ead89f96
DM
34305 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34306
7f66bd07
DM
34307 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34308 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34309 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34310
53362a4b
DM
34311 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34312 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34313 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34314 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34315 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34316 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34317 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34318 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34319 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34320 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34321 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34322 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34324 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34325 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34327 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34328 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34329 * sysdeps/sparc/elf/configure: Regenerated.
34330
7b1902cb
JM
343312012-03-01 Joseph Myers <joseph@codesourcery.com>
34332
bec039bc
JM
34333 * configure.in (AS, LD): Require binutils 2.20 or later.
34334 * configure: Regenerated.
34335 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34336 as required minimum version.
34337 * INSTALL: Regenerated.
34338
7b1902cb
JM
34339 [BZ #2541]
34340 [BZ #4108]
34341 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34342 before squaring exponent.
34343 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34344 bottom long double and 27 bits of top long double before squaring
34345 exponent.
34346 * math/libm-test.inc (erfc_test): Add more tests.
34347 * sysdeps/i386/fpu/libm-test-ulps: Update.
34348 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34350
f775c276
KT
343512012-03-01 Kai Tietz <ktietz@redhat.com>
34352
34353 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34354 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34355 containing bit-fields.
34356 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34357 * soft-fp/single.h (_FP_UNION_S): Likewise.
34358 * soft-fp/double.h (_FP_UNION_D): Likewise.
34359
5b8a4d4a
JM
343602012-02-29 Joseph Myers <joseph@codesourcery.com>
34361
0bab47b6
JM
34362 [BZ #13786]
34363 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34364 not include ../strcmp.S.
34365 [USE_AS_STRNCASECMP_L]: Likewise.
34366 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34367 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34368 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34369 (__strncasecmp_l_ia32): Define as alias to
34370 __strncasecmp_l_nonascii.
34371
0fcad3e2
JM
34372 [BZ #5794]
34373 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34374 * sysdeps/i386/fpu/libm-test-ulps: Update.
34375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34376
5b8a4d4a
JM
34377 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34379
8fdceb2e
JL
343802012-02-29 Jeff Law <law@redhat.com>
34381
34382 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34383 out of bounds read.
34384
1f393a11
MP
343852012-02-29 Marek Polacek <polacek@redhat.com>
34386
34387 [BZ #13706]
34388 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34389 * elf/Makefile: Add rules to run tst-unused-dep.out.
34390
8847f037
DM
343912012-02-28 David S. Miller <davem@davemloft.net>
34392
34393 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34394 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34395 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34396 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34397 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34398 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34399
169d7f11
JM
344002012-02-29 Joseph Myers <joseph@codesourcery.com>
34401
34402 * math/libm-test.inc (llround_test): Move one test from
34403 lround_test. Use TEST_f_L in moved test.
34404 (lround_test): Move misplaced test to llround_test. Add testcase
34405 from bug 2561.
34406
39adf059
UD
344072012-02-28 Ulrich Drepper <drepper@gmail.com>
34408
34409 * sysdeps/x86_64/fpu/e_expf.S: New file.
34410 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34411
71b5d1c5
SB
344122012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34413
34414 [BZ #13637]
34415 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34416 of remain_len that may cause incomplete multi-byte character and
34417 false match.
34418 * posix/bug-regex33.c: New file.
34419 * posix/Makefile (tests): Add bug-regex33.
34420
1f77f049
JM
344212012-02-28 Joseph Myers <joseph@codesourcery.com>
34422
34423 * manual/macros.texi: New file.
34424 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34425 * manual/libc.texinfo: Include macros.texi.
34426 * manual/creatute.texi: Likewise.
34427 * manual/install.texi: Likewise.
34428 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34429 @glibcadj{} in references to the GNU C Library.
34430 * manual/charset.texi: Likewise.
34431 * manual/conf.texi: Likewise.
34432 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34433 when not using those macros.
34434 * manual/creature.texi: Likewise.
34435 * manual/crypt.texi: Likewise.
34436 * manual/errno.texi: Likewise.
34437 * manual/filesys.texi: Likewise.
34438 * manual/header.texi: Likewise.
34439 * manual/install.texi: Likewise.
34440 * manual/intro.texi: Likewise.
34441 * manual/io.texi: Likewise.
34442 * manual/job.texi: Likewise.
34443 * manual/lang.texi: Likewise.
34444 * manual/libc.texiinfo: Likewise.
34445 * manual/llio.texi: Likewise.
34446 * manual/locale.texi: Likewise.
34447 * manual/maint.texi: Likewise.
34448 * manual/math.texi: Likewise.
34449 * manual/memory.texi: Likewise.
34450 * manual/message.texi: Likewise.
34451 * manual/nss.texi: Likewise.
34452 * manual/pattern.texi: Likewise.
34453 * manual/process.texi: Likewise.
34454 * manual/resource.texi: Likewise.
34455 * manual/search.texi: Likewise.
34456 * manual/setjmp.texi: Likewise.
34457 * manual/signal.texi: Likewise.
34458 * manual/socket.texi: Likewise.
34459 * manual/startup.texi: Likewise.
34460 * manual/stdio.texi: Likewise.
34461 * manual/string.texi: Likewise.
34462 * manual/sysinfo.texi: Likewise.
34463 * manual/syslog.texi: Likewise.
34464 * manual/terminal.texi: Likewise.
34465 * manual/time.texi: Likewise.
34466 * manual/users.texi: Likewise.
34467 * INSTALL: Regenerated.
34468 * NOTES: Regenerated.
d40c5d54 34469 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34470
450bf206
AS
344712012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34472
34473 * include/dirent.h: Include <dirstream.h> before
34474 <dirent/dirent.h>.
34475
741a235b
DM
344762012-02-28 David S. Miller <davem@davemloft.net>
34477
34478 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34479 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34480 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34481 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34482
d6b5aa58
DM
344832012-02-27 David S. Miller <davem@davemloft.net>
34484
1aff59a3
DM
34485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34487 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34488 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34489
d6b5aa58
DM
34490 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34491 frame pointer instead of stack pointer relative arg slot.
34492 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34493 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34494 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34495
433f48bf
CD
344962012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34497
34498 [BZ #3992]
34499 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34500
d674b76d
DM
345012012-02-27 David S. Miller <davem@davemloft.net>
34502
34503 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34505 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34506 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34507 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34508 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34509 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34510 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34511
0e7727f7
JM
345122012-02-27 Joseph Myers <joseph@codesourcery.com>
34513
34514 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34515 later. Allow versions 5-9.
43be4ca2 34516 * configure: Regenerated.
0e7727f7
JM
34517 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34518 required minimum version and 4.6 as recommended version. Do not
34519 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34520 * INSTALL: Regenerated.
0e7727f7 34521
a78bc654
DM
345222012-02-27 David S. Miller <davem@davemloft.net>
34523
428d5830
DM
34524 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34526 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34527 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34528 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34529 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34530 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34531 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34532
a78bc654
DM
34533 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34534 manipulate bits before adding and subtracting TWO112[sx].
34535 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34536
4579f81c
RM
345372012-02-27 Roland McGrath <roland@hack.frob.com>
34538
36c8acb4
RM
34539 [BZ #13775]
34540 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34541 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34542 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34543 being in POSIX, because they are in 1003.1-2008.
34544
84ad622b
RM
34545 * rt/tst-aio.c: Include <fcntl.h>.
34546 * rt/tst-aio7.c: Likewise.
34547 * rt/tst-aio64.c: Likewise.
34548
4579f81c
RM
34549 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34550
abd923db
JM
345512012-02-27 Joseph Myers <joseph@codesourcery.com>
34552
34553 * manual/install.texi (--with-headers): Describe headers as
34554 interface headers, not private headers.
34555 (Specific advice for GNU/Linux systems): Describe use of headers
34556 from "make headers_install", not private headers from older
34557 kernels.
43be4ca2 34558 * INSTALL: Regenerated.
abd923db
JM
34559 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34560 Change to 2.6.19.
34561 * sysdeps/unix/sysv/linux/configure: Regenerated.
34562
6664049b
JM
34563 * manual/llio.texi (fclean): Remove documentation.
34564
bb8b6697
JM
34565 * manual/Makefile (libc-texi-generated): New variable. Include
34566 version.texi.
34567 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34568 $(libc-texi-generated), not duplicated list of files.
34569 (version.texi, stamp-version): New rules.
34570 (realclean): Remove $(libc-texi-generated), not individual files
34571 from that list. Do not remove dir-add.texinfo.
34572 * manual/libc.texinfo: Comment out uses of edition numbers and
34573 references to printed manual. Remove last-updated dates.
34574 (EDITION): Comment out.
34575 (ISBN): Likewise.
34576 (VERSION, UPDATED): Remove.
34577 (version.texi): Include.
34578
12e5c3b9
AS
345792012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34580
34581 * sysdeps/posix/spawni.c: Include <signal.h>.
34582 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34583 * sysdeps/pthread/aio_fsync.c: Likewise.
34584
4efeffc1 345852012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34586
ba63ba08
UD
34587 * conform/Makefile (tests): Run only when not cross-compiling and
34588 when fast-check is not defined.
34589
d94a4670
UD
34590 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34591 * conform/data/limits.h-data: Fixes for POSIX2008.
34592 * conform/run-conformtest.sh: Run all tests.
34593 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34594 headers.
34595 * include/bits/dlfcn.h: Likewise.
34596 * include/langinfo.h: Likewise.
34597 * include/monetary.h: Likewise.
34598 * include/sys/poll.h: Likewise.
34599
34600 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34601 for __USE_GNU.
34602 * posix/spawn.h: Define __need_sigset_t.
34603 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34604 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34605 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34606 to get sigevent_t only.
34607 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34608 only for __USE_GNU.
34609 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34610 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34611 process_vm_writev only for __USE_GNU.
34612 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34613
34614 * conform/Makefile: For now ignore errors from run-conformtest.
34615 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34616 POSIX to avoid namespace pollution. Don't prepend headers.
34617 * conform/data/aio.h-data: Fixes for POSIX testing.
34618 * conform/data/fcntl.h-data: Likewise.
34619 * conform/data/glob.h-data: Likewise.
34620 * conform/data/grp.h-data: Likewise.
34621 * conform/data/pthread.h-data: Likewise.
34622 * conform/data/pwd.h-data: Likewise.
34623 * conform/data/signal.h-data: Likewise.
34624 * conform/data/spawn.h-data: Likewise.
34625 * conform/data/stdio.h-data: Likewise.
34626 * conform/data/stdlib.h-data: Likewise.
34627 * conform/data/stropts.h-data: Likewise.
34628 * conform/data/sys/mman.h-data: Likewise.
34629 * conform/data/sys/stat.h-data: Likewise.
34630 * conform/data/sys/types.h-data: Likewise.
34631 * conform/data/sys/wait.h-data: Likewise.
34632 * conform/data/time.h-data: Likewise.
34633 * conform/data/unistd.h-data: Likewise.
34634 * conform/data/utime.h-data: Likewise.
34635
34636 * io/sys/stat.h: fchmod was always in POSIX.
34637 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34638 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34639 * rt/aio.h: Define __need_timespec before including <time.h>.
34640 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34641 struct. Add forward declaration of pthread_attr_t and use it in
34642 sigevent.
34643 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34644 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34645 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34646 always remove CLK_TCK definition.
34647
c20105c3
AS
346482012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34649
34650 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34651
7a270350
UD
346522012-02-25 Ulrich Drepper <drepper@gmail.com>
34653
31341567
UD
34654 * conform/run-conformtest.sh: New file.
34655 * conform/Makefile: Run run-conformtest for tests.
34656 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34657 support.
34658
34659 * conform/data/uchar.h-data: New file.
34660 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34661 * conform/data/arpa/inet.h-data: Likewise.
34662 * conform/data/assert.h-data: Likewise.
34663 * conform/data/complex.h-data: Likewise.
34664 * conform/data/cpio.h-data: Likewise.
34665 * conform/data/ctype.h-data: Likewise.
34666 * conform/data/dirent.h-data: Likewise.
34667 * conform/data/dlfcn.h-data: Likewise.
34668 * conform/data/errno.h-data: Likewise.
34669 * conform/data/fcntl.h-data: Likewise.
34670 * conform/data/float.h-data: Likewise.
34671 * conform/data/fmtmsg.h-data: Likewise.
34672 * conform/data/fnmatch.h-data: Likewise.
34673 * conform/data/ftw.h-data: Likewise.
34674 * conform/data/glob.h-data: Likewise.
34675 * conform/data/grp.h-data: Likewise.
34676 * conform/data/iconv.h-data: Likewise.
34677 * conform/data/inttypes.h-data: Likewise.
34678 * conform/data/langinfo.h-data: Likewise.
34679 * conform/data/libgen.h-data: Likewise.
34680 * conform/data/limits.h-data: Likewise.
34681 * conform/data/locale.h-data: Likewise.
34682 * conform/data/math.h-data: Likewise.
34683 * conform/data/monetary.h-data: Likewise.
34684 * conform/data/mqueue.h-data: Likewise.
34685 * conform/data/ndbm.h-data: Likewise.
34686 * conform/data/net/if.h-data: Likewise.
34687 * conform/data/netdb.h-data: Likewise.
34688 * conform/data/netinet/in.h-data: Likewise.
34689 * conform/data/nl_types.h-data: Likewise.
34690 * conform/data/poll.h-data: Likewise.
34691 * conform/data/pthread.h-data: Likewise.
34692 * conform/data/pwd.h-data: Likewise.
34693 * conform/data/regex.h-data: Likewise.
34694 * conform/data/sched.h-data: Likewise.
34695 * conform/data/search.h-data: Likewise.
34696 * conform/data/semaphore.h-data: Likewise.
34697 * conform/data/setjmp.h-data: Likewise.
34698 * conform/data/signal.h-data: Likewise.
34699 * conform/data/spawn.h-data: Likewise.
34700 * conform/data/stdarg.h-data: Likewise.
34701 * conform/data/stdio.h-data: Likewise.
34702 * conform/data/stdlib.h-data: Likewise.
34703 * conform/data/string.h-data: Likewise.
34704 * conform/data/strings.h-data: Likewise.
34705 * conform/data/stropts.h-data: Likewise.
34706 * conform/data/sys/ipc.h-data: Likewise.
34707 * conform/data/sys/mman.h-data: Likewise.
34708 * conform/data/sys/msg.h-data: Likewise.
34709 * conform/data/sys/resource.h-data: Likewise.
34710 * conform/data/sys/select.h-data: Likewise.
34711 * conform/data/sys/sem.h-data: Likewise.
34712 * conform/data/sys/shm.h-data: Likewise.
34713 * conform/data/sys/socket.h-data: Likewise.
34714 * conform/data/sys/stat.h-data: Likewise.
34715 * conform/data/sys/statvfs.h-data: Likewise.
34716 * conform/data/sys/time.h-data: Likewise.
34717 * conform/data/sys/timeb.h-data: Likewise.
34718 * conform/data/sys/times.h-data: Likewise.
34719 * conform/data/sys/types.h-data: Likewise.
34720 * conform/data/sys/uio.h-data: Likewise.
34721 * conform/data/sys/un.h-data: Likewise.
34722 * conform/data/sys/utsname.h-data: Likewise.
34723 * conform/data/sys/wait.h-data: Likewise.
34724 * conform/data/syslog.h-data: Likewise.
34725 * conform/data/tar.h-data: Likewise.
34726 * conform/data/termios.h-data: Likewise.
34727 * conform/data/utime.h-data: Likewise.
34728 * conform/data/utmpx.h-data: Likewise.
34729 * conform/data/varargs.h-data: Likewise.
34730 * conform/data/wchar.h-data: Likewise.
34731 * conform/data/wctype.h-data: Likewise.
34732 * conform/data/wordexp.h-data: Likewise.
34733
34734 * include/stropts.h: New file.
34735 * include/uchar.h: New file.
34736 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34737 * include/assert.h: Likewise.
34738 * include/ctype.h: Likewise.
34739 * include/dirent.h: Likewise.
34740 * include/dlfcn.h: Likewise.
34741 * include/fcntl.h: Likewise.
34742 * include/fnmatch.h: Likewise.
34743 * include/glob.h: Likewise.
34744 * include/grp.h: Likewise.
34745 * include/libio.h: Likewise.
34746 * include/locale.h: Likewise.
34747 * include/math.h: Likewise.
34748 * include/net/if.h: Likewise.
34749 * include/netdb.h: Likewise.
34750 * include/netinet/in.h: Likewise.
34751 * include/pthread.h: Likewise.
34752 * include/pwd.h: Likewise.
34753 * include/regex.h: Likewise.
34754 * include/sched.h: Likewise.
34755 * include/search.h: Likewise.
34756 * include/setjmp.h: Likewise.
34757 * include/signal.h: Likewise.
34758 * include/stdio.h: Likewise.
34759 * include/stdlib.h: Likewise.
34760 * include/string.h: Likewise.
34761 * include/sys/cdefs.h: Likewise.
34762 * include/sys/mman.h: Likewise.
34763 * include/sys/msg.h: Likewise.
34764 * include/sys/resource.h: Likewise.
34765 * include/sys/select.h: Likewise.
34766 * include/sys/socket.h: Likewise.
34767 * include/sys/stat.h: Likewise.
34768 * include/sys/statvfs.h: Likewise.
34769 * include/sys/time.h: Likewise.
34770 * include/sys/times.h: Likewise.
34771 * include/sys/uio.h: Likewise.
34772 * include/sys/utsname.h: Likewise.
34773 * include/sys/wait.h: Likewise.
34774 * include/termios.h: Likewise.
34775 * include/time.h: Likewise.
34776 * include/ulimit.h: Likewise.
34777 * include/unistd.h: Likewise.
34778 * include/utime.h: Likewise.
34779 * include/wchar.h: Likewise.
34780 * include/wctype.h: Likewise.
34781 * include/wordexp.h: Likewise.
34782
34783 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34784
7a270350
UD
34785 * time/time.h: TIME_UTC must be a macro.
34786 Make timespec_get available for ISO C11 only as well.
34787
7724defc
UD
347882012-02-24 Ulrich Drepper <drepper@gmail.com>
34789
34790 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34791 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34792
6b1d1d46
JM
347932012-02-24 Joseph Myers <joseph@codesourcery.com>
34794
34795 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34796
0f8bbd69
JM
347972012-02-24 Joseph Myers <joseph@codesourcery.com>
34798
34799 * manual/texinfo.tex: Update to version 2012-01-19.16.
34800
66ab80bc
JM
348012012-02-24 Joseph Myers <joseph@codesourcery.com>
34802
34803 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34804
74981cc5
RM
348052012-02-24 Roland McGrath <roland@hack.frob.com>
34806
ee968201
RM
34807 [BZ #13738]
34808 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34809 * manual/fdl-1.3.texi: New file.
34810 * manual/fdl-1.1.texi: File removed.
34811
74981cc5
RM
34812 [BZ #13738]
34813 * manual/libc.texinfo (FDL_VERSION): New @set.
34814 Use it for mention of FDL in cover text.
34815 (Documentation License): Use it in @include file name.
34816
7bb764bc
JM
348172012-02-22 Joseph Myers <joseph@codesourcery.com>
34818 Roland McGrath <roland@hack.frob.com>
34819
34820 [BZ #5461]
34821 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34822 not LONG_LONG_MAX and LONG_LONG_MIN.
34823 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34824 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34825 name.
34826 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34827
6cbeae47
JM
348282012-02-22 Joseph Myers <joseph@codesourcery.com>
34829
34830 [BZ #2547]
34831 [BZ #11365]
34832 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34833 manipulate bits before adding and subtracting TWO23[sx].
34834 * math/libm-test.inc (nearbyint_test): Add more tests.
34835
fe45ce09
JM
348362012-02-22 Joseph Myers <joseph@codesourcery.com>
34837
34838 [BZ #2548]
34839 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34840 bits before adding and subtracting TWO23[sx].
34841 * math/libm-test.inc (rint_test): Add more tests.
34842 (rint_test_tonearest): Likewise.
34843 (rint_test_towardzero): Likewise.
34844 (rint_test_downward): Likewise.
34845 (rint_test_upward: Likewise.
34846
ff3b3d82
JM
348472012-02-22 Joseph Myers <joseph@codesourcery.com>
34848
34849 [BZ #10110]
34850 * include/stdc-predef.h: New file. Extracted from features.h.
34851 * include/features.h: Include stdc-predef.h.
34852 * Makefile (headers): Add stdc-predef.h.
34853 * CONFORMANCE (Compiler limitations): Update.
34854
ef0aab35
JM
348552012-02-22 Joseph Myers <joseph@codesourcery.com>
34856
34857 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34858
58639409
DM
348592012-02-21 David S. Miller <davem@davemloft.net>
34860
34861 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34862 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34863
c0e70b25
DM
348642012-02-20 David S. Miller <davem@davemloft.net>
34865
34866 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34867 using a normal save/restore sequence, rather than allocating a
34868 dummy stack frame just to store a frame pointer and restore.
34869 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34870
fb06851d
JM
348712012-02-21 Joseph Myers <joseph@codesourcery.com>
34872
34873 * manual/install.texi: Fix stray word in line-wrapped comment.
34874
7a8b71c3
DM
348752012-02-20 David S. Miller <davem@davemloft.net>
34876
d510c123
DM
34877 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34878 both binutils and gcc support GOTDATA.
34879
0722d7c2
DM
34880 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34881 "rd %pc" in the PIC register setup sequences.
34882
3d2b3019
DM
34883 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34884 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34885 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34886 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34887 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34888 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34889 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34890 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34891 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34892 (SYSCALL_ERROR_HANDLER): Likewise.
34893 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34894 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34895 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34896 (SYSCALL_ERROR_HANDLER): Likewise.
34897
c80098a9
DM
34898 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34899 (HAVE_GCC_GOTDATA): New.
34900 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34901 relocation support in both binutils and gcc.
34902 * sysdeps/sparc/elf/configure: Regenerate.
34903
3a2545a0
DM
34904 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34905 * sysdeps/sparc/sparc32/elf/configure: Delete.
34906 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34907 * sysdeps/sparc/sparc64/elf/configure: Delete.
34908 * sysdeps/sparc/elf/configure.in: New file.
34909 * sysdeps/sparc/elf/configure: Generate.
34910
7a8b71c3
DM
34911 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34912 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34913 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34914 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34915 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34916
f1e86fca
JM
349172012-02-21 Joseph Myers <joseph@codesourcery.com>
34918
34919 * manual/install.texi: Do not mention specific glibc version
34920 numbers.
34921 * manual/libc.texinfo (VERSION, UPDATED): Update.
34922 (@copying): Use @copyright{} and range of years.
34923
0e7dfaef
JM
349242012-02-21 Joseph Myers <joseph@codesourcery.com>
34925
34926 [BZ #13695]
34927 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34928 [crti.S not in sysdirs] (generated): Do not append.
34929 [crti.S not in sysdirs] (omit-deps): Likewise.
34930 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34931 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34932 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34933 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34934 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34935 Likewise.
34936 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34937 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34938 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34939 * csu/defs.awk: Remove file.
34940 * sysdeps/generic/initfini.c: Likewise.
34941 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34942 variable.
34943 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34944 Likewise.
34945
599af3ca
JM
349462012-02-20 Joseph Myers <joseph@codesourcery.com>
34947
34948 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34949 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34950 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34951 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34952 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34953 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34954 <bits/epoll.h>.
34955 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34956 (__EPOLL_PACKED): Define to empty if not defined by
34957 <bits/epoll.h>.
34958 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
34959 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34960 bits/epoll.h.
34961
0e499750
JM
349622012-02-20 Joseph Myers <joseph@codesourcery.com>
34963
34964 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
34965 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
34966 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
34967 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
34968 <bits/timerfd.h>.
34969 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
34970 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34971 bits/timerfd.h.
34972
5ad91f6e
JM
349732012-02-20 Joseph Myers <joseph@codesourcery.com>
34974
34975 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
34976 in C locale.
34977 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34978 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
34979 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
34980 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34981
06b99b02
AJ
349822012-02-20 Aurelien Jarno <aurelien@aurel32.net>
34983
34984 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
34985 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34986
7638c0fd
AS
349872012-02-19 Andreas Schwab <schwab@linux-m68k.org>
34988
34989 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
34990 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
34991 defined.
34992 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
34993 Likewise.
34994 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
34995 entry for 2.16.
34996
92221550
AJ
349972012-02-19 Aurelien Jarno <aurelien@aurel32.net>
34998
34999 * math/w_acos.c: Use non-signaling floating-point comparisons.
35000 * math/w_acosf.c: Likewise.
35001 * math/w_acosh.c: Likewise.
35002 * math/w_acoshf.c: Likewise.
35003 * math/w_acoshl.c: Likewise.
35004 * math/w_acosl.c: Likewise.
35005 * math/w_asin.c: Likewise.
35006 * math/w_asinf.c: Likewise.
35007 * math/w_asinl.c: Likewise.
35008 * math/w_atanh.c: Likewise.
35009 * math/w_atanhf.c: Likewise.
35010 * math/w_atanhl.c: Likewise.
35011 * math/w_exp2.c: Likewise.
35012 * math/w_exp2f.c: Likewise.
35013 * math/w_exp2l.c: Likewise.
35014 * math/w_j0.c: Likewise.
35015 * math/w_j0f.c: Likewise.
35016 * math/w_j0l.c: Likewise.
35017 * math/w_j1.c: Likewise.
35018 * math/w_j1f.c: Likewise.
35019 * math/w_j1l.c: Likewise.
35020 * math/w_jn.c: Likewise.
35021 * math/w_jnf.c: Likewise.
35022 * math/w_log.c: Likewise.
35023 * math/w_log10.c: Likewise.
35024 * math/w_log10f.c: Likewise.
35025 * math/w_log10l.c: Likewise.
35026 * math/w_log2.c: Likewise.
35027 * math/w_log2f.c: Likewise.
35028 * math/w_log2l.c: Likewise.
35029 * math/w_logf.c: Likewise.
35030 * math/w_logl.c: Likewise.
35031 * math/w_sqrt.c: Likewise.
35032 * math/w_sqrtf.c: Likewise.
35033 * math/w_sqrtl.c: Likewise.
35034 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35035 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35036 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35037 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35038 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35039
ebaf36eb
JM
350402012-02-19 Joseph Myers <joseph@codesourcery.com>
35041
35042 [BZ #9739]
35043 * manual/string.texi (strnlen): Use correct parameter name in
35044 equivalent expression.
35045
71c254a6
JM
350462012-02-19 Joseph Myers <joseph@codesourcery.com>
35047
35048 [BZ #11174]
35049 * manual/users.texi (seteuid): Consistently use neweuid for
35050 argument name.
35051
16d2c631
JM
350522012-02-19 Joseph Myers <joseph@codesourcery.com>
35053
35054 [BZ #13704]
35055 * manual/nss.texi (Services in the NSS configuration): Correct
35056 list of services in example configuration file.
35057
cd837b09
NB
350582012-02-19 Nick Bowler <nbowler@draconx.ca>
35059
35060 [BZ #11322]
35061 * manual/arith.texi: Remove statements about negative zero
35062 behaving identically to zero.
35063
02c4bbad
JM
350642012-02-18 Joseph Myers <joseph@codesourcery.com>
35065
35066 [BZ #5993]
35067 * manual/install.texi: Do not document upgrading from libc5.
35068
366842e7
JM
350692012-02-18 Joseph Myers <joseph@codesourcery.com>
35070
35071 [BZ #4596]
35072 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35073
dd54084d
DM
350742012-02-18 David S. Miller <davem@davemloft.net>
35075
35076 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35077 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35078 %o7 across the call.
35079 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35080 instead.
35081 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35082 SETUP_PIC_REG_LEAF.
35083 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35084 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35085 * sysdeps/sparc/crtn.S: Likewise.
35086
2bcc53a3
UD
350872012-02-17 Ulrich Drepper <drepper@gmail.com>
35088
35089 * aout/Makefile: Remove.
35090
09c093b5
RK
350912012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35092
35093 [BZ #13058]
35094 * manual/examples/argp-ex1.c (main): Format definition in GNU
35095 style.
35096 * manual/examples/argp-ex2.c (main): Likewise.
35097 * manual/examples/argp-ex3.c (main): Likewise.
35098 * manual/examples/argp-ex4.c (main): Likewise.
35099 * manual/examples/longopt.c (main): Use new-style prototype
35100 definition.
35101 * manual/examples/strncat.c (main): Specify return type and use
35102 (void) for arguments.
35103 * manual/examples/subopt.c (main): Use char **argv argument.
35104
2ee633a2
JM
351052012-02-17 Joseph Myers <joseph@codesourcery.com>
35106
35107 [BZ #5077]
35108 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35109 rounding modes.
35110
0520adde
FB
351112012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35112
35113 [BZ #6907]
35114 * manual/string.texi (strchr): Change when strchrnul is
35115 recommended.
35116
3f4081cd
DGM
351172012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35118
35119 [BZ #174]
35120 * manual/locale.texi (setlocale): Document LOCPATH.
35121
d1b10e78
JM
351222012-02-17 Joseph Myers <joseph@codesourcery.com>
35123
35124 [BZ #10210]
35125 * manual/process.texi (execle): Move @dots{} before last argument.
35126
79c6869c
PB
351272012-02-17 Paul Bolle <pebolle@tiscali.nl>
35128
35129 [BZ #12047]
35130 * manual/charset.texi (Generic Charset Conversion): Fix typo
35131 (LC_TYPE -> LC_CTYPE).
35132
cc6e48bc
NB
351332012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35134
35135 [BZ #5805]
35136 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35137 (scalbnf): Likewise.
35138 (scalbnl): Likewise.
35139 (scalbln): Likewise.
35140 (scalblnf): Likewise.
35141 (scalblnl): Likewise.
35142 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35143 (vwarnx): Likewise.
35144 (verr): Likewise.
35145 (verrx): Likewise.
35146 * manual/filesys.texi (telldir): Use braces around return type.
35147 * manual/llio.texi (mmap): Add space after comma.
35148 (mmap64): Likewise.
35149 * manual/math.texi (jn): Use @var{} on parameter names.
35150 (jnf): Likewise.
35151 (jnl): Likewise.
35152 (yn): Likewise.
35153 (ynf): Likewise.
35154 (ynl): Likewise.
35155 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35156 line.
35157 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35158 "...".
35159 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35160 (sched_get_priority_max): Likewise.
35161 * manual/signal.texi (sigvec): Add space after comma.
35162 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35163 names.
35164 (if_indextoname): Likewise.
35165 (if_freenameindex): Likewise.
35166 (sendto): Use ',' instead of '.' in prototype.
35167 * manual/startup.texi (syscall): Use @dots{} instead of literal
35168 "...".
35169 * manual/stdio.texi (__fpending): Separate initial words of
35170 paragraph from @deftypefun line.
35171 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35172 "...".
35173 (vsyslog): Use @var{} on parameter names.
35174 * manual/terminal.texi (stty): Use @var{} on parameter names.
35175 * manual/users.texi (getutmp): Use @var{} on parameter names.
35176 (getutmpx): Likewise.
35177
5b23062f
JM
351782012-02-17 Joseph Myers <joseph@codesourcery.com>
35179
35180 [BZ #6884]
35181 * manual/stdio.texi (fopen): Fix typos in description of
35182 ",ccs=STRING".
35183
8dee4833
AJ
351842012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35185
35186 [BZ #4026]
35187 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35188 get clock_id definition.
35189
9078ce93
TS
351902012-02-17 Thomas Schwinge <thomas@schwinge.name>
35191
35192 [BZ #4822]
35193 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35194 (madvise): Cast every argument to void on its own.
35195
3835c55f
JM
351962012-02-17 Joseph Myers <joseph@codesourcery.com>
35197
35198 [BZ #9902]
35199 * manual/startup.texi (Exit Status): Fix typo.
35200
35c47e37
JM
352012012-02-17 Joseph Myers <joseph@codesourcery.com>
35202
35203 [BZ #10140]
35204 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35205 * manual/examples/argp-ex2.c: Likewise.
35206 * manual/examples/argp-ex3.c: Likewise.
35207
e3b69ca7
RH
352082012-02-16 Richard Henderson <rth@redhat.com>
35209
35210 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35211 * sysdeps/s390/s390-32/initfini.c: Remove.
35212 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35213 * sysdeps/s390/s390-64/initfini.c: Remove.
35214
df83af67
KK
352152012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35216
35217 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35218 compiler output for sysdeps/generic/initfini.c.
35219 * sysdeps/sh/elf/initfini.c: Remove file.
35220
f63f3380
DM
352212012-02-16 David S. Miller <davem@davemloft.net>
35222
fb59b3a4
DM
35223 [BZ #11494]
35224 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35225
f63f3380
DM
35226 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35227 * sysdeps/sparc/crti.S: New file.
35228 * sysdeps/sparc/crtn.S: New file.
35229 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35230 * sysdeps/sparc/sparc64/Makefile: Likewise.
35231
df6a4a4a
MF
352322012-02-15 Mike Frysinger <vapier@gentoo.org>
35233
6dd8f3dc 35234 [BZ #3335]
df6a4a4a
MF
35235 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35236
1cac7236
RM
352372012-02-15 Roland McGrath <roland@hack.frob.com>
35238
d2c736f8
RM
35239 [BZ #4822]
35240 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35241
1cac7236
RM
35242 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35243 (write, read, close): Likewise.
35244 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35245
8e475601
JM
352462012-02-15 Joseph Myers <joseph@codesourcery.com>
35247
35248 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35249 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35250 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35251 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35252 <bits/signalfd.h>.
35253 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35254 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35255 bits/signalfd.h.
35256
ed656b40
MP
352572012-02-14 Marek Polacek <polacek@redhat.com>
35258
35259 * sysdeps/x86_64/crti.S: New file.
35260 * sysdeps/x86_64/crtn.S: New file.
35261 * sysdeps/x86_64/elf/initfini.c: Remove file.
35262
2a979d3a
JM
352632012-02-13 Joseph Myers <joseph@codesourcery.com>
35264
35265 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35266 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35267 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35268 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35269 <bits/inotify.h>.
35270 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35271 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35272 bits/inotify.h.
35273
2a418ac3
JM
352742012-02-13 Joseph Myers <joseph@codesourcery.com>
35275
35276 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35277 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35278 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35279 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35280 <bits/eventfd.h>.
35281 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35282 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35283 bits/eventfd.h.
35284
fb779be7
TS
352852012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35286
e19e83c5
RM
35287 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35288 __feraiseexcept instead of feraiseexcept.
7c35ffed 35289
fb779be7
TS
35290 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35291 nanosleep invocations.
35292 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35293 strings, and add error checking for a nanosleep invocations.
35294
59ba27a6
PE
352952012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35296
35297 Replace FSF snail mail address with URLs, as per GNU coding standards.
35298 Most of the snail mail addresses were wrong anyway, and omitting
35299 them makes the source code easier to maintain. Almost all of the
35300 changes are to license notices and to locale LC_IDENTIFICATION
35301 addresses, except for this one:
35302 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35303 not its snail mail address.
35304
57b957eb
RH
353052012-02-09 Richard Henderson <rth@twiddle.net>
35306
af850b1c
RH
35307 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35308 of kernel-features.h.
35309
57b957eb
RH
35310 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35311
6b73181a
MP
353122012-02-08 Marek Polacek <polacek@redhat.com>
35313
35314 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35315 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35316 * sysdeps/gnu/_G_config.h: Likewise.
35317 * sysdeps/generic/_G_config.h: Likewise.
35318
26ecc33a
AS
353192012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35320
6c6dbc63
AS
35321 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35322 tests.
35323 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35324
e216c012
AS
35325 * sysdeps/powerpc/powerpc32/crti.S: New file.
35326 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35327 * sysdeps/powerpc/powerpc64/crti.S: New file.
35328 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35329
26ecc33a
AS
35330 * Makeconfig (have-initfini): Don't set.
35331 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35332 * configure.in (nopic_initfini): Don't substitute.
35333 * config.h.in (HAVE_INITFINI): Don't #undef.
35334 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35335 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35336
3add8e13
JM
353372012-02-08 Joseph Myers <joseph@codesourcery.com>
35338
35339 Support crti.S and crtn.S provided directly by architectures.
35340 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35341 [crti.S in sysdirs] (omit-deps): Likewise.
35342 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35343 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35344 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35345 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35346 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35347 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35348 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35349 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35350 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35351 compiler output for sysdeps/generic/initfini.c.
35352 * sysdeps/i386/elf/Makefile: Remove file.
35353 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35354
a22f12b4
MP
353552012-02-07 Marek Polacek <polacek@redhat.com>
35356
35357 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35358 * sysdeps/gnu/_G_config.h: Likewise.
35359 * sysdeps/mach/hurd/_G_config.h: Likewise.
35360
148cf100
MP
353612012-02-07 Marek Polacek <polacek@redhat.com>
35362
35363 * math/Makefile (tests): Add tst-CMPLX2.
35364 * math/tst-CMPLX2.c: New file.
35365
cfdc0dd7
AS
353662012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35367
84ba42c4
AS
35368 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35369
cfdc0dd7
AS
35370 * math/libm-test.inc (jn_test): Add missing L suffix.
35371
622c86f4
MP
353722012-02-06 Marek Polacek <polacek@redhat.com>
35373
35374 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35375 * sysdeps/i386/fpu/e_powf.S: Likewise.
35376 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35377 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35378 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35379 * sysdeps/i386/fpu/e_pow.S: Likewise.
35380 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35381 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35382 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35383 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35384 * sysdeps/i386/fpu/e_log2.S: Likewise.
35385 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35386 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35387 * sysdeps/i386/fpu/e_powl.S: Likewise.
35388 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35389 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35390 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35391 * sysdeps/i386/fpu/e_logl.S: Likewise.
35392 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35393 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35394 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35395 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35396 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35397 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35398 * sysdeps/i386/fpu/e_log.S: Likewise.
35399 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35400 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35401 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35402 * sysdeps/i386/fpu/e_logf.S: Likewise.
35403 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35404 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35405 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35406 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35407 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35408 * sysdeps/i386/fpu/e_log10.S: Likewise.
35409 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35410 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35411 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35412 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35413 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35414 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35415 * sysdeps/i386/asm-syntax.h: Likewise.
35416 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35417 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35418 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35419 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35420 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35421 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35422 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35423 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35424 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35425 * sysdeps/powerpc/sysdep.h: Likewise.
35426 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35427 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35428
d4a54ac6
JM
354292012-02-06 Joseph Myers <joseph@codesourcery.com>
35430
35431 [BZ #411]
35432 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35433
314054ea
JM
354342012-02-06 Joseph Myers <joseph@codesourcery.com>
35435
35436 * sysdeps/i386/sysdep.h: Include <features.h>.
35437 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35438 version.
35439
d8e0ca50
JM
354402012-02-05 Joseph Myers <joseph@codesourcery.com>
35441
35442 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35443 Define.
35444 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35445 LOAD_PIC_REG_STR.
35446
b1da7dd9
JM
354472012-02-03 Joseph Myers <joseph@codesourcery.com>
35448
35449 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35450 (SETUP_PIC_REG): Use GET_PC_THUNK.
35451 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35452 macro.
35453
9a1d9254
JM
354542012-02-03 Joseph Myers <joseph@codesourcery.com>
35455
35456 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35457 for non-PIC compilation.
35458 (SETUP_PIC_REG): Add .p2align directive.
35459 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35460 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35461 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35462 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35463 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35464 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35465 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35466 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35467 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35468 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35469 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35470 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35471 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35472 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35473 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35474 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35475 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35476 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35477 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35478 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35479 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35480 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35481 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35482 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35483 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35484 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35485 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35486 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35487 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35488 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35489 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35490 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35491 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35492 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35493 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35494 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35495 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35496 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35497 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35498 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35499 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35500
65dc3b75
JM
355012012-02-03 Joseph Myers <joseph@codesourcery.com>
35502
35503 * math/tst-CMPLX.c: Include <stdio.h>.
35504
d55bf177
JM
355052012-01-31 Joseph Myers <joseph@codesourcery.com>
35506
35507 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35508 float.
35509 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35510 * sysdeps/sparc/bits/mathdef.h: Likewise.
35511
69db4f8f
MP
355122012-01-31 Marek Polacek <polacek@redhat.com>
35513
35514 * libio/libio.h: Don't define _PARAMS.
35515 * locale/programs/config.h: Don't define PARAMS.
35516 * stdlib/strtol_l.c: Likewise.
35517 (__strtol_l): Remove PARAMS from the prototype.
35518
41b81892
UD
355192012-01-31 Ulrich Drepper <drepper@gmail.com>
35520
3b49edc0
UD
35521 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35522 names. Just use the correct names. Remove unnecessary wrapper
35523 functions.
35524 * malloc/arena.c: Likewise.
35525 * malloc/hooks.c: Likewise.
35526
41b81892
UD
35527 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35528 ARENA_TEST says not to. Simplify test for creation of a new arena.
35529 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35530
27a25b6e
UD
355312012-01-30 Ulrich Drepper <drepper@gmail.com>
35532
35533 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35534 into tail calls.
35535 (update_get_addr): New function.
35536 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35537 GET_ADDR_MODULE parameter.
35538
c8a89e7d
JM
355392012-01-30 Joseph Myers <joseph@codesourcery.com>
35540
35541 * crypt/cert.c: Remove __STDC__ conditionals.
35542 * crypt/crypt-entry.c: Likewise.
35543 * crypt/crypt_util.c: Likewise.
35544 * libio/filedoalloc.c: Likewise.
35545 * libio/fileops.c: Likewise.
35546 * libio/genops.c: Likewise.
35547 * libio/iofclose.c: Likewise.
35548 * libio/iofdopen.c: Likewise.
35549 * libio/iofopen.c: Likewise.
35550 * libio/iofopen64.c: Likewise.
35551 * libio/iogetdelim.c: Likewise.
35552 * libio/iopopen.c: Likewise.
35553 * libio/obprintf.c: Likewise.
35554 * libio/oldfileops.c: Likewise.
35555 * libio/oldiofclose.c: Likewise.
35556 * libio/oldiofdopen.c: Likewise.
35557 * libio/oldiofopen.c: Likewise.
35558 * libio/oldiopopen.c: Likewise.
35559 * libio/wfiledoalloc.c: Likewise.
35560 * libio/wgenops.c: Likewise.
35561 * locale/programs/xmalloc.c: Likewise.
35562 * misc/syslog.c: Likewise.
35563 * stdio-common/xbug.c: Likewise.
35564 * string/memchr.c: Likewise.
35565 * string/memcmp.c: Likewise.
35566 * string/memrchr.c: Likewise.
35567 * string/rawmemchr.c: Likewise.
35568 * sysdeps/posix/getcwd.c: Likewise.
35569 * time/strftime_l.c: Likewise.
35570
3b100462
JM
355712012-01-30 Joseph Myers <joseph@codesourcery.com>
35572
35573 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35574 * config.make.in (config-cflags-sse2avx): Define.
35575 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35576 Fix typo.
35577
607998af
CM
355782012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35579
35580 * scripts/config.guess: Update from upstream config git repository.
35581 * scripts/config.sub: Likewise.
35582
3601428f
CM
355832012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35584
3ac8b282
CM
35585 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35586 (EM_NUM): Update.
35587 (R_TILEPRO_*, R_TILEGX_*): New macros.
35588
e034841e
CM
35589 * scripts/firstversions.awk: Fix bug in version range handling.
35590
540d7568
CM
35591 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35592
3601428f
CM
35593 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35594
463de862
CM
35595 * include/sys/epoll.h: New file.
35596 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35597 libc_hidden_def.
35598
73139a76
UD
355992012-01-28 Ulrich Drepper <drepper@gmail.com>
35600
96bc5b45
UD
35601 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35602 Avoid unnecessary __WORDSIZE == 64 test.
35603 (fmaxf): Use VEX format if possible.
35604 (fmax): Likewise.
35605 (fminf): Likewise.
35606 (fmin): Likewise.
35607
56f6f6a2
UD
35608 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35609 * math/math_private.h: Remove libc_fegetround* and
35610 libc_fesetround*.
35611 * sysdeps/i386/configure.in: Check for -msse2avx.
35612 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35613 also if SSE2AVX is defined.
35614 Remove libc_fegetround* and libc_fesetround*.
35615 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35616 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35617 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35618 of HAS_YMM_USABLE.
35619 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35620 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35621 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35622 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35623 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35624
73139a76
UD
35625 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35626
d73f93a4
AZ
356272012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35628
35629 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35630 size is not set.
35631 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35632
6ee65ed6
UD
356332012-01-27 Ulrich Drepper <drepper@gmail.com>
35634
35635 [BZ #13618]
35636 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35637 relocation.
35638 * Makeconfig (libm): Define.
35639 * elf/Makefile: Add rules to build and run tst-relsort1.
35640 * elf/tst-relsort1.c: New file.
35641 * elf/tst-relsort1mod1.c: New file.
35642 * elf/tst-relsort1mod2.c: New file.
35643
8db21882
JM
356442012-01-27 Joseph Myers <joseph@codesourcery.com>
35645
35646 * math/s_ldexp.c: Remove __STDC__ conditionals.
35647 * math/s_ldexpf.c: Likewise.
35648 * math/s_ldexpl.c: Likewise.
35649 * math/s_nextafter.c: Likewise.
35650 * math/s_nexttowardf.c: Likewise.
35651 * math/s_significand.c: Likewise.
35652 * math/s_significandf.c: Likewise.
35653 * math/s_significandl.c: Likewise.
35654 * math/w_jnl.c: Likewise.
35655 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35656 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35657 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35658 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35659 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35660 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35661 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35662 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35663 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35664 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35665 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35666 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35667 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35668 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35669 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35670 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35671 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35672 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35673 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35674 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35675 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35676 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35677 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35678 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35679 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35680 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35681 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35682 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35683 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35684 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35685 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35686 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35687 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35688 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35689 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35690 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35691 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35692 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35693 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35694 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35695 * sysdeps/ieee754/k_standard.c: Likewise.
35696 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35697 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35698 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35699 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35700 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35701 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35702 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35703 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35704 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35705 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35706 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35707 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35708 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35709 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35710 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35711 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35712 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35713 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35714 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35715 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35716 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35717 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35718 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35719 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35720 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35721 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35722 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35723 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35724 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35725 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35726 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35727 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35728 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35729 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35730 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35731 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35732 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35733 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35734 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35735 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35736 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35737 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35738 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35757 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35758 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35759 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35762 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35770 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35771 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35775 * sysdeps/ieee754/s_matherr.c: Likewise.
35776 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35777 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35778 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35779 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35780
965a54a4
JM
357812012-01-26 Joseph Myers <joseph@codesourcery.com>
35782
35783 * crypt/md5.h: Remove __STDC__ conditionals.
35784 * libio/libioP.h: Likewise.
35785 * locale/programs/config.h: Likewise.
35786 * sysdeps/generic/sysdep.h: Likewise.
35787 * sysdeps/i386/asm-syntax.h: Likewise.
35788 * sysdeps/s390/asm-syntax.h: Likewise.
35789 * sysdeps/unix/sysdep.h: Likewise.
35790 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35791 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35792
7071ad79
JM
357932012-01-26 Joseph Myers <joseph@codesourcery.com>
35794
35795 * libio/libio.h: Remove __STDC__ conditionals.
35796 * malloc/obstack.h: Likewise.
35797 * math/complex.h: Likewise.
35798 * math/math.h: Likewise.
35799 * sysdeps/generic/_G_config.h: Likewise.
35800 * sysdeps/gnu/_G_config.h: Likewise.
35801 * sysdeps/mach/hurd/_G_config.h: Likewise.
35802 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35803 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35804 * sysdeps/sparc/bits/mathdef.h: Likewise.
35805
afc5ed09
UD
358062012-01-26 Ulrich Drepper <drepper@gmail.com>
35807
35808 [BZ #13583]
35809 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35810 Clean up HAS_* macros.
afc5ed09 35811 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35812 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35813 possible.
35814 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35815 HAS_AVX.
35816 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35817 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35818 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35819 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35820 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35821
bdb6de1d
JM
358222012-01-25 Joseph Myers <joseph@codesourcery.com>
35823
35824 * elf/tst-unique3.cc (gets): Remove declaration.
35825 * elf/tst-unique3lib.cc (gets): Likewise.
35826 * elf/tst-unique3lib2.cc (gets): Likewise.
35827 * elf/tst-unique4.cc (gets): Likewise.
35828
b15549e6
UD
358292012-01-24 Ulrich Drepper <drepper@gmail.com>
35830
35831 * include/stdio.h: Add C++ protection. Add gets declarations and
35832 definitions.
35833 * debug/tst-chk1.c: Don't declare gets here.
35834 * stdio-common/tst-gets.c: Likewise.
35835
a037381f
JM
358362012-01-24 Joseph Myers <joseph@codesourcery.com>
35837
35838 * posix/glob: Remove directory.
35839
f1d4aa75
JM
358402012-01-24 Joseph Myers <joseph@codesourcery.com>
35841
35842 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35843
81c0c964
PT
358442012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35845
35846 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35847 of the non-standard EPFNOSUPPORT.
35848
0ea698ae
ST
358492011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35850
35851 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35852 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35853 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35854
d220b117
UD
358552012-01-21 Ulrich Drepper <drepper@gmail.com>
35856
35857 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35858
3e1aa84e
UD
358592012-01-20 Ulrich Drepper <drepper@gmail.com>
35860
35861 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35862 transient errors.
35863 * nscd/grpcache.c (cache_addgr): Likewise.
35864 * nscd/hstcache.c (cache_addhst): Likewise.
35865 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35866 * nscd/pwdcache.c (cache_addpw): Likewise.
35867 * nscd/servicescache.c (cache_addserv): Likewise.
35868
400aa020
UD
358692012-01-16 Ulrich Drepper <drepper@gmail.com>
35870
d77e7869
UD
35871 * malloc/malloc.c: Various cleanups.
35872 * malloc/hooks.c: Likewise.
35873
400aa020
UD
35874 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35875 * stdlib/bug-fmtmsg1.c: New file.
35876
35877 * stdlib/fmtmsg.c (init): Add missing unlock.
35878 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35879
e0a309cf
MP
358802012-01-12 Marek Polacek <polacek@redhat.com>
35881
35882 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35883 and _GNU_SOURCE.
35884
929d11c7
WS
358852012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35886
35887 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35888 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35889 macro to ensure uniqueness of label name.
35890 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35891 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35892
41d0e869
UD
358932012-01-11 Ulrich Drepper <drepper@gmail.com>
35894
0cc5ed3b
UD
35895 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35896
41d0e869
UD
35897 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35898 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35899 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35900 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35901
a47a831a
UD
359022012-01-10 Ulrich Drepper <drepper@gmail.com>
35903
daa891c0
UD
35904 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35905
35906 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35907 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35908 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35909
e58ef0f2
UD
35910 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35911
a47a831a 35912 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35913 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35914 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35915 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35916
35917 * math/bits/math-finite.h: Add ldexp support.
35918
a0bfc9c7
MP
359192012-01-10 Marek Polacek <polacek@redhat.com>
35920
35921 * locale/programs/localedef.h (show_archive_content): Add noreturn
35922 attribute.
35923
d6e97a1d
UD
359242012-01-09 Ulrich Drepper <drepper@gmail.com>
35925
35926 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35927
d5835c26
UD
359282012-01-08 Ulrich Drepper <drepper@gmail.com>
35929
e5f484c6
UD
35930 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35931
d5835c26
UD
35932 * io/Makefile (headers): Add bits/poll2.h.
35933
d1f741e9
WS
359342011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35935
35936 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35937 typo #include statement.
35938
ec09c1c4
UD
359392012-01-08 Ulrich Drepper <drepper@gmail.com>
35940
35941 * include/sys/cdefs.h: Define __attribute_alloc_size.
35942 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35943 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35944 * elf/pldd.c: Likewise.
35945 * iconv/iconv_charmap.c: Likewise.
35946 * iconv/iconvconfig.c: Likewise.
35947 * iconv/strtab.c: Likewise.
35948 * locale/programs/locale.c: Likewise.
35949 * locale/programs/localedef.h: Likewise.
35950 * locale/programs/simple-hash.c: Likewise.
35951 * nscd/nscd.h: Likewise.
35952 * nss/makedb.c: Likewise.
35953 * sysdeps/generic/ldconfig.h: Likewise.
35954 * locale/programs/localedef.c: Remove xmalloc prototype.
35955 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35956
20b38e03
PP
359572012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
35958
35959 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
35960 appropriate.
35961
a0da5fe1
UD
359622012-01-08 Ulrich Drepper <drepper@gmail.com>
35963
1d5a644a 35964 * math/Makefile (tests): Add tst-CMPLX.
669704fd 35965 * math/tst-CMPLX.c: New file.
1d5a644a 35966
8784a6db
UD
35967 * math/complex.h (CMPLXL): Fix typo.
35968
d9a216c0
UD
35969 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
35970 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
35971 GLIBC_2.16.
35972 * debug/tst-chk1.c: Add poll and ppoll tests.
35973 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
35974 * include/sys/poll.h: Add hidden proto for ppoll.
35975 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
35976 * sysdeps/mach/hurd/ppoll.c: Likewise.
35977 * io/ppoll.c: Likewise.
35978 * debug/poll_chk.c: New file.
35979 * debug/ppoll_chk.c: New file.
35980 * include/bits/poll2.h: New file.
35981 * io/bits/poll2.h: New file.
35982
ac097f5c
UD
35983 [BZ #1350]
35984 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
35985
2119dcfa
UD
35986 * configure.in: static is always set to yes. Remove.
35987 * config.make.in: Don't set build-static.
35988 * Makeconfig: Remove use of build-static.
35989 * dlfcn/Makefile: Likewise.
35990 * elf/Makefile: Likewise.
35991 * math/Makefile: Likewise.
35992 * misc/Makefile: Likewise.
35993 * nptl/Makefile: Likewise.
35994 * sysdeps/mach/hurd/Makefile: Likewise.
35995
121766a9
UD
35996 * configure.in: PWD_P is not used anymore.
35997 * config.make.in: Remove PWD_P entry.
35998
51a1d39c 35999 * configure.in: Remove last remnants of RANLIB.
8720d066 36000 No need to check for signed size_t anymore.
215f4bdc
UD
36001 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36002 and IA-64.
3857022a 36003 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36004 * aclocal.m4: Likewise.
36005
d3ed7225
UD
36006 * wcsmbs/mbrtoc16.c: Implement using towc function.
36007 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36008 * wcsmbs/wcsmbsload.c: Likewise.
36009 * iconv/gconv_simple.c: Likewise.
36010 * iconv/gconv_int.h: Likewise.
36011 * iconv/gconv_builtin.h: Likewise.
36012 * iconv/iconv_prog.c: Remove CHAR16 handling.
36013
36014 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36015
36016 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36017
a0da5fe1
UD
36018 * configure.in: Remove --with-elf and --enable-bounded options.
36019 Dont set base_machine for ia64. More non-ELF conditions removed.
36020 Remove testing and setting of leading underscore information.
36021 * config.make.in (build-bounded): Set to no.
36022 * config.h.in: Remove NO_UNDERSCORES entry.
36023 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36024 them.
36025 * csu/start.c: Remove !NO_UNDERSCORE code.
36026 * locale/localeinfo.h: Likewise.
36027 * sysdeps/generic/machine-gmon.h: Likewise.
36028 * sysdeps/generic/sysdep.h: Likewise.
36029 * sysdeps/i386/sysdep.h: Likewise.
36030 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36031 * sysdeps/mach/sysdep.h: Likewise.
36032 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36033 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36034 * sysdeps/sh/sysdep.h: Likewise.
36035 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36036 * sysdeps/unix/i386/sysdep.S: Likewise.
36037 * sysdeps/unix/sparc/start.c: Likewise.
36038 * sysdeps/unix/sparc/sysdep.S: Likewise.
36039 * sysdeps/unix/sparc/sysdep.h: Likewise.
36040 * sysdeps/unix/start.c: Likewise.
36041 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36042 * sysdeps/x86_64/sysdep.h: Likewise.
36043
df78418a
UD
360442012-01-07 Ulrich Drepper <drepper@gmail.com>
36045
a784e502
UD
36046 [BZ #13553]
36047 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36048 for non-gcc.
36049 * argp/argp-fmtstream.h: Use const instead __const.
36050 * argp/argp.h: Likewise.
36051 * assert/assert.h: Likewise.
36052 * bits/fenv.h: Likewise.
36053 * bits/sched.h: Likewise.
36054 * bits/sigset.h: Likewise.
36055 * bits/sigthread.h: Likewise.
36056 * catgets/nl_types.h: Likewise.
36057 * conform/data/pthread.h-data: Likewise.
36058 * crypt/crypt-private.h: Likewise.
36059 * crypt/crypt.h: Likewise.
36060 * crypt/crypt_util.c: Likewise.
36061 * ctype/ctype.h: Likewise.
36062 * debug/execinfo.h: Likewise.
36063 * debug/mbsnrtowcs_chk.c: Likewise.
36064 * debug/mbsrtowcs_chk.c: Likewise.
36065 * debug/wcsnrtombs_chk.c: Likewise.
36066 * debug/wcsrtombs_chk.c: Likewise.
36067 * debug/wcstombs_chk.c: Likewise.
36068 * dirent/dirent.h: Likewise.
36069 * dlfcn/dlfcn.h: Likewise.
36070 * elf/neededtest4.c: Likewise.
36071 * grp/grp.h: Likewise.
36072 * gshadow/gshadow.h: Likewise.
36073 * iconv/gconv.h: Likewise.
36074 * iconv/gconv_int.h: Likewise.
36075 * iconv/gconv_simple.c: Likewise.
36076 * iconv/iconv.h: Likewise.
36077 * iconv/loop.c: Likewise.
36078 * iconv/skeleton.c: Likewise.
36079 * include/aio.h: Likewise.
36080 * include/aliases.h: Likewise.
36081 * include/argz.h: Likewise.
36082 * include/arpa/inet.h: Likewise.
36083 * include/assert.h: Likewise.
36084 * include/dirent.h: Likewise.
36085 * include/dlfcn.h: Likewise.
36086 * include/execinfo.h: Likewise.
36087 * include/fcntl.h: Likewise.
36088 * include/fenv.h: Likewise.
36089 * include/glob.h: Likewise.
36090 * include/grp.h: Likewise.
36091 * include/libintl.h: Likewise.
36092 * include/mntent.h: Likewise.
36093 * include/netdb.h: Likewise.
36094 * include/pwd.h: Likewise.
36095 * include/rpc/netdb.h: Likewise.
36096 * include/sched.h: Likewise.
36097 * include/search.h: Likewise.
36098 * include/shadow.h: Likewise.
36099 * include/signal.h: Likewise.
36100 * include/stdio.h: Likewise.
36101 * include/stdlib.h: Likewise.
36102 * include/string.h: Likewise.
36103 * include/sys/socket.h: Likewise.
36104 * include/sys/stat.h: Likewise.
36105 * include/sys/statfs.h: Likewise.
36106 * include/sys/statvfs.h: Likewise.
36107 * include/sys/syslog.h: Likewise.
36108 * include/sys/time.h: Likewise.
36109 * include/sys/uio.h: Likewise.
36110 * include/time.h: Likewise.
36111 * include/unistd.h: Likewise.
36112 * include/utmp.h: Likewise.
36113 * include/wchar.h: Likewise.
36114 * include/wctype.h: Likewise.
36115 * inet/aliases.h: Likewise.
36116 * inet/arpa/inet.h: Likewise.
36117 * inet/netinet/ether.h: Likewise.
36118 * inet/netinet/in.h: Likewise.
36119 * intl/libintl.h: Likewise.
36120 * io/bits/fcntl2.h: Likewise.
36121 * io/fcntl.h: Likewise.
36122 * io/ftw.h: Likewise.
36123 * io/sys/poll.h: Likewise.
36124 * io/sys/stat.h: Likewise.
36125 * io/sys/statfs.h: Likewise.
36126 * io/sys/statvfs.h: Likewise.
36127 * io/utime.h: Likewise.
36128 * libio/bits/stdio.h: Likewise.
36129 * libio/bits/stdio2.h: Likewise.
36130 * libio/libio.h: Likewise.
36131 * libio/libioP.h: Likewise.
36132 * libio/stdio.h: Likewise.
36133 * locale/lc-ctype.c: Likewise.
36134 * locale/locale.h: Likewise.
36135 * login/utmp.h: Likewise.
36136 * malloc/arena.c: Likewise.
36137 * malloc/malloc.c: Likewise.
36138 * malloc/malloc.h: Likewise.
36139 * malloc/mcheck.c: Likewise.
36140 * malloc/mtrace.c: Likewise.
36141 * math/bits/mathcalls.h: Likewise.
36142 * math/fenv.h: Likewise.
36143 * math/math_private.h: Likewise.
36144 * misc/bits/error.h: Likewise.
36145 * misc/bits/syslog.h: Likewise.
36146 * misc/err.h: Likewise.
36147 * misc/error.h: Likewise.
36148 * misc/fstab.h: Likewise.
36149 * misc/mntent.h: Likewise.
36150 * misc/regexp.h: Likewise.
36151 * misc/search.h: Likewise.
36152 * misc/sgtty.h: Likewise.
36153 * misc/sys/mman.h: Likewise.
36154 * misc/sys/syslog.h: Likewise.
36155 * misc/sys/uio.h: Likewise.
36156 * misc/sys/xattr.h: Likewise.
36157 * misc/ttyent.h: Likewise.
36158 * nis/rpcsvc/ypclnt.h: Likewise.
36159 * nss/nss.h: Likewise.
36160 * posix/bits/unistd.h: Likewise.
36161 * posix/fnmatch.h: Likewise.
36162 * posix/glob.h: Likewise.
36163 * posix/sched.h: Likewise.
36164 * posix/spawn.h: Likewise.
36165 * posix/sys/wait.h: Likewise.
36166 * posix/unistd.h: Likewise.
36167 * posix/wordexp.h: Likewise.
36168 * pwd/pwd.h: Likewise.
36169 * resolv/netdb.h: Likewise.
36170 * resource/sys/resource.h: Likewise.
36171 * rt/aio.h: Likewise.
36172 * rt/bits/mqueue2.h: Likewise.
36173 * rt/mqueue.h: Likewise.
36174 * shadow/shadow.h: Likewise.
36175 * signal/signal.h: Likewise.
36176 * socket/send.c: Likewise.
36177 * socket/sendto.c: Likewise.
36178 * socket/sys/socket.h: Likewise.
36179 * stdio-common/printf.h: Likewise.
36180 * stdlib/bits/stdlib.h: Likewise.
36181 * stdlib/fmtmsg.h: Likewise.
36182 * stdlib/monetary.h: Likewise.
36183 * stdlib/stdlib.h: Likewise.
36184 * stdlib/ucontext.h: Likewise.
36185 * streams/stropts.h: Likewise.
36186 * string/argz.h: Likewise.
36187 * string/bits/string2.h: Likewise.
36188 * string/string.h: Likewise.
36189 * string/strings.h: Likewise.
36190 * sunrpc/rpc/auth.h: Likewise.
36191 * sunrpc/rpc/auth_des.h: Likewise.
36192 * sunrpc/rpc/clnt.h: Likewise.
36193 * sunrpc/rpc/netdb.h: Likewise.
36194 * sunrpc/rpc/pmap_clnt.h: Likewise.
36195 * sunrpc/rpc/xdr.h: Likewise.
36196 * sysdeps/generic/inttypes.h: Likewise.
36197 * sysdeps/generic/net/if.h: Likewise.
36198 * sysdeps/generic/sys/swap.h: Likewise.
36199 * sysdeps/gnu/net/if.h: Likewise.
36200 * sysdeps/gnu/utmpx.h: Likewise.
36201 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36202 * sysdeps/i386/i486/bits/string.h: Likewise.
36203 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36204 * sysdeps/s390/bits/string.h: Likewise.
36205 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36206 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36207 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36208 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36209 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36210 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36211 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36212 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36213 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36214 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36215 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36216 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36217 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36218 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36219 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36220 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36221 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36222 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36223 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36224 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36225 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36226 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36227 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36228 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36229 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36230 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36231 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36232 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36233 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36234 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36235 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36236 * sysvipc/sys/ipc.h: Likewise.
36237 * sysvipc/sys/msg.h: Likewise.
36238 * sysvipc/sys/sem.h: Likewise.
36239 * sysvipc/sys/shm.h: Likewise.
36240 * termios/termios.h: Likewise.
36241 * time/sys/time.h: Likewise.
36242 * time/time.h: Likewise.
36243 * wcsmbs/bits/wchar2.h: Likewise.
36244 * wcsmbs/uchar.h: Likewise.
36245 * wcsmbs/wchar.h: Likewise.
36246 * wctype/wctype.h: Likewise.
36247
0269750c
UD
36248 [BZ #13551]
36249 * Makeconfig: Remove all but ELF support including AIX support.
36250 * Makerules: Likewise.
36251 * config.h.in: Likewise.
36252 * config.make.in: Likewise.
36253 * configure: Likewise.
36254 * configure.in: Likewise.
36255 * csu/Makefile: Likewise.
36256 * csu/version.c: Likewise.
36257 * debug/Makefile: Likewise.
36258 * dlfcn/Makefile: Likewise.
36259 * elf/Makefile: Likewise.
36260 * extra-lib.mk: Likewise.
36261 * iconv/Makefile: Likewise.
36262 * include/libc-symbols.h: Likewise.
36263 * include/shlib-compat.h: Likewise.
36264 * resolv/Makefile: Likewise.
36265 * resolv/res_libc.c: Likewise.
36266 * rt/Makefile: Likewise.
36267 * sysdeps/i386/asm-syntax.h: Likewise.
36268 * sysdeps/i386/sysdep.h: Likewise.
36269 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36270 * sysdeps/mach/sysdep.h: Likewise.
36271 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36272 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36273 * sysdeps/s390/asm-syntax.h: Likewise.
36274 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36275 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36276 * sysdeps/sh/sysdep.h: Likewise.
36277 * sysdeps/unix/sparc/sysdep.h: Likewise.
36278 * sysdeps/wordsize-32/divdi3.c: Likewise.
36279 * sysdeps/x86_64/sysdep.h: Likewise.
36280
00bbd29b
UD
36281 * argp/Versions: Remove _argp_unlock_xxx.
36282
36283 [BZ #13559]
36284 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36285 * abilist/libBrokenLocale.abilist: Likewise.
36286 * abilist/libanl.abilist: Likewise.
36287 * abilist/libc.abilist: Likewise.
36288 * abilist/libcrypt.abilist: Likewise.
36289 * abilist/libdl.abilist: Likewise.
36290 * abilist/libm.abilist: Likewise.
36291 * abilist/libnsl.abilist: Likewise.
36292 * abilist/libpthread.abilist: Likewise.
36293 * abilist/libresolv.abilist: Likewise.
36294 * abilist/librt.abilist: Likewise.
36295 * abilist/libthread_db.abilist: Likewise.
36296 * abilist/libutil.abilist: Likewise.
36297 * abilist/libnss_db.abilist: New file.
36298
36299 * scripts/abilist.awk: Add support for indirect functions.
36300
a2693a0e
UD
36301 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36302
3f05895f
UD
36303 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36304
ecb6fb48
UD
36305 * shlib-versions: Remove entries for ports architectures.
36306
664f8cb9
UD
36307 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36308 files in ports.
36309 * elf/stackguard-macros.h: Remove support for IA-64.
36310 * elf/tst-auditmod1.c: Likewise.
36311 * sysdeps/generic/ldsodefs.h: Likewise.
36312
7ae81d88
UD
36313 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36314 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36315 configure files.
36316
bdeba135
UD
36317 [BZ #13552]
36318 * configure.in: Remove --enable-omitfp support.
36319 * FAQ.in: Adjust.
36320 * config.make.in: Likewise.
36321 * Makeconfig: Likewise.
36322 * manual/install.texi: Likewise.
36323
d75a0a62
UD
36324 In case anyone cares, the IA-64 architecture could move to ports.
36325 * sysdeps/ia64/*: Removed.
36326 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36327 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36328
dcc9756b
UD
36329 [BZ #13555]
36330 * configure.in: Remove entries for unsupported architectures.
36331
d3761ebc 36332 [BZ #13533]
9954432e
UD
36333 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36334 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36335 routines.
36336 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36337 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36338 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36339 fall back to using wcrtomb.
36340 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36341 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36342 renaming.
36343 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36344 * wcsmbs/tst-c16c32-1.c: New file.
36345
36346 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36347 local variable.
36348
c3a87236
UD
36349 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36350
28926a1b
UD
36351 * elf/tst-unique3.cc: Add explicit declaration of gets.
36352 * elf/tst-unique3lib.cc: Likewise.
36353 * elf/tst-unique3lib2.cc: Likewise.
36354 * elf/tst-unique4.cc: Likewise.
36355
df78418a
UD
36356 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36357
8ecd6b2a
JM
363582012-01-06 Joseph Myers <joseph@codesourcery.com>
36359
36360 [BZ #13566]
36361 * assert/assert.h (static_assert): Don't define for C++.
36362 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36363 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36364
9f115170
UD
363652012-01-03 Ulrich Drepper <drepper@gmail.com>
36366
5e0d0300
UD
36367 * iconv/loop.c (single loop): Fix assertion in storing of
36368 remaining bytes.
36369
9f115170
UD
36370 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36371
81fb02b0
UD
363722012-01-01 Ulrich Drepper <drepper@gmail.com>
36373
36374 * posix/getconf.c: Update copyright year.
36375 * nss/getent.c: Likewise.
a316c1f6 36376 * nss/makedb.c: Likewise.
81fb02b0
UD
36377 * iconv/iconvconfig.c: Likewise.
36378 * iconv/iconv_prog.c: Likewise.
36379 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36380 * elf/pldd.c: Likewise.
36381 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36382 * catgets/gencat.c: Likewise.
36383 * csu/version.c: Likewise.
36384 * elf/ldd.bash.in: Likewise.
36385 * elf/sprof.c (print_version): Likewise.
36386 * locale/programs/locale.c: Likewise.
36387 * locale/programs/localedef.c: Likewise.
a316c1f6 36388 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36389 * nscd/nscd.c (print_version): Likewise.
36390 * debug/xtrace.sh: Likewise.
36391 * malloc/memusage.sh: Likewise.
36392 * malloc/mtrace.pl: Likewise.
36393 * debug/catchsegv.sh: Likewise.
36394
2ba92745
JJ
363952011-12-30 Jakub Jelinek <jakub@redhat.com>
36396
36397 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36398 pure attribute.
36399
dadebdae
UD
364002011-12-24 Ulrich Drepper <drepper@gmail.com>
36401
d3761ebc 36402 [BZ #13533]
db6af3eb
UD
36403 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36404 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36405 transformations.
36406 * iconv/gconv_int.h: Likewise.
36407 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36408 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36409 from libc for GLIBC_2.16.
36410 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36411 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36412 * wcsmbs/uchar.h: Really define mbstate_t.
36413 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36414 * wcsmbs/c16rtomb.c: New file.
36415 * wcsmbs/mbrtoc16.c: New file.
36416 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36417 for C/POSIX locale.
36418 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36419 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36420
dadebdae
UD
36421 * wcsmbs/wchar.h: Add missing __restrict.
36422
67371b56
UD
364232011-12-23 Ulrich Drepper <drepper@gmail.com>
36424
74033a25
UD
36425 [BZ #13532]
36426 * time/Makefile (routines): Add timespec_get.
36427 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36428 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36429 timespec for ISO C11.
36430 * time/timespec_get.c: New file.
36431 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36432 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36433
380d7e87
UD
36434 [BZ #13531]
36435 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36436 * stdlib/stdlib.h: Declare aligned_alloc.
36437 * Versions.def: Add GLIBC_2.16 for libc.
36438 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36439
4e9e7a35
UD
36440 [BZ 13527]
36441 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36442 ISO C11.
36443
380d7e87 36444 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36445 code.
36446
03a71829
UD
36447 [BZ #13528]
36448 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36449
839e283e
UD
36450 [BZ #13529]
36451 * assert/assert.h (static_assert): Define.
36452
ce5294e2 36453 * version.h: Update for 2.16 development version.
90fa7312 36454
8d44e150 36455 [BZ #13526]
d7809905
UD
36456 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36457 _ISOC11_SOURCE.
36458
c0da14cd
UD
36459 * version.h (RELEASE): Bump for 2.15 release.
36460 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36461
530a3249
MP
36462 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36463 Patch by Marek Polacek <mpolacek@redhat.com>.
36464
67371b56
UD
36465 * bits/byteswap.h: Protect long long constants with __extension__.
36466 * sysdeps/i386/bits/byteswap.h: Likewise.
36467 * sysdeps/ia64/bits/byteswap.h: Likewise.
36468 * sysdeps/s390/bits/byteswap.h: Likewise.
36469 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36470
15db4de1
LD
364712011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36472
36473 [BZ #13540]
bbe315ea
LD
36474 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36475 destination buffer.
15db4de1
LD
36476 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36477
2b2596b1
MP
364782011-12-23 Marek Polacek <polacek@redhat.com>
36479
36480 * elf/dl-addr.c (determine_info): Add inline keyword.
36481 * elf/tst-auditmod4b.c (check_avx): Likewise.
36482 * elf/tst-auditmod6b.c (check_avx): Likewise.
36483 * elf/tst-auditmod6c.c (check_avx): Likewise.
36484 * elf/tst-auditmod7b.c (check_avx): Likewise.
36485
70c6c246
UD
364862011-12-23 Ulrich Drepper <drepper@gmail.com>
36487
36488 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36489 !__SSE_MATH__.
36490
c044cf14
LD
364912011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36492
15db4de1 36493 [BZ #13540]
c044cf14
LD
36494 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36495 processing for last bytes.
36496
6b13d9d9
BH
364972011-08-06 Bruno Haible <bruno@clisp.org>
36498
d455f537
BH
36499 [BZ #13061]
36500 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36501 U+0385, not to U+1FEE.
36502
6b13d9d9
BH
36503 [BZ #13062]
36504 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36505 entry for U+00A5 U+0301.
36506
db910efd
UD
365072011-12-22 Ulrich Drepper <drepper@gmail.com>
36508
27deeafc
UD
36509 [BZ #13166]
36510 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36511 buffer for the output is too small.
36512
aed9d171
UD
36513 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36514 optimization.
36515
db910efd
UD
36516 [BZ #13185]
36517 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36518 SSE flags if possible.
36519
2bd779ae
LD
365202011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36521
e7f9dac3 36522 [BZ #13540]
2bd779ae
LD
36523 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36524 processing for last bytes.
36525
154bfc16
JM
365262011-12-22 Joseph Myers <joseph@codesourcery.com>
36527
36528 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36529 (syscall-list-default-options, syscall-list-default-condition)
36530 (syscall-list-includes): Define.
36531 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36532 list of ABIs and options and #if conditions for each ABI. Do not
36533 handle common syscalls between ABIs specially.
36534 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36535 Remove.
36536 (syscall-list-variants, syscall-list-32bit-options)
36537 (syscall-list-32bit-condition, syscall-list-64bit-options)
36538 (syscall-list-64bit-condition): Define.
36539 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36540 (syscall-list-variants, syscall-list-32bit-options)
36541 (syscall-list-32bit-condition, syscall-list-64bit-options)
36542 (syscall-list-64bit-condition): Define.
36543 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36544 Remove.
36545 (syscall-list-variants, syscall-list-32bit-options)
36546 (syscall-list-32bit-condition, syscall-list-64bit-options)
36547 (syscall-list-64bit-condition): Define.
36548 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36549 Remove.
36550 (syscall-list-variants, syscall-list-32bit-options)
36551 (syscall-list-32bit-condition, syscall-list-64bit-options)
36552 (syscall-list-64bit-condition): Define.
36553
21eaf3a5
UD
365542011-12-22 Ulrich Drepper <drepper@gmail.com>
36555
16c6f992
UD
36556 * locale/iso-639.def: Add brx entry.
36557
41043168
UD
36558 [BZ #13328]
36559 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36560 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36561
21eaf3a5
UD
36562 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36563 __feraiseexcept_renamed.
36564
e3a851a2
UD
365652011-12-21 Ulrich Drepper <drepper@gmail.com>
36566
4920765e
UD
36567 [BZ #13538]
36568 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36569 EPOLLET with unsigned values.
36570 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36571 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36572
e3a851a2
UD
36573 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36574 to large cancellation.
36575 * math/s_cacoshf.c: Likewise.
36576 * math/s_cacoshl.c: Likewise.
36577
b27e24b8
RK
365782011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36579
36580 [BZ #13305]
aebefeee 36581 [BZ #12786]
b27e24b8
RK
36582 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36583 * math/s_cacoshf.c: Likewise.
36584 * math/s_cacoshl.c: Likewise.
36585
ee190f67
UD
365862011-12-21 Ulrich Drepper <drepper@gmail.com>
36587
36588 [BZ #13439]
36589 * iconv/gconv.h: Define __GCONV_SWAP.
36590 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36591 * iconvdata/utf-16.c: Likewise.
36592 * iconvdata/utf-32.c: Likewise.
36593
707f25df
AS
365942011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36595
36596 [BZ #13524]
36597 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36598 numerator after shifting it by one limb.
36599
d2daaa1e
RÁE
366002011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36601
36602 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36603 under [__USE_EXTERN_INLINES].
36604
a4647e72
UD
366052011-12-17 Ulrich Drepper <drepper@gmail.com>
36606
36607 [BZ #13446]
36608 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36609
f0b264f1
AZ
366102011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36611
36612 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36613 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36614 optimized code.
36615 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36616 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36617 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36618 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36619 for strncasecmp/strncasecmp_l compilation.
36620 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36621 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36622
8ef4f244
MP
366232011-12-08 Marek Polacek <mpolacek@redhat.com>
36624
36625 [BZ #13484]
36626 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36627 of __asm__.
36628
97ac2654
UD
366292011-12-17 Ulrich Drepper <drepper@gmail.com>
36630
36631 [BZ #13506]
36632 * time/tzfile.c (__tzfile_read): Check values from file header.
36633
91d2a845
WS
366342011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36635
36636 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36637 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36638 * powerpc/powerpc32/dl-start.S: Likewise.
36639 * powerpc/powerpc32/elf/start.S: Likewise.
36640 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36641 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36642 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36643 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36644 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36645 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36646 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36647 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36648 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36649 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36650 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36651 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36652 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36653 * powerpc/powerpc32/memset.S: Likewise.
36654 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36655 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36656 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36657 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36658 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36659 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36660 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36661 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36662 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36663 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36664 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36665 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36666 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36667
a1267ba1
AZ
366682011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36669
36670 * math/libm-test.inc: Added more nearbyint tests.
36671 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36672 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36673 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36674 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36675
ad8ac1bd
RL
366762011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36677
36678 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36679 FD_CLOEXEC.
36680
1d3e4b61
UD
366812011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36682
36683 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36684 Add wcscpy-ssse3 wcscpy-c.
36685 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36686 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36687 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36688 * sysdeps/x86_64/wcschr.S: New file.
36689 * sysdeps/x86_64/wcsrchr.S: New file.
36690 * string/test-strcmp.c: Remove checking of wcscmp function for
36691 wrong alignments.
36692 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36693 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36694 wcsrchr-sse2 wcsrchr-c.
36695 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36696 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36697 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36698 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36699 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36700 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36701 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36702 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36703 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36704 * wcsmbc/wcschr.c (WCSCHR): New macro.
36705
5b330a2d
UD
367062011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36707
36708 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36709 * wcsmbs/test-wcsrchr.c: New file.
36710 * string/test-strrchr.c: Add wcsrchr support.
36711 (WIDE): New macro.
36712 * wcsmbs/test-wcscpy.c: New file.
36713 * string/test-strcpy.c: Add wcscpy support.
36714 (WIDE): New macro.
26428b7c 36715
f039c043
UD
367162011-12-10 Ulrich Drepper <drepper@gmail.com>
36717
36718 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36719 the inner loop.
36720
850fb039
AS
367212011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36722
36723 [BZ #13472]
36724 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36725
4efbd5cb
UD
367262011-12-04 Ulrich Drepper <drepper@gmail.com>
36727
52ff5dd0 36728 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36729 Minor optimizations.
52ff5dd0 36730
4efbd5cb
UD
36731 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36732 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36733 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36734
8a426e12
UD
367352011-12-03 Ulrich Drepper <drepper@gmail.com>
36736
aff2453d
UD
36737 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36738 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36739 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36740 for gcc to avoid warnings.
36741 * inet/Makefile (tests): Add tst-checks.
36742 * inet/tst-checks.c: New file.
36743
36744 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36745 warning.
36746
36747 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36748 __wmemcmp_sse2.
36749
36750 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36751 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36752
8a426e12
UD
36753 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36754
9bea3473
UD
367552011-12-02 Ulrich Drepper <drepper@gmail.com>
36756
3a965496
UD
36757 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36758 problem.
36759
9bea3473
UD
36760 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36761
f101631b
UD
367622011-11-29 Joseph Myers <joseph@codesourcery.com>
36763
36764 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36765 conditional on GCC version.
36766 (__arch_compare_and_exchange_val_8_acq)
36767 (__arch_compare_and_exchange_val_16_acq)
36768 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36769 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36770 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36771
a98275aa
UD
367722011-12-02 Joseph Myers <joseph@codesourcery.com>
36773
36774 * sysdeps/sh/backtrace.c: New file.
36775
d4cc29a2
AS
367762011-12-02 Andreas Schwab <schwab@redhat.com>
36777
36778 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36779 parenthesis.
36780
6257af2d
AS
367812011-12-01 Andreas Schwab <schwab@redhat.com>
36782
36783 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36784 falling back to utime.
36785
b5f44c1a
AS
367862011-11-30 Andreas Schwab <schwab@redhat.com>
36787
36788 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36789 expectations for float.
36790
f3a6cc0a
AS
367912011-11-29 Andreas Schwab <schwab@redhat.com>
36792
36793 * locale/weight.h (findidx): Add parameter len.
36794 * locale/weightwc.h (findidx): Likewise.
36795 * posix/fnmatch_loop.c (FCT): Adjust caller.
36796 * posix/regcomp.c (build_equiv_class): Likewise.
36797 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36798 * posix/regexec.c (check_node_accept_bytes): Likewise.
36799 * string/strcoll_l.c (STRCOLL): Likewise.
36800 * string/strxfrm_l.c (STRXFRM): Likewise.
36801
9d65ea3a
UD
368022011-11-17 Ulrich Drepper <drepper@gmail.com>
36803
36804 * Makefile.in: Remove CVSOPT handling.
36805 * configure.in: Remove use of AC_REVISION.
36806 * iconvdata/Makefile (distribute): No need to filter out CVS.
36807 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36808 handling.
36809
5583a086
AS
368102011-11-16 Andreas Schwab <schwab@redhat.com>
36811
36812 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36813 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36814 [USE_AS_STRNCASECMP_L]: Likewise.
36815 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36816 NO_TLS_DIRECT_SEG_REFS.
36817 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36818 Fix argument offsets for non-PIC.
36819 [USE_AS_STRNCASECMP_L]: Likewise.
36820 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36821 NO_TLS_DIRECT_SEG_REFS.
36822
d62a8200
UD
368232011-11-15 Ulrich Drepper <drepper@gmail.com>
36824
9d65ea3a 36825 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36826 O_CLOEXEC.
36827 * locale/loadlocale.c (_nl_load_locale): Likewise.
36828
09f93bd3
AS
368292011-11-15 Andreas Schwab <schwab@redhat.com>
36830
446514f9
AS
36831 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36832 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36833 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36834 (SYSCALL_GETTIME): Set errno on error.
36835
09f93bd3
AS
36836 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36837 count references to noai6ai_cached.
36838
312be3f9
UD
368392011-11-15 Ulrich Drepper <drepper@gmail.com>
36840
36841 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36842
36843 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36844 FD_CLOEXEC for /proc/self/maps.
36845
36846 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36847 FD_CLOEXEC for /proc/meminfo.
36848
36849 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36850 gai.conf.
36851
36852 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36853 FD_CLOEXEC for given file.
36854
36855 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36856
36857 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36858 FD_CLOEXEC for /etc/hosts.
36859 (_gethtent): Likewise.
36860
36861 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36862
36863 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36864 cancellation and set FD_CLOEXEC for /etc/netgroup.
36865
36866 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36867 reading /etc/publickey.
36868
36869 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36870 allow cancellation when reading /etc/group.
36871
36872 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36873 cancellation.
36874 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36875
36876 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36877 when using data file.
36878
36879 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36880
36881 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36882 (write_nis_obj): Use "c" and "e" in fopen.
36883
36884 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36885
36886 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36887
36888 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36889
36890 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36891
36892 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36893 locale.alias.
36894
36895 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36896
36897 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36898
36899 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36900
36901 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36902 file parsing and set FD_CLOEXEC.
36903
82af0fa8
UD
369042011-11-14 Ulrich Drepper <drepper@gmail.com>
36905
36906 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36907
a5fb313c
AS
369082011-11-14 Andreas Schwab <schwab@redhat.com>
36909
36910 * malloc/arena.c (arena_get2): Don't call reused_arena when
36911 _int_new_arena failed.
36912
6abf3465
UD
369132011-11-14 Ulrich Drepper <drepper@gmail.com>
36914
36915 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36916 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36917 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36918 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36919 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36920 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36921 to compile strcasecmp and strncasecmp.
36922 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36923 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36924
36925 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36926
76e3966e
UD
369272011-11-13 Ulrich Drepper <drepper@gmail.com>
36928
36929 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36930 locale-defines.sym to gen-as-const-headers.
36931 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36932 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36933 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36934 to compile strcasecmp and strncasecmp.
36935 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36936 strcasecmp_l and strncasecmp_l.
36937 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36938 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36939 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36940 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36941 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36942 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36943 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36944 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36945 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36946 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36947 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36948
ab26144e
UD
369492011-11-12 Ulrich Drepper <drepper@gmail.com>
36950
7edb22ef
UD
36951 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36952 result of SYSDEP_GETTIME_CPU to retval.
36953 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36954 parameter list to macro. Remove trailing semicolon. Adjust users.
36955
9694fc44
UD
36956 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
36957 variable.
36958
8ad89ef8
UD
36959 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
36960 mantissa words.
36961 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
36962
0c822ef9
UD
36963 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
36964 from unused variable.
36965
874e0564
UD
36966 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
36967 DWARF definitions.
36968 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
36969 for assembling.
36970
3a2edc79
UD
36971 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
36972 over namespaces.
36973
f3c2577f
UD
36974 * sunrpc/rpc_prot.c (rejected): Fix case value.
36975
294ce126
UD
36976 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
36977 unsigned long long int to avoid warnings in shift.
36978
5e2b63c6
UD
36979 * posix/regex_internal.c (re_string_reconstruct): Actually use result
36980 of use of trans.
36981 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
36982 variable tmp.
36983
e7f4b08e
UD
36984 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
36985 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
36986 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
36987
ab26144e
UD
36988 * nis/nis_table.c (nis_list): Use variable of correct type for
36989 result of __follow_path call.
36990
8a6d5255
AZ
369912011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36992
36993 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
36994 of math functions ceil, trunc, floor, round, and sqrt, when
36995 avaliable on the platform.
36996 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
36997 name clash.
36998 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
36999 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37000 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37001
aaddc98c
MP
370022011-10-30 Marek Polacek <mpolacek@redhat.com>
37003
37004 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37005 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37006
95b7042b
RM
370072011-11-11 Roland McGrath <roland@hack.frob.com>
37008
37009 * include/unistd.h: Fix __readlink return type.
37010 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37011
57769839
UD
370122011-11-11 Ulrich Drepper <drepper@gmail.com>
37013
37014 * stdlib/ucontext.h: Undo last change for makecontext.
37015
edc5984d
AS
370162011-11-11 Andreas Schwab <schwab@redhat.com>
37017
98591e58
AS
37018 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37019
edc5984d
AS
37020 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37021 * setjmp/setjmp.h: Mark functions as non-leaf.
37022 * setjmp/bits/setjmp2.h: Likewise.
37023 * stdlib/ucontext.h: Likewise.
37024
77cdc054
AS
370252011-11-10 Andreas Schwab <schwab@redhat.com>
37026
37027 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37028 (reused_arena): Don't check arena limit.
37029 (arena_get2): Atomically check arena limit.
37030
fe72eebd
UD
370312011-11-08 Ulrich Drepper <drepper@gmail.com>
37032
5f078c32
UD
37033 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37034 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37035
fe72eebd
UD
37036 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37037 instructions.
37038
ae1bc2fa
AS
370392011-11-07 Andreas Schwab <schwab@redhat.com>
37040
7583a88d
AS
37041 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37042 handler when locking.
37043
ae1bc2fa
AS
37044 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37045 Fix size of allocated buffer.
37046
10fb0bfa
AS
370472011-11-04 Andreas Schwab <schwab@redhat.com>
37048
998832a4
AS
37049 [BZ #10103]
37050 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37051 declarations for long double functions.
37052 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37053
10fb0bfa
AS
37054 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37055
3d7ba52b
AS
370562011-11-03 Andreas Schwab <schwab@redhat.com>
37057
a9ae54a1
AS
37058 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37059 installed.
37060
3d7ba52b
AS
37061 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37062 is disabled.
37063
bc8db248
ST
370642011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37065
37066 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37067
45b96dd6
AS
370682011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37069
647776f6
AS
37070 * include/alloca.h (stackinfo_alloca_round): Define.
37071 (extend_alloca): Use it.
37072 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37073 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37074 here.
37075
d91a8b93
AS
37076 * scripts/check-local-headers.sh: Ignore libaudit.h.
37077
45b96dd6
AS
37078 * nscd/Makefile (extra-objs): Make recursively expanded.
37079
432d41ce
UD
370802011-11-01 Ulrich Drepper <drepper@gmail.com>
37081
34372fc6
UD
37082 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37083 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37084
fadb59f8
UD
37085 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37086 * posix/tst-rfc3484-2.c: Likewise.
37087 * posix/tst-rfc3484-3.c: Likewise.
37088
78239589
UD
37089 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37090 process_vm_writev.
37091 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37092 process_vm_writev.
37093 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37094 process_vm_writev from libc using GLIBC_2.15 version.
37095
432d41ce
UD
37096 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37097
02f9c6cf
PP
370982011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37099
37100 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37101 stack usage.
37102
3a2c0242
UD
371032011-10-31 Ulrich Drepper <drepper@gmail.com>
37104
f4ec4833
UD
37105 [BZ #13367]
37106 * nss/getent.c (initgroups_keys): Show error message in case no group
37107 names are given.
37108
3a2c0242
UD
37109 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37110 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37111 __bump_nl_timestamp.
37112 * nscd/connections (nscd_init): When host database is served open
37113 netlink socket and request notification about configuration changes.
37114 (main_loop_poll): Track netlink file descriptor and bump timestamp
37115 in case data becomes available.
37116 (main_loop_epoll): Likewise.
37117 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37118 (database_pers_head): Add extra_data fileds.
37119 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37120 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37121 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37122 Adjust caller.
37123 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37124 in6ai data, call __free_in6ai.
37125 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37126 Add -DHAVE_NETLINK.
37127 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37128 interface information. Reuse previous data if netlink timestamp
37129 is not changed.
37130 (__bump_nl_timestamp): New function.
37131 (__free_in6ai): New function.
37132
636064eb
UD
371332011-10-30 Ulrich Drepper <drepper@gmail.com>
37134
37135 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37136 close_not_cancel_no_status here.
37137 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37138
9beb2334
UD
371392011-10-29 Ulrich Drepper <drepper@gmail.com>
37140
6ef76f3b
UD
37141 [BZ #13276]
37142 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37143 return value.
37144
0ffc4f3e 37145 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37146 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37147 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37148
cb95113e
UD
371492011-07-03 Andreas Jaeger <aj@suse.de>
37150
37151 [BZ #10709]
37152 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37153 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37154 * math/libm-test.inc (sin_test): Add test case.
37155
a1b560ff
UD
371562011-10-29 Ulrich Drepper <drepper@gmail.com>
37157
c9aaface
UD
37158 [BZ #13337]
37159 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37160 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37161
d272e7f1
UD
37162 * elf/chroot_canon.c (chroot_canon): Cleanups.
37163
1bc33071
UD
37164 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37165
1760874d
TJ
37166 [BZ #13335]
37167 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37168 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37169
51d91b18
UD
37170 * string/test-strchr.c: Make usable for strchrnul testing.
37171 * string/test-strchrnul.c: New file.
37172 * string/Makefile (strop-tests): Add strchrnul.
37173
a1b560ff 37174 * po/it.po: Update from translation team.
b611fb81 37175 * po/es.po: Likewise.
a1b560ff 37176
a5b81e1f
UD
371772011-10-28 Ulrich Drepper <drepper@gmail.com>
37178
fd52bc6d
UD
37179 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37180 the three constants needed as parameters. Drop the others.
37181 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37182 __m128i_strloadu_tolower.
52e4b9eb
UD
37183 Create and initialize variable zero and use it in all the places
37184 where _mm_setzero_si128 was used.
fd52bc6d 37185
a5b81e1f
UD
37186 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37187 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37188 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37189 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37190 anymore.
37191 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37192 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37193 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37194 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37195 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37196 __mpranred, __mptan.
37197 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37198 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37199 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37200 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37201 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37202 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37203 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37204 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37205 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37206
b4343346
AS
372072011-10-28 Andreas Schwab <schwab@redhat.com>
37208
0c92d8a8
AS
37209 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37210 redefine if SHARED.
37211 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37212
b4343346
AS
37213 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37214 wide char related routines to wcsmbs subdir.
37215
3871f58f
AS
372162011-10-27 Andreas Schwab <schwab@redhat.com>
37217
37218 [BZ #13344]
37219 * misc/sys/cdefs.h (__THROWNL): Define.
37220 * posix/unistd.h: Use __THREADNL instead of __THREAD
37221 for memory synchronization functions.
37222
94d44d9f
RM
372232011-10-26 Roland McGrath <roland@hack.frob.com>
37224
21b64b15 37225 [BZ #13349]
94d44d9f
RM
37226 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37227 doesn't exist.
37228 * manual/stdio.texi (Obstack Streams): Node removed.
37229
f6ce9294
AS
372302011-10-26 Andreas Schwab <schwab@redhat.com>
37231
80479147
AS
37232 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37233 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37234 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37235
f6ce9294
AS
37236 * math/math_private.h (math_force_eval): Allow non-addressable
37237 arguments.
37238 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37239
618280a1
UD
372402011-10-25 Ulrich Drepper <drepper@gmail.com>
37241
e0016b11
UD
37242 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37243 file is not needed.
37244
37245 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37246 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37247 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37248 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37249 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37250 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37251 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37252 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37253 Add AVX variants.
37254 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37255 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37256 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37257 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37258 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37259 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37260 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37261 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37262 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37263 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37264 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37265 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37266 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37267 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37268 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37269 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37270 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37271 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37272 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37273
37274 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37275 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37276
618280a1
UD
37277 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37278 place. Use VEX encoding when compiling for AVX.
37279
37822576
AS
372802011-10-25 Andreas Schwab <schwab@redhat.com>
37281
1f1e1947
AS
37282 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37283 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37284
37822576
AS
37285 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37286
31ea014d
UD
372872011-10-25 Ulrich Drepper <drepper@gmail.com>
37288
d7826aa1 37289 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37290 useless if() expression.
d7826aa1
UD
37291 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37292 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37293 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37294 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37295 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37296 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37297 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37298 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37299 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37300 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37301 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37302 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37303 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37304 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37305 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37306 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37307 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37308 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37309 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37310
31ea014d
UD
37311 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37312
16437fec
AS
373132011-10-25 Andreas Schwab <schwab@redhat.com>
37314
37315 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37316 condition.
37317 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37318
31d3cc00
UD
373192011-10-25 Ulrich Drepper <drepper@gmail.com>
37320
37321 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37322 .text section. Avoid duplicate constants.
37323 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37324 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37325 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37326 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37327 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37328 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37329 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37330 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37331 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37332 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37333 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37334 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37335 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37336 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37337 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37338 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37339 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37340 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37341 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37342 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37343 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37344 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37345 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37346 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37347 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37348 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37349 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37350 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37351 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37352 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37353 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37354 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37355 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37356 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37357 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37358 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37359 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37360 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37361 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37362 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37363 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37364 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37365 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37366 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37367 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37368
58985aa9
UD
373692011-10-24 Ulrich Drepper <drepper@gmail.com>
37370
202c9deb
UD
37371 * sysdeps/x86_64/dla.h: Move to ...
37372 * sysdeps/x86_64/fpu/dla.h: ...here.
37373 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37374 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37375
af968f62
UD
37376 * config.make.in: Add have-mfma4 entry.
37377 * configure.in: Substitute libc_cv_cc_fma4.
37378 * math/Makefile (dbl-only-routines): Add sincostab.
37379 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37380 Use __sincostab not sincos.
37381 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37382 name is a macro.
37383 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37384 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37385 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37386 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37387 using __copysign.
37388 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37389 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37390 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37391 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37392 and __inv.
37393 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37394 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37395 __copysign.
37396 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37397 define aliases when function name is a macro.
37398 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37399 sysdeps/ieee754/dbl-64/sincos.tbl.
37400 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37401 fma4-enabled routines.
37402 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37403 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37404 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37405 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37406 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37407 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37408 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37409 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37410 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37411 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37412 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37413 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37414 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37415 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37416 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37417 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37418 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37419 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37420 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37421 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37422 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37423 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37424 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37425 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37426 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37427 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37428 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37429 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37430 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37431 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37432
58985aa9
UD
37433 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37434 rename.
37435 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37436 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37437 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37438 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37439 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37440 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37441 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37442 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37443
a201fbcf
AS
374442011-10-24 Andreas Schwab <schwab@redhat.com>
37445
37446 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37447
fc2ee42a
LD
374482011-10-23 Ulrich Drepper <drepper@gmail.com>
37449
bb3129bd
UD
37450 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37451
0275fff8
UD
37452 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37453 prediction.
37454 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37455
2fa2ae85
UD
37456 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37457 Remove unused variable magic_bits.
37458 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37459
fc2ee42a
LD
37460 * string/strnlen.c: Define and use STRNLEN macro.
37461 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37462 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37463 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37464 * wcsmbs/wcslen.c: Define and use WCSLEN.
37465 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37466 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37467 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37468 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37469 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37470 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37471 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37472
ce7dd29f
LD
374732011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37474
37475 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37476 strnlen-sse2-no-bsf.
37477 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37478 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37479 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37480 Add strnlen support.
37481 (USE_AS_STRNLEN): New macro.
37482 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37483 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37484 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37485 * sysdeps/x86_64/wcslen.S: New file.
37486
979c70a3
MZ
374872011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37488
37489 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37490 XMM-moves are used for copying on small sizes.
37491
2d09f82f
LD
374922011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37493
37494 * wcsmbs/Makefile (strop-tests): Add wcschr.
37495 * wcsmbs/test-wcschr.c: New file.
37496 * string/test-strchr.c: Update.
37497 Add wcschr support.
37498 (WIDE): New macro.
37499
619fccca
LD
375002011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37501
2d09f82f 37502 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37503 * wcsmbs/test-wcslen.c: New file.
37504 * string/test-strlen.c: Update.
37505 Add wcslen support.
37506 (WIDE): New macro.
37507
09f699ea
UD
375082011-10-23 Ulrich Drepper <drepper@gmail.com>
37509
37510 * po/it.po: Update from translation team.
37511
95584d3b
LD
375122011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37513
37514 * sysdeps/x86_64/wcscmp.S: Update.
37515 Fix wrong comparison semantics.
37516 wcscmp shall use signed comparison not unsigned.
37517 Don't use substraction to avoid overflow bug.
37518 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37519 * wcsmbc/wcscmp.c: Likewise.
37520 * string/test-strcmp.c: Likewise.
37521 Add new tests to check cases with negative values.
37522
c8b3296b
UD
375232011-10-23 Ulrich Drepper <drepper@gmail.com>
37524
37525 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37526 * sysdeps/x86_64/dla.h: ...here. New file.
37527 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37528 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37529 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37530 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37531 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37532 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37533 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37534 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37535 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37536
246ad57a
AS
375372011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37538
37539 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37540 __ynl_finite aliases.
37541
a1a87169
UD
375422011-10-22 Ulrich Drepper <drepper@gmail.com>
37543
0d355eb7
UD
37544 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37545
a1a87169
UD
37546 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37547 define DLA_FMA.
37548 [DLA_FMA] (EMULV): Use DLA_FMA.
37549 [DLA_FMA] (MUL12): Use EMULV.
37550 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37551 that are not needed.
37552 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37553 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37554 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37556 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37557 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37558 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37559
ee2aafe0
AS
375602011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37561
37562 * math/s_nan.c: Undef __nan.
37563 * math/s_nanf.c: Undef __nanf.
37564 * math/s_nanl.c: Undef __nanl.
37565 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37566 "math_private.h".
37567
bc62c2fb
UD
375682011-10-22 Ulrich Drepper <drepper@gmail.com>
37569
77425c63
UD
37570 * math/s_catan.c: Add branch predictions.
37571 * math/s_catanf.c: Likewise.
37572 * math/s_catanh.c: Likewise.
37573 * math/s_catanhf.c: Likewise.
37574 * math/s_catanhl.c: Likewise.
37575 * math/s_catanl.c: Likewise.
37576 * math/s_cexp.c: Likewise.
37577 * math/s_cexpf.c: Likewise.
37578 * math/s_cexpl.c: Likewise.
37579 * math/s_clog.c: Likewise.
37580 * math/s_clog10.c: Likewise.
37581 * math/s_clog10f.c: Likewise.
37582 * math/s_clog10l.c: Likewise.
37583 * math/s_clogf.c: Likewise.
37584 * math/s_clogl.c: Likewise.
37585 * math/s_csqrt.c: Likewise.
37586 * math/s_csqrtf.c: Likewise.
37587 * math/s_csqrtl.c: Likewise.
37588 * math/s_ctanf.c: Likewise.
37589 * math/s_ctanh.c: Likewise.
37590 * math/s_ctanhf.c: Likewise.
37591 * math/s_ctanhl.c: Likewise.
37592 * math/s_ctanl.c: Likewise.
37593
bc62c2fb
UD
37594 * math/math_private.h: Define __nan, __nanf, __nanl.
37595 * math/s_cacosh.c: Include <math_private.h>.
37596 * math/s_cacoshl.c: Likewise.
37597 * math/s_casinh.c: Likewise.
37598 * math/s_casinhf.c: Likewise.
37599 * math/s_casinhl.c: Likewise.
37600 * math/s_ccos.c: Rely entire on ccosh.
37601 * math/s_ccosf.c: Rely entire on ccoshf.
37602 * math/s_ccosl.c: Rely entirely on ccoshl.
37603 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37604 Remove tests for FE_INVALID.
37605 * math/s_ccoshf.c: Likewise.
37606 * math/s_ccoshl.c: Likewise.
37607 * math/s_csin.c: Likewise.
37608 * math/s_csinf.c: Likewise.
37609 * math/s_csinh.c Likewise.
37610 * math/s_csinhf.c: Likewise.
37611 * math/s_csinhl.c: Likewise.
37612 * math/s_csinl.c: Likewise.
37613 * math/s_ctan.c: Likewise.
37614 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37615 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37616 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37617
8ec250a4
UD
376182011-10-21 Ulrich Drepper <drepper@gmail.com>
37619
c196fed8
UD
37620 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37621 compilation problems.
37622
8ec250a4
UD
37623 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37624 __builtin_expect.
37625
8d4f46c6
UD
376262011-10-20 Ulrich Drepper <drepper@gmail.com>
37627
ed72b654
UD
37628 * sysdeps/i386/configure.in: Test for -mfma4 option.
37629 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37630 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37631 COMMON_CPUID_INDEX_80000001.
37632 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37633 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37634 use it if FMA3 is not supported.
37635 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37636
8d4f46c6
UD
37637 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37638 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37639
d45c60c2
AS
376402011-10-20 Andreas Schwab <schwab@redhat.com>
37641
37642 [BZ #12892]
37643 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37644 it would create a cycle with a link time dependency.
37645
d9a4d2ab
UD
376462011-10-19 Ulrich Drepper <drepper@gmail.com>
37647
855d1560
UD
37648 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37649 instruction.
37650 * string/Makefile (strop-tests): Add rawmemchr.
37651 * string/test-rawmemchr.c: New file.
37652
d9a4d2ab
UD
37653 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37654 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37655 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37656 when compiling str{,n}casecmp and when AVX is available. Hook up
37657 new optimized code in initializers.
37658
8f3b1ffe
AS
376592011-10-19 Andreas Schwab <schwab@redhat.com>
37660
37661 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37662 __feraiseexcept instead of feraiseexcept.
37663
d38f1dba
UD
376642011-10-18 Ulrich Drepper <drepper@gmail.com>
37665
d9a8d0ab
UD
37666 * math/math_private.h: Define defaults for libc_fetestexcept and
37667 libc_feupdateenv.
37668 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37669 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37670 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37671 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37672 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37673 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37674 libc_fetestexcept and libc_feupdateenv.
37675
4855e3dd
UD
37676 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37677 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37678 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37679 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37680 libc_feholdexcept_setround.
37681
581d30e3
UD
37682 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37683 Add s_nearbyint-c and s_nearbyintf-c.
37684 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37685 nearbyintf inlines.
37686 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37687 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37688 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37689 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37690
d38f1dba
UD
37691 * math/math_private.h: Define defaults for libc_fegetround,
37692 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37693 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37694 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37695 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37696 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37697 standard functions.
37698 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37699 Remove comments and hacks for old compiler versions.
37700 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37701 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37702 libc_feholdexceptl.
37703
caa6c9d8
AS
377042011-10-18 Andreas Schwab <schwab@redhat.com>
37705
37706 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37707 (__feraiseexcept_renamed): Add __NTH.
37708 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37709 namespace violations.
37710
97c066e6
UD
377112011-10-17 Ulrich Drepper <drepper@gmail.com>
37712
99ce7b04
UD
37713 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37714
1004d182
UD
37715 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37716
228a984d
UD
37717 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37718 recently added interfaces.
37719 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37720
c8553a6a
UD
37721 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37722 about macro parameter expansion.
37723
ed22dcf6
UD
37724 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37725 __NO_MATH_INLINES is defined. Cleanups.
37726
37727 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37728 and __floorf is target has SSE4.1.
37729 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37730 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37731 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37732 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37733
b171c137
UD
37734 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37735 name.
37736 (floorf): Likewise.
37737
97c066e6
UD
37738 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37739
629f62ef
AS
377402011-10-17 Andreas Schwab <schwab@redhat.com>
37741
49a43d80
AS
37742 * misc/sys/cdefs.h: Fix last change.
37743
629f62ef
AS
37744 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37745 database lookup.
37746
e453f6cd
UD
377472011-10-16 Ulrich Drepper <drepper@gmail.com>
37748
aa78043a
UD
37749 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37750
ad0f5cad
UD
37751 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37752 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37753 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37754 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37755 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37756 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37757 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37758 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37759 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37760 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37761 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37762 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37763 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37764 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37765 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37766 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37767 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37768 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37769 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37770 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37771 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37772 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37773
37774 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37775 ceil, ceilf, floor, floorf.
37776
37777 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37778 Perform IRELATIVE relocations last.
37779
e453f6cd
UD
37780 * elf/do-rel.h: Add another parameter nrelative, replacing the
37781 local variable with the same name. Change name of the function
37782 to end in Rel or Rela (uppercase).
37783 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37784 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37785 elf_dynamic_do_##reloc function.
37786
fd5bdc09
UD
377872011-10-15 Ulrich Drepper <drepper@gmail.com>
37788
79b195b5
UD
37789 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37790 is sufficient, at least on modern CPUs.
37791
d4a28569
UD
37792 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37793
b61099b5
UD
37794 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37795 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37796
bcf01e6d
UD
37797 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37798 __expl_finite.
37799 * math/bits/math-finite.h: Add entries for exp.
37800 * math/e_expl.c: Add __*_finite alias.
37801 * sysdeps/i386/fpu/e_exp.S: Likewise.
37802 * sysdeps/i386/fpu/e_expf.S: Likewise.
37803 * sysdeps/i386/fpu/e_expl.c: Likewise.
37804 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37805 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37806 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37807 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37808 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37809 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37810 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37811
ba1a0d59
UD
37812 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37813 is sufficient, at least on modern CPUs.
37814
fd5bdc09
UD
37815 * ctype/ctype-info.c (__ctype_init): Define.
37816 * include/ctype.h (__ctype_init): Declare.
37817 (__ctype_b_loc): The variable is always initialized.
37818 (__ctype_toupper_loc): Likewise.
37819 (__ctype_tolower_loc): Likewise.
37820 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37821 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37822
7872cfb0
AS
378232011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37824
b468825a
AS
37825 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37826
7872cfb0
AS
37827 * configure.in: Also look in $cxxmachine/include for C++ system
37828 headers.
37829
be13f7bf
LD
378302011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37831
37832 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37833 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37834 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37835 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37836 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37837 (USE_AS_WMEMCMP): New macro.
37838 Fixing indents.
37839 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37840 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37841 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37842 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37843 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37844 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37845 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37846 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37847 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37848 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37849 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37850 (USE_AS_WMEMCMP): New macro.
37851 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37852 * sysdeps/string/test-memcmp.c: Update.
37853 Fix simple_wmemcmp.
37854 Add new tests.
37855 * wcsmbs/wmemcmp.c: Update.
37856 (WMEMCMP): New macro.
37857 Fix overflow bug.
37858
556a2007
AJ
378592011-10-12 Andreas Jaeger <aj@suse.de>
37860
37861 [BZ #13268]
37862 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37863
538faaa7
UD
378642011-10-15 Ulrich Drepper <drepper@gmail.com>
37865
ab6737ff
UD
37866 * libio/iofwide.c (do_length): Avoid warning.
37867
538faaa7
UD
37868 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37869
396a21b1
UD
378702011-10-14 Ulrich Drepper <drepper@gmail.com>
37871
cdf2901f
UD
37872 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37873
38ad40ce
UD
37874 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37875 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37876 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37877 * sysdeps/i386/i686/fpu/e_log.S: New file.
37878 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37879 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37880
396a21b1
UD
37881 * ctype/ctype.h: Add support for inlined isXXX functions when
37882 compiling C++ code.
37883
6b1f68c9
AS
378842011-10-14 Andreas Schwab <schwab@redhat.com>
37885
349290c0
AS
37886 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37887
6b1f68c9
AS
37888 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37889
f2282d42
RM
378902011-10-13 Roland McGrath <roland@hack.frob.com>
37891
37892 [BZ #13291]
37893 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37894
5298ffa8
AS
378952011-10-13 Andreas Schwab <schwab@redhat.com>
37896
714fad23
AS
37897 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37898 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37899 feraiseexcept.
37900
81dcc7fb
AS
37901 * sysdeps/x86_64/memrchr.S: Check for zero size.
37902
5298ffa8
AS
37903 * string/stratcliff.c: Add memrchr tests.
37904
951fbcec
LD
379052011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37906
37907 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37908 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37909 rawmemchr-sse2 rawmemchr-sse2-bsf.
37910 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37911 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37912 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37913 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37914 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37915 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37916 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37917 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37918 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37919 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37920 * string/memrchr.c (MEMRCHR): New macro.
37921
0ac5ae23
UD
379222011-10-12 Ulrich Drepper <drepper@gmail.com>
37923
37924 Add integration with gcc's -ffinite-math-only and optimize wrapper
37925 functions in libm.
37926 * Versions.def: Define GLIBC_2.15 version for libm.
37927 * math/Makefile (headers): Add bits/math-finite.h.
37928 * math/bits/math-finite.h: New file.
37929 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37930 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37931 * math/e_acoshl.c: Add __*_finite alias.
37932 * math/e_acosl.c: Likewise.
37933 * math/e_asinl.c: Likewise.
37934 * math/e_atan2l.c: Likewise.
37935 * math/e_atanhl.c: Likewise.
37936 * math/e_coshl.c: Likewise.
37937 * math/e_exp10.c: Likewise.
37938 * math/e_exp10f.c: Likewise.
37939 * math/e_exp10l.c: Likewise.
37940 * math/e_exp2l.c: Likewise.
37941 * math/e_fmodl.c: Likewise.
37942 * math/e_gammal_r.c: Likewise.
37943 * math/e_hypotl.c: Likewise.
37944 * math/e_j0l.c: Likewise.
37945 * math/e_j1l.c: Likewise.
37946 * math/e_jnl.c: Likewise.
37947 * math/e_lgammal_r.c: Likewise.
37948 * math/e_log10l.c: Likewise.
37949 * math/e_log2l.c: Likewise.
37950 * math/e_logl.c: Likewise.
37951 * math/e_powl.c: Likewise.
37952 * math/e_sinhl.c: Likewise.
37953 * math/e_sqrtl.c: Likewise.
37954 * math/e_scalb.c: Completely rewritten and optimized.
37955 * math/e_scalbf.c: Likewise.
37956 * math/e_scalbl.c: Likewise.
37957 * math/w_acos.c: Likewise.
37958 * math/w_acosf.c: Likewise.
37959 * math/w_acosl.c: Likewise.
37960 * math/w_acosh.c: Likewise.
37961 * math/w_acoshf.c: Likewise.
37962 * math/w_acoshl.c: Likewise.
37963 * math/w_asin.c: Likewise.
37964 * math/w_asinf.c: Likewise.
37965 * math/w_asinl.c: Likewise.
37966 * math/w_atan2.c: Likewise.
37967 * math/w_atan2f.c: Likewise.
37968 * math/w_atan2l.c: Likewise.
37969 * math/w_atanh.c: Likewise.
37970 * math/w_atanhf.c: Likewise.
37971 * math/w_atanhl.c: Likewise.
37972 * math/w_exp10.c: Likewise.
37973 * math/w_exp10f.c: Likewise.
37974 * math/w_exp10l.c: Likewise.
37975 * math/w_fmod.c: Likewise.
37976 * math/w_fmodf.c: Likewise.
37977 * math/w_fmodl.c: Likewise.
37978 * math/w_j0.c: Likewise.
37979 * math/w_j0f.c: Likewise.
37980 * math/w_j0l.c: Likewise.
37981 * math/w_j1.c: Likewise.
37982 * math/w_j1f.c: Likewise.
37983 * math/w_j1l.c: Likewise.
37984 * math/w_jn.c: Likewise.
37985 * math/w_jnf.c: Likewise.
37986 * math/w_log.c: Likewise.
37987 * math/w_logf.c: Likewise.
37988 * math/w_logl.c: Likewise.
37989 * math/w_log10.c: Likewise.
37990 * math/w_log10f.c: Likewise.
37991 * math/w_log10l.c: Likewise.
37992 * math/w_log2.c: Likewise.
37993 * math/w_log2f.c: Likewise.
37994 * math/w_log2l.c: Likewise.
37995 * math/w_pow.c: Likewise.
37996 * math/w_powf.c: Likewise.
37997 * math/w_powl.c: Likewise.
37998 * math/w_remainder.c: Likewise.
37999 * math/w_remainderf.c: Likewise.
38000 * math/w_remainderl.c: Likewise.
38001 * math/w_scalb.c: Likewise.
38002 * math/w_scalbf.c: Likewise.
38003 * math/w_scalbl.c: Likewise.
38004 * math/w_sqrt.c: Likewise.
38005 * math/w_sqrtf.c: Likewise.
38006 * math/w_sqrtl.c: Likewise.
38007 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38008 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38009 used.
38010 * math/math_private.h: Declare __kernel_standard_f.
38011 * math/w_cosh.c: Remove cruft and optimize a bit.
38012 * math/w_coshf.c: Likewise.
38013 * math/w_coshl.c: Likewise.
38014 * math/w_exp2.c: Likewise.
38015 * math/w_exp2f.c: Likewise.
38016 * math/w_exp2l.c: Likewise.
38017 * math/w_hypot.c: Likewise.
38018 * math/w_hypotf.c: Likewise.
38019 * math/w_hypotl.c: Likewise.
38020 * math/w_lgamma.c: Likewise.
38021 * math/w_lgamma_r.c: Likewise.
38022 * math/w_lgammaf.c: Likewise.
38023 * math/w_lgammaf_r.c: Likewise.
38024 * math/w_lgammal.c: Likewise.
38025 * math/w_lgammal_r.c: Likewise.
38026 * math/w_sinh.c: Likewise.
38027 * math/w_sinhf.c: Likewise.
38028 * math/w_sinhl.c: Likewise.
38029 * math/w_tgamma.c: Likewise.
38030 * math/w_tgammaf.c: Likewise.
38031 * math/w_tgammal.c: Likewise.
38032 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38033 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38034 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38035 Minor optimizations. Pretty printing. Remove cruft.
38036 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38037 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38038 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38039 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38040 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38041 * sysdeps/i386/fpu/e_asin.S: Likewise.
38042 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38043 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38044 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38045 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38046 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38047 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38048 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38049 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38050 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38051 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38052 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38053 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38054 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38055 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38056 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38057 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38058 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38059 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38060 * sysdeps/i386/fpu/e_log.S: Likewise.
38061 * sysdeps/i386/fpu/e_log10.S: Likewise.
38062 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38063 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38064 * sysdeps/i386/fpu/e_log2.S: Likewise.
38065 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38066 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38067 * sysdeps/i386/fpu/e_logf.S: Likewise.
38068 * sysdeps/i386/fpu/e_logl.S: Likewise.
38069 * sysdeps/i386/fpu/e_pow.S: Likewise.
38070 * sysdeps/i386/fpu/e_powf.S: Likewise.
38071 * sysdeps/i386/fpu/e_powl.S: Likewise.
38072 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38073 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38074 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38075 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38076 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38077 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38078 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38079 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38080 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38081 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38082 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38083 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38084 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38085 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38086 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38087 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38088 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38089 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38090 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38091 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38092 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38093 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38094 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38095 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38096 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38097 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38098 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38099 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38100 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38101 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38102 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38103 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38104 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38105 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38106 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38107 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38108 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38109 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38110 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38111 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38112 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38113 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38114 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38115 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38116 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38117 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38118 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38119 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38120 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38121 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38122 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38123 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38124 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38125 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38126 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38127 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38128 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38129 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38130 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38131 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38132 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38133 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38134 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38135 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38136 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38137 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38138 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38139 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38140 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38141 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38142 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38143 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38144 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38145 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38146 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38147 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38148 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38149 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38150 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38151 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38152 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38153 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38154 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38155 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38156 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38157 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38158 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38159 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38160 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38161 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38162 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38163 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38164 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38165 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38166 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38167 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38168 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38169 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38170 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38171 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38172 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38173 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38174 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38175 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38176 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38177 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38178 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38179 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38180 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38181 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38182 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38183 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38184 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38185 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38186 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38187 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38188 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38189 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38190 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38191 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38192 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38193 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38194 (__isnanf): Likewise.
38195 (__isinf_ns): Likewise.
38196 (__isinf_nsf): Likewise.
38197 (__finite): Likewise.
38198 (__finitef): Likewise.
38199 (__ieee754_sqrt): Define as macro.
38200 (__ieee754_sqrtf): Define as macro.
38201 (__ieee754_sqrtl): Define as macro.
38202 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38203 inlined copy.
38204 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38205 __FINITE_MATH_ONLY__ consistent.
38206 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38207
12cc2fcd
AS
382082011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38209
a843a204
AS
38210 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38211 of rawmemchr.
38212
12cc2fcd
AS
38213 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38214
c853acd5
UD
382152011-10-09 Ulrich Drepper <drepper@gmail.com>
38216
38217 * po/ja.po: Update from translation team.
38218
c658d255
RM
382192011-10-08 Roland McGrath <roland@hack.frob.com>
38220
110946e4
RM
38221 * locale/programs/locarchive.c (prepare_address_space): New function.
38222 (create_archive, enlarge_archive, open_archive): Use it.
38223
50604220
RM
38224 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38225 inside [SHARED], where it is used.
38226
c658d255
RM
38227 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38228
38229 * nss/getent.c (netgroup_keys): Remove unused variable.
38230 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38231
6a621eb7
UD
382322011-10-08 Ulrich Drepper <drepper@gmail.com>
38233
7edb55ce
UD
38234 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38235 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38236 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38237 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38238 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38239 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38240 * math/Makefile (libm-calls): Add s_isinf_ns.
38241 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38242 * math/multc3.c: Likewise.
38243 * math/s_casin.c: Likewise.
38244 * math/s_casinf.c: Likewise.
38245 * math/s_casinl.c: Likewise.
38246 * math/s_ccos.c: Likewise.
38247 * math/s_ccosf.c: Likewise.
38248 * math/s_ccosl.c: Likewise.
38249 * math/s_ctan.c: Likewise.
38250 * math/s_ctanf.c: Likewise.
38251 * math/s_ctanh.c: Likewise.
38252 * math/s_ctanhf.c: Likewise.
38253 * math/s_ctanhl.c: Likewise.
38254 * math/s_ctanl.c: Likewise.
38255 * math/w_fmod.c: Likewise.
38256 * math/w_fmodf.c: Likewise.
38257 * math/w_fmodl.c: Likewise.
38258 * math/w_remainder.c: Likewise.
38259 * math/w_remainderf.c: Likewise.
38260 * math/w_remainderl.c: Likewise.
38261 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38262 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38263 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38264 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38265 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38266 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38267 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38268 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38269
187da0ae
UD
38270 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38271 of the number.
38272 * stdio-common/printf_fphex.c: Likewise.
38273 * stdio-common/printf_size.c: Likewise.
38274
9277c064
UD
38275 * math/e_exp10.c: Include math_private.h using <...> not "...".
38276 * math/e_exp10f.c: Likewise.
38277 * math/e_exp10l.c: Likewise.
38278 * math/e_exp2l.c: Likewise.
38279 * math/e_j0l.c: Likewise.
38280 * math/e_j1l.c: Likewise.
38281 * math/e_jnl.c: Likewise.
38282 * math/e_lgammal_r.c: Likewise.
38283 * math/e_rem_pio2l.c: Likewise.
38284 * math/e_scalb.c: Likewise.
38285 * math/e_scalbf.c: Likewise.
38286 * math/e_scalbl.c: Likewise.
38287 * math/k_cosl.c: Likewise.
38288 * math/k_sinl.c: Likewise.
38289 * math/k_tanl.c: Likewise.
38290 * math/s_cacoshf.c: Likewise.
38291 * math/s_catan.c: Likewise.
38292 * math/s_catanf.c: Likewise.
38293 * math/s_catanh.c: Likewise.
38294 * math/s_catanhf.c: Likewise.
38295 * math/s_catanhl.c: Likewise.
38296 * math/s_catanl.c: Likewise.
38297 * math/s_ccosh.c: Likewise.
38298 * math/s_ccoshf.c: Likewise.
38299 * math/s_ccoshl.c: Likewise.
38300 * math/s_cexp.c: Likewise.
38301 * math/s_cexpf.c: Likewise.
38302 * math/s_cexpl.c: Likewise.
38303 * math/s_clog.c: Likewise.
38304 * math/s_clog10.c: Likewise.
38305 * math/s_clog10f.c: Likewise.
38306 * math/s_clog10l.c: Likewise.
38307 * math/s_clogf.c: Likewise.
38308 * math/s_clogl.c: Likewise.
38309 * math/s_csin.c: Likewise.
38310 * math/s_csinf.c: Likewise.
38311 * math/s_csinh.c: Likewise.
38312 * math/s_csinhf.c: Likewise.
38313 * math/s_csinhl.c: Likewise.
38314 * math/s_csinl.c: Likewise.
38315 * math/s_csqrt.c: Likewise.
38316 * math/s_csqrtf.c: Likewise.
38317 * math/s_csqrtl.c: Likewise.
38318 * math/s_ctan.c: Likewise.
38319 * math/s_ctanf.c: Likewise.
38320 * math/s_ctanh.c: Likewise.
38321 * math/s_ctanhf.c: Likewise.
38322 * math/s_ctanhl.c: Likewise.
38323 * math/s_ctanl.c: Likewise.
38324 * math/s_ldexp.c: Likewise.
38325 * math/s_ldexpf.c: Likewise.
38326 * math/s_ldexpl.c: Likewise.
38327 * math/s_significand.c: Likewise.
38328 * math/s_significandf.c: Likewise.
38329 * math/s_significandl.c: Likewise.
38330 * math/w_acos.c: Likewise.
38331 * math/w_acosf.c: Likewise.
38332 * math/w_acosh.c: Likewise.
38333 * math/w_acoshf.c: Likewise.
38334 * math/w_acoshl.c: Likewise.
38335 * math/w_acosl.c: Likewise.
38336 * math/w_asin.c: Likewise.
38337 * math/w_asinf.c: Likewise.
38338 * math/w_asinl.c: Likewise.
38339 * math/w_atan2.c: Likewise.
38340 * math/w_atan2f.c: Likewise.
38341 * math/w_atan2l.c: Likewise.
38342 * math/w_atanh.c: Likewise.
38343 * math/w_atanhf.c: Likewise.
38344 * math/w_atanhl.c: Likewise.
38345 * math/w_cosh.c: Likewise.
38346 * math/w_coshf.c: Likewise.
38347 * math/w_coshl.c: Likewise.
38348 * math/w_dremf.c: Likewise.
38349 * math/w_exp10.c: Likewise.
38350 * math/w_exp10f.c: Likewise.
38351 * math/w_exp10l.c: Likewise.
38352 * math/w_exp2.c: Likewise.
38353 * math/w_exp2f.c: Likewise.
38354 * math/w_fmod.c: Likewise.
38355 * math/w_fmodf.c: Likewise.
38356 * math/w_fmodl.c: Likewise.
38357 * math/w_hypot.c: Likewise.
38358 * math/w_hypotf.c: Likewise.
38359 * math/w_hypotl.c: Likewise.
38360 * math/w_j0.c: Likewise.
38361 * math/w_j0f.c: Likewise.
38362 * math/w_j0l.c: Likewise.
38363 * math/w_j1.c: Likewise.
38364 * math/w_j1f.c: Likewise.
38365 * math/w_j1l.c: Likewise.
38366 * math/w_jn.c: Likewise.
38367 * math/w_jnf.c: Likewise.
38368 * math/w_jnl.c: Likewise.
38369 * math/w_lgamma.c: Likewise.
38370 * math/w_lgamma_r.c: Likewise.
38371 * math/w_lgammaf.c: Likewise.
38372 * math/w_lgammaf_r.c: Likewise.
38373 * math/w_lgammal.c: Likewise.
38374 * math/w_lgammal_r.c: Likewise.
38375 * math/w_log.c: Likewise.
38376 * math/w_log10.c: Likewise.
38377 * math/w_log10f.c: Likewise.
38378 * math/w_log10l.c: Likewise.
38379 * math/w_log2.c: Likewise.
38380 * math/w_log2f.c: Likewise.
38381 * math/w_log2l.c: Likewise.
38382 * math/w_logf.c: Likewise.
38383 * math/w_logl.c: Likewise.
38384 * math/w_pow.c: Likewise.
38385 * math/w_powf.c: Likewise.
38386 * math/w_powl.c: Likewise.
38387 * math/w_remainder.c: Likewise.
38388 * math/w_remainderf.c: Likewise.
38389 * math/w_remainderl.c: Likewise.
38390 * math/w_scalb.c: Likewise.
38391 * math/w_scalbf.c: Likewise.
38392 * math/w_scalbl.c: Likewise.
38393 * math/w_sinh.c: Likewise.
38394 * math/w_sinhf.c: Likewise.
38395 * math/w_sinhl.c: Likewise.
38396 * math/w_sqrt.c: Likewise.
38397 * math/w_sqrtf.c: Likewise.
38398 * math/w_sqrtl.c: Likewise.
38399 * math/w_tgamma.c: Likewise.
38400 * math/w_tgammaf.c: Likewise.
38401 * math/w_tgammal.c: Likewise.
38402
6a621eb7
UD
38403 * po/ja.po: Update from translation team.
38404
bf582445
AJ
384052011-09-29 Andreas Jaeger <aj@suse.de>
38406
f9efbf3a
AJ
38407 [BZ #13179]
38408 * sunrpc/netname.c (netname2host): Fix logic.
38409
bf582445
AJ
38410 [BZ #6779]
38411 [BZ #6783]
38412 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38413 correctly.
38414 * math/w_remainder.c (__remainder): Likewise.
38415 * math/w_remainderf.c (__remainderf): Likewise.
38416 * math/libm-test.inc (remainder_test): Add test cases.
38417
48693bea
AK
384182011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38419
38420 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38421 sdiv_qrnnd.
38422
42622229
LD
384232011-10-07 Ulrich Drepper <drepper@gmail.com>
38424
38425 * string/test-memcmp.c: Avoid unncessary #defines.
38426 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38427
093ecf92
LD
384282011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38429
38430 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38431 Use new sse2 version for core i3 - i7 as it's faster
38432 than sse42 version.
38433 (bit_Prefer_PMINUB_for_stringop): New.
38434 * sysdeps/x86_64/rawmemchr.S: Update.
38435 Replace with faster SSE2 version.
38436 * sysdeps/x86_64/memrchr.S: New file.
38437 * sysdeps/x86_64/memchr.S: Update.
38438 Replace with faster SSE2 version.
38439
fde56e5c
MP
384402011-09-12 Marek Polacek <mpolacek@redhat.com>
38441
38442 * elf/dl-load.c (lose): Add cast to avoid warning.
38443
21fd49a9
UD
384442011-10-07 Ulrich Drepper <drepper@gmail.com>
38445
5a06e643
UD
38446 * po/ca.po: Update from translation team.
38447
684ae515
UD
38448 * inet/getnetgrent_r.c: Hook up nscd.
38449 * nscd/Makefile (routines): Add nscd_netgroup.
38450 (nscd-modules): Add netgroupcache.
38451 (CFLAGS-netgroupcache.c): Define.
38452 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38453 (cache_search): Add const to second parameter.
38454 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38455 INNETGR.
38456 (dbs): Add netgrdb entry.
38457 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38458 (verify_persistent_db): Handle netgrdb.
38459 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38460 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38461 GETFDNETGR.
38462 (netgroup_response_header): Define.
38463 (innetgroup_response_header): Define.
38464 (datahead): Add netgroup_response_header and innetgroup_response_header
38465 elements.
38466 * nscd/nscd.conf: Add entries for netgroup cache.
38467 * nscd/nscd.h (dbtype): Add netgrdb.
38468 (_PATH_NSCD_NETGROUP_DB): Define.
38469 (netgroup_iov_disabled): Declare.
38470 (xmalloc, xcalloc, xrealloc): Move declarations here.
38471 (cache_search): Adjust prototype.
38472 Add netgroup-related prototypes.
38473 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38474 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38475 (__nscd_innetgr): Declare.
38476 * nscd/selinux.c (perms): Use access_vector_t as element type and
38477 add netgroup-related initializers.
38478 * nscd/netgroupcache.c: New file.
38479 * nscd/nscd_netgroup.c: New file.
38480 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38481 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38482 For four parameters use innetgr.
38483 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38484 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38485 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38486 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38487
21fd49a9
UD
38488 * nscd/connections.c (register_traced_file): Don't register file
38489 for disabled databases.
38490
054c0457
UD
384912011-10-06 Ulrich Drepper <drepper@gmail.com>
38492
32b63198
UD
38493 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38494
054c0457
UD
38495 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38496 from tree and freeing node.
38497
64031225
JO
384982011-09-25 Jiri Olsa <jolsa@redhat.com>
38499
38500 * nss/nsswitch.c (__nss_database_lookup): Handle
38501 nss_parse_service_list out of memory case.
38502
0490345c
JO
385032011-09-15 Jiri Olsa <jolsa@redhat.com>
38504
38505 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38506 out of memory case.
38507
3a62d00d
AS
385082011-10-04 Andreas Schwab <schwab@redhat.com>
38509
38510 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38511 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38512 pass it down.
38513 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38514 elf_machine_rela, elf_machine_lazy_rel.
38515 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38516 (ELF_DYNAMIC_DO_REL): Likewise.
38517 (ELF_DYNAMIC_DO_RELA): Likewise.
38518 (ELF_DYNAMIC_RELOCATE): Likewise.
38519 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38520 to ELF_DYNAMIC_DO_REL.
38521 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38522 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38523 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38524 elf_machine_rela.
38525 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38526 skip_ifunc, don't call ifunc function if non-zero.
38527 (elf_machine_rela): Likewise.
38528 (elf_machine_lazy_rel): Likewise.
38529 (elf_machine_lazy_rela): Likewise.
38530 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38531 (elf_machine_lazy_rel): Likewise.
38532 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38533 Likewise.
38534 (elf_machine_lazy_rel): Likewise.
38535 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38536 Likewise.
38537 (elf_machine_lazy_rel): Likewise.
38538 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38539 (elf_machine_lazy_rel): Likewise.
38540 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38541 (elf_machine_lazy_rel): Likewise.
38542 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38543 (elf_machine_lazy_rel): Likewise.
38544 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38545 (elf_machine_lazy_rel): Likewise.
38546 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38547 (elf_machine_lazy_rel): Likewise.
38548 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38549 (elf_machine_lazy_rel): Likewise.
38550
68577918
UD
385512011-09-28 Ulrich Drepper <drepper@gmail.com>
38552
38553 * nss/nss_files/files-init.c (_nss_files_init): Use static
38554 initialization for all the *_traced_file variables.
38555
68822d74
AS
385562011-09-28 Andreas Schwab <schwab@redhat.com>
38557
38558 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38559
2056100b
RM
385602011-09-27 Roland McGrath <roland@hack.frob.com>
38561
38562 [BZ #13226]
38563 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38564
32c76b63
AS
385652011-09-27 Andreas Schwab <schwab@redhat.com>
38566
38567 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38568 Reread the line before reparsing it.
38569
bf972c9d
AS
385702011-09-26 Andreas Schwab <schwab@redhat.com>
38571
38572 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38573
e057a1b5
JM
385742011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38575 Maxim Kuvyrkov <maxim@codesourcery.com>
38576 Joseph Myers <joseph@codesourcery.com>
38577
38578 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38579 if needed for __stack_chk_guard.
38580
bc7e1c36
RM
385812011-09-19 Roland McGrath <roland@hack.frob.com>
38582
ecb1482f
RM
38583 * sysdeps/posix/spawni.c (script_execute): Always define it.
38584 It will be optimized away if unused.
38585 (maybe_script_execute): New function.
38586 (__spawni): Call it.
38587
bc7e1c36
RM
38588 * Makerules: Don't include tls.make.
38589 (config-tls): Always set to thread.
38590 * tls.make.c: File removed.
38591
1c3b002b
MF
385922011-09-19 Mike Frysinger <vapier@gentoo.org>
38593
38594 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38595 * config.make.in (CPPFLAGS-config): New substituted variable.
38596
2840865d
UD
385972011-09-15 Ulrich Drepper <drepper@gmail.com>
38598
88738eb6
UD
38599 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38600
cbf645a6 38601 [BZ #13192]
2840865d
UD
38602 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38603 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38604
b402e91a
RM
386052011-09-15 Roland McGrath <roland@hack.frob.com>
38606
38607 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38608 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38609 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38610 (CALL_FAIL): Likewise.
38611 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38612 (CALL_FAIL): Macro removed.
38613 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38614
4c1a1f71
UD
386152011-09-15 Ulrich Drepper <drepper@gmail.com>
38616
38617 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38618 for __FINITE_MATH_ONLY__ == 1.
38619
edc121be
AS
386202011-09-15 Andreas Schwab <schwab@redhat.com>
38621
38622 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38623 __ieee754_sqrt instead of sqrt.
38624 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38625 __ieee754_sqrtf instead of sqrtf.
38626 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38627 __floorf instead of floorf.
38628 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38629 __floorf, __truncf instead of floorf, truncf.
38630
cd205654
UD
386312011-09-14 Ulrich Drepper <drepper@gmail.com>
38632
ee4d0315
UD
38633 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38634
cd205654
UD
38635 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38636 __extern_always_inline.
38637 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38638 32-bit.
38639
48b67d71
AS
386402011-09-14 Andreas Schwab <schwab@redhat.com>
38641
38642 * elf/rtld.c (dl_main): Also relocate in dependency order when
38643 doing symbol dependency testing.
38644
1ae12c75
AS
386452011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38646
38647 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38648 Always define `refsym'.
38649
995a80df
AS
386502011-09-13 Andreas Schwab <schwab@redhat.com>
38651
e529793b
AS
38652 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38653 (__FD_ELT): Renamed from __FDELT.
38654 * misc/bits/select2.h (__FD_ELT): Likewise.
38655 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38656 __FD_MASK instead of __FDELT, __FDMASK.
38657 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38658 Likewise.
38659 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38660 Likewise.
38661
52d4fef8
AS
38662 * elf/Makefile (gen-ldd): Fix pattern.
38663
995a80df
AS
38664 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38665 (init_tls): Likewise.
38666
8682f8b0
UD
386672011-09-12 Ulrich Drepper <drepper@gmail.com>
38668
38669 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38670
de82006d
AS
386712011-09-12 Andreas Schwab <schwab@redhat.com>
38672
a7c8e6a1
AS
38673 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38674 `struct cmsghdr *' instead of `void *'.
38675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38676 Likewise.
38677
0f31fe77
AS
386782011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38679
38680 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38681 if non-absolute.
38682 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38683 ldd_rewrite_script.
0f31fe77 38684
32b4c839
UD
386852011-09-11 Ulrich Drepper <drepper@gmail.com>
38686
83cd1420
UD
38687 * configure.in: Remove --with-tls option.
38688 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38689 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38690 out in case it is missing.
38691 * sysdeps/ia64/elf/configure.in: Likewise.
38692 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38693 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38694 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38695 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38696 * sysdeps/sh/elf/configure.in: Likewise.
38697 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38698 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38699 * sysdeps/x86_64/elf/configure.in: Likewise.
38700 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38701 * sysdeps/mach/hurd/tls.h: Likewise.
38702
633f745d
UD
38703 [BZ #13067]
38704 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38705
f318beb8
UD
38706 [BZ #13090]
38707 * configure.in: Fix use of AC_INIT.
38708
32b4c839
UD
38709 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38710
3ce1f295
UD
387112011-09-10 Ulrich Drepper <drepper@gmail.com>
38712
bb016596
UD
38713 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38714 __set_errno.
8e58439c
UD
38715 * malloc/hooks.c: Likewise.
38716
aebae053 38717 [BZ #11929]
02d46fc4
UD
38718 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38719 variables statically.
38720 (narenas): Initialize.
38721 (list_lock): Initialize.
bb016596
UD
38722 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38723 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38724 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38725 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38726 Add initializers to main_arena and mp_.
38727 (malloc_state): Remove pagesize member. Change all users to use
38728 GLRO(dl_pagesize).
38729
38730 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38731 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38732 is always initialized.
38733
22a89187
UD
38734 * malloc/malloc.c: Removed unused configurations and dead code.
38735 * malloc/arena.c: Likewise.
38736 * malloc/hooks.c: Likewise.
02d46fc4 38737 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38738
d063d164
UD
38739 * include/tls.h: Removed. USE___THREAD must always be defined.
38740 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38741 * elf/dl-libc.c: Likewise.
38742 * elf/dl-tsd.c: Likewise.
38743 * include/errno.h: Likewise.
38744 * include/netdb.h: Likewise.
38745 * include/resolv.h: Likewise.
38746 * inet/herrno-loc.c: Likewise.
38747 * inet/herrno.c: Likewise.
38748 * malloc/arena.c: Likewise.
38749 * malloc/hooks.c: Likewise.
38750 * malloc/malloc.c: Likewise.
38751 * resolv/res-state.c: Likewise.
38752 * resolv/res_libc.c: Likewise.
38753 * sysdeps/i386/dl-machine.h: Likewise.
38754 * sysdeps/ia64/dl-machine.h: Likewise.
38755 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38756 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38757 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38758 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38759 * sysdeps/sh/dl-machine.h: Likewise.
38760 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38761 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38762 * sysdeps/unix/i386/sysdep.S: Likewise.
38763 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38764 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38765 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38766 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38767 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38768 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38769 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38770 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38771 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38772 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38773 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38774 * sysdeps/x86_64/dl-machine.h: Likewise.
38775 * tls.make.c: Likewise.
38776
3ce1f295
UD
38777 * configure.in: Remove --with-__thread option. Make tests for
38778 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38779 tls_model attribute fail if no support is available. Remove
38780 USE_IN_LIBIO.
38781 * Makeconfig: Adjust for dropped configure option. All features are
38782 now mandatory.
38783 * Makerules: Likewise.
38784 * Versions.def: Likewise.
38785 * argp/argp-fmtstream.c: Likewise.
38786 * argp/argp-fmtstream.h: Likewise.
38787 * argp/argp-help.c: Likewise.
38788 * assert/assert.c: Likewise.
38789 * config.h.in: Likewise.
38790 * config.make.in: Likewise.
38791 * configure: Likewise.
38792 * configure.in: Likewise.
38793 * csu/Versions: Likewise.
38794 * csu/init.c: Likewise.
38795 * elf/tst-audit2.c: Likewise.
38796 * elf/tst-tls10.c: Likewise.
38797 * elf/tst-tls10.h: Likewise.
38798 * elf/tst-tls11.c: Likewise.
38799 * elf/tst-tls12.c: Likewise.
38800 * elf/tst-tls14.c: Likewise.
38801 * elf/tst-tlsmod11.c: Likewise.
38802 * elf/tst-tlsmod12.c: Likewise.
38803 * elf/tst-tlsmod13.c: Likewise.
38804 * elf/tst-tlsmod13a.c: Likewise.
38805 * elf/tst-tlsmod14a.c: Likewise.
38806 * elf/tst-tlsmod15b.c: Likewise.
38807 * elf/tst-tlsmod16a.c: Likewise.
38808 * elf/tst-tlsmod16b.c: Likewise.
38809 * elf/tst-tlsmod7.c: Likewise.
38810 * elf/tst-tlsmod8.c: Likewise.
38811 * elf/tst-tlsmod9.c: Likewise.
38812 * gmon/gmon.c: Likewise.
38813 * grp/fgetgrent_r.c: Likewise.
38814 * grp/putgrent.c: Likewise.
38815 * hurd/fopenport.c: Likewise.
38816 * include/libc-symbols.h: Likewise.
38817 * include/tls.h: Likewise.
38818 * intl/gettextP.h: Likewise.
38819 * intl/loadinfo.h: Likewise.
38820 * locale/global-locale.c: Likewise.
38821 * locale/localeinfo.h: Likewise.
38822 * mach/devstream.c: Likewise.
38823 * malloc/arena.c: Likewise.
38824 * malloc/set-freeres.c: Likewise.
38825 * misc/err.c: Likewise.
38826 * misc/getttyent.c: Likewise.
38827 * misc/mntent_r.c: Likewise.
38828 * posix/getopt.c: Likewise.
38829 * posix/wordexp.c: Likewise.
38830 * pwd/fgetpwent_r.c: Likewise.
38831 * resolv/Versions: Likewise.
38832 * resolv/res_hconf.c: Likewise.
38833 * shadow/fgetspent_r.c: Likewise.
38834 * shadow/putspent.c: Likewise.
38835 * stdio-common/printf_fphex.c: Likewise.
38836 * stdio-common/tmpfile.c: Likewise.
38837 * stdlib/abort.c: Likewise.
38838 * stdlib/fmtmsg.c: Likewise.
38839 * sunrpc/auth_unix.c: Likewise.
38840 * sunrpc/clnt_perr.c: Likewise.
38841 * sunrpc/clnt_tcp.c: Likewise.
38842 * sunrpc/clnt_udp.c: Likewise.
38843 * sunrpc/clnt_unix.c: Likewise.
38844 * sunrpc/openchild.c: Likewise.
38845 * sunrpc/svc_simple.c: Likewise.
38846 * sunrpc/svc_tcp.c: Likewise.
38847 * sunrpc/svc_udp.c: Likewise.
38848 * sunrpc/svc_unix.c: Likewise.
38849 * sunrpc/xdr.c: Likewise.
38850 * sunrpc/xdr_array.c: Likewise.
38851 * sunrpc/xdr_rec.c: Likewise.
38852 * sunrpc/xdr_ref.c: Likewise.
38853 * sunrpc/xdr_stdio.c: Likewise.
38854
1248c1c4
PB
388552011-09-09 Ulrich Drepper <drepper@gmail.com>
38856
38857 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38858
388592011-07-03 Andreas Jaeger <aj@suse.de>
38860
38861 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38862 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38863 regenerate with gen-libm-tests.pl.
38864
388652010-05-12 Petr Baudis <pasky@suse.cz>
38866
38867 [BZ #11589]
38868 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38869 around j0() zero points by switching to j1().
38870 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38871 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38872 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38873 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38874
f22e1074
UD
388752011-09-09 Ulrich Drepper <drepper@gmail.com>
38876
f19009c1
UD
38877 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38878 instead of 0.
38879 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38880 instead of 0.
f19009c1
UD
38881 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38882 Patch in part by Pavel Roskin <proski@gnu.org>.
38883
3f8cc204
UD
38884 [BZ #13138]
38885 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38886 realloc.
38887 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38888 Free memory block if necessary.
38889
f22e1074
UD
38890 [BZ #12847]
38891 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38892 be NULL. Don't lock in this case.
38893
0a2349f9
RM
388942011-09-09 Roland McGrath <roland@hack.frob.com>
38895
38896 * elf/elf.h (ELFOSABI_GNU): New macro.
38897 (ELFOSABI_LINUX): Define to that.
38898
f3cdd467
DZ
388992011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38900
38901 * string/strncat.c (strncat): Undef the symbol in case it has been
38902 defined in bits/string.h.
38903
74718d13
UD
389042011-09-09 Ulrich Drepper <drepper@gmail.com>
38905
633e9e0f
UD
38906 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38907
0a2349f9 38908 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38909 link map.
38910
f9924780
AJ
389112011-08-17 Andreas Jaeger <aj@suse.de>
38912
38913 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38914
7f5517aa
PP
389152011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38916 Ian Lance Taylor <iant@google.com>
38917
38918 * math/libm-test.inc (lround_test): New testcase.
38919 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38920
762011fe
UD
389212011-09-08 Ulrich Drepper <drepper@gmail.com>
38922
92963737
UD
38923 * Makefile: Remove support for automatic cvs check-ins.
38924 * Makerules: Likewise.
38925 * config.make.in: Likewise.
38926 * configure.in: Likewise.
38927 * intl/Makefile: Likewise.
38928 * locale/Makefile: Likewise.
38929 * po/Makefile: Likewise.
38930 * posix/Makefile: Likewise.
38931 * sysdeps/gnu/Makefile: Likewise.
38932 * sysdeps/mach/hurd/Makefile: Likewise.
38933 * sysdeps/sparc/sparc32/Makefile: Likewise.
38934
b0727fd8
JS
38935 [BZ #13118]
38936 * posix/Makefile (bug-regex32-ENV): Define.
38937 Patch by John Stanley <jpsinthemix@verizon.net>.
38938
a0f33f99
UD
38939 * misc/Makefile (headers): Add bits/select2.h.
38940 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38941 * misc/bits/select2.h: New file.
38942 * include/bits/select2.h: New file.
38943 * debug/Makefile (routines): Add fdelt_chk.
38944 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38945 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38946 FD_ISSET.
38947 * debug/fdelt_chk.c: New file.
38948
762011fe
UD
38949 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38950 * wcsmbs/test-wmemcmp.c: Likewise.
38951 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38952 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38953
389542011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38955
38956 * string/Makefile (strop-tests): Add memcmp.
38957 * string/test-wmemcmp.c: New file.
38958 * string/test-memcmp.c: Add wmemcmp support.
38959
7f513ec8
RM
389602011-09-08 Roland McGrath <roland@hack.frob.com>
38961
0442afb4
RM
38962 [BZ #13153]
38963 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
38964 2011-07-19 change.
38965
7f513ec8
RM
38966 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
38967 garbage value in a __mach_port_mod_refs call in the cases of the
38968 task-self and thread-self ports.
38969
a12b2239
ST
389702011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
38971
38972 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
38973
610f9ab4
AS
389742011-09-08 Andreas Schwab <schwab@redhat.com>
38975
7f513ec8 38976 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 38977
48882a1a
LD
389782011-09-07 Ulrich Drepper <drepper@gmail.com>
38979
b49865be
UD
38980 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
38981
fdc86bc9
UD
38982 * elf/dl-libc.c (dlerror_run): Pass back error code from
38983 dl_catch_error.
38984
c966526a
UD
38985 [BZ #13123]
38986 * elf/dl-load.c (lose): Free l_origin if it is valid.
38987
48882a1a
LD
38988 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
38989 names.
38990 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
38991 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
38992 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
38993 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
38994 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
38995 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
38996
77a2a8b4
AZ
389972011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38998
38999 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39000 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39001 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39002 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39003 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39004 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39005 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39006 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39007 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39008 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39009
24f579d8
AM
390102011-08-15 Alan Modra <amodra@gmail.com>
39011
39012 [BZ #13092]
39013 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39014 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39015 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39016 ppc_mcount to static-only-routines.
39017 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39018 __mcount_internal.
39019 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39020 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39021
3d4837df
UD
390222011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39023
39024 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39025 for finite and infinity parameters.
39026
22700377
WS
390272011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39028
39029 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39030 and add nop instructions for throughput optimization.
39031 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39032
5025581e
WS
390332011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39034
39035 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39036 aligned copy for power7 with vector-scalar instructions.
39037 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39038
08a300c9
L
390392011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39040
39041 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39042 AVX check.
39043
59178ef9
AS
390442011-09-07 Andreas Schwab <schwab@redhat.com>
39045
39046 [BZ #13144]
39047 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39048 last change.
39049
e38ba7ab
UD
390502011-09-07 Ulrich Drepper <drepper@gmail.com>
39051
39052 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39053 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39054 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39055 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39056 clock_gettime.
39057
d53a73ac
UD
390582011-09-06 Ulrich Drepper <drepper@gmail.com>
39059
fc8bffcc
UD
39060 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39061 Forgot to demangle the pointer.
39062
ceaa0c5d
UD
39063 * sysdeps/i386/sysdep.h: Define atom_text_section.
39064 * sysdeps/x86_64/sysdep.h: Likewise.
39065 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39066 section with atom_text_section.
39067 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39068 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39069 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39070 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39071 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39072
a77d3c17
UD
39073 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39074 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39075 already be defined. Change to take two parameters and don't assign
39076 result to variable. Adjust all users.
39077 Define INTERNAL_GETTIME if not already defined.
39078 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39079 call.
39080 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39081 HAVE_CLOCK_GETTIME_VSYSCALL.
39082 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39083
d53a73ac
UD
39084 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39085 gettimeofday vsyscall, just use time.
39086
a8f84144
AS
390872011-09-06 Andreas Schwab <schwab@redhat.com>
39088
39089 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39090 <errno.h>.
39091
ef606249
UD
390922011-09-06 Ulrich Drepper <drepper@gmail.com>
39093
39094 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39095 syscall on x86-64.
39096 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39097 syscall.
39098 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39099 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39100 syscall if possible.
39101
6585cb60
UD
391022011-09-05 Ulrich Drepper <drepper@gmail.com>
39103
39104 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39105 e_ident. Don't pass to find_mapsXX.
39106 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39107
a5f524e4
LD
391082011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39109
39110 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39111 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39112 * sysdeps/x86_64/multiarch/strchr.S: Update.
39113 Check bit_slow_BSF bit.
39114 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39115 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39116 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39117
554881ef
UD
391182011-09-05 Ulrich Drepper <drepper@gmail.com>
39119
d96de963
UD
39120 [BZ #13134]
39121 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39122 before glibc 2.15.
39123 (tryshell): Define.
39124 (__spawni): Change last parameter to be flag. Test
39125 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39126 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39127 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39128 * posix/spawni.c: Likewise.
39129 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39130 * posix/spawnp.c: Likewise. Change normal version to use
39131 SPAWN_XFLAGS_USE_PATH.
39132 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39133 SPAWN_XFLAGS_TRY_SHELL.
39134
d48e5868
UD
39135 [BZ #13150]
39136 * posix/glob.h: Remove gcc 1.x support.
39137
554881ef
UD
39138 [BZ #13068]
39139 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39140
693fb948
LD
391412011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39142
39143 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39144 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39145 strrchr-sse2-bsf
39146 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39147 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39148 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39149 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39150 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39151 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39152
1b48c537
UD
391532011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39154
49d42c37
UD
39155 * sysdeps/x86_64/wcscmp.S: New file.
39156
1b48c537
UD
39157 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39158 wcscmp-c wcscmp-sse2
39159 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39160 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39161 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39162 * wcsmbs/wcscmp.c: Allow renaming.
39163
15c95c5d
DM
391642011-09-05 David S. Miller <davem@davemloft.net>
39165
39166 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39167 stack slot, rather than the struct return pointer slot.
39168 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39169 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39170 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39171 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39172
2f0ad8f3
UD
391732011-09-05 Ulrich Drepper <drepper@gmail.com>
39174
d88ae418
UD
39175 * po/ja.po: Update from translation team.
39176
2f0ad8f3
UD
39177 [BZ #13144]
39178 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39179 kernel in 64-bit binaries.
39180
5f4318d1
DM
391812011-09-01 David S. Miller <davem@davemloft.net>
39182
39183 * elf/elf.h (HWCAP_SPARC_*): Move to..
39184 * sysdeps/sparc/sysdep.h: this new file and add new values.
39185 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39186 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39187 _DL_HWCAP_COUNT to 24.
39188 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39189 entries.
39190 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39191 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39192 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39193 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39194 instead of magic constants.
39195 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39196
3ba57516
DM
391972011-08-31 David S. Miller <davem@davemloft.net>
39198
39199 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39200 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39201 Reimplement to do errno handling inline.
39202 (SYSCALL_ERROR_HANDLER): New macro.
39203 (__SYSCALL_STRING): Do not do errno handling in asm.
39204 (__CLONE_SYSCALL_STRING): Delete.
39205 (__INTERNAL_SYSCALL_STRING): Delete.
39206 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39207 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39208 (PSEUDO): Reimplement to do errno handling inline.
39209 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39210 (SYSCALL_ERROR_HANDLER): New macro.
39211 (__SYSCALL_STRING): Do not do errno handling in asm.
39212 (__CLONE_SYSCALL_STRING): Delete.
39213 (__INTERNAL_SYSCALL_STRING): Delete.
39214 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39215 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39216 i386.
39217 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39218 (inline_syscall*): Add 'err' argument.
39219 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39220 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39221 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39222 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39223
39224 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39225 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39226
2bc17433
AS
392272011-08-30 Andreas Schwab <schwab@redhat.com>
39228
39229 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39230
fbeb5f4d
JO
392312011-08-29 Jiri Olsa <jolsa@redhat.com>
39232
39233 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39234 directive.
39235
ad69cc26
DM
392362011-08-24 David S. Miller <davem@davemloft.net>
39237
39238 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39239
39dd69df
AS
392402011-08-24 Andreas Schwab <schwab@redhat.com>
39241
39242 * elf/Makefile: Add rules to build and run unload8 test.
39243 * elf/unload8.c: New file.
39244 * elf/unload8mod1.c: New file.
39245 * elf/unload8mod1x.c: New file.
39246 * elf/unload8mod2.c: New file.
39247 * elf/unload8mod3.c: New file.
39248
39249 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39250 it wasn't used.
39251
2c0b250a
DM
392522011-08-23 David S. Miller <davem@davemloft.net>
39253
39254 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39255 subtract stack bias.
39256 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39257 %sp not %fp in calculations.
39258 (_JMPBUF_UNWINDS_ADJ): Likewise.
39259
22044b48
DM
39260 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39261 (aio_suspend): Call it to force an exception region around the
39262 AIO_MISC_WAIT() invocation.
39263
2cae4995
AS
392642011-08-23 Andreas Schwab <schwab@redhat.com>
39265
39266 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39267 backslash.
39268
873a772e
AJ
392692011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39270
39271 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39272 protection macro.
39273 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39274 and <dl-machine.h>.
39275 (Elf64_FuncDesc): Remove.
39276
25ad0df1
DM
392772011-08-22 David S. Miller <davem@davemloft.net>
39278
39279 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39280 sigaltstack check, add missing cfi directives.
39281 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39282 missing cfi directives, and sigaltstack handling.
39283
e888bcbe
AS
392842011-08-16 Andreas Schwab <schwab@redhat.com>
39285
39286 [BZ #11724]
39287 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39288 object is seen twice.
39289 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39290
39291 * elf/Makefile (distribute): Add tst-initorder2.c.
39292 (tests): Add tst-initorder2.
39293 (modules-names): Add tst-initorder2a tst-initorder2b
39294 tst-initorder2c tst-initorder2d. Add rules to build them.
39295 ($(objpfx)tst-initorder2.out): New rule.
39296 * elf/tst-initorder2.c: New file.
39297 * elf/tst-initorder2.exp: New file.
39298
87162f46
AS
392992011-08-22 Andreas Schwab <schwab@redhat.com>
39300
70538b7f
AS
39301 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39302
f55ffe58
AS
39303 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39304 dependencies back to end of function.
39305
87162f46
AS
39306 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39307 $(elfobjdir)/ld.so.
39308
91b392a4
UD
393092011-08-21 Ulrich Drepper <drepper@gmail.com>
39310
39311 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39312 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39313 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39314 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39315 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39316 of __vdso_gettimeofday.
39317 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39318 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39319 attribute_hidden.
39320 (_libc_vdso_platform_setup): Remove initialization of
39321 __vdso_gettimeofday and __vdso_time.
39322
5c43483f
UD
393232011-08-20 Ulrich Drepper <drepper@gmail.com>
39324
775a77e7
UD
39325 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39326 and fgetc_unlocked.
39327 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39328 getc_unlocked.
89f447ed 39329
49c74ba9
UD
39330 * elf/dl-open.c (add_to_global): Report additions to the global scope
39331 for LD_DEBUG=scopes.
39332 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39333 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39334
5c43483f
UD
39335 [BZ #13114]
39336 * stdio-common/Makefile (tests): Add bug24.
39337 * stdio-common/bug24.c: New file.
39338
a101b025
AJ
393392011-08-19 Andreas Jaeger <aj@suse.de>
39340
39341 [BZ #13114]
39342 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39343 non-existant file when using close-on-exec mode.
39344
c88f1766
UD
393452011-08-20 Ulrich Drepper <drepper@gmail.com>
39346
0276a718
UD
39347 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39348 the very first instruction.
39349
c88f1766
UD
39350 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39351 the CFI state in the end.
39352 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39353 inclusion of dl-trampoline.h.
39354 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39355
51ccffa0
AS
393562011-08-19 Andreas Schwab <schwab@redhat.com>
39357
94d7165f
AS
39358 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39359 expectations for long double.
39360
51ccffa0
AS
39361 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39362 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39363
fd708658 393642011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39365
39366 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39367 artificual limit depends upon the system page size.
39368
44f0a71e
UD
393692011-08-17 Ulrich Drepper <drepper@gmail.com>
39370
39371 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39372 * resolv/Makefile: Define CFLAGS-libresolv.
39373
8de79a24
AS
393742011-08-17 Andreas Schwab <schwab@redhat.com>
39375
39376 * nss/makedb.c (compute_tables): Make variables used in nested
39377 function static.
39378
27724598
UD
393792011-08-17 Ulrich Drepper <drepper@gmail.com>
39380
c5305d88
UD
39381 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39382 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39383 if buffer was too small.
39384
27724598
UD
39385 * elf/pldd.c (main): Attach to all threads in the process.
39386 Rewrite /proc handling to use *at functions.
39387
076fe015
UD
393882011-08-16 Ulrich Drepper <drepper@gmail.com>
39389
174baab3
UD
39390 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39391 specifies first scope to show.
39392 (dl_open_worker): Update callers. Move printing scope of new
39393 object to before the relocation.
44f0a71e 39394 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39395 * sysdeps/generic/ldsodefs.h: Update declaration.
39396
076fe015
UD
39397 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39398 string for the scope number.
39399
a60df2c3
UD
394002011-08-14 Ulrich Drepper <drepper@gmail.com>
39401
39402 * nscd/servicescache.c (cache_addserv): Make sure written is always
39403 initialized.
39404
5e4287d1
RM
394052011-08-14 Roland McGrath <roland@hack.frob.com>
39406
85ae0589
RM
39407 * sysdeps/i386/i486/bits/atomic.h
39408 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39409 statement expression, so as to suppress "set but not used" warning.
39410 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39411
69f63097
RM
39412 * string/strncat.c (STRNCAT): Use prototype definition.
39413
675456ef
RM
39414 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39415 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39416 -Iprograms here.
39417 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39418 (localedef-modules): Add localedef.
39419 (locale-modules): Add locale.
39420
5e4287d1
RM
39421 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39422 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39423 to avoid a warning.
39424
9c96ff23
DM
394252011-08-14 David S. Miller <davem@davemloft.net>
39426
39427 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39428 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39429
f9ddf089
UD
394302011-08-13 Ulrich Drepper <drepper@gmail.com>
39431
44f0a71e 39432 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39433 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39434 * elf/rtld.c (dl_main): Set l_name of vDSO.
39435 Call _dl_show_scope when DL_DEBUG_SCOPES.
39436 (process_dl_debug): Recognize scopes flag and also set it for all.
39437 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39438 Declare _dl_show_scope.
39439
1dc27704
UD
39440 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39441 (do_dlopen): Pass caller_dlopen to dl_open.
39442 (__libc_dlopen_mode): Initialize caller_dlopen.
39443
f9ddf089
UD
39444 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39445 of libc. Make tolower call locale-independent. Optimize a bit by
39446 using isdigit instead of isalnum.
39447 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39448
9ac533d3
UD
394492011-08-12 Ulrich Drepper <drepper@gmail.com>
39450
39451 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39452 was a dependency or dynamically loaded.
39453
89edf2e9
UD
394542011-08-11 Ulrich Drepper <drepper@gmail.com>
39455
8e999d29
UD
39456 * intl/l10nflist.c: Allow architecture-specific pop function.
39457 * sysdeps/x86_64/l10nflist.c: New file.
39458
89edf2e9
UD
39459 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39460 classification.
39461
14d96785
AS
394622011-08-10 Andreas Schwab <schwab@redhat.com>
39463
39464 * include/dirent.h: Add libc_hidden_proto for scandirat and
39465 scandirat64. Don't declare __scandirat64.
39466 * dirent/scandirat.c: Add libc_hidden_def.
39467 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39468 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39469
6761ac04
DM
394702011-08-10 David S. Miller <davem@davemloft.net>
39471
39472 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39473 enum.
39474 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39475 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39476 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39477
c55fbd1e
UD
394782011-08-09 Ulrich Drepper <drepper@gmail.com>
39479
39480 * Versions.def [libc]: Add GLIBC_2.15.
39481 * dirent/Makefile (routines): Add scandirat and scandirat64.
39482 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39483 GLIBC_2.15.
39484 * dirent/dirent.h: Declare scandirat and scandirat64.
39485 * dirent/scandirat.c: New file.
39486 * dirent/scandirat64.c: New file.
39487 * sysdeps/wordsize-64/scandirat.c: New file.
39488 * sysdeps/wordsize-64/scandirat64.c: New file.
39489 * dirent/opendir.c: Define opendirat.
39490 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39491 using scandirat.
39492 * dirent/scandir64.c: Adjust for scandir.c change.
39493 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39494 __scandirat64, and __scandir_cancel_handler.
39495 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39496 additional parameter and use openat instead of open (outside of ld.so).
39497 Add new __opendir as wrapper around __opendirat.
39498 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39499 here without requiring old scandirat implementation.
39500
879165f2
UD
395012011-08-08 Ulrich Drepper <drepper@gmail.com>
39502
39503 * dirent/scandir.c (cancel_handler): Renamed to
39504 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39505 defined. Adjust users.
39506 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39507 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39508
cb7e923b
UD
395092011-08-04 Ulrich Drepper <drepper@gmail.com>
39510
16292edd
UD
39511 * string/test-string.h (IMPL): Use __STRING to expand name and then
39512 stringify it.
39513
cb7e923b
UD
39514 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39515 of cleanups.
39516
cff82933
LD
395172011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39518
39519 * string/Makefile: Update.
39520 (strop-tests): Append strncat.
39521 * string/test-wcscmp.c: New file.
39522 New comprehensive test for wcscmp.
39523 * string/test-strcmp.c: Update.
39524 (WIDE): New define.
39525
9be9bfcc
AS
395262011-07-22 Andreas Schwab <schwab@redhat.com>
39527
39528 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39529 line.
39530
2e96f1c7
AS
395312011-07-26 Andreas Schwab <schwab@redhat.com>
39532
39533 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39534 encoding to ACE if AI_IDN.
39535
85188888
JJ
395362011-08-01 Jakub Jelinek <jakub@redhat.com>
39537
39538 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39539 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39540
5fa16e9b
LD
395412011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39542
39543 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39544 Fix overflow bug in strncat.
39545 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39546
39547 * string/test-strncat.c: Update.
39548 Add new tests for checking overflow bugs.
39549
395502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39551
39552 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39553 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39554 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39555 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39556 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39557 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39558 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39559 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39560 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39561
39562 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39563 (USE_AS_STRCAT): Define.
39564 Add strcat and strncat support.
39565 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39566
8c1a459f
AS
395672011-07-25 Andreas Schwab <schwab@redhat.com>
39568
39569 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39570 __n bigger than INT_MAX+1.
39571 (__strncmp_g): Likewise.
39572
bba33c28
UD
395732011-07-23 Ulrich Drepper <drepper@gmail.com>
39574
798be72d
UD
39575 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39576 * libio/stido.h: Likewise.
39577
8accd4dc
UD
39578 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39579 (AF_NFC): Define.
39580 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39581 (AF_NFC): Define.
39582
cbff0d96
UD
39583 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39584 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39585 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39586 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39587 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39588
9191c04a
UD
39589 [BZ #13021]
39590 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39591 installed.
39592
bba33c28
UD
39593 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39594 typo.
39595 (_dl_x86_64_save_sse): Likewise.
39596
90f139dd
UD
395972011-07-22 Ulrich Drepper <drepper@gmail.com>
39598
1aae088a
UD
39599 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39600 OSXSAVE.
39601 (_dl_x86_64_save_sse): Likewise.
39602
8e2045f5
UD
39603 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39604
90f139dd
UD
39605 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39606
1d002f25
AS
396072011-07-21 Andreas Schwab <schwab@redhat.com>
39608
39609 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39610 change.
39611 (_dl_x86_64_save_sse): Use correct AVX check.
39612
21137f89
UD
396132011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39614
39615 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39616 bug in strncpy/strncat.
39617 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39618
a65c0b7a
UD
396192011-07-21 Ulrich Drepper <drepper@gmail.com>
39620
39621 * string/tester.c (test_strcat): Add tests for different alignments
39622 of source and destination.
39623 (test_strncat): Likewise.
39624
6986b98a
UD
396252011-07-20 Ulrich Drepper <drepper@gmail.com>
39626
90bb2039
UD
39627 [BZ #12852]
39628 * posix/glob.c (glob): Check passed in values before using them in
39629 expressions to avoid some overflows.
39630 (glob_in_dir): Likewise.
39631
5644ef54
UD
39632 [BZ #13007]
39633 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39634 check for AVX enablement so that we don't crash with old kernels and
39635 new hardware.
39636 * elf/tst-audit4.c: Add same checks here.
39637 * elf/tst-audit6.c: Likewise.
39638
39639 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39640
bfc9dc9b
AS
396412011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39642
39643 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39644
702e64bb
UD
396452011-07-20 Ulrich Drepper <drepper@gmail.com>
39646
39647 * po/cs.po: Update from translation team.
39648 * po/bg.po: Likewise.
39649
295e904f
MP
396502011-07-12 Marek Polacek <mpolacek@redhat.com>
39651
39652 * misc/sys/cdefs.h: Add support for const attribute.
39653 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39654 to gnu_dev_{major,minor,makedev} functions.
39655
3ff94596
MP
396562011-07-20 Marek Polacek <mpolacek@redhat.com>
39657
39658 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39659
28b59fca
AS
396602011-07-20 Andreas Schwab <schwab@redhat.com>
39661
39662 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39663 strlen results.
39664
19df733e
AK
396652011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39666
39667 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39668 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39669 register in order to avoid conflicts with the soft frame pointer
39670 being held in r11 when necessary.
39671 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39672 (INTERNAL_VSYSCALL_NCS): Likewise.
39673
c8835729
MP
396742011-07-14 Marek Polacek <mpolacek@redhat.com>
39675
39676 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39677 * elf/dl-fini.c (_dl_fini): Adjust caller.
39678 * elf/dl-close.c (_dl_close_worker): Likewise.
39679 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39680
b902330c
MP
396812011-07-15 Marek Polacek <mpolacek@redhat.com>
39682
8991e135
MP
39683 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39684 "aux_cache->nlibs < 0".
39685
b902330c
MP
39686 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39687 in the reload-count case.
39688
99710781
LD
396892011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39690
39691 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39692 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39693 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39694 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39695 * sysdeps/x86_64/multiarch/strcat.S: New file.
39696 * sysdeps/x86_64/multiarch/strncat.S: New file.
39697 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39698 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39699 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39700 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39701 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39702 (USE_AS_STRCAT): Define.
39703 Add strcat and strncat support.
39704 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39705 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39706 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39707 * string/strncat.c: Update.
39708 (USE_AS_STRNCAT): Define.
39709 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39710 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39711 and i7.
39712 * sysdeps/x86_64/multiarch/init-arch.h
39713 (bit_Prefer_PMINUB_for_stringop): New.
39714 (index_Prefer_PMINUB_for_stringop): Likewise.
39715 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39716 bit_Prefer_PMINUB_for_stringop.
39717
7dc6bd90
UD
397182011-07-19 Ulrich Drepper <drepper@gmail.com>
39719
39720 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39721 buffer64.
39722 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39723 of casting of buffer.
39724 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39725 buffer32 and buffer64.
39726 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39727 writes instead of casting of buffer.
39728 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39729 buffer32.
39730 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39731 casting of buffer.
39732
e0e72284
AS
397332011-07-19 Andreas Schwab <schwab@redhat.com>
39734
39735 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39736
feb1eb0b
UD
397372011-07-19 Ulrich Drepper <drepper@gmail.com>
39738
39739 * nscd/nscd.c (termination_handler): Don't do anything for a database
39740 if it has not yet been initialized.
39741
298711ff
UD
397422011-07-18 Ulrich Drepper <drepper@gmail.com>
39743
39744 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39745
397462011-07-15 Marek Polacek <mpolacek@redhat.com>
39747
39748 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39749
f9d68389
UD
397502011-07-18 Ulrich Drepper <drepper@gmail.com>
39751
39752 * po/nl.po: Update from translation team.
39753 * po/sv.po: Likewise.
39754
db290cf5
RM
397552011-07-16 Roland McGrath <roland@hack.frob.com>
39756
39757 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39758 now disallowed by GCC.
5c550700 39759
fd5e21c7
RM
39760 * configure.in (use-default-link): Default to yes if a test -shared
39761 link meets our qualifications.
39762 * configure: Regenerated.
39763
5c550700
RM
39764 * config.make.in (output-format): New variable.
39765 * configure.in: Check for ld --print-output-format support.
39766 * configure: Regenerated.
39767 * Makerules ($(common-objpfx)format.lds)
39768 [$(output-format) != unknown]: Just use $(output-format),
39769 instead of the linker-script munging.
39770
9fa2c032
RM
397712011-07-14 Roland McGrath <roland@hack.frob.com>
39772
a6928d51
RM
39773 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39774 of $(common-objpfx)shlib.lds.
39775 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39776
661607b3
RM
39777 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39778 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39779
9fa2c032
RM
39780 * configure.in (-z relro check): Adjust test code to add a large
39781 writable data section after it.
39782 * configure: Regenerated.
39783
defe9061
RM
397842011-07-11 Roland McGrath <roland@hack.frob.com>
39785
39786 * configure.in (-z relro check): Fix test code to make the variable
39787 truly const.
39788 * configure: Regenerated.
39789
319b9ad4
UD
397902011-07-11 Ulrich Drepper <drepper@gmail.com>
39791
39792 * nscd/nscd.h (struct traced_file): Define.
39793 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39794 elements. Add traced_files.
39795 (inotify_fd): Declare.
39796 (register_traced_file): Declare.
39797 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39798 (inotify_fd): Export.
39799 (resolv_conf_descr): Remove.
39800 (nscd_init): Move inotify descriptor creation to main.
39801 Don't register files for notification here.
39802 (register_traced_file): New function.
39803 (invalidate_cache): Don't use reset_res to determine whether to call
39804 res_init, go through the list of registered files.
39805 (main_loop_poll): The inotify descriptors are now stored in the
39806 structures for the traced files.
39807 (main_loop_epoll): Likewise
39808 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39809 to __nss_disable_nscd.
39810 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39811 for a database anymore. Check the records for all the registered
39812 files instead.
39813 * nss/Makefile (libnss_files-routines): Add files-init.
39814 (libnss_db-routines): Add db-init.
39815 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39816 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39817 * nss/nss_db/db-init.c: New file.
39818 * nss/nss_files/files-init.c: New file.
39819 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39820 __nss_lookup_function.
39821 (__nss_lookup_function): Call nss_load_library.
39822 (nss_load_all_libraries): New function.
39823 (__nss_disable_nscd): Take parameter with callback function for files
39824 to register. Set is_nscd. Load all the DSOs for the NSS modules
39825 used for the cached services.
39826 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39827 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39828 options for features to all the files in nscd.
39829
39830 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39831
23bee3e8
RM
398322011-07-10 Roland McGrath <roland@hack.frob.com>
39833
39834 * csu/elf-init.c (__libc_csu_init): Comment typo.
39835
46a5b7f0
UD
398362011-07-09 Ulrich Drepper <drepper@gmail.com>
39837
39838 * po/pl.po: Update from translation team.
39839 * po/ja.po: Likewise.
39840 * po/ru.po: Likewise.
39841 * po/ko.po: Likewise.
39842 * po/fr.po: Likewise.
39843
d30cf5bb
RM
398442011-07-09 Roland McGrath <roland@hack.frob.com>
39845
113ddea4
RM
39846 * configure.in (.ctors/.dtors header and trailer check):
39847 Use an empirical test on a built program.
39848 * configure: Regenerated.
39849
574920b4
RM
39850 * configure.in (-z relro check): Use an empirical test on a built DSO.
39851 Detect, but do not require, on ia64.
39852 * configure: Regenerated.
39853
d30cf5bb
RM
39854 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39855 Update tests that use readelf to use $READELF instead.
39856 * configure: Regenerated.
39857
8538fdb3
UD
398582011-07-08 Ulrich Drepper <drepper@gmail.com>
39859
39860 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39861 if the result is not used.
39862
04d08991
AJ
398632011-07-05 Andreas Jaeger <aj@suse.de>
39864
39865 [BZ#9696]
39866 * stdlib/tst-strtod.c: Add testcase.
39867
de283087
AD
398682011-07-07 Ulrich Drepper <drepper@gmail.com>
39869
4e5f31c8 39870 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39871 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39872 The latter has a higher limit. Take additional parameter to pass to
39873 the new function.
39874 (__pathconf): Pass file to __statfs_link_max.
39875 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39876 __statfs_link_max.
39877 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39878 __statfs_link_max.
39879
de283087
AD
39880 [BZ #12868]
39881 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39882 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39883 Handle Lustre.
39884 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39885 (__statfs_filesize_max): Likewise.
39886 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39887
c75fa153
AJ
398882011-07-05 Andreas Jaeger <aj@suse.de>
39889
39890 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39891
1a544854
UD
398922011-07-06 Marek Polacek <mpolacek@redhat.com>
39893
39894 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39895 `status' variable.
39896 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39897 Likewise.
39898
6f0eec67
UD
398992011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39900
39901 * Makefile (strop-tests): Add strncat.
39902 * string/test-strncat.c: New file.
39903
aae30307
UD
399042011-06-30 Marek Polacek <mpolacek@redhat.com>
39905
39906 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39907
c0cfb5eb
UD
399082011-06-21 Andreas Jaeger <aj@suse.de>
39909
39910 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39911 Copy rule from iconvdata/Makefile.
39912
01636b21
UD
399132011-07-06 Ulrich Drepper <drepper@gmail.com>
39914
39915 [BZ #12922]
39916 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39917 but no long options are defined, just return 'W'.
39918
9895c8bc
UD
399192011-06-22 Marek Polacek <mpolacek@redhat.com>
39920
39921 [BZ #9696]
39922 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39923
5d4cf042
UD
399242011-07-06 Ulrich Drepper <drepper@gmail.com>
39925
39926 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39927 netgroups to read.
960e5535 39928 (innetgr): Likewise.
5d4cf042 39929
751eb97e
RM
399302011-07-05 Roland McGrath <roland@hack.frob.com>
39931
39932 * config.make.in (install_root): Default to $(DESTDIR).
39933
f15f1e45
UD
399342011-07-05 Ulrich Drepper <drepper@gmail.com>
39935
39936 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39937
4e34ac6a
RM
399382011-07-02 Roland McGrath <roland@hack.frob.com>
39939
5e9b6af4
RM
39940 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39941
84f9ea0f
RM
39942 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39943 containing directory rather than embedding absolute directory names.
39944
ea5ee9f7
RM
39945 * scripts/check-local-headers.sh: Rewritten using awk.
39946 Match by word, not by line. Print error messages for matches.
39947 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39948
1b74661a
RM
39949 * Makerules [shlib-lds-flags empty]:
39950 ($(common-objpfx)libc_pic.opts): New target.
39951 ($(common-objpfx)libc_pic.os.clean): New target.
39952 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39953
39954 * config.make.in (OBJCOPY): New variable.
39955 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39956 * configure: Regenerated.
39957
f781ef40
RM
39958 * config.make.in (use-default-link): New variable.
39959 * configure.in (use_default_link): Grok --with-default-link to set it.
39960 * configure: Regenerated.
39961 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
39962 (shlib-lds, shlib-lds-flags): Define to empty.
39963
2d4fa81e
RM
39964 * Makerules (shlib-lds): New variable.
39965 (shlib-lds-flags): New variable.
39966 (build-shlib, build-moduile, build-module-asneeded): Use it.
39967 ($(common-objpfx)libc.so): Use $(shlib-lds).
39968 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
39969 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
39970
31fffa6b
RM
39971 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
39972 DT_FLAGS/DT_FLAGS_1 with zero flags.
39973
4e34ac6a
RM
39974 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
39975 linker script munging.
39976
fcfc776b
UD
399772011-07-02 Ulrich Drepper <drepper@gmail.com>
39978
39979 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
39980 as 128-bit value.
39981 * crypt/sha512.c (sha512_process_block): Perform total addition using
39982 128-bit if possible.
39983 (__sha512_finish_ctx): Likewise.
39984 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
39985 as 64-bit value.
39986 * crypt/sha256.c (SWAP64): Define.
39987 (sha256_process_block): Perform total addition using 64-bit if
39988 possible.
39989 (__sha256_finish_ctx): Likewise.
39990
99231d9a
UD
399912011-07-01 Ulrich Drepper <drepper@gmail.com>
39992
39993 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
39994 * nscd/initgrcache.c (addinitgroupsX): Likewise.
39995 * nscd/hstcache.c (cache_addhst): Likewise.
39996 * nscd/grpcache.c (cache_addgr): Likewise.
39997 * nscd/aicache.c (addhstaiX): Likewise
39998 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
39999
445b4a53
TK
400002011-07-01 Thorsten Kukuk <kukuk@suse.de>
40001
40002 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40003 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40004 * nscd/hstcache.c (cache_addhst): Likewise.
40005 * nscd/grpcache.c (cache_addgr): Likewise.
40006 * nscd/aicache.c (addhstaiX): Likewise
40007
6d4d8e8e
AS
400082011-07-01 Andreas Schwab <schwab@redhat.com>
40009
40010 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40011 domain only when needed.
40012
89f654c5
AS
400132011-06-30 Andreas Schwab <schwab@redhat.com>
40014
40015 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40016 is always restored.
40017
cf3b23ff
UD
400182011-06-29 Ulrich Drepper <drepper@gmail.com>
40019
40020 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40021 are re-adding the entry.
40022 * nscd/servicescache.c (cache_addserv): Likewise.
40023
751626f9
AJ
400242011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40025
40026 * sysdeps/generic/dl-irel.h: fix protection against multiple
40027 inclusions.
40028 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40029
9113ea1f
UD
400302011-06-28 Ulrich Drepper <drepper@gmail.com>
40031
5c0b8d90
UD
40032 [BZ #12935]
40033 * malloc/memusage.sh: Fix quoting in message.
40034 * debug/xtrace.sh: Likewise.
40035
9113ea1f
UD
40036 * configure.in: Remove support for --experimental-malloc option, make
40037 it the default.
40038 * config.make.in: Likewise.
40039 * malloc/Makefile: Likewise.
40040
a4172181
AS
400412011-06-27 Andreas Schwab <schwab@redhat.com>
40042
40043 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40044 two-byte characters.
40045
78a7eee7
RM
400462011-06-27 Roland McGrath <roland@hack.frob.com>
40047
62bede13
RM
40048 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40049 AC_CACHE_CHECK invocation.
40050 * configure: Regenerated.
40051
78a7eee7
RM
40052 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40053
5ce33a62
UD
400542011-06-27 Ulrich Drepper <drepper@gmail.com>
40055
034807a9
UD
40056 [BZ #12350]
40057 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40058 bit from old_res_options.
40059
4902da17
UD
40060 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40061
5ce33a62
UD
40062 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40063 value type for setfct.
40064
c2344f56
L
400652011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40066
40067 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40068 __gettimeofday instead of gettimeofday.
40069
68468076
UD
400702011-06-26 Ulrich Drepper <drepper@gmail.com>
40071
40072 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40073
acb0d739
L
400742011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40075
40076 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40077
40078 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40079 info.
40080
8912479f
L
400812011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40082
40083 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40084 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40085 strcpy-sse2-unaligned strncpy-sse2-unaligned
40086 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40087 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40088 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40089 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40090 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40091 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40092 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40093 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40094 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40095 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40096 (STRCPY): Support SSE2 and SSSE3 versions.
40097
d5495a11
UD
400982011-06-24 Ulrich Drepper <drepper@gmail.com>
40099
40100 [BZ #12874]
40101 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40102 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40103 kernels which artificially limit size of requests.
40104
0b1cbaae
L
401052011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40106
40107 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40108 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40109 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40110 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40111 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40112 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40113 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40114 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40115 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40116 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40117 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40118 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40119 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40120 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40121 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40122 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40123 Enable unaligned load optimization for Intel Core i3, i5 and i7
40124 processors.
40125 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40126 Define.
40127 (index_Fast_Unaligned_Load): Define.
40128 (HAS_FAST_UNALIGNED_LOAD): Define.
40129
07f494a0
MP
401302011-06-23 Marek Polacek <mpolacek@redhat.com>
40131
40132 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40133
fa3fc0fe
UD
401342011-06-22 Ulrich Drepper <drepper@gmail.com>
40135
40136 [BZ #12907]
40137 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40138 until it is clear that the information is realy needed.
40139 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40140
e12df166
AS
401412011-06-22 Andreas Schwab <schwab@redhat.com>
40142
40143 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40144
852eb34d
UD
401452011-06-22 Ulrich Drepper <drepper@gmail.com>
40146
84e2a551
UD
40147 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40148 /sys/devices/system/cpu/online if it is usable.
40149
852eb34d
UD
40150 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40151 reading the information from the /proc filesystem to once a second.
40152
6e502e19
UD
401532011-06-21 Andreas Jaeger <aj@suse.de>
40154
40155 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40156 NULL after inclusion of kernel headers.
40157
75d39ff2
UD
401582011-06-21 Ulrich Drepper <drepper@gmail.com>
40159
51f9aa6a
UD
40160 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40161 calls to internal_setent.
40162
c0244a9d
UD
40163 [BZ #12885]
40164 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40165 addresses using gethostbyname4_r ignore IPv4 addresses.
40166
c5e3c2ae
UD
40167 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40168 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40169
75d39ff2
UD
40170 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40171
42675c6f
DM
401722011-06-20 David S. Miller <davem@davemloft.net>
40173
40174 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40175 inclusions.
40176 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40177
40178 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40179 (elf_irel): Use it.
40180 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40181 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40182 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40183 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40184 * sysdeps/x86_64/dl-irel.h: Likewise.
40185
40186 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40187 * elf/dl-sym.c: Likewise.
40188
57912a71
UD
401892011-06-15 Ulrich Drepper <drepper@gmail.com>
40190
40191 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40192 need to dereference resplen2.
40193
ee22793d
AS
401942011-06-14 Andreas Schwab <schwab@redhat.com>
40195
40196 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40197
a9e836b0
UD
401982011-06-15 Ulrich Drepper <drepper@gmail.com>
40199
77fb9117
UD
40200 * Makeconfig: Define vardbdir and inst_vardbdir.
40201 * nss/Makefile: Add rules to install db-Makefile.
40202
40c1b22c
UD
40203 * nss/nss_db/db-XXX.c: Cleanup.
40204
9f2da732
UD
40205 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40206 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40207 GLIBC_PRIVATE.
40208 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40209 * nss/makedb.c: Implement -g option to specify that value strings
40210 are generated and should not be added to table iterated over for
40211 get*ent calls.
40212 * nss/nss_db/db-initgroups.c: New file.
40213
82e9a1f7
UD
40214 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40215 interface.
40216
c41af17e
UD
40217 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40218 (internal_getgrouplist): Adjust to name change.
40219 Update use_initgroups_entry if this is not the first call.
40220 * nss/databases.def: Add initgroups entry.
40221
a9e836b0
UD
40222 * nss/makedb.c (compute_tables): Check result of multiple hash table
40223 sizes to minimize maximum chain length.
40224
2666d441
UD
402252011-06-14 Ulrich Drepper <drepper@gmail.com>
40226
40227 * Versions.def: Add entry for libnss_db.
40228 * shlib-versions: Likewise.
40229 * nss/Makefile: Add rules to build libnss_db.
40230 * nss/Versions: Add libnss_db information. Organize libnss_files
40231 entries better.
40232 * nss/db-Makefile: Add gshadow support. Change rules for the new
40233 makedb progra. Some minor improvements to generate smaller files.
40234 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40235 here from...
40236 * nss/makedb.c: ...here.
40237 Improve database format to be smaller and require less memory at
40238 runtime.
40239 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40240 db anymore.
40241 * nss/nss_db/db-netgrp.c: Likewise.
40242 * nss/nss_db/db-open.c: Likewise.
40243 * nss/nss_files/flies-XXX.x: Adjust comments.
40244 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40245 * nss/nss_files/files-grp.c: Likewise.
40246 * nss/nss_files/files-hosts.c: Likewise.
40247 * nss/nss_files/files-network.c: Likewise.
40248 * nss/nss_files/files-proto.c: Likewise.
40249 * nss/nss_files/files-pwd.c: Likewise.
40250 * nss/nss_files/files-rpc.c: Likewise.
40251 * nss/nss_files/files-service.c: Likewise.
40252 * nss/nss_files/files-sgrp.c: Likewise.
40253 * nss/nss_files/files-spwd.c: Likewise.
40254 * nss/nss_db/db-alias.c: Removed.
40255 * nss/nss_db/dummy-db.h: Removed.
40256
9ee76b5a
UD
402572011-06-02 Ulrich Drepper <drepper@gmail.com>
40258
40259 * nss/makedb.c: Rewritten to not use database library.
40260 * nss/Makefile: Update to build new makedb program.
40261
c71ca1f8
AJ
402622011-06-14 Andreas Jaeger <aj@suse.de>
40263
40264 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40265 memset declaration.
40266
3154bfb8
UD
402672011-06-10 Andreas Schwab <schwab@redhat.com>
40268
40269 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40270 tmpbuf.
40271
b350afab
RM
402722011-06-10 Roland McGrath <roland@hack.frob.com>
40273
decd4e50
RM
40274 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40275 * elf/Makefile ($(objpfx)ld.so): Likewise.
40276
5615eaf2
RM
40277 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40278 Don't list ld.so twice in dependencies.
40279
40280 * posix/bug-regex31.c: Include <stdlib.h>.
40281
40282 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40283
40284 * nis/nss_compat/compat-spwd.c
40285 (getspent_next_nss_netgr): Remove unused variable.
40286 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40287
40288 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40289 nonmembers" output to use the right array.
40290
40291 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40292
40293 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40294
40295 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40296 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40297 * catgets/gencat.c (read_input_file): Likewise.
40298 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40299
40300 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40301 variable definition inside #if's controlling its use.
40302
40303 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40304
40305 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40306
40307 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40308
40309 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40310 unreachable code.
40311
40312 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40313
b68e08db
RM
40314 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40315 * configure: Regenerated.
40316
b350afab
RM
40317 * Makerules: Revert last change.
40318 * elf/Makefile: Likewise.
40319
28368601
RM
403202011-06-09 Roland McGrath <roland@hack.frob.com>
40321
40322 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40323 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40324 (reloc-link): Likewise.
40325
11988f8f
UD
403262011-06-09 Ulrich Drepper <drepper@gmail.com>
40327
40328 * elf/Makefile: Add rules to build pldd.
40329 * elf/pldd.c: New file.
40330 * elf/pldd-xx.c: New file.
40331
e80fab37
UD
403322011-06-07 Ulrich Drepper <drepper@gmail.com>
40333
40334 * version.h: Update for 2.15 development version.
40335
9b849836
DM
403362011-06-07 David S. Miller <davem@davemloft.net>
40337
40338 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40339 ifuncs.
40340 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40341 elf_machine_lazy_rel): Likewise.
40342 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40343 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40344 elf_machine_lazy_rel): Likewise.
40345 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40346 dl_hwcap via passed in argument.
40347 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40348 Likewise.
40349
5a31b283
AK
403502011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40351
40352 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40353
069e52f8
RM
403542011-06-06 Roland McGrath <roland@hack.frob.com>
40355
40356 [BZ #12849]
40357 * manual/fdl-1.1.texi: New file, verbatim from:
40358 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40359 * manual/lgpl-2.1.texi: New file, verbatim from:
40360 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40361 * manual/Makefile (licenses): New variable, list those new file names.
40362 (texis): Use it.
40363 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40364
40365 * manual/fdl.texi: File removed.
40366 * manual/lesser.texi: File removed.
40367 * manual/libc.texinfo (Copying, Documentation License):
40368 Use new @include file names, put @appendix directive before @include.
40369
f16846a5
JJ
403702011-06-04 Jakub Jelinek <jakub@redhat.com>
40371
40372 [BZ #12841]
40373 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40374 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40375 (mq_open): Add __NTH.
40376
3d29045b
L
403772011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40378
40379 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40380 Assume Intel Core i3/i5/i7 processor if AVX is available.
40381
8c297311
UD
403822011-05-31 Ulrich Drepper <drepper@gmail.com>
40383
40384 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40385 typo.
40386
c8fc0c91
UD
403872011-05-31 Andreas Schwab <schwab@redhat.com>
40388
40389 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40390 memory. Use alloca_account. Fix memory leak when retrying.
40391
5b27a807
UD
403922011-05-31 Ulrich Drepper <drepper@gmail.com>
40393
356f8bc6
UD
40394 * version.h (RELEASE): Bump for 2.14 release.
40395 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40396
5b27a807
UD
40397 * config.make.in (RANLIB): Remove entry.
40398
01f16ab0
UD
403992011-05-30 Ulrich Drepper <drepper@gmail.com>
40400
41fce8bd
UD
40401 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40402 (libc.pot): Work around missing support for .ksh extension in xgettext.
40403
4769ae77
UD
40404 [BZ #12684]
40405 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40406 if both request failed.
40407 (send_dg): In case of server errors clear resplen or *resplen2.
40408
6b1e7d19
UD
40409 [BZ #12454]
40410 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40411 when there are multiple maps.
40412 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40413 (_dl_fini): Remove test here.
40414
01f16ab0
UD
40415 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40416
b1ebd700
UD
404172011-05-29 Ulrich Drepper <drepper@gmail.com>
40418
7ae22829
UD
40419 [BZ #12350]
40420 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40421 bit from old_res_options.
40422 (gaih_inet): Likewise.
40423
553149f6 40424 [BZ #11099]
18a84741 40425 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40426 as signed.
40427
652ffab1
UD
40428 * resolv/res_init.c (res_setoptions): Make the code more compact.
40429
16985fd0
UD
40430 [BZ #11558]
40431 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40432 set RES_USEVC.
40433
0464f746
UD
40434 [BZ #11634]
40435 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40436
7d17596c
UD
40437 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40438
cf6bbbd7
UD
40439 [BZ #11781]
40440 * malloc/malloc.h: Declare malloc hook variables as volatile.
40441
13f1ab36
UD
40442 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40443 in last patch.
40444
b1ebd700
UD
40445 [BZ #11799]
40446 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40447 raise in the comment.
80e2212d
UD
40448 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40449 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40450 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40451
ce67228d
UD
404522011-05-28 Ulrich Drepper <drepper@gmail.com>
40453
8887a920
UD
40454 [BZ #12811]
40455 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40456 grow the buffers more if it already has to be sufficient.
40457 (build_wcs_upper_buffer): Likewise.
40458 * posix/regexec.c (check_matching): Likewise.
40459 (clean_state_log_if_needed): Likewise.
40460 (extend_buffers): Don't enlarge buffers beyond size of the input
40461 buffer.
40462 Patches mostly by Emil Wojak <emil@wojak.eu>.
40463 * posix/bug-regex32.c: New file.
40464 * posix/Makefile (tests): Add bug-regex32.
40465
4f031072
UD
40466 * locale/findlocale.c (_nl_find_locale): Return right away if
40467 _nl_explode_name failed.
40468 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40469
d0478f0c
UD
40470 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40471
de81b246
UD
40472 * debug/xtrace.sh: Unify messages.
40473 * malloc/memusage.sh: Likewise.
40474
c738465a
UD
40475 [BZ #12813]
40476 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40477 time symbol from vDSO. Substitute with vsyscall if not available.
40478 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40479 __vdso_time.
40480
f1f929d7
UD
40481 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40482 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40483 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40484 Add sendmmsg and internal_sendmmsg.
40485 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40486 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40487 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40488
ce67228d
UD
40489 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40490 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40491 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40492
e57420c6
UD
404932011-05-27 Ulrich Drepper <drepper@gmail.com>
40494
a8509ca5
UD
40495 [BZ #12813]
40496 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40497 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40498 available.
40499 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40500 __vdso_getcpu.
40501
e57420c6
UD
40502 [BZ #12814]
40503 * iconvdata/Makefile (tests): Add bug-iconv9.
40504 * iconvdata/bug-iconv9.c: New file.
40505
4d07db15
AS
405062011-05-27 Andreas Schwab <schwab@redhat.com>
40507
40508 [BZ #12814]
40509 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40510
ea486f69
JJ
405112011-05-25 Jakub Jelinek <jakub@redhat.com>
40512
40513 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40514 (struct user_regs_struct): Change intcs field back to cs.
40515
6f038433
UD
405162011-05-25 Ulrich Drepper <drepper@gmail.com>
40517
40518 * po/ja.po: Update from translation team.
40519
67f86a25
UD
405202011-05-23 Ulrich Drepper <drepper@gmail.com>
40521
40522 [BZ #12795]
40523 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40524 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40525
def7fbd6
AS
405262011-05-20 Andreas Schwab <schwab@redhat.com>
40527
40528 * stdlib/longlong.h: Update from GCC.
40529
f50ef8f1
AS
405302011-05-23 Andreas Schwab <schwab@redhat.com>
40531
40532 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40533 parameter name.
40534 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40535 Add parameter name.
40536 (__sysconf): Pass it down.
40537
de7ce8f1
UD
405382011-05-22 Ulrich Drepper <drepper@gmail.com>
40539
f2962a71
UD
40540 [BZ #12671]
40541 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40542 some situations.
40543 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40544 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40545 add in in __libc_use_alloca calls. Adjust callers.
40546 (glob): Use malloc in some situations.
40547
de7ce8f1
UD
40548 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40549 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40550 pltexit.
40551
aec84f53
UD
405522011-05-21 Ulrich Drepper <drepper@gmail.com>
40553
05bb4a68
UD
40554 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40555 and CLOCK_BOOTTIME_ALARM.
40556
7ea72f99
UD
40557 [BZ #12782]
40558 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40559 is returned.
40560
7e4afad5
UD
40561 * string/_strerror.c (__strerror_r): Print negative errors as signed
40562 numbers.
40563
8e211fec
UD
40564 [BZ #12777]
40565 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40566 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40567 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40568
f7d82dc9
UD
40569 * configure.in: Fix typo in redirection and correct removal of test
40570 files in two cases.
40571
cc9e536d
UD
40572 [BZ #12788]
40573 * locale/setlocale.c (new_composite_name): Fix test to check for
40574 identical name of all categories.
40575
aec84f53
UD
40576 [BZ #12792]
40577 * libio/filedoalloc.c (local_isatty): New function.
40578 (_IO_file_doallocate): Use local_isatty.
40579 * stdio-common/perror.c (perror): In case a new stream is used
40580 forward the stream error.
40581 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40582 error flag.
40583
78e64fdc
RT
405842011-05-20 Ulrich Drepper <drepper@gmail.com>
40585
34a9094f
UD
40586 [BZ #11869]
40587 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40588 alloca.
40589 * include/alloca.h (extend_alloca_account): Define.
40590
78e64fdc
RT
40591 [BZ #11857]
40592 * posix/regex.h: Fix comments with documentation of user-accessible
40593 fields after compilation and describe correct free'ing of pattern
40594 after re_compile_pattern.
40595 Patch by Reuben Thomas <rrt@sc3d.org>.
40596
457bddfc
RA
405972011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40598
40599 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40600 and -mno-altivec to prevent the compiler from using Altivec and/or
40601 VSX instructions when the corresponding registers are not available.
40602
a4527b51
AS
406032011-05-19 Andreas Schwab <schwab@redhat.com>
40604
40605 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40606
ed690b2f
UD
406072011-05-19 Ulrich Drepper <drepper@gmail.com>
40608
40609 * libio/freopen.c (freopen): Use __dup2, not dup2.
40610 * libio/freopen64.c (freopen64): Likewise.
40611
8db73634
L
406122011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40613
40614 [BZ #12775]
40615 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40616 * math/Makefile (tests): Add test-powl.
40617 (CFLAGS-test-powl.c): Define.
40618 * math/test-powl.c: New file.
40619
0a197a9d
L
406202011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40621
40622 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40623
ee30c380
UD
406242011-05-17 Ulrich Drepper <drepper@gmail.com>
40625
40626 [BZ #11837]
40627 * iconvdata/gb18030.c: Update to GB18020-2005.
40628
6ce75379
UD
406292011-05-16 Ulrich Drepper <drepper@gmail.com>
40630
a4b89fd8
AR
40631 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40632 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40633 Patch by Aharon Robbins <arnold@skeeve.com>.
40634
ea389b12
UD
40635 [BZ #11892]
40636 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40637 on the stack.
40638
68a3f91f
UD
40639 [BZ #11895]
40640 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40641 through underflows.
40642
15cc7dd1
UD
40643 [BZ #12766]
40644 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40645 point to strings before performing equality test for error_one_per_line
40646 mode.
40647
f3799213
UD
40648 [BZ #11697]
40649 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40650
d79a9c94
UD
40651 [BZ #11820]
40652 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40653 (struct user_fpregs_struct): Avoid __uint*_t types.
40654
56e5eb46
UD
40655 [BZ #6420]
40656 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40657 symbol info. Use it instead of calling _dl_addr locally.
40658 (lock_and_info): New function.
40659 (tr_freehook): Call lock_and_info and pass symbol info as additional
40660 parameter to tr_where.
40661 (tr_mallochook): Likewise.
40662 (tr_reallochook): Likewise.
40663 (tr_memalignhook): Likewise.
40664
6ce75379
UD
40665 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40666 used and couldn't be at all thread-safe.
40667
f8a3b5bf
UD
406682011-05-15 Ulrich Drepper <drepper@gmail.com>
40669
94b7cc37
UD
40670 * libio/freopen.c (freopen): Don't close old file descriptor
40671 before the new one is opened. Instead dup the new file descriptor
40672 to the old one after the new stream is created.
40673 * libio/freopen64.c (freopen64): Likewise.
40674 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40675 * libio/fileops.c (_IO_new_file_close_it): Handle new
40676 _IO_FLAGS2_NOCLOSE flag.
40677 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40678 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40679 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40680 _IO_FLAGS2_NOCLOSE flag.
40681 * include/unistd.h: Add hidden_proto for dup3.
40682 Define __have_dup3.
40683 * io/dup3.c: Define hidden symbol.
40684 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40685
bd25564e
UD
40686 [BZ #7101]
40687 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40688 when an incomplete long option is used.
40689 * posix/tst-getopt_long1.c: New file.
40690 * posix/Makefile (tests): Add tst-getopt_long1.
40691
c84cfef4
UD
40692 [BZ #10138]
40693 * scripts/config.guess: Update from autoconf-2.68.
40694 * scripts/config.sub: Likewise.
40695
3b85df27
UD
40696 [BZ #10157]
40697 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40698 tests into ...
40699 (has_cpuclock): ...this. New function.
40700 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40701 macro here based on has_cpuclock code.
40702
15a856b1
UD
40703 [BZ #10149]
40704 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40705 First byte (not low byte) is now always NUL.
40706 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40707
05f399e6
UD
40708 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40709 Use non-cancelable interfaces.
40710
10a52685 40711 [BZ #9809]
94ecc67d
UD
40712 * locale/iso-639.def: Add entry for Sorani.
40713
f8a3b5bf
UD
40714 [BZ #11901]
40715 * include/stdlib.h: Move include protection to the right place.
40716 Define abort_msg_s. Declare __abort_msg with it.
40717 * stdlib/abort.c (__abort_msg): Adjust type.
40718 * assert/assert.c (__assert_fail_base): New function. Majority
40719 of code from __assert_fail. Allocate memory for __abort_msg with
40720 mmap.
40721 (__assert_fail): Now call __assert_fail_base.
40722 * assert/assert-perr.c: Remove bulk of implementation. Use
40723 __assert_fail_base.
40724 * include/assert.hL Declare __assert_fail_base.
40725 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40726 mmap.
40727 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40728
1af4e298
UD
407292011-05-14 Ulrich Drepper <drepper@gmail.com>
40730
f8a3b5bf 40731 [BZ #11952]
d26dfc60
MG
40732 [BZ #12453]
40733 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40734 until all modules are registered in the DTV.
40735 * elf/Makefile: Add rules to build and run tst-tls19.
40736 * elf/tst-tls19.c: New file.
40737 * elf/tst-tls19mod1.c: New file.
40738 * elf/tst-tls19mod2.c: New file.
40739 * elf/tst-tls19mod3.c: New file.
40740 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40741
2fc54d6f
UD
40742 [BZ #12083]
40743 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40744 correctly.
40745
98d76b46
UD
40746 [BZ #12601]
40747 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40748 two-byte sequence errors.
40749 * iconvdata/Makefile (tests): Add bug-iconv8.
40750 * iconvdata/bug-iconv8.c: New file.
40751
da3c19ef
UD
40752 [BZ #12626]
40753 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40754 buf2 definition.
40755
ca408c15
UD
40756 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40757
d6f67f7d
UD
40758 [BZ #12432]
40759 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40760 (dummy_getcfa): New function.
40761 (init): Get _Unwind_GetCFA address, use dummy if not found.
40762 (backtrace_helper): In recursion check, also check whether CFA changes.
40763 (__backtrace): Completely initialize arg.
40764
1af4e298 40765 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40766 storing incomplete byte sequence in state object. Avoid testing for
40767 guaranteed too small input if we know there is enough data available.
1af4e298 40768
da62f81b
AS
407692011-05-11 Andreas Schwab <schwab@redhat.com>
40770
40771 * Makeconfig (+link-pie): Indent.
40772 * Rules (binaries-pie): Define if $(have-fpie) and
40773 $(build-shared).
40774 (binaries-shared): Also filter out $(binaries-pie).
40775 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40776 * nscd/Makefile (others-pie): Add nscd.
40777 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40778 ($(objpfx)nscd): Remove command override.
40779 * login/Makefile (others-pie): Add pt_chown.
40780 ($(objpfx)pt_chown): Remove command override.
40781 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40782 remove command overrides.
40783
fcabc0f8
UD
407842011-05-13 Ulrich Drepper <drepper@gmail.com>
40785
20030ae6
UD
40786 * libio/tst_putwc.c: Fix error messages.
40787
fcabc0f8
UD
40788 [BZ #12724]
40789 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40790 currently writing and seek to current position when not.
40791 * libio/Makefile (tests): Add bug-fclose1.
40792 * libio/bug-fclose1.c: New file.
40793
320a5dc0
PB
407942011-05-12 Ulrich Drepper <drepper@gmail.com>
40795
40796 [BZ #12511]
40797 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40798 don't set DF_1_NODELETE here.
40799 (do_lookup_x): When entering new entry test for copy relocation
40800 and if necessary set DF_1_NODELETE flag.
40801 * elf/tst-unique4.cc: New file.
40802 * elf/tst-unique4.h: New file.
40803 * elf/tst-unique4lib.cc: New file.
40804 * elf/Makefile: Add rules to build and run tst-unique4.
40805 Patch by Piotr Bury <pbury@goahead.com>.
40806
22836f52
UD
408072011-05-11 Ulrich Drepper <drepper@gmail.com>
40808
f574184a
UD
40809 [BZ #12052]
40810 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40811
e1fb097f
UD
40812 [BZ #12625]
40813 * misc/mntent_r.c (addmntent): Flush the stream after the output
40814
22836f52
UD
40815 [BZ #12393]
40816 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40817 (is_trusted_path_normalize): Skip initial colon. Append slash
40818 to empty buffer. Duplicate is_trusted_path code but allow
40819 constructed patch to be prefix.
40820 (is_dst): Allow $ORIGIN followed by /.
40821 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40822 Correct testing of result of is_trusted_path_normalize
40823 (decompose_rpath): Fix warning.
40824
7b3b0b2a
UD
408252011-05-10 Ulrich Drepper <drepper@gmail.com>
40826
40827 [BZ #11257]
40828 * grp/initgroups.c (internal_getgrouplist): When we found the service
40829 list through the initgroups entry in nsswitch.conf do not always
40830 continue on a successful lookup. Don't always use the
eac80ce2 40831 __nss_group_database value if it is set.
7b3b0b2a
UD
40832 * nss/nsswitch.conf (initgroups): Change action for successful db
40833 lookup to continue for compatibility.
40834
2a81eaa5
UD
408352011-05-09 Ulrich Drepper <drepper@gmail.com>
40836
be97a69e
UD
40837 [BZ #11532]
40838 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40839 and CP774 modules.
40840 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40841 and CP774 modules.
40842 * iconvdata/tst-tables.sh: Likewise.
40843 * iconvdata/cp770.c: New file.
40844 * iconvdata/cp771.c: New file.
40845 * iconvdata/cp772.c: New file.
40846 * iconvdata/cp773.c: New file.
40847 * iconvdata/cp774.c: New file.
40848 * iconvdata/testdata/CP770: New file.
40849 * iconvdata/testdata/CP770..UTF8: New file.
40850 * iconvdata/testdata/CP771: New file.
40851 * iconvdata/testdata/CP771..UTF8: New file.
40852 * iconvdata/testdata/CP772: New file.
40853 * iconvdata/testdata/CP772..UTF8: New file.
40854 * iconvdata/testdata/CP773: New file.
40855 * iconvdata/testdata/CP773..UTF8: New file.
40856 * iconvdata/testdata/CP774: New file.
40857 * iconvdata/testdata/CP774..UTF8: New file.
40858
40859 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40860 END CHARMAP line.
40861 * iconvdata/gen-8bit-gap.sh: Likewise.
40862 * iconvdata/gen-8bit.sh: Likewise.
40863
c1e9e399
UD
40864 * locale/iso-639.def: Add ary entry.
40865
24c55fb3 40866 [BZ #11258]
96b4b1b0
UD
40867 * locale/C-translit.h.in: Add U20A1 transliteration.
40868
bdc2f971
KB
40869 [BZ #12178]
40870 * locale/iso-639.def: Add wae entry.
40871 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40872
2952b117
UD
40873 [BZ #12545]
40874 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40875 for n.
40876
2a81eaa5
UD
40877 [BZ #12711]
40878 * locale/C-translit.h.in: Add entry for U20B9.
40879 Patch by pravin.d.s@gmail.com.
40880
28377d1b
UD
408812011-05-08 Ulrich Drepper <drepper@gmail.com>
40882
7fb90fb8
UD
40883 [BZ #12713]
40884 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40885 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40886 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40887 in rtld. Use *stat64.
7fb90fb8 40888 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40889 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40890 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40891 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40892 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40893 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40894 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40895 __fstatat64 macros.
7fb90fb8
UD
40896 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40897 * dirent/rewinddir.c: Add libc_hidden_def.
40898 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40899 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40900
28377d1b
UD
40901 * include/dirent.h (__alloc_dir): Add flags parameter.
40902 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40903 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40904 __alloc_dir.
40905 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40906 from fdopendir if O_CLOEXEC is already set.
40907
66bdbaa4
AM
409082011-03-15 Alan Modra <amodra@gmail.com>
40909
40910 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40911 l_tls_firstbyte_offset non-zero. Save padding offset in
40912 l_tls_firstbyte_offset for later use.
40913 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40914 freeing static tls block.
40915
95721191
JN
409162011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40917
40918 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40919 where #ifdef was intended. The intent is to prevent ARG_MAX from
40920 being defined by the kernel headers.
40921
f87dfb1f
UD
409222011-05-07 Ulrich Drepper <drepper@gmail.com>
40923
40924 [BZ #12734]
40925 * resolv/resolv.h: Define RES_NOTLDQUERY.
40926 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40927 no-tld-query and set RES_NOTLDQUERY.
40928 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40929 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40930 modern BIND to search name as TLD unless forbidden.
40931
47c3cd7a
UD
409322011-05-07 Petr Baudis <pasky@suse.cz>
40933 Ulrich Drepper <drepper@gmail.com>
40934
40935 [BZ #12393]
40936 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40937 (is_trusted_path): ...to here.
c1e9ea35 40938 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40939 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40940 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40941
8a35c912
PP
409422011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40943
40944 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40945 __BEGIN/__END_DECLS.
40946
acd41f47
UD
409472011-05-06 Ulrich Drepper <drepper@gmail.com>
40948
40949 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40950 NSS_STATUS_NOTFOUND if no record was found.
40951
597df647
AS
409522011-05-05 Andreas Schwab <schwab@redhat.com>
40953
40954 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40955 (headers-not-in-tirpc): Remove rpc/netdb.h
40956 * resolv/netdb.h: Revert last change.
40957
b9af1301
PP
409582011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
40959
40960 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
40961 circular dependency between libgcc.a and libc.a.
40962
4e34d5f5
AS
409632011-05-05 Andreas Schwab <schwab@redhat.com>
40964
40965 * resolv/netdb.h: Don't include <rpc/netdb.h>.
40966 * nis/Makefile: Don't install rpcsvc/*.
40967 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
40968 instead of <rpc/types.h>.
40969 (MAXHOSTNAMELEN): Define.
40970
00ee369c
AS
409712011-05-03 Andreas Schwab <schwab@redhat.com>
40972
40973 * elf/ldconfig.c (add_dir): Don't crash on empty path.
40974
0b592a30
MB
409752011-04-28 Maciej Babinski <mbabinski@google.com>
40976
40977 [BZ #12714]
40978 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
40979 gethostbyname4_r when IPv6 results are possible.
40980
6e04cbbe
UD
409812011-05-02 Ulrich Drepper <drepper@gmail.com>
40982
40983 [BZ #12723]
40984 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
40985 _PC_PIPE_BUF handling.
40986
e4ecafe0
BH
409872011-04-30 Bruno Haible <bruno@clisp.org>
40988
40989 [BZ #12717]
40990 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
40991 * resolv/netdb.h (getnameinfo): Change type of flags parameter
40992 to 'int'.
40993 * inet/getnameinfo.c (getnameinfo): Likewise.
40994
125ee683
UD
409952011-04-29 Ulrich Drepper <drepper@gmail.com>
40996
40997 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
40998 to groups setting in database lookup.
40999 * nss/nsswitch.conf: Add initgroups entry.
41000
b722481a
EB
410012011-04-22 Ulrich Drepper <drepper@gmail.com>
41002
41003 [BZ #12685]
41004 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41005 mode string.
41006 Patch by Eric Blake <eblake@redhat.com>.
41007
4df46dbd
L
410082011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41009
41010 * sunrpc/Makefile (need-export-routines): Add svc_run.
41011 (routines): Remove svc_run.
41012 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41013 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41014 * sunrpc/svc_run.c (svc_run): Likewise.
41015 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41016
e84142d2
UD
410172011-04-21 Ulrich Drepper <drepper@gmail.com>
41018
41019 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41020 problem in reallocation in last patch.
41021
877175d8
UD
410222011-04-20 Ulrich Drepper <drepper@gmail.com>
41023
41024 * sunrpc/Makefile: Move inclusion of Rules.
41025
ab8eed78
UD
410262011-04-19 Ulrich Drepper <drepper@gmail.com>
41027
41028 * nss/nss_files/files-initgroups.c: New file.
41029 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41030 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41031 _nss_files_initgroups_dyn.
41032
e3d8f584
RS
410332011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41034
41035 * elf/elf.h (R_ARM_IRELATIVE): Define.
41036
af190f45
UD
410372011-04-19 Ulrich Drepper <drepper@gmail.com>
41038
41039 * po/ru.po: Update from translation team.
41040
53cf59ef
UD
410412011-04-17 Ulrich Drepper <drepper@gmail.com>
41042
41043 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41044 dependencies.
41045
4c559bcd
MF
410462011-02-06 Mike Frysinger <vapier@gentoo.org>
41047
41048 [BZ #12653]
41049 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41050 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41051 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41052 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41053 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41054
4420675c
AS
410552011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41056
41057 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41058 differing bytes.
41059 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41060 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41061 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41062
75ea32ab
UD
410632011-04-17 Ulrich Drepper <drepper@gmail.com>
41064
41065 [BZ #12420]
41066 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41067 storing it.
41068 * stdlib/bug-getcontext.c: New file.
41069 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41070
27390476
AK
410712011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41072
41073 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41074 instructions into .machine "z9-109".
41075 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41076 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41077
10442705
AK
410782011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41079
41080 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41081 between environment variables and auxiliary vector.
41082
7b57bfe5
UD
410832011-04-16 Ulrich Drepper <drepper@gmail.com>
41084
41085 * Makefile: Add rules to build linkobj/libc.so.
41086 * include/libc-symbols.h: Define libc_hidden_nolink.
41087 * include/rpc/auth.h: Mark functions which are to be hidden.
41088 * include/rpc/auth_des.h: Likewise.
41089 * include/rpc/auth_unix.h: Likewise.
41090 * include/rpc/clnt.h: Likewise.
41091 * include/rpc/des_crypt.h: Likewise.
41092 * include/rpc/key_prot.h: Likewise.
41093 * include/rpc/pmap_clnt.h: Likewise.
41094 * include/rpc/pmap_prot.h: Likewise.
41095 * include/rpc/pmap_rmt.h: Likewise.
41096 * include/rpc/rpc_msg.h: Likewise.
41097 * include/rpc/svc.h: Likewise.
41098 * include/rpc/svc_auth.h: Likewise.
41099 * include/rpc/xdr.h: Likewise.
41100 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41101 * nss/Makefile: Likewise.
41102 * sunrpc/Makefile: Don't install headers. Build library with normal
41103 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41104 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41105 for the compat linking library. Remove use of INTDEF/INTUSE.
41106 * sunrpc/auth_none.c: Likewise.
41107 * sunrpc/auth_unix.c: Likewise.
41108 * sunrpc/authdes_prot.c: Likewise.
41109 * sunrpc/authuxprot.c: Likewise.
41110 * sunrpc/clnt_gen.c: Likewise.
41111 * sunrpc/clnt_perr.c: Likewise.
41112 * sunrpc/clnt_raw.c: Likewise.
41113 * sunrpc/clnt_simp.c: Likewise.
41114 * sunrpc/clnt_tcp.c: Likewise.
41115 * sunrpc/clnt_udp.c: Likewise.
41116 * sunrpc/clnt_unix.c: Likewise.
41117 * sunrpc/des_crypt.c: Likewise.
41118 * sunrpc/des_soft.c: Likewise.
41119 * sunrpc/get_myaddr.c: Likewise.
41120 * sunrpc/key_call.c: Likewise.
41121 * sunrpc/key_prot.c: Likewise.
41122 * sunrpc/netname.c: Likewise.
41123 * sunrpc/pm_getmaps.c: Likewise.
41124 * sunrpc/pm_getport.c: Likewise.
41125 * sunrpc/pmap_clnt.c: Likewise.
41126 * sunrpc/pmap_prot.c: Likewise.
41127 * sunrpc/pmap_prot2.c: Likewise.
41128 * sunrpc/pmap_rmt.c: Likewise.
41129 * sunrpc/publickey.c: Likewise.
41130 * sunrpc/rpc_cmsg.c: Likewise.
41131 * sunrpc/rpc_common.c: Likewise.
41132 * sunrpc/rpc_dtable.c: Likewise.
41133 * sunrpc/rpc_prot.c: Likewise.
41134 * sunrpc/rpc_thread.c: Likewise.
41135 * sunrpc/rtime.c: Likewise.
41136 * sunrpc/svc.c: Likewise.
41137 * sunrpc/svc_auth.c: Likewise.
41138 * sunrpc/svc_authux.c: Likewise.
41139 * sunrpc/svc_raw.c: Likewise.
41140 * sunrpc/svc_run.c: Likewise.
41141 * sunrpc/svc_simple.c: Likewise.
41142 * sunrpc/svc_tcp.c: Likewise.
41143 * sunrpc/svc_udp.c: Likewise.
41144 * sunrpc/svc_unix.c: Likewise.
41145 * sunrpc/svcauth_des.c: Likewise.
41146 * sunrpc/xcrypt.c: Likewise.
41147 * sunrpc/xdr.c: Likewise.
41148 * sunrpc/xdr_array.c: Likewise.
41149 * sunrpc/xdr_float.c: Likewise.
41150 * sunrpc/xdr_intXX_t.c: Likewise.
41151 * sunrpc/xdr_mem.c: Likewise.
41152 * sunrpc/xdr_rec.c: Likewise.
41153 * sunrpc/xdr_ref.c: Likewise.
41154 * sunrpc/xdr_sizeof.c: Likewise.
41155 * sunrpc/xdr_stdio.c: Likewise.
41156
e6c61494
UD
411572011-04-10 Ulrich Drepper <drepper@gmail.com>
41158
41159 [BZ #12650]
41160 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41161 * sysdeps/ia64/dl-tls.h: Likewise.
41162 * sysdeps/powerpc/dl-tls.h: Likewise.
41163 * sysdeps/s390/dl-tls.h: Likewise.
41164 * sysdeps/sh/dl-tls.h: Likewise.
41165 * sysdeps/sparc/dl-tls.h: Likewise.
41166 * sysdeps/x86_64/dl-tls.h: Likewise.
41167 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41168
34fe483e
AS
411692011-03-14 Andreas Schwab <schwab@redhat.com>
41170
41171 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41172 rpath element also skip the following colon.
41173 (expand_dynamic_string_token): Add is_path parameter and pass
41174 down to DL_DST_REQUIRED and _dl_dst_substitute.
41175 (decompose_rpath): Call expand_dynamic_string_token with
41176 non-zero is_path. Ignore empty rpaths.
41177 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41178 with zero is_path.
41179
f12a32e6
AS
411802011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41181
41182 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41183 Make cancelable.
41184
38a7d692
UD
411852011-04-09 Ulrich Drepper <drepper@gmail.com>
41186
41187 [BZ #12655]
41188 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41189 Patch by Filipe David Manana <fdmanana@apache.org>.
41190
e451d22b
AS
411912011-04-07 Andreas Schwab <schwab@redhat.com>
41192
41193 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41194 Maintain aligned stack.
41195 (CHECK_RSP): Remove unused macro.
41196
dedc7c7b
UD
411972011-04-03 Ulrich Drepper <drepper@gmail.com>
41198
41199 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41200 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41201
94521213
UD
412022011-04-02 Ulrich Drepper <drepper@gmail.com>
41203
41204 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41205
8cb700c0 41206 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41207
0354e355
L
412082011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41209
41210 [BZ #12518]
41211 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41212 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41213 * sysdeps/x86_64/memmove.c: New file.
41214 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41215 (memcpy): Renamed to ...
41216 (__new_memcpy): This.
41217 (memcpy): Provide GLIBC_2_14 memcpy.
41218 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41219 (memcpy): Provide GLIBC_2_2_5 memcpy.
41220
8593482f
UD
412212011-04-01 Ulrich Drepper <drepper@gmail.com>
41222
41223 [BZ #12631]
41224 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41225
81a5726b
AS
412262011-03-30 Andreas Schwab <schwab@redhat.com>
41227
41228 * misc/syncfs.c: New file.
41229 * misc/Makefile (routines): Add syncfs.
41230 * posix/unistd.h: Declare syncfs.
41231 * sysdeps/unix/syscalls.list: Add syncfs.
41232
00e5419f
AS
412332011-04-01 Andreas Schwab <schwab@redhat.com>
41234
41235 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41236 open_by_handle_at.
41237 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41238 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41239 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41240 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41241 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41242 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41243 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41244
748876bf
UD
412452011-04-01 Ulrich Drepper <drepper@gmail.com>
41246
658e451d
UD
41247 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41248 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41249 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41250 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41251 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41252 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41253 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41254
748876bf
UD
41255 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41256 sync_file_range.c with -fexceptions.
41257 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41258 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41259 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41260 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41261 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41262 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41263 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41264 sync_file_range as cancellation point
41265 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41266 now a wrapper around __call_sync_file_range with cancellation handling.
41267 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41268 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41269 function name to __call_sync_file_range.
41270 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41271 Add call_sync_file_range.
748876bf 41272
6e63d5e1
AS
412732011-04-01 Andreas Schwab <schwab@redhat.com>
41274
41275 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41276 bits/timex.h.
6e63d5e1 41277
46998f74
UD
412782011-04-01 Ulrich Drepper <drepper@gmail.com>
41279
4c1423ed
UD
41280 * iconv/iconv.h: Fix typo in comment.
41281 * io/fcntl.h: Likewise.
41282 * libio/stdio.h: Likewise.
41283 * posix/spawn.h: Likewise.
41284 * posix/unistd.h: Likewise.
41285 * stdlib/stdlib.h: Likewise.
41286 * time/time.h: Likewise.
41287 * wcsmbs/wchar.h: Likewise.
41288
158648c0
UD
41289 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41290 open_by_handle): Add.
41291 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41292 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41293 Augment a few comments.
41294 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41295 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41296 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41297 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41298 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41299 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41300 open_by_handle.
41301
46998f74
UD
41302 * io/fcntl.h (AT_EMPTY_PATH): Define.
41303
83fe108b
UD
413042011-03-30 Ulrich Drepper <drepper@gmail.com>
41305
41306 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41307 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41308 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41309 to...
41310 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41311 * Versions.def: Add GLIBC_2.14.
41312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41313 Export.
83fe108b 41314
bb242059
UD
413152011-03-22 Ulrich Drepper <drepper@gmail.com>
41316
41317 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41318 round counter.
41319 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41320
c97a1282
L
413212011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41322
41323 [BZ #12597]
41324 * string/test-strncmp.c (do_page_test): New function.
41325 (check2): Likewise.
41326 (test_main): Call check2.
41327 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41328
2a115601
UD
413292011-03-20 Ulrich Drepper <drepper@gmail.com>
41330
41331 [BZ #12587]
41332 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41333 Handle cache information in CPU leaf 4.
41334 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41335
8126d904
UD
413362011-03-18 Ulrich Drepper <drepper@gmail.com>
41337
042c49c6 41338 [BZ #12583]
8126d904
UD
41339 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41340 character representation.
41341 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41342
ccfe366e
RA
413432011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41344
41345 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41346 END(__isnan) to END(__isnanf) to match function entry point/label
41347 EALIGN(__isnanf,...).
41348
c6e13027
JJ
413492011-03-10 Jakub Jelinek <jakub@redhat.com>
41350
41351 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41352
33f85a3f
UD
413532011-03-10 Ulrich Drepper <drepper@gmail.com>
41354
028478fa
UD
41355 [BZ #12510]
41356 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41357 copy from the symbol referenced in the relocation to initialize the
41358 used variable.
41359 Patch by Piotr Bury <pbury@goahead.com>.
41360 * elf/Makefile: Add rules to build and tst-unique3.
41361 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41362 * elf/tst-unique3.cc: New file.
41363 * elf/tst-unique3.h: New file.
41364 * elf/tst-unique3lib.cc: New file.
41365 * elf/tst-unique3lib2.cc: New file.
41366
33f85a3f
UD
41367 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41368
03592fc7
MF
413692011-03-10 Mike Frysinger <vapier@gentoo.org>
41370
41371 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41372 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41373 to _start.
03592fc7 41374
6a5ee102
UD
413752011-03-06 Ulrich Drepper <drepper@gmail.com>
41376
41377 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41378 to-be-loaded object along a path to loader is ld.so.
41379
7e4ba49c
HJ
413802011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41381 Ulrich Drepper <drepper@gmail.com>
41382
41383 * sysdeps/x86_64/memset.S: After aligning destination, code
41384 branches to different locations depending on the value of
41385 misalignment, when multiarch is enabled. Fix this.
41386
413872011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41388
41389 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41390 Set _x86_64_preferred_memory_instruction for AMD processsors.
41391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41392 Set bit_Prefer_SSE_for_memop for AMD processors.
41393
13a804de
UD
413942011-03-04 Ulrich Drepper <drepper@gmail.com>
41395
41396 * libio/fmemopen.c (fmemopen): Optimize a bit.
41397
9d25c392
AS
413982011-03-03 Andreas Schwab <schwab@redhat.com>
41399
41400 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41401
a5543c6a
RM
414022011-03-03 Roland McGrath <roland@redhat.com>
41403
41404 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41405
012d35f7
DM
414062011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41407
7e4ba49c 41408 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41409 __bzero_ultra1 instead of __memset_ultra1.
41410
4bff6e01
AS
414112011-02-23 Andreas Schwab <schwab@redhat.com>
41412 Ulrich Drepper <drepper@gmail.com>
41413
41414 [BZ #12509]
41415 * include/link.h (struct link_map): Add l_orig_initfini.
41416 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41417 returning unsuccessfully.
41418 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41419 close of a file loaded at startup, restore the original l_initfini
41420 list.
41421 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41422 list, store the pointer.
41423 * elf/Makefile ($(objpfx)noload-mem): New rule.
41424 (noload-ENV): Define.
41425 (tests): Add $(objpfx)noload-mem.
41426 * elf/noload.c: Include <memcheck.h>.
41427 (main): Call mtrace. Close all opened handles.
41428
f2092faf
AS
414292011-02-17 Andreas Schwab <schwab@redhat.com>
41430
41431 [BZ #12454]
41432 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41433 dependencies are missing.
41434
6c8a2e88
ST
414352011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41436
f2092faf 41437 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41438 Hurd needs munmap.
41439 * sysdeps/mach/hurd/ifreq.h: New file.
41440
84a42118
PB
414412011-01-27 Petr Baudis <pasky@suse.cz>
41442 Ulrich Drepper <drepper@gmail.com>
41443
071f805e 41444 [BZ 12445]#
84a42118
PB
41445 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41446 to extend_alloca().
41447 * stdio-common/bug23.c: New file.
41448 * stdio-common/Makefile (tests): Add bug23.
41449
e23fe25b
AS
414502010-09-28 Andreas Schwab <schwab@redhat.com>
41451 Ulrich Drepper <drepper@gmail.com>
41452
41453 [BZ #12489]
41454 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41455 before performing relro protection. At old place add assertion
41456 to make sure nothing changed.
41457
d3f02e10
NS
414582011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41459 Glauber de Oliveira Costa <glommer@gmail.com>
41460
41461 * elf/elf.h: Add new ARM TLS relocs.
41462
d55fd7a5
RA
414632011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41464
41465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41466 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41467 cast from r3.
41468 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41469 'tests' variable.
41470 * sysdeps/wordsize-64/tst-writev.c: New file.
41471
2206397e
RA
414722011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41473
41474 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41475 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41476 insns in _dl_start to prevent a TOC reference before relocs are
41477 resolved.
41478
e9433893
UD
414792011-02-15 Ulrich Drepper <drepper@gmail.com>
41480
41481 [BZ #12469]
41482 * Makeconfig: Remove RANLIB definition.
41483 * Makerules: Don't use RANLIB.
41484 * aclocal.m4: Remove ranlib test.
41485 * configure.in: No need to check for ranlib.
41486 * elf/rtld-Rules: Don't use RANLIB.
41487
f75286c6
ST
414882011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41489
8e31c82d
ST
41490 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41491 protection macro.
41492 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41493 inclusion protection macro.
41494
f75286c6
ST
41495 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41496 SIGRTMIN and SIGRTMAX and print information in that case only when
41497 SIGRTMIN is defined.
41498
c1d0e639
JJ
414992011-02-11 Jakub Jelinek <jakub@redhat.com>
41500
41501 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41502 arginfo fn returning -1.
41503
41504 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41505 and thousands string is zero terminated.
41506
edf9294e
AS
415072011-02-03 Andreas Schwab <schwab@redhat.com>
41508
41509 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41510 sysdeps/unix/sysv/linux/bits/socket.h.
41511
2b7e92df
ST
415122011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41513
edf9294e
AS
41514 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41515 (__CPU_COUNT): Remove old macros.
41516 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41517 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41518 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41519 (__sched_cpualloc, __sched_cpufree): Add declarations.
41520
a4c7ea7b
UD
415212011-02-05 Ulrich Drepper <drepper@gmail.com>
41522
41523 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41524 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41525 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41526 (readdhstai): Return value of addhstaiX call.
41527 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41528 (addgrbyX): Return value returned by cache_addgr.
41529 (readdgrbyname): Return value returned by addgrbyX.
41530 (readdgrbygid): Likewise.
41531 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41532 (addpwbyX): Return value returned by cache_addpw.
41533 (readdpwbyname): Return value returned by addhstbyX.
41534 (readdpwbyuid): Likewise.
41535 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41536 (addservbyX): Return value returned by cache_addserv.
41537 (readdservbyname): Return value returned by addservbyX:
41538 (readdservbyport): Likewise.
41539 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41540 (addhstbyX): Return value returned by cache_addhst.
41541 (readdhstbyname): Return value returned by addhstbyX.
41542 (readdhstbyaddr): Likewise.
41543 (readdhstbynamev6): Likewise.
41544 (readdhstbyaddrv6): Likewise.
41545 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41546 (readdinitgroups): Return value returned by addinitgroupsX.
41547 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41548 (prune_cache): Keep track of timeout value of re-added entries.
41549 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41550 * nscd/nscd.h: Adjust prototypes of readd* functions.
41551
a0bf67cc
RM
415522011-02-04 Roland McGrath <roland@redhat.com>
41553
41554 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41555 (nis_stats): Likewise.
41556 * nis/nis_modify.c (nis_modify): Likewise.
41557 * nis/nis_remove.c (nis_remove): Likewise.
41558 * nis/nis_add.c (nis_add): Likewise.
41559
41560 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41561
41562 * posix/fnmatch_loop.c: Add some consts.
41563
41564 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41565
435b95eb
L
415662011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41567
41568 [BZ #12460]
41569 * config.make.in (config-cflags-novzeroupper): Define.
41570 * configure.in: Substitute libc_cv_cc_novzeroupper.
41571 * elf/Makefile (AVX-CFLAGS): Define.
41572 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41573 (CFLAGS-tst-auditmod4a.c): Likewise.
41574 (CFLAGS-tst-auditmod4b.c): Likewise.
41575 (CFLAGS-tst-auditmod6b.c): Likewise.
41576 (CFLAGS-tst-auditmod6c.c): Likewise.
41577 (CFLAGS-tst-auditmod7b.c): Likewise.
41578 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41579
8517b15e
UD
415802011-02-02 Ulrich Drepper <drepper@gmail.com>
41581
41582 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41583 function to the callback.
41584 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41585
10a656fe
AS
415862011-02-02 Andreas Schwab <schwab@redhat.com>
41587
41588 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41589 of errno.
41590
968dad0a
UD
415912011-01-19 Ulrich Drepper <drepper@gmail.com>
41592
9f94d2ea 41593 [BZ #11724]
968dad0a
UD
41594 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41595 of constructors.
41596 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41597 of destructors.
41598 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41599
41600 [BZ #11724]
41601 * elf/Makefile: Add rules to build and run new test.
41602 * elf/tst-initorder.c: New file.
41603 * elf/tst-initorder.exp: New file.
41604 * elf/tst-initordera1.c: New file.
41605 * elf/tst-initordera2.c: New file.
41606 * elf/tst-initordera3.c: New file.
41607 * elf/tst-initordera4.c: New file.
41608 * elf/tst-initorderb1.c: New file.
41609 * elf/tst-initorderb2.c: New file.
41610 * elf/tst-order-a1.c: New file.
41611 * elf/tst-order-a2.c: New file.
41612 * elf/tst-order-a3.c: New file.
41613 * elf/tst-order-a4.c: New file.
41614 * elf/tst-order-b1.c: New file.
41615 * elf/tst-order-b2.c: New file.
41616 * elf/tst-order-main.c: New file.
41617 New test case by George Gensure <werkt0@gmail.com>.
41618
86e92359
UD
416192010-10-01 Andreas Schwab <schwab@redhat.com>
41620
41621 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41622 decoding ACE if AI_CANONIDN.
41623
5d5732b0
UD
416242011-01-18 Ulrich Drepper <drepper@gmail.com>
41625
41626 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41627
a77e8cbc
UD
416282011-01-17 Ulrich Drepper <drepper@gmail.com>
41629
6392473f
UD
41630 * version.h (RELEASE): Bump for 2.13 release.
41631 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41632
620a0529
UD
41633 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41634
18ba70a5
UD
41635 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41636 MADV_NOHUGEPAGE.
32465c3e
UD
41637 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41638 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41639 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41640 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41641 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41642 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41643
c0dafcf1
UD
41644 * posix/getconf.c: Update copyright year.
41645 * catgets/gencat.c: Likewise.
41646 * csu/version.c: Likewise.
41647 * debug/catchsegv.sh: Likewise.
41648 * debug/xtrace.sh: Likewise.
41649 * elf/ldconfig.c: Likewise.
41650 * elf/ldd.bash.in: Likewise.
41651 * elf/sprof.c (print_version): Likewise.
41652 * iconv/iconv_prog.c: Likewise.
41653 * iconv/iconvconfig.c: Likewise.
41654 * locale/programs/locale.c: Likewise.
41655 * locale/programs/localedef.c: Likewise.
41656 * malloc/memusage.sh: Likewise.
41657 * malloc/mtrace.pl: Likewise.
41658 * nscd/nscd.c (print_version): Likewise.
41659 * nss/getent.c: Likewise.
41660
a77e8cbc
UD
41661 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41662 PF_CAIF, and PF_ALG.
41663 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41664
77e8bddf
AS
416652011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41666
1f20b93a
AS
41667 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41668 (modules-names): Use them.
41669 (ifunc-test-modules, ifunc-pie-tests): Define.
41670 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41671 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41672 (test-extras): Likewise.
41673 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41674 $(compile-command.c).
41675 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41676 (all-built-dso): Define.
41677 (check-textrel.out, check-execstack.out): Depend on it.
41678
77e8bddf
AS
41679 * configure.in: Don't override --enable-multi-arch.
41680
bc425b33
UD
416812011-01-15 Ulrich Drepper <drepper@gmail.com>
41682
41683 [BZ #6812]
41684 * nscd/hstcache.c (tryagain): Define.
41685 (cache_addhst): Return tryagain not notfound for temporary errors.
41686 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41687 failed.
41688
794c3ad3
UD
416892011-01-14 Ulrich Drepper <drepper@gmail.com>
41690
70181fdd
UD
41691 [BZ #10563]
41692 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41693 to make the syscall.
41694 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41695
794c3ad3
UD
41696 [BZ #12378]
41697 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41698 and fall back to matching as normal character if the string ends before
41699 the matching ']' is found. This is what POSIX requires.
41700 * posix/testfnm.c: Adjust test result.
41701 * posix/globtest.sh: Adjust test result. Add new test.
41702 * posix/tst-fnmatch.input: Likewise.
41703 * posix/tst-fnmatch2.c: Add new test.
41704
68dc9497
AS
417052010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41706
41707 * elf/Makefile (check-execstack): Revert last change. Depend on
41708 check-execstack.h.
41709 (check-execstack.h): New target.
41710 (generated): Add check-execstack.h.
41711 * elf/check-execstack.c: Include "check-execstack.h".
41712 (main): Revert last change.
41713 (handle_file): Return zero if GNU_STACK is absent and
41714 DEFAULT_STACK_PERMS doesn't include PF_X.
41715
451f001b
UD
417162011-01-13 Ulrich Drepper <drepper@gmail.com>
41717
cfa28e56
UD
41718 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41719 in child fails because the descriptor is already closed.
8cf8ce17
UD
41720 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41721 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41722 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41723
1086d70d
UD
41724 [BZ #12397]
41725 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41726 syscall.
41727
451f001b
UD
41728 [BZ #10484]
41729 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41730 temporary buffer used to handle multi lookups locally.
a85b5cb4 41731 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41732
08769175
UD
417332011-01-12 Ulrich Drepper <drepper@gmail.com>
41734
41735 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41736 loader is ld.so.
41737
5e49c52e
UD
417382011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41739
41740 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41741 alignment for SSE2.
41742
60522a5f
UD
417432011-01-12 Ulrich Drepper <drepper@gmail.com>
41744
41745 [BZ #12394]
41746 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41747 characters. When rounding increased number of integer digits recompute
41748 number of groups.
41749 * stdio-common/tst-grouping.c: New file.
41750 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41751
f257bbd7
UD
417522011-01-09 Ulrich Drepper <drepper@gmail.com>
41753
41754 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41755 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41756
41757 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41758 void.
41759 * bits/select.h: Likewise.
41760
fa9c15cb
UD
417612011-01-08 Ulrich Drepper <drepper@gmail.com>
41762
41763 * po/ja.po: Update from translation team.
41764
16c2895f
DM
417652011-01-04 David S. Miller <davem@sunset.davemloft.net>
41766
41767 [BZ #11155]
41768 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41769 implementation just like for lxstat, fxstatat, et al.
41770
2543fef2
JM
417712010-12-27 Jim Meyering <meyering@redhat.com>
41772
41773 [BZ #12348]
41774 * posix/regexec.c (build_trtable): Return failure indication upon
41775 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41776
98727dbe
UD
417772010-12-25 Ulrich Drepper <drepper@gmail.com>
41778
5bd6dc5c
UD
41779 [BZ #12201]
41780 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41781 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41782 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41783 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41784
97983464
UD
41785 [BZ #12207]
41786 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41787
98727dbe
UD
41788 [BZ #12204]
41789 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41790 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41791
4a531bb0
L
417922010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41793
41794 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41795 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41796 script has SORT_BY_INIT_PRIORITY.
41797 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41798 NO_CTORS_DTORS_SECTIONS is defined.
41799 * elf/soinit.c: Likewise.
41800 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41801 NO_CTORS_DTORS_SECTIONS is defined.
41802 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41803 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41804 * sysdeps/sh/init-first.c: Likewise.
41805 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41806
07eb4b71
UD
418072010-12-24 Ulrich Drepper <drepper@gmail.com>
41808
41809 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41810 always use the slow path.
41811
30950a5f
RA
418122010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41813
41814 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41815 similar rule which adds the sysdep directories to the header search in
41816 order to pick up the correct platform stackinfo.h.
41817 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41818 perform test if it is, otherwise return successfully without testing.
41819 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41820 DEFAULT_STACK_PERMS define in stackinfo.h.
41821 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41822 defined in stackinfo.h.
41823 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41824 DEFAULT_STACK_PERMS defined in stackinfo.h.
41825 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41826 * sysdeps/ia64/stackinfo.h: Likewise.
41827 * sysdeps/s390/stackinfo.h: Likewise.
41828 * sysdeps/sh/stackinfo.h: Likewise.
41829 * sysdeps/sparc/stackinfo.h: Likewise.
41830 * sysdeps/x86_64/stackinfo.h: Likewise.
41831 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41832 PF_X for powerpc64. Retain PF_X for powerpc32.
41833
db753e2c
UD
418342010-12-19 Ulrich Drepper <drepper@gmail.com>
41835
14b697f7
UD
41836 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41837 accurately.
db753e2c
UD
41838 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41839 GETDENTS_64BIT_ALIGNED.
41840
28300719
UD
418412010-12-14 Ulrich Drepper <dreper@gmail.com>
41842
14b697f7 41843 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41844
4f197237
AS
418452010-12-10 Andreas Schwab <schwab@redhat.com>
41846
dbb0472f
AS
41847 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41848 _GNU_SOURCE.
41849
4f197237
AS
41850 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41851 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41852 Remove __restrict.
41853 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41854 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41855
fb88ac72
UD
418562010-12-09 Ulrich Drepper <drepper@gmail.com>
41857
41858 [BZ #11655]
41859 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41860 are initialized.
41861
42acbb92
JJ
418622010-12-09 Jakub Jelinek <jakub@redhat.com>
41863
41864 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41865
c038d98d
UD
418662010-12-03 Ulrich Drepper <drepper@gmail.com>
41867
41868 * po/it.po: Update from translation team.
41869
3a4a2499
L
418702010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41871
41872 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41873 unused codes.
41874
1e24cf6e
UD
418752010-11-30 Ulrich Drepper <drepper@gmail.com>
41876
41877 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41878
a7690819
AS
418792010-11-24 Andreas Schwab <schwab@redhat.com>
41880
41881 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41882 specially.
41883 (gaih_getanswer_slice): Likewise.
41884
3bf8d1b1
JJ
418852010-10-20 Jakub Jelinek <jakub@redhat.com>
41886
41887 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41888
6db52fbb
PB
418892010-05-31 Petr Baudis <pasky@suse.cz>
41890
41891 [BZ #11149]
41892 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41893 silently even in the chroot mode.
41894
eaca7569
UD
418952010-11-22 Ulrich Drepper <drepper@gmail.com>
41896
41897 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41898 last patch a bit. Pretty printing
41899
3056dcdb
UD
419002010-05-31 Petr Baudis <pasky@suse.cz>
41901
41902 [BZ #10085]
41903 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41904 initialization of skip_initgroups_dyn.
41905
cf7c9078
UD
419062010-11-19 Ulrich Drepper <drepper@gmail.com>
41907
41908 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41909 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41910
a1fb5e3e
UD
419112010-11-16 Ulrich Drepper <drepper@gmail.com>
41912
41913 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41914
3540d66b
AS
419152010-11-11 Andreas Schwab <schwab@redhat.com>
41916
41917 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41918 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41919 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41920 ($(objpfx)tst-fnmatch-mem): New rule.
41921 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41922 * posix/tst-fnmatch.c (main): Call mtrace.
41923
13b69574
L
419242010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41925
41926 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41927 Support Intel processor model 6 and model 0x2c.
41928
da93d214
LM
419292010-11-10 Luis Machado <luisgpm@br.ibm.com>
41930
41931 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41932 signed comparison.
41933
8ca52c6e
L
419342010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41935
41936 [BZ #12205]
41937 * string/test-strncasecmp.c (check_result): New function.
41938 (do_one_test): Use it.
41939 (check1): New function.
41940 (test_main): Use it.
41941 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41942 Support strcasecmp and strncasecmp.
41943
69da074d
UD
419442010-11-08 Ulrich Drepper <drepper@gmail.com>
41945
41946 [BZ #12194]
41947 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41948 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41949
ff02d528
L
419502010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41951
41952 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41953 IFUNC support.
41954 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41955 memset-x86-64.
41956 * sysdeps/x86_64/multiarch/bzero.S: New file.
41957 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
41958 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
41959 * sysdeps/x86_64/multiarch/memset.S: New file.
41960 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
41961 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41962 Set bit_Prefer_SSE_for_memop for Intel processors.
41963 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
41964 Define.
41965 (index_Prefer_SSE_for_memop): Define.
41966 (HAS_PREFER_SSE_FOR_MEMOP): Define.
41967
344d0b54
LM
419682010-11-04 Luis Machado <luisgpm@br.ibm.com>
41969
41970 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
41971 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
41972
c0dde15b
UD
419732010-11-03 H.J. Lu <hongjiu.lu@intel.com>
41974
41975 [BZ #12191]
41976 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41977 (__x86_64_raw_data_cache_size_half): Likewise.
41978 (__x86_64_raw_shared_cache_size): Likewise.
41979 (__x86_64_raw_shared_cache_size_half): Likewise.
41980
41981 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
41982 (__x86_64_raw_data_cache_size_half): Likewise.
41983 (__x86_64_raw_shared_cache_size): Likewise.
41984 (__x86_64_raw_shared_cache_size_half): Likewise.
41985 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
41986 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
41987 and __x86_64_raw_shared_cache_size_half. Round
41988 __x86_64_data_cache_size_half, __x86_64_data_cache_size
41989 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
41990 to multiple of 256 bytes.
41991
0e516e0e
MS
419922010-11-03 Ulrich Drepper <drepper@gmail.com>
41993
41994 [BZ #12167]
41995 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
41996 of inacessible symlinks. Verify result of symlink before returning it.
41997 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
41998 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
41999
0e012e87
ER
420002010-10-28 Erich Ritz <erichritz@gmail.com>
42001
42002 * math/math.h (isinf): Fix typo in comment.
42003
de0ff7bc
UD
420042010-11-01 Ulrich Drepper <drepper@gmail.com>
42005
42006 * po/da.po: Update from translation team.
42007
fa41c84d
UD
420082010-10-26 Ulrich Drepper <drepper@gmail.com>
42009
42010 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42011 is added to the list.
42012
f0967738
AK
420132010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42014 Ulrich Drepper <drepper@gmail.com>
42015
42016 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42017 the global list here. Move code to...
42018 (_dl_add_to_namespace_list): ...here. New function.
42019 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42020 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42021 * elf/dl-load.c (lose): Don't remove the element from the list.
42022 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42023 (_dl_map_object): Likewise.
42024
420252010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42026
42027 [BZ #12159]
42028 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42029 into all bytes of SSE register.
42030 Patch by Richard Li <richardpku@gmail.com>.
42031
f0967738 420322010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42033
42034 [BZ #12140]
42035 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42036 perturbing.
42037
d0b9e94f
MB
420382010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42039
42040 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42041 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42042 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42043 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42044 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42045 submachine.
42046 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42047
8e9f92e9
AS
420482010-10-22 Andreas Schwab <schwab@redhat.com>
42049
42050 * include/dlfcn.h (__RTLD_SECURE): Define.
42051 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42052 mode & __RTLD_SECURE instead.
42053 (open_path): Rename preloaded parameter to secure.
42054 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42055 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42056 * elf/dl-deps.c (openaux): Likewise.
42057 * elf/rtld.c (struct map_args): Remove is_preloaded.
42058 (map_doit): Don't use it.
42059 (dl_main): Likewise.
42060 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42061 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42062
bc96fbda
AS
420632010-09-09 Andreas Schwab <schwab@redhat.com>
42064
42065 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42066 (sysd-rules-targets): Remove duplicates.
42067 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42068 rtld-%.$o dependency.
42069
22cd1c9b
AS
420702010-10-18 Andreas Schwab <schwab@redhat.com>
42071
42072 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42073 _dl_map_object do it.
42074
18edac48
UD
420752010-10-19 Ulrich Drepper <drepper@gmail.com>
42076
42077 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42078 fast fma builtins, define the macros in the C99 standard.
42079 (FP_FAST_FMAF): Likewise.
42080 (FP_FAST_FMAL): Likewise.
42081 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42082
42083 * bits/mathdef.h: Update copyright year.
42084 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42085
d2050124
MM
420862010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42087
42088 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42089 builtins, define the macros in the C99 standard.
42090 (FP_FAST_FMAF): Likewise.
42091 (FP_FAST_FMAL): Likewise.
42092 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42093 multiply/add.
42094 (FP_FAST_FMAF): Likewise.
42095
475facd1
JJ
420962010-10-15 Jakub Jelinek <jakub@redhat.com>
42097
42098 [BZ #3268]
42099 * math/libm-test.inc (fma_test): Some new testcases.
42100 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42101 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42102 y and infinite z. Do multiplication by C already in long double.
42103 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42104 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42105 y and infinite z. Do bitwise or of inexact bit into u.d.
42106 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42107 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42108 * sysdeps/i386/fpu/s_fma.S: Removed.
42109 * sysdeps/i386/fpu/s_fmal.S: Removed.
42110
7c08a05c
JJ
421112010-10-16 Jakub Jelinek <jakub@redhat.com>
42112
42113 [BZ #3268]
42114 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42115 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42116 computation is not scheduled after fetestexcept. Fix value
42117 of minimum denormal long double.
42118
f3f7372d
JJ
421192010-10-14 Jakub Jelinek <jakub@redhat.com>
42120
42121 [BZ #3268]
42122 * math/libm-test.inc (fma_test): Add some more tests.
42123 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42124 correctly.
42125
14d43591
AS
421262010-10-15 Andreas Schwab <schwab@redhat.com>
42127
42128 * scripts/data/localplt-s390-linux-gnu.data: New file.
42129 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42130
5e908464
JJ
421312010-10-13 Jakub Jelinek <jakub@redhat.com>
42132
42133 [BZ #3268]
42134 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42135 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42136 instead of dbl-64.
42137 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42138 inlines.
42139 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42140 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42141 if one of x and y is very large and the other is subnormal.
42142 * sysdeps/s390/fpu/s_fmaf.c: New file.
42143 * sysdeps/s390/fpu/s_fma.c: New file.
42144 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42145 * sysdeps/powerpc/fpu/s_fma.S: New file.
42146 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42147 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42148 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42149
421502010-10-12 Jakub Jelinek <jakub@redhat.com>
42151
42152 [BZ #3268]
42153 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42154 fma tests.
42155 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42156 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42157 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42158 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42159 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42160 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42161 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42162
b833d51f
UD
421632010-10-12 Ulrich Drepper <drepper@redhat.com>
42164
42165 [BZ #12078]
42166 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42167 * posix/bug-regex31.input: Add test case.
42168
1751705d
UD
421692010-10-11 Ulrich Drepper <drepper@gmail.com>
42170
e9b9cbf5
UD
42171 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42172 * posix/bug-regex31.input: New file.
42173
42174 [BZ #12078]
42175 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42176 (parse_sub_exp): Fix last change, use postorder.
42177
ef06edbe
UD
42178 * posix/bug-regex31.c: New file.
42179 * posix/Makefile: Add rules to build and run bug-regex31.
42180
a129c80d
UD
42181 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42182
42183 [BZ #12078]
42184 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42185
b76b818e
UD
42186 [BZ #12108]
42187 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42188 to have entries in sys_siglist.
42189
1751705d
UD
42190 [BZ #12093]
42191 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42192 be NULL.
42193
9ff8d36f
JJ
421942010-10-07 Jakub Jelinek <jakub@redhat.com>
42195
42196 [BZ #3268]
42197 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42198 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42199 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42200 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42201 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42202 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42203 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42204 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42205 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42206 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42207 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42208 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42209 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42210 * math/ftestexcept.c (fetestexcept): Likewise.
42211 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42212 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42213 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42214 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42215 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42216 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42217 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42218
af325969
UD
422192010-10-11 Ulrich Drepper <drepper@gmail.com>
42220
c579b202 42221 [BZ #12107]
af325969
UD
42222 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42223 newline.
42224
67a67b95
UD
422252010-10-06 Ulrich Drepper <drepper@gmail.com>
42226
42227 * string/bug-strstr1.c: New file.
42228 * string/Makefile: Add rules to build and run bug-strstr1.
42229
5fb308bc
EB
422302010-10-05 Eric Blake <eblake@redhat.com>
42231
42232 [BZ #12092]
42233 * string/str-two-way.h (two_way_long_needle): Always clear memory
42234 when skipping input due to the shift table.
42235
45db99c7
UD
422362010-10-03 Ulrich Drepper <drepper@gmail.com>
42237
3b111893
UD
42238 [BZ #12005]
42239 * malloc/mcheck.c: Handle large requests.
42240
45db99c7
UD
42241 [BZ #12077]
42242 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42243 for strncmp and strncasecmp.
42244 * string/stratcliff.c: Add tests for strcmp and strncmp.
42245 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42246
cf7a1eb8
NI
422472010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42248
42249 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42250 __set_fpscr.
42251
6484ba5e
AJ
422522010-09-30 Andreas Jaeger <aj@suse.de>
42253
42254 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42255 (CGROUP_SUPER_MAGIC): Define.
42256 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42257 Handle btrfs and cgroup file systems.
42258 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42259 Likewise.
42260
91c42559
LM
422612010-09-27 Luis Machado <luisgpm@br.ibm.com>
42262
42263 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42264 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42265
87a97932
AK
422662010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42267
42268 [BZ #12067]
42269 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42270 trying to locate the ELF header.
42271
c21cc9bc
AS
422722010-09-27 Andreas Schwab <schwab@redhat.com>
42273
42274 [BZ #11611]
42275 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42276 Mask out sign-bit copies when constructing f_fsid.
42277
315970f6
PB
422782010-09-24 Petr Baudis <pasky@suse.cz>
42279
42280 * debug/stack_chk_fail_local.c: Add missing licence exception.
42281 * debug/warning-nop.c: Likewise.
42282
1ac7a2c7
JM
422832010-09-15 Joseph Myers <joseph@codesourcery.com>
42284
42285 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42286 implementing getdents64 using getdents syscall, set d_type if
42287 __ASSUME_GETDENTS32_D_TYPE.
42288
56801c50
AS
422892010-09-16 Andreas Schwab <schwab@redhat.com>
42290
42291 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42292 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42293
dda51327
UD
422942010-09-21 Ulrich Drepper <drepper@redhat.com>
42295
42296 [BZ #12037]
42297 * posix/unistd.h: Undo change of feature selection for ftruncate from
42298 2010-01-11.
42299
8ffcee4a
UD
423002010-09-20 Ulrich Drepper <drepper@redhat.com>
42301
a545ecd9 42302 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42303 detection.
42304
e24f0a8b
AS
423052010-09-20 Andreas Schwab <schwab@redhat.com>
42306
42307 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42308 fanotify_mark.
42309 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42310
7291c56f
AS
423112010-09-14 Andreas Schwab <schwab@redhat.com>
42312
42313 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42314 variables after CHECK_SP call.
42315 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42316
bc5fb037
AS
423172010-09-13 Andreas Schwab <schwab@redhat.com>
42318 Ulrich Drepper <drepper@redhat.com>
42319
42320 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42321 re-relocationg ld.so.
42322 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42323 _dl_init_paths call.
42324 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42325 here anymore.
42326
e66e7419
UD
423272010-09-14 Ulrich Drepper <drepper@redhat.com>
42328
42329 * resolv/res_init.c (__res_vinit): Count the default server we added.
42330
c044aa75
CLT
423312010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42332 Ulrich Drepper <drepper@redhat.com>
42333
42334 [BZ #11968]
42335 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42336 (____longjmp_chk): Use %ebx for saving value across system call.
42337 Add unwind info.
42338
32cf4069
AS
423392010-09-06 Andreas Schwab <schwab@redhat.com>
42340
42341 * manual/Makefile: Don't mix pattern rules with normal rules.
42342
817328ee
AS
423432010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42344
42345 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42346 operation.
42347 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42348 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42349 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42350 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42351 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42352 Likewise.
42353
29fddf61
UD
423542010-09-04 Ulrich Drepper <drepper@redhat.com>
42355
42356 [BZ #11979]
42357 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42358 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42359
0959ffc9
UD
423602010-09-02 Ulrich Drepper <drepper@redhat.com>
42361
42362 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42363 * sysdeps/x86_64/addmul_1.S: Likewise.
42364 * sysdeps/x86_64/lshift.S: Likewise.
42365 * sysdeps/x86_64/mul_1.S: Likewise.
42366 * sysdeps/x86_64/rshift.S: Likewise.
42367 * sysdeps/x86_64/sub_n.S: Likewise.
42368 * sysdeps/x86_64/submul_1.S: Likewise.
42369
ece29840
ST
423702010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42371
0959ffc9
UD
42372 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42373 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42374 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42375 * bits/sched.h [__need_schedparam]
ece29840 42376 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42377 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42378 (__defined_schedparam): Define to 1.
ece29840
ST
42379 (__sched_param): New structure, identical to sched_param.
42380 (__need_schedparam): Undefine.
42381
e53a31fe
MF
423822010-08-31 Mike Frysinger <vapier@gentoo.org>
42383
fdc0c10d
MF
42384 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42385 (epoll_create1): Declare.
42386
e53a31fe
MF
42387 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42388
a726d796
AS
423892010-08-31 Andreas Schwab <schwab@redhat.com>
42390
42391 [BZ #7066]
42392 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42393 shifting retval into place.
42394
2f3e3dc7
UD
423952010-09-01 Ulrich Drepper <drepper@redhat.com>
42396
f2933da9
UD
42397 * nis/rpcsvc/nis.h: Update copyright notice.
42398 * nis/rpcsvc/nis.x: Likewise.
42399 * nis/rpcsvc/nis_callback.h: Likewise.
42400 * nis/rpcsvc/nis_callback.x: Likewise.
42401 * nis/rpcsvc/nis_object.x: Likewise.
42402 * nis/rpcsvc/nis_tags.h: Likewise.
42403 * nis/rpcsvc/yp.h: Likewise.
42404 * nis/rpcsvc/yp.x: Likewise.
42405 * nis/rpcsvc/ypupd.h: Likewise.
42406 * nis/yp_xdr.c: Likewise.
42407 * nis/ypupdate_xdr.c: Likewise.
42408
2f3e3dc7
UD
42409 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42410 mainly the body of pmap_getport. Add parameters to specify timeouts.
42411 (pmap_getport): Use __libc_rpc_getport.
42412 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42413 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42414 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42415
f3dcc2f9
AS
424162010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42417
42418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42419 fanotify_mark.
42420
6d34eb5b
RM
424212010-08-27 Roland McGrath <roland@redhat.com>
42422
42423 * sysdeps/i386/i686/multiarch/Makefile
42424 (CFLAGS-varshift.c): New variable.
42425
9ea3de11
UD
424262010-08-27 Ulrich Drepper <drepper@redhat.com>
42427
c96d23fc
UD
42428 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42429 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42430
9ea3de11
UD
42431 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42432
42433 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42434
623aac7f
L
424352010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42436
42437 * sysdeps/x86_64/strlen.S: Unroll the loop.
42438 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42439 strlen-sse2 strlen-sse2-bsf.
42440 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42441 __strlen_no_bsf if bit_Slow_BSF is set.
42442 (__strlen_sse42): Removed.
42443 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42444 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42445
8b2b7715
RM
424462010-08-25 Roland McGrath <roland@redhat.com>
42447
42448 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42449 * sysdeps/x86_64/multiarch/varshift.c: New file.
42450 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42451 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42452 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42453 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42454
e73015f2
L
424552010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42456
42457 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42458 strlen-sse2 strlen-sse2-bsf.
42459 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42460 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42461 (__strlen_sse2): Removed.
42462 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42463 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42464 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42465 bit_Slow_BSF for Atom.
42466 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42467 (index_Slow_BSF): Define.
42468 (HAS_SLOW_BSF): Define.
42469
df24a73e
UD
424702010-08-25 Ulrich Drepper <drepper@redhat.com>
42471
42472 [BZ #10851]
42473 * resolv/res_init.c (__res_vinit): When no server address at all
42474 is given default to loopback.
42475
f2ac4868
RM
424762010-08-24 Roland McGrath <roland@redhat.com>
42477
09055553
RM
42478 * configure.in: Remove config-name.h generation.
42479 * configure: Regenerated.
42480 * config-name.in: File removed.
42481 * scripts/config-uname.sh: New file.
42482 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42483 ($(objdir)config-name.h): New target.
42484
f2ac4868
RM
42485 * sunrpc/rpc_parse.h: Avoid nested comment.
42486
73f27d5e
RH
424872010-08-24 Richard Henderson <rth@redhat.com>
42488 Ulrich Drepper <drepper@redhat.com>
42489 H.J. Lu <hongjiu.lu@intel.com>
42490
42491 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42492 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42493 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42494 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42495 _mm_alignr_epi8 with _mm_loadu_si128.
42496 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42497 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42498 (__m128i_shift_right): Removed.
42499 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42500 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42501 * sysdeps/x86_64/multiarch/varshift.h: New file.
42502 * sysdeps/x86_64/multiarch/varshift.S: New file.
42503
84b9230c
MF
425042010-08-21 Mike Frysinger <vapier@gentoo.org>
42505
42506 * configure.in: Move assembler checks to before sysdep dir checking.
42507
9bbd0ddc
PB
425082010-08-20 Petr Baudis <pasky@suse.cz>
42509
42510 * LICENSES: Sync the sunrpc license.
42511
9da4bb31
UD
425122010-08-19 Ulrich Drepper <drepper@redhat.com>
42513
a7ab6ec8
UD
42514 * sunrpc/auth_des.c: Update copyright notice once again.
42515 * sunrpc/auth_none.c: Likewise.
42516 * sunrpc/auth_unix.c: Likewise.
42517 * sunrpc/authdes_prot.c: Likewise.
42518 * sunrpc/authuxprot.c: Likewise.
42519 * sunrpc/bindrsvprt.c: Likewise.
42520 * sunrpc/clnt_gen.c: Likewise.
42521 * sunrpc/clnt_perr.c: Likewise.
42522 * sunrpc/clnt_raw.c: Likewise.
42523 * sunrpc/clnt_simp.c: Likewise.
42524 * sunrpc/clnt_tcp.c: Likewise.
42525 * sunrpc/clnt_udp.c: Likewise.
42526 * sunrpc/clnt_unix.c: Likewise.
42527 * sunrpc/des_crypt.c: Likewise.
42528 * sunrpc/des_soft.c: Likewise.
42529 * sunrpc/get_myaddr.c: Likewise.
42530 * sunrpc/getrpcport.c: Likewise.
42531 * sunrpc/key_call.c: Likewise.
42532 * sunrpc/key_prot.c: Likewise.
42533 * sunrpc/openchild.c: Likewise.
42534 * sunrpc/pm_getmaps.c: Likewise.
42535 * sunrpc/pm_getport.c: Likewise.
42536 * sunrpc/pmap_clnt.c: Likewise.
42537 * sunrpc/pmap_prot.c: Likewise.
42538 * sunrpc/pmap_prot2.c: Likewise.
42539 * sunrpc/pmap_rmt.c: Likewise.
42540 * sunrpc/rpc/auth.h: Likewise.
42541 * sunrpc/rpc/auth_unix.h: Likewise.
42542 * sunrpc/rpc/clnt.h: Likewise.
42543 * sunrpc/rpc/des_crypt.h: Likewise.
42544 * sunrpc/rpc/key_prot.h: Likewise.
42545 * sunrpc/rpc/netdb.h: Likewise.
42546 * sunrpc/rpc/pmap_clnt.h: Likewise.
42547 * sunrpc/rpc/pmap_prot.h: Likewise.
42548 * sunrpc/rpc/pmap_rmt.h: Likewise.
42549 * sunrpc/rpc/rpc.h: Likewise.
42550 * sunrpc/rpc/rpc_des.h: Likewise.
42551 * sunrpc/rpc/rpc_msg.h: Likewise.
42552 * sunrpc/rpc/svc.h: Likewise.
42553 * sunrpc/rpc/svc_auth.h: Likewise.
42554 * sunrpc/rpc/types.h: Likewise.
42555 * sunrpc/rpc/xdr.h: Likewise.
42556 * sunrpc/rpc_clntout.c: Likewise.
42557 * sunrpc/rpc_cmsg.c: Likewise.
42558 * sunrpc/rpc_common.c: Likewise.
42559 * sunrpc/rpc_cout.c: Likewise.
42560 * sunrpc/rpc_dtable.c: Likewise.
42561 * sunrpc/rpc_hout.c: Likewise.
42562 * sunrpc/rpc_main.c: Likewise.
42563 * sunrpc/rpc_parse.c: Likewise.
42564 * sunrpc/rpc_parse.h: Likewise.
42565 * sunrpc/rpc_prot.c: Likewise.
42566 * sunrpc/rpc_sample.c: Likewise.
42567 * sunrpc/rpc_scan.c: Likewise.
42568 * sunrpc/rpc_scan.h: Likewise.
42569 * sunrpc/rpc_svcout.c: Likewise.
42570 * sunrpc/rpc_tblout.c: Likewise.
42571 * sunrpc/rpc_util.c: Likewise.
42572 * sunrpc/rpc_util.h: Likewise.
42573 * sunrpc/rpcinfo.c: Likewise.
42574 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42575 * sunrpc/rpcsvc/key_prot.x: Likewise.
42576 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42577 * sunrpc/rpcsvc/mount.x: Likewise.
42578 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42579 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42580 * sunrpc/rpcsvc/rex.x: Likewise.
42581 * sunrpc/rpcsvc/rstat.x: Likewise.
42582 * sunrpc/rpcsvc/rusers.x: Likewise.
42583 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42584 * sunrpc/rpcsvc/spray.x: Likewise.
42585 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42586 * sunrpc/rtime.c: Likewise.
42587 * sunrpc/svc.c: Likewise.
42588 * sunrpc/svc_auth.c: Likewise.
42589 * sunrpc/svc_authux.c: Likewise.
42590 * sunrpc/svc_raw.c: Likewise.
42591 * sunrpc/svc_run.c: Likewise.
42592 * sunrpc/svc_simple.c: Likewise.
42593 * sunrpc/svc_tcp.c: Likewise.
42594 * sunrpc/svc_udp.c: Likewise.
42595 * sunrpc/svc_unix.c: Likewise.
42596 * sunrpc/svcauth_des.c: Likewise.
42597 * sunrpc/xcrypt.c: Likewise.
42598 * sunrpc/xdr.c: Likewise.
42599 * sunrpc/xdr_array.c: Likewise.
42600 * sunrpc/xdr_float.c: Likewise.
42601 * sunrpc/xdr_mem.c: Likewise.
42602 * sunrpc/xdr_rec.c: Likewise.
42603 * sunrpc/xdr_ref.c: Likewise.
42604 * sunrpc/xdr_sizeof.c: Likewise.
42605 * sunrpc/xdr_stdio.c: Likewise.
42606
9da4bb31
UD
42607 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42608 handling.
42609
bdaa77bc
AS
426102010-08-19 Andreas Schwab <schwab@redhat.com>
42611
42612 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42613
fe2f79db
LM
426142010-08-19 Luis Machado <luisgpm@br.ibm.com>
42615
42616 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42617 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42618 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42619 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42620 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42621 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42622 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42623 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42624 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42625 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42626 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42627 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42628 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42629 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42630
b9b42ee0
AB
426312010-07-26 Anton Blanchard <anton@samba.org>
42632
42633 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42634 * malloc/arena.c (heap_trim): Likewise.
42635
1c06ba31
UD
426362010-08-16 Ulrich Drepper <drepper@redhat.com>
42637
42638 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42639 here. Not...
42640 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42641 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42642
f8392f40
L
426432010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42644
42645 * sysdeps/i386/elf/Makefile: New file.
42646
3162f12e
AS
426472010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42648
42649 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42650 from fanotify_init.
42651 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42652 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42653
28c90b2c
UD
426542010-08-15 Ulrich Drepper <drepper@redhat.com>
42655
42656 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42657 of strncasecmp_l.
1feccb6c 42658 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42659
ca6bb004
UD
426602010-08-14 Ulrich Drepper <drepper@redhat.com>
42661
e9f82e0d
UD
42662 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42663 strncase_l-nonascii.
42664 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42665 Add strncase_l-ssse3.
42666 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42667 * sysdeps/x86_64/strcmp.S: Likewise.
42668 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42669 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42670 * sysdeps/x86_64/strncase.S: New file.
42671 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42672 * sysdeps/x86_64/strncase_l.S: New file.
42673 * string/Makefile (strop-tests): Add strncasecmp.
42674 * string/test-strncasecmp.c: New file.
42675
42676 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42677 warning.
42678
ca6bb004
UD
42679 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42680 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42681
052fa7b3
AS
426822010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42683
42684 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42685
962dba78
UD
426862010-08-12 Ulrich Drepper <drepper@redhat.com>
42687
42688 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42689 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42690 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42691
bebff237
AM
426922010-05-01 Alan Modra <amodra@gmail.com>
42693
42694 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42695 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42696 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42697 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42698 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42699 tidying. Don't tail-call __sigjmp_save for static lib.
42700 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42701 save location.
42702 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42703 (CALL_MCOUNT): Add eh info, and nop after bl.
42704 (TAIL_CALL_SYSCALL_ERROR): New macro.
42705 (PSEUDO_RET): Use it.
42706 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42707 Correct save location of integer regs and cr.
42708 (_dl_profile_resolve): Correct cr save location. Delete nops
42709 after bl when SHARED. Reduce cfi size a little by better
42710 placement of cfi directives.
42711 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42712 make a stack frame. Instead use parm save area as a temp.
42713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42714 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42716 Don't make a stack frame for parent, use parm save area.
42717 Increase child stack frame to 112 bytes. Don't save unused reg,
42718 and adjust reg usage. Set up cfi on error recovery and
42719 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42721 (__makecontext): Add dummy nop after jump to exit.
42722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42723 Use correct parm save area and cr save, reduce stack frame.
42724 Correct cfi for possible PSEUDO_RET frame setup.
42725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42726 Branch to local label emitted by PSEUDO_RET rather than
42727 __syscall_error.
42728
02637374
AS
427292010-08-12 Andreas Schwab <schwab@redhat.com>
42730
42731 [BZ #11904]
42732 * locale/programs/locale.c (print_assignment): New function.
42733 (show_locale_vars): Use it.
42734
c3e2f19b
UD
427352010-08-11 Ulrich Drepper <drepper@redhat.com>
42736
3cdaa6ad
UD
42737 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42738 field.
42739 (struct statfs64): Likewise.
42740 (_STATFS_F_FLAGS): Define.
42741 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42742 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42743 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42744 (ST_VALID): Define locally.
42745 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42746 __statvfs_getflags, use the provided value.
42747 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42748 __ASSUME_STATFS_F_FLAGS.
42749
754f7da3
UD
42750 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42751
10b3bedc
UD
42752 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42753 Add sys/fanotify.h.
42754 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42755 fanotify_mask for GLIBC_2.13.
42756 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42757 fanotify_init and fanotify_mark.
42758 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42759 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42760
c08fb0d7
UD
42761 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42762 Add prlimit.
42763 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42764 prlimit64 for GLIBC_2.13.
42765 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42766 prlimit64.
42767 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42768 syscall.
42769 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42770 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42771 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42772 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42773 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42774 add prlimit alias.
42775 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42776
15bac72b
UD
42777 [BZ #11903]
42778 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42779 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42780
c3e2f19b
UD
42781 * nss/Makefile: Add rules to build and run tst-nss-test1.
42782 * shlib-versions: Add entry for libnss_test1.
42783 * nss/nss_test1.c: New file.
42784 * nss/tst-nss-test1.c: New file.
42785
42786 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42787 (__nss_configure_lookup): Set appropriate entry in
42788 __nss_configure_lookup to true.
42789 * nss/nsswitch.h: Define enum with indeces of databases in
42790 databases and __nss_database_custom arrays. Declare
42791 __nss_database_custom.
42792 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42793 to avoid using nscd when custom rules are installed.
42794 * nss/getXXbyYY_r.c: Likewise.
42795 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42796
42797 * nss/nss_files/files-parse.c: Whitespace fixes.
42798
f15ce4d8
UD
427992010-08-09 Ulrich Drepper <drepper@redhat.com>
42800
42801 [BZ #11883]
42802 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42803 * posix/fnmatch_loop.c: Likewise.
42804
d22e4cc9
AK
428052010-07-17 Andi Kleen <ak@linux.intel.com>
42806
42807 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42808 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42809 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42810 * Versions.def [GLIBC_2.13]: Add.
42811
805bc17d
UD
428122010-08-06 Ulrich Drepper <drepper@redhat.com>
42813
42814 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42815 Also fail if tpwd after pwuid call is NULL.
42816
5a42321d
ST
428172010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42818
42819 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42820 when converting to ms.
42821
fd3ebeda
ST
428222010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42823
42824 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42825 EOPNOTSUPP errors with ENOTTY.
42826 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42827 EOPNOTSUPP errors with ENOTTY.
42828
73507d3a
UD
428292010-07-31 Ulrich Drepper <drepper@redhat.com>
42830
42831 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42832 Add strcasecmp_l-ssse3.
42833 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42834 strcasecmp.
42835 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42836 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42837 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42838
fe36dd02
UD
428392010-07-30 Ulrich Drepper <drepper@redhat.com>
42840
66f6765a
UD
42841 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42842
42e08a54
UD
42843 * string/Makefile (strop-tests): Add strcasecmp.
42844 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42845 strcasecmp_l-nonascii.
42846 (gen-as-const-headers): Add locale-defines.sym.
42847 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42848 * sysdeps/x86_64/strcasecmp.S: New file.
42849 * sysdeps/x86_64/strcasecmp_l.S: New file.
42850 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42851 * sysdeps/x86_64/locale-defines.sym: New file.
42852 * string/test-strcasecmp.c: New file.
42853
fe36dd02
UD
42854 * string/test-strcasestr.c: Test both ends of the range of characters.
42855 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42856
48cbc0d6
RM
428572010-07-29 Roland McGrath <roland@redhat.com>
42858
76e6d6bc 42859 [BZ #11856]
48cbc0d6
RM
42860 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42861
880113d9
UD
428622010-07-27 Ulrich Drepper <drepper@redhat.com>
42863
42864 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42865 for ld.so.
42866
deb9cabb
AS
428672010-07-27 Andreas Schwab <schwab@redhat.com>
42868
42869 * manual/memory.texi (Malloc Tunable Parameters): Document
42870 M_PERTURB.
42871
1c7570ff
RM
428722010-07-26 Roland McGrath <roland@redhat.com>
42873
42874 [BZ #11840]
42875 * configure.in (-fgnu89-inline check): Set and substitute
42876 gnu89_inline, not libc_cv_gnu89_inline.
42877 * configure: Regenerated.
42878 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42879
24fb0f88
UD
428802010-07-26 Ulrich Drepper <drepper@redhat.com>
42881
42882 * string/test-strnlen.c: New file.
42883 * string/Makefile (strop-tests): Add strnlen.
42884 * string/tester.c (test_strnlen): Add a few more test cases.
42885 * string/tst-strlen.c: Better error reporting.
42886
42887 * sysdeps/x86_64/strnlen.S: New file.
42888
8e96b93a
UD
428892010-07-24 Ulrich Drepper <drepper@redhat.com>
42890
42891 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42892 lower-latency instructions.
42893
dbc676d4
UD
428942010-07-23 Ulrich Drepper <drepper@redhat.com>
42895
42896 * string/test-strcasestr.c: New file.
42897 * string/test-strstr.c: New file.
42898 * string/Makefile (strop-tests): Add strstr and strcasestr.
42899 * string/str-two-way.h: Don't undefine MAX.
42900 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42901
f6a31e0e
AS
429022010-07-21 Andreas Schwab <schwab@redhat.com>
42903
42904 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42905 strcasestr-nonascii.
42906 (CFLAGS-strcasestr-nonascii.c): Define.
42907 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42908 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42909 Remove unused attribute.
42910
5dbc3b6c
RM
429112010-07-20 Roland McGrath <roland@redhat.com>
42912
42913 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42914 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42915 ld.so.cache was broken. With it, there is no way to disable dsocaps
42916 like LD_HWCAP_MASK can disable hwcaps.
42917
23d101d8
EPM
429182010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42919
42920 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42921
cc9f2e47
UD
429222010-07-16 Ulrich Drepper <drepper@redhat.com>
42923
42924 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42925 call in strcasestr.
42926 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42927 __strcasestr_sse42_nonascii.
42928 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42929 strcasestr-nonascii.c.
42930 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42931
77c1b069
LM
429322010-06-15 Luis Machado <luisgpm@br.ibm.com>
42933
42934 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42935 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42936 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42937 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42938
440566c3
UD
429392010-07-09 Ulrich Drepper <drepper@redhat.com>
42940
42941 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42942 fcntl.
42943
5be9d05d
AS
429442010-07-06 Andreas Schwab <schwab@redhat.com>
42945
c30b7ee2 42946 [BZ #11577]
5be9d05d
AS
42947 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42948 dl_signal_cerror.
42949
8a492a67
UD
429502010-07-06 Ulrich Drepper <drepper@redhat.com>
42951
42952 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42953 _PC_PIPE_BUF using F_GETPIPE_SZ.
42954
713df3d5
RM
429552010-07-05 Roland McGrath <roland@redhat.com>
42956
42957 * manual/arith.texi (Rounding Functions): Fix rint description
42958 implicit in round description.
42959
702e8f14
UD
429602010-07-02 Ulrich Drepper <drepper@redhat.com>
42961
42962 * elf/Makefile: Fix linking for a few tests to make recent linker
42963 happy.
42964
52ed8be9
AS
429652010-06-30 Andreas Schwab <schwab@redhat.com>
42966
42967 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
42968 $(common-objpfx)libc_nonshared.a.
42969
f47c9a11
LM
429702010-06-21 Luis Machado <luisgpm@br.ibm.com>
42971
42972 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
42973 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
42974 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42975 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42976 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
42977 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
42978 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42979 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42980 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
42981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
42982 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
42983 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
42984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
42985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
42986 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
42987 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
42988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
42989 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
42990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
42991 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
42992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
42993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
42994 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
42995 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
42996 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
42997 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
42998 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
42999 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43000 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43001 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43002 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43003 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43004 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43005 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43006 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43010 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43012 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43016 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43020
6fb8cbcb
L
430212010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43022
43023 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43024 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43025 * string/memmove.c (memmove): Renamed to ...
43026 (MEMMOVE): ...this. Default to memmove.
43027 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43028 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43029 (END_CHK): Define.
43030 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43031 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43032 mempcpy-ssse3-back memmove-ssse3-back.
43033 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43034 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43035 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43036 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43037 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43038 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43039 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43040 * sysdeps/x86_64/multiarch/memmove.c: New file.
43041 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43042 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43043 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43044 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43045 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43046 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43047 Define.
43048 (index_Fast_Copy_Backward): Define.
43049 (HAS_ARCH_FEATURE): Define.
43050 (HAS_FAST_REP_STRING): Define.
43051 (HAS_FAST_COPY_BACKWARD): Define.
43052
4e733bac 430532010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43054
43055 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43056 Restore proper fallback handling.
43057
63c4ed22
UD
430582010-06-19 Ulrich Drepper <drepper@redhat.com>
43059
ac2b484c
UD
43060 [BZ #11701]
43061 * posix/group_member.c (__group_member): Correct checking loop.
43062
63c4ed22
UD
43063 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43064 OOM in getpwuid_r correctly. Return error number when the caller
43065 should return, otherwise -1.
43066 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43067 call returning > 0 value.
43068 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43069
765ade4b
AS
430702010-06-07 Andreas Schwab <schwab@redhat.com>
43071
43072 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43073 libc_nonshared.a from targets in modules-names.
43074
80da2e09
KS
430752010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43076
43077 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43078 requires it.
43079
158db122
LM
430802010-06-10 Luis Machado <luisgpm@br.ibm.com>
43081
43082 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43083 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43084 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43085 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43086
caa78cf8
AS
430872010-06-02 Andreas Schwab <schwab@redhat.com>
43088
43089 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43090
b2ef2c01
UD
430912010-06-14 Ulrich Drepper <drepper@redhat.com>
43092
43093 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43094 and F_GETPIPE_SZ.
43095 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43096 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43097 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43098 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43099 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43100 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43101
fbd643b6
RM
431022010-06-14 Roland McGrath <roland@redhat.com>
43103
43104 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43105
f32f2869
JJ
431062010-06-07 Jakub Jelinek <jakub@redhat.com>
43107
43108 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43109 __REDIRECT followed by __THROW.
43110 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43111 * posix/getopt.h (getopt): Likewise.
43112
2a50c078
EPM
431132010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43114
43115 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43116 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43117 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43118 in AT_FLAGS.
43119 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43120 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43121
eb5ad2eb
LM
431222010-05-28 Luis Machado <luisgpm@br.ibm.com>
43123
43124 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43125
3c88fe1e
L
431262010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43127
43128 [BZ #11640]
43129 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43130 Properly check family and model.
43131
d2f73151
TY
431322010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43133
43134 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43135
ebd2e13d
LM
431362010-05-24 Luis Machado <luisgpm@br.ibm.com>
43137
43138 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43139
b32b8b45
UD
431402010-05-21 Ulrich Drepper <drepper@redhat.com>
43141
43142 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43143 symbol reference.
43144
9acbe24d
AS
431452010-05-19 Andreas Schwab <schwab@redhat.com>
43146
43147 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43148 symbol reference.
43149
f0ccf6ea
AS
431502010-05-21 Andreas Schwab <schwab@redhat.com>
43151
3d04ff3a
AS
43152 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43153 and internal_recvmmsg.
43154 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43155 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43156 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43157 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43158
f0ccf6ea
AS
43159 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43160 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43161 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43162
5b08ac57
AS
431632010-05-20 Andreas Schwab <schwab@redhat.com>
43164
43165 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43166
4828935d
LM
431672010-05-17 Luis Machado <luisgpm@br.ibm.com>
43168
43169 POWER7 optimizations.
43170 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43171 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43172
373d545e
UD
431732010-05-19 Ulrich Drepper <drepper@redhat.com>
43174
43175 * version.h: Update for 2.13 development version.
43176
21a2b1ae
AS
431772010-05-12 Andrew Stubbs <ams@codesourcery.com>
43178
43179 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43180 exceptions. Return 0.
43181
3f7dcb2b
RM
431822010-05-07 Roland McGrath <roland@redhat.com>
43183
43184 * elf/ldconfig.c (main): Add a const.
43185
5f24d53a 431862010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43187
a160f8d8
UD
43188 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43189 (args_options): Add no-idn option.
43190 (ahosts_keys_int): Add idn_flags to ai_flags.
43191 (parse_option): Handle 'i' option to clear idn_flags.
43192
5f24d53a
UD
43193 * malloc/malloc.c (_int_free): Possible race in the most recently
43194 added check. Only act on the data if no current modification
43195 happened.
265bb1ce
UD
43196
43197See ChangeLog.17 for earlier changes.