]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[BZ #14770] S/390: Require Binutils >= 2.24 for target S/390.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
4fa8bc3b
SL
12014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
2
3 [BZ #14770]
4 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
5 * sysdeps/s390/configure: Regenerate.
6
8ea587db
SL
72014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
8
9 [BZ #16824]
10 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11 Set round-to-nearest internally to reduce error accumulation.
12
aa5f0ff1
AM
132014-04-16 Alan Modra <amodra@gmail.com>
14
15 [BZ #16740]
16 [BZ #16619]
17 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
18 * math/libm-test.inc (frexp_test_data): Add tests.
9860b045 19 * NEWS: Update fixed bug list.
aa5f0ff1 20
bb9c256f
SP
212014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
22
23 * benchtests/Makefile: Depend on libraries in build directory.
24 (bench-math): Separate out math tests.
25 (bench-pthread): Separate out pthread tests.
26 (bench): Include math and pthread tests.
27
f737dfd0
CD
282014-04-14 Carlos O'Donell <carlos@redhat.com>
29
30 [BZ #16831]
31 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
32 _dl_debug_initialize.
33
0699f766
CD
342014-04-14 Carlos O'Donell <carlos@redhat.com>
35
36 * configure.ac: Remove SELinux header check.
37 * configure: Regenerate.
38 * nscd/selinux.c (perms): Array of const char* to permission names.
39 (nscd_request_avc_has_perm): Call security_deny_unknown to find
40 default policy. Call string_to_security_class and string_to_av_perm to
41 translate strings. Enforce default policy and call avs_has_perm with
42 results of translated strings.
43
809bd45f
DM
442014-04-13 David S. Miller <davem@davemloft.net>
45
46 * sysdeps/sparc/fpu/libm-test-ulps: Update.
47
89e691f2
AM
482014-04-12 Allan McRae <allan@archlinux.org>
49
50 [BZ #16838]
51 * manual/string.texi (Collation Functions): Fix qsort argument
52 order in example.
53 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
54
9c9daaeb
CM
552014-04-11 Chris Metcalf <cmetcalf@tilera.com>
56
57 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
58 Make the test a no-op if there are no exceptions defined.
59
95561fb9
PP
602014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
61
fe8d072c 62 * elf/Makefile (tests): make tst-dlopen-aout conditional on
95561fb9
PP
63 enable-hardcoded-path-in-tests
64
970c602a
WN
652014-04-11 Will Newton <will.newton@linaro.org>
66
67 * benchtests/Makefile (extra-objs): Add json-lib.o.
68 (bench-func): Tidy up JSON output.
69 * benchtests/bench-skeleton.c: Include json-lib.h.
70 (main): Use JSON library functions to do output of
71 benchmark results.
72 * benchtests/bench-timing-type.c (main): Output the
73 timing type simply, leaving formatting to the user.
74 * benchtests/json-lib.c: New file.
75 * benchtests/json-lib.h: Likewise.
76
36875b06
TR
772014-04-11 Torvald Riegel <triegel@redhat.com>
78
79 [BZ #15215]
80 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
81 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
82 memory barriers. Add comments.
83 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
84 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
85 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
86 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
87 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
88 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
89
579db35a
SL
902014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
91
92 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
93 * sysdeps/s390/s390-64/configure.ac: ... this ...
94 * sysdeps/s390/configure.ac: ... to here.
95 * sysdeps/s390/s390-32/configure: Delete file.
96 * sysdeps/s390/s390-64/configure: Delete file.
97 * sysdeps/s390/configure: Regenerate.
98
c12e9f37
JAPH
992014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
100
101 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
102
439bda32
WN
1032014-04-11 Will Newton <will.newton@linaro.org>
104
105 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
106 to zero if it is not defined elsewhere. (mtrim): Test
107 the value of MALLOC_DEBUG with #if rather than #ifdef.
108
6a5d6ea1
TR
1092014-04-10 Torvald Riegel <triegel@redhat.com>
110
111 * benchtests/pthread_once-inputs: New file.
112 * benchtests/pthread_once-source.c: New file.
113 * benchtests/README: Update documentation.
114
a4c75cfd
IZ
1152014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
116 H.J. Lu <hongjiu.lu@intel.com>
117
118 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
119 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
120 * sysdeps/x86_64/configure: Regenerated.
121 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
122 macro.
123 (REGISTER_SAVE_RAX): Likewise.
124 (REGISTER_SAVE_RCX): Likewise.
125 (REGISTER_SAVE_RDX): Likewise.
126 (REGISTER_SAVE_RSI): Likewise.
127 (REGISTER_SAVE_RDI): Likewise.
128 (REGISTER_SAVE_R8): Likewise.
129 (REGISTER_SAVE_R9): Likewise.
130 (REGISTER_SAVE_BND0): Likewise.
131 (REGISTER_SAVE_BND1): Likewise.
132 (REGISTER_SAVE_BND2): Likewise.
133 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
134 bound registers when calling _dl_fixup.
135
27822ce6
AZ
1362014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
137
138 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
139 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead of its
140 definition.
141 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
142 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
143 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
144 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
145 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
146 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
147 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
148
a88ddc90
PTB
1492014-04-09 Peter Brett <peter@peter-b.co.uk>
150
151 [BZ #15514]
152 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
153 pathconf(_PC_NAME_MAX).
154
01f8eac2
AZ
1552014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
156
157 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
158 Remove macro usage.
159 (__PTHREAD_SPINS): Move definition to ...
160 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
161 (__PTHREAD_SPINS): ... here.
162 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
163 (__PTHREAD_SPIN): Likewise.
164 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
165 (__PTHREAD_SPIN): Likewise.
166 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
167 (__PTHREAD_SPIN): Likewise.
168 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
169 (__PTHREAD_SPIN): Likewise.
170 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
171 (__PTHREAD_SPIN): Likewise.
172 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
173 (__PTHREAD_SPIN): Likewise.
174 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
175 (__PTHREAD_SPIN): Likewise.
176 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
177 (__PTHREAD_SPIN): Likewise.
178 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
179 (__PTHREAD_SPIN): Likewise.
180 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
181 (__PTHREAD_SPIN): Likewise.
182 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
183 (__PTHREAD_SPIN): Likewise.
184 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
185 (__PTHREAD_SPIN): Likewise.
186
de21c33c
AZ
1872014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
188
189 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
190 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
191 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
192 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
193 imply folder.
194 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
195 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
196 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
197 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
198 correct imply path.
199 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
200 strlen symbol for non multi-arch builds.
201 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
202 missing hidden_def and weak_alias.
203
862c472e
CD
2042014-04-08 Carlos O'Donell <carlos@redhat.com>
205
206 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
207
8667f90e
WN
2082014-04-07 Will Newton <will.newton@linaro.org>
209
210 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
211 and contents. [!_LIBC] Remove #ifndef and contents.
212 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
213 * string/memccpy.c (__memccpy): Use ANSI prototype.
214 * string/memfrob.c (memfrob): Likewise.
215 * string/strcoll.c (STRCOLL): Likewise.
216 * string/strlen.c (strlen): Likewise.
217 * string/strtok.c (STRTOK): Likewise.
218 * string/strcat.c: Remove unused #include of memcopy.h.
219 (strcat): Use ANSI prototype.
220 * string/strchr.c: Remove unused #include of memcopy.h.
221 (strchr): Use ANSI prototype.
222 * string/strcmp.c: Remove unused #include of memcopy.h.
223 (strcmp): Use ANSI prototype.
224 * string/strcpy.c: Remove unused #include of memcopy.h.
225 (strcpy): Use ANSI prototype.
226
7ffa9423
AZ
2272014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
228
229 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
230 * config.make.in (config-extra-cppflags): Set it from
231 libc_extra_cppflags.
232 * configure.ac (libc_extra_cflags): Make it accumulate over
233 configure fragments.
234 (libc_extra_cppflags): New flag.
235 * configure. Regenerate.
236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
237 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does not set
238 _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
240
8bd70862
AZ
2412014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
242
243 [BZ #16815]
244 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
245 result for FE_DOWNWARD rounding mode.
246 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
247 Likewise.
248 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
249
d42f3448
CM
2502014-04-04 Chris Metcalf <cmetcalf@tilera.com>
251
252 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
253 in function argument name.
254
1c21d115
DS
2552014-04-03 David Svoboda <svoboda@cert.org>
256
257 [BZ #5666]
258 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
259 explicitly.
260
fcccd512
RM
2612014-04-03 Roland McGrath <roland@hack.frob.com>
262
263 * elf/dl-unmap-segments.h: New file.
264 * sysdeps/generic/ldsodefs.h
265 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
266 * elf/dl-close.c: Include <dl-unmap-segments.h>.
267 * elf/dl-fptr.c: Likewise.
268 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
269 * sysdeps/aarch64/tlsdesc.c: Likewise.
270 * sysdeps/arm/tlsdesc.c: Likewise.
271 * sysdeps/i386/tlsdesc.c: Likewise.
272 * sysdeps/tile/dl-runtime.c: Likewise.
273 * sysdeps/x86_64/tlsdesc.c: Likewise.
274 * elf/dl-load.h: New file.
275 * elf/dl-load.c: Include it.
276 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
277 Macros moved to dl-load.h.
278 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
279 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
280 Use _dl_unmap_segments in place of __munmap.
281 Break out segment-mapping loop into ...
282 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
283
f6488e2b
WN
2842014-04-03 Will Newton <will.newton@linaro.org>
285
286 * elf/dl-lookup.c (do_lookup_x): Remove comment
287 referring to nested function and move variable
288 declarations down to before first use.
289
6f05bafe
JM
2902014-04-02 Joseph Myers <joseph@codesourcery.com>
291
a84e78c8
JM
292 [BZ #16799]
293 [BZ #16800]
294 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
295 with 0 numerator.
296 * math/s_catanf.c (__catanf): Likewise.
297 * math/s_catanh.c (__catanh): Likewise.
298 * math/s_catanhf.c (__catanhf): Likewise.
299 * math/s_catanhl.c (__catanhl): Likewise.
300 * math/s_catanl.c (__catanl): Likewise.
301 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
302 by positive zero when computing -Inf result.
303 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
304 (catanh_test): Likewise.
305 * sysdeps/i386/fpu/libm-test-ulps: Update.
306 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
307
6f05bafe
JM
308 [BZ #16789]
309 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
310 instead of using underflowing value in computing result.
311 * math/s_clog10.c (__clog10): Likewise.
312 * math/s_clog10f.c (__clog10f): Likewise.
313 * math/s_clog10l.c (__clog10l): Likewise.
314 * math/s_clogf.c (__clogf): Likewise.
315 * math/s_clogl.c (__clogl): Likewise.
316 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
317 (clog10_test): Likewise.
318 * sysdeps/i386/fpu/libm-test-ulps: Update.
319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
320
b0abbc21
AM
3212014-04-02 Alan Modra <amodra@gmail.com>
322
323 [BZ #16739]
324 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
325 output when value is near a power of two. Use int64_t for lx and
326 remove casts. Use decimal rather than hex exponent constants.
327 Don't use long double multiplication when double will suffice.
328 * math/libm-test.inc (nextafter_test_data): Add tests.
329 * NEWS: Add 16739 and 16786 to bug list.
330
af6b1797
AM
3312014-04-02 Alan Modra <amodra@gmail.com>
332
333 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
334
483818d7
AM
3352014-04-02 Alan Modra <amodra@gmail.com>
336
337 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
338
f6c55796
WN
3392014-04-01 Will Newton <will.newton@linaro.org>
340
341 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
342 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
343
13f7fe35
FW
3442014-04-01 Florian Weimer <fweimer@redhat.com>
345
346 [BZ #13347]
347 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
348 * nptl/tst-setuid2.c: New file.
349 * nptl/Makefile (xtests): Add tst-setuid2.
350
c859b32e
AM
3512014-04-01 Alan Modra <amodra@gmail.com>
352
353 [BZ #16786]
354 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
355
54fa2475
JM
3562014-03-31 Joseph Myers <joseph@codesourcery.com>
357
8795b4a4
JM
358 [BZ #6803]
359 [BZ #6804]
360 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
361 set errno as appropriate.
362 * math/w_scalbf.c (__scalbf): Likewise.
363 * math/w_scalbl.c (__scalbl): Likewise.
364 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
365 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
366 * math/libm-test.inc (scalb_test_data): Add errno expectations.
367 Add more NaN tests.
368
54fa2475
JM
369 [BZ #16349]
370 * math/w_atan2.c: Include <errno.h>.
371 (__atan2): Set errno for result underflowing to zero.
372 * math/w_atan2f.c: Include <errno.h>.
373 (__atan2f): Set errno for result underflowing to zero.
374 * math/w_atan2l.c: Include <errno.h>.
375 (__atan2l): Set errno for result underflowing to zero.
376 * math/auto-libm-test-in: Don't allow missing errno for some atan2
377 tests.
378 * math/auto-libm-test-out: Regenerated.
379
757d9dd5
AZ
3802014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
381
382 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
383 Encode instruction correctly in little endian.
384 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
385 Likewise.
386 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
387 Likewise.
388 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
389 Likewise.
390 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
391 Likewise.
392
d7a68734
JM
3932014-03-31 Joseph Myers <joseph@codesourcery.com>
394
47c5adeb
JM
395 [BZ #9894]
396 * sysdeps/unix/sysv/linux/kernel-features.h
397 [__sparc__ && !__arch64__ && !__sparc_v9__]
398 (__ASSUME_SET_ROBUST_LIST): Do not define.
399 [__sparc__ && !__arch64__ && !__sparc_v9__]
400 (__ASSUME_FUTEX_LOCK_PI): Likewise.
401 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
402 Likewise.
403 * sysdeps/unix/sysv/linux/arm/kernel-features.h
404 (__ASSUME_FUTEX_LOCK_PI): Undefine.
405 (__ASSUME_REQUEUE_PI): Likewise.
406 (__ASSUME_SET_ROBUST_LIST): Likewise.
407 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
408 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
409 Undefine.
410 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
411 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
412 Likewise.
413 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
414 Likewise.
415 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
416 Likewise.
417 * sysdeps/unix/sysv/linux/mips/kernel-features.h
418 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
419 Undefine.
420 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
421 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
422 Likewise.
423
d7a68734
JM
424 [BZ #16648]
425 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
426 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
427 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
428
c760f5c2
WN
4292014-03-31 Will Newton <will.newton@linaro.org>
430
431 * benchtests/Makefile (bench): Add ffs and ffsll to list
432 of tests.
433 * benchtests/ffs-inputs: New file.
434 * benchtests/ffsll-inputs: Likewise.
435
ea6029b1
JM
4362014-03-29 Joseph Myers <joseph@codesourcery.com>
437
438 [BZ #16770]
439 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
440 too large before casting to int.
441 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
442 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
443 * math/libm-test.inc (scalb_test_data): Add more tests.
444
cf806aff
SP
4452014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
446
56737508
SP
447 * benchtests/Makefile (DETAILED_OPT): New make option.
448 (bench-func): Run benchmark program with -d if DETAILED_OPT is
449 set.
450 * benchtests/bench-skeleton.c: Include stdbool.h.
451 (main): Store and print timings per input.
452 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
453 member to each argument value.
454 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
455 (_print_arg_data): Initialize per-input timing to 0.
456
cb5e4aad
SP
457 * benchtests/Makefile (timing-type): New binary.
458 (bench-clean): Also remove bench-timing-type.
459 (bench): New target for timing-type.
460 (bench-func): Print output in JSON format.
461 * benchtests/bench-skeleton.c (main): Print output in JSON
462 format.
463 * benchtests/bench-timing-type.c: New file.
464 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
465 (TIMING_PRINT_STATS): Remove.
466 * benchtests/scripts/bench.py (_print_arg_data): Store variant
467 name separately.
468
cf806aff
SP
469 * benchtests/bench-modf.c: Remove.
470 * benchtests/modf-inputs: New inputs file.
471
289e0779
JM
4722014-03-28 Joseph Myers <joseph@codesourcery.com>
473
474 [BZ #16362]
475 * math/s_clog10.c (M_PI_LOG10E): New macro.
476 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
477 imaginary parts are 0.
478 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
479 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
480 imaginary parts are 0.
481 * math/s_clog10l.c (M_PI_LOG10El): New macro.
482 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
483 imaginary parts are 0.
484 * math/libm-test.inc (clog10_test_data): Update expected results
485 for when real and imaginary parts are 0.
486
277ae3f1
PP
4872014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
488
489 * elf/dl-load.c: Finish conversion of __builtin_expect into
490 __glibc_{un}likely.
491
03a7091f
JM
4922014-03-27 Joseph Myers <joseph@codesourcery.com>
493
494 [BZ #16348]
495 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
496 1+x for argument with exponent below -67.
497 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
498 Likewise.
499 * math/auto-libm-test-in: Add more tests of exp.
500 * math/auto-libm-test-out: Regenerated.
501
ea7d8b95
SP
5022014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
503
dd3022d7
SP
504 [BZ #16759]
505 * inet/getnetgrent_r.c (get_nonempty_val): New function.
506 (nscd_getnetgrent): Use it.
507
ea7d8b95
SP
508 [BZ #16760]
509 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
510 of stpcpy.
511
df5b85da
AK
5122014-03-27 Andi Kleen <ak@linux.intel.com>
513
514 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock,
515 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
516 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
517 Remove out of line section. Use cfi intrinsics.
518 (LLL_STUB_UNWIND_INFO*): Remove.
519 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock,
520 lll_robust_lock, lll_cond_lock, lll_timedlock, lll_robust_cond_lock,
521 lll_robust_timedlock, lll_unlock, lll_robust_unlock):
522 Remove out of line section. Use cfi intrinsics.
523 (LLL_STUB_UNWIND_INFO*): Remove.
524
fbd6b5a4
SP
5252014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
526
527 [BZ #16758]
528 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
529 blank values.
530
1b26b855
PP
5312014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
532
533 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
534
9be36fb8
JM
5352014-03-26 Joseph Myers <joseph@codesourcery.com>
536
537 [BZ #16198]
538 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
539 fnstenv.
540 * math/test-fenv-preserve.c: New file.
541 * math/Makefile (tests): Add test-fenv-preserve.
542
60a2f3c1
WN
5432014-03-26 Will Newton <will.newton@linaro.org>
544
545 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
546
a5e5f1e2
RM
5472014-03-25 Roland McGrath <roland@hack.frob.com>
548
549 * scripts/versionlist.awk: Partition the version sets and emit all
550 GLIBC_* (sorted) before all others (sorted).
551
00f4012a
JM
5522014-03-25 Joseph Myers <joseph@codesourcery.com>
553
554 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
555 GLIBC_2.2.5 version.
556
7bc5a741
AZ
5572014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
558
559 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
560 calls.
561
7578473b
AZ
5622014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
563
564 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
565 previous change.
566
f3f1dab3
AZ
5672014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
568
569 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
570
6da36183
AS
5712014-03-25 Andreas Schwab <schwab@suse.de>
572
573 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
574 label to be used after in6ailist is initialized.
575
f3f1dab3 5762014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
449282f2 577
7578473b 578 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
449282f2
AZ
579 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
580
046651c1
JM
5812014-03-25 Joseph Myers <joseph@codesourcery.com>
582
583 [BZ #16357]
584 [BZ #16599]
585 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
586 min_plus_half.
587 (fp_formats): Update initializers.
588 (init_fp_formats): Initialize new field.
589 (output_for_one_input_case): Allow underflow for results up to
590 min_plus_half.
591 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
592 * math/auto-libm-test-in: Don't mark some underflows from asin and
593 atanh as spurious.
594 * math/auto-libm-test-out: Regenerated.
595 * sysdeps/i386/fpu/libm-test-ulps: Update.
596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
597
003e49ed
AS
5982014-03-25 Andreas Schwab <schwab@suse.de>
599
600 * libio/Makefile (tst-ftell-partial-wide-ENV)
601 (tst-ftell-active-handler-ENV): Define.
602
de031874
SL
6032014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
604
605 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
606
55a81e3b
PP
6072014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
608
609 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
610
f3426898
JM
6112014-03-24 Joseph Myers <joseph@codesourcery.com>
612
613 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
614 * sysdeps/x86_64/fpu/multiarch/e_exp.c
615 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
616
a42faf59
PP
6172014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
618
619 [BZ #16634]
a42faf59 620 * elf/dl-load.c (open_verify): Add mode parameter.
97d8ca99
CD
621 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
622 (open_path): Change from boolean 'secure' to complete flag 'mode'
623 (_dl_map_object): Adjust.
a42faf59
PP
624 * elf/Makefile (tests): Add tst-dlopen-aout.
625 * elf/tst-dlopen-aout.c: New test.
626
50936127
SL
6272014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
628
629 [BZ #16714]
630 * sysdeps/unix/sysv/linux/s390/bits/stat.h
631 (struct stat): Rename member pad0 to __glibc_reserved0.
632
26011b5c
SL
6332014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
634
635 [BZ #16712]
636 * sysdeps/s390/s390-32/bits/wordsize.h
637 (__WORDSIZE32_SIZE_ULONG): New define.
638 * sysdeps/s390/s390-64/bits/wordsize.h
639 (__WORDSIZE32_SIZE_ULONG): Likewise.
640 * sysdeps/generic/stdint.h (SIZE_MAX):
641 Define as UL if __WORDSIZE32_SIZE_ULONG.
642
a2d86bf1
SL
6432014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
644
645 [BZ #16713]
646 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
647 (__glibc_reserved0): New variable.
648 (sa_flags): Change type to int.
649
78b6eebc
SL
6502014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
651
652 * posix/Makefile (before-compile): Use += before-compile instead
653 of a :=.
654
f1399b5a
SL
6552014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
656
657 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
658 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
659
a071766e
AS
6602014-03-20 Andreas Schwab <schwab@suse.de>
661
662 [BZ #16743]
663 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
664 non-matching result from nscd.
665
27c673b8
SP
6662014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
667
668 * scripts/bench.py: Moved to ...
669 * benchtests/scripts/bench.py: ... here.
670 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
671
44152e4b
AS
6722014-03-24 Andreas Schwab <schwab@suse.de>
673
674 [BZ #16002]
675 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
676 alloca_account and account alloca use for struct in6ailist.
677
b376a11a
JM
6782014-03-24 Joseph Myers <joseph@codesourcery.com>
679
680 [BZ #16284]
681 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
682 rounding mode to recompute results that overflow to infinity or
683 underflow to zero.
684 * math/auto-libm-test-in: Don't mark tests as expected to fail for
685 bug 16284.
686 * math/auto-libm-test-out: Regenerated.
687 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
688 (ccosh_test): Likewise.
689 (csin_test_data): Use plus_oflow.
690 (csin_test): Use ALL_RM_TEST.
691 (csinh_test_data): Use plus_oflow.
692 (csinh_test): Use ALL_RM_TEST.
693 * sysdeps/i386/fpu/libm-test-ulps: Update.
694 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
695
f7be7376
JM
6962014-03-21 Joseph Myers <joseph@codesourcery.com>
697
1ca2d03e
JM
698 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
699 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
700 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
701
f7be7376
JM
702 [BZ #16731]
703 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
704 when x - 1 is zero.
705 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
706 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
707 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
708 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
709 argument is 1.
710 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
711 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
712 zero.
713 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
714 * sysdeps/i386/fpu/libm-test-ulps: Update.
715 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
716
fdf4534d
SP
7172014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
718
df26ea53
SP
719 * scripts/bench.pl: Remove file.
720 * scripts/bench.py: New benchmark script.
721 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
722 * benchtests/README: Mention python dependency.
723 * scripts/pylintrc: New file.
724 * scripts/pylint: New file.
725
fdf4534d
SP
726 * bits/mathdef.h: Use #ifdef instead of #if.
727 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
728 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
729 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
730 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
731 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
732 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
733
6f23d093
AZ
7342014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
735 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
736
737 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
738 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
739 and strpbrk-ppc64 objects.
740 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
741 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
742 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
743 multiarch strpbrk for POWER7.
744 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
745 multiarch strpbrk for PPC64.
746 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
747 ifunc selector.
748 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
749 strpbrk for POWER7.
750
8c92dfff
JM
7512014-03-20 Joseph Myers <joseph@codesourcery.com>
752
753 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
754 (atan_test): Likewise.
755 (atanh_test_data): Use NO_TEST_INLINE for two tests.
756 (atanh_test): Use ALL_RM_TEST.
757 (atan2_test_data): Likewise.
758 (cabs_test): Likewise.
759 (cacosh_test): Likewise.
760 (carg_test): Likewise.
761 (casin_test): Likewise.
762 (casinh_test): Likewise.
763 (cbrt_test): Likewise.
764 (csqrt_test): Likewise.
765 (erf_test): Likewise.
766 (erfc_test): Likewise.
767 (pow10_test): Likewise.
768 (exp2_test): Likewise.
769 (hypot_test): Likewise.
770 (j0_test): Likewise.
771 (j1_test): Likewise.
772 (lgamma_test): Likewise.
773 (gamma_test): Likewise.
774 (sincos_test): Likewise.
775 (tanh_test): Likewise.
776 (y0_test): Likewise.
777 (y1_test): Likewise.
778 * sysdeps/i386/fpu/libm-test-ulps: Update.
779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
780
6eaf95cb
AZ
7812014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
782
a387428c
SP
783 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
784 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
6eaf95cb
AZ
785 and strcspn-ppc64 objects.
786 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
787 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
788 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
789 multiarch strcspn for POWER7.
790 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
791 multiarch strcspn for PPC64.
792 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
793 ifunc selector.
794 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
795 strcspn for POWER7.
796
ae3a5dff
JM
7972014-03-20 Joseph Myers <joseph@codesourcery.com>
798
799 * math/gen-libm-test.pl (generate_testfile): Expect only function
800 name as argument to AUTO_TESTS_* and pass results for all rounding
801 modes to parse_args.
802 (parse_auto_input): Separate inputs of automatic tests from
803 outputs before storing in %auto_tests.
804 * math/libm-test.inc (acos_test_data): Update call to
805 AUTO_TESTS_f_f.
806 (acos_test): Use ALL_RM_TEST.
807 (acos_tonearest_test_data): Remove.
808 (acos_test_tonearest): Likewise.
809 (acos_towardzero_test_data): Likewise.
810 (acos_test_towardzero): Likewise.
811 (acos_downward_test_data): Likewise.
812 (acos_test_downward): Likewise.
813 (acos_upward_test_data): Likewise.
814 (acos_test_upward): Likewise.
815 (acosh_test_data): Update call to AUTO_TESTS_f_f.
816 (asin_test_data): Likewise.
817 (asin_test): Use ALL_RM_TEST.
818 (asin_tonearest_test_data): Remove.
819 (asin_test_tonearest): Likewise.
820 (asin_towardzero_test_data): Likewise.
821 (asin_test_towardzero): Likewise.
822 (asin_downward_test_data): Likewise.
823 (asin_test_downward): Likewise.
824 (asin_upward_test_data): Likewise.
825 (asin_test_upward): Likewise.
826 (asinh_test_data): Update call to AUTO_TESTS_f_f.
827 (atan_test_data): Likewise.
828 (atanh_test_data): Likewise.
829 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
830 (cabs_test_data): Update call to AUTO_TESTS_c_f.
831 (carg_test_data): Likewise.
832 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
833 (ccos_test_data): Update call to AUTO_TESTS_c_c.
834 (ccosh_test_data): Likewise.
835 (cexp_test_data): Likewise.
836 (clog_test_data): Likewise.
837 (clog10_test_data): Likewise.
838 (cos_test_data): Update call to AUTO_TESTS_f_f.
839 (cos_test): Use ALL_RM_TEST.
840 (cos_tonearest_test_data): Remove.
841 (cos_test_tonearest): Likewise.
842 (cos_towardzero_test_data): Likewise.
843 (cos_test_towardzero): Likewise.
844 (cos_downward_test_data): Likewise.
845 (cos_test_downward): Likewise.
846 (cos_upward_test_data): Likewise.
847 (cos_test_upward): Likewise.
848 (cosh_test_data): Update call to AUTO_TESTS_f_f.
849 (cosh_test): Use ALL_RM_TEST.
850 (cosh_tonearest_test_data): Remove.
851 (cosh_test_tonearest): Likewise.
852 (cosh_towardzero_test_data): Likewise.
853 (cosh_test_towardzero): Likewise.
854 (cosh_downward_test_data): Likewise.
855 (cosh_test_downward): Likewise.
856 (cosh_upward_test_data): Likewise.
857 (cosh_test_upward): Likewise.
858 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
859 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
860 (ctan_test_data): Likewise.
861 (ctan_test): Use ALL_RM_TEST.
862 (ctan_tonearest_test_data): Remove.
863 (ctan_test_tonearest): Likewise.
864 (ctan_towardzero_test_data): Likewise.
865 (ctan_test_towardzero): Likewise.
866 (ctan_downward_test_data): Likewise.
867 (ctan_test_downward): Likewise.
868 (ctan_upward_test_data): Likewise.
869 (ctan_test_upward): Likewise.
870 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
871 (ctanh_test): Use ALL_RM_TEST.
872 (ctanh_tonearest_test_data): Remove.
873 (ctanh_test_tonearest): Likewise.
874 (ctanh_towardzero_test_data): Likewise.
875 (ctanh_test_towardzero): Likewise.
876 (ctanh_downward_test_data): Likewise.
877 (ctanh_test_downward): Likewise.
878 (ctanh_upward_test_data): Likewise.
879 (ctanh_test_upward): Likewise.
880 (erf_test_data): Update call to AUTO_TESTS_f_f.
881 (erfc_test_data): Likewise.
882 (exp_test_data): Likewise.
883 (exp_test): Use ALL_RM_TEST.
884 (exp_tonearest_test_data): Remove.
885 (exp_test_tonearest): Likewise.
886 (exp_towardzero_test_data): Likewise.
887 (exp_test_towardzero): Likewise.
888 (exp_downward_test_data): Likewise.
889 (exp_test_downward): Likewise.
890 (exp_upward_test_data): Likewise.
891 (exp_test_upward): Likewise.
892 (exp10_test_data): Update call to AUTO_TESTS_f_f.
893 (exp10_test): Use ALL_RM_TEST.
894 (exp10_tonearest_test_data): Remove.
895 (exp10_test_tonearest): Likewise.
896 (exp10_towardzero_test_data): Likewise.
897 (exp10_test_towardzero): Likewise.
898 (exp10_downward_test_data): Likewise.
899 (exp10_test_downward): Likewise.
900 (exp10_upward_test_data): Likewise.
901 (exp10_test_upward): Likewise.
902 (exp2_test_data): Update call to AUTO_TESTS_f_f.
903 (expm1_test_data): Likewise.
904 (expm1_test): Use ALL_RM_TEST.
905 (expm1_tonearest_test_data): Remove.
906 (expm1_test_tonearest): Likewise.
907 (expm1_towardzero_test_data): Likewise.
908 (expm1_test_towardzero): Likewise.
909 (expm1_downward_test_data): Likewise.
910 (expm1_test_downward): Likewise.
911 (expm1_upward_test_data): Likewise.
912 (expm1_test_upward): Likewise.
913 (fma_test_data): Update call to AUTO_TESTS_fff_f.
914 (fma_test): Use ALL_RM_TEST.
915 (fma_towardzero_test_data): Remove.
916 (fma_test_towardzero): Likewise.
917 (fma_downward_test_data): Likewise.
918 (fma_test_downward): Likewise.
919 (fma_upward_test_data): Likewise.
920 (fma_test_upward): Likewise.
921 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
922 (j0_test_data): Update call to AUTO_TESTS_f_f.
923 (j1_test_data): Likewise.
924 (jn_test_data): Update call to AUTO_TESTS_if_f.
925 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
926 (log_test_data): Update call to AUTO_TESTS_f_f.
927 (log10_test_data): Likewise.
928 (log1p_test_data): Likewise.
929 (log2_test_data): Likewise.
930 (pow_test_data): Update call to AUTO_TESTS_ff_f.
931 (pow_tonearest_test_data): Likewise.
932 (sin_test_data): Update call to AUTO_TESTS_f_f.
933 (sin_test): Use ALL_RM_TEST.
934 (sin_tonearest_test_data): Remove.
935 (sin_test_tonearest): Likewise.
936 (sin_towardzero_test_data): Likewise.
937 (sin_test_towardzero): Likewise.
938 (sin_downward_test_data): Likewise.
939 (sin_test_downward): Likewise.
940 (sin_upward_test_data): Likewise.
941 (sin_test_upward): Likewise.
942 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
943 (sinh_test_data): Update call to AUTO_TESTS_f_f.
944 (sinh_test): Use ALL_RM_TEST.
945 (sinh_tonearest_test_data): Remove.
946 (sinh_test_tonearest): Likewise.
947 (sinh_towardzero_test_data): Likewise.
948 (sinh_test_towardzero): Likewise.
949 (sinh_downward_test_data): Likewise.
950 (sinh_test_downward): Likewise.
951 (sinh_upward_test_data): Likewise.
952 (sinh_test_upward): Likewise.
953 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
954 (sqrt_test): Use ALL_RM_TEST.
955 (sqrt_tonearest_test_data): Remove.
956 (sqrt_test_tonearest): Likewise.
957 (sqrt_towardzero_test_data): Likewise.
958 (sqrt_test_towardzero): Likewise.
959 (sqrt_downward_test_data): Likewise.
960 (sqrt_test_downward): Likewise.
961 (sqrt_upward_test_data): Likewise.
962 (sqrt_test_upward): Likewise.
963 (tan_test_data): Update call to AUTO_TESTS_f_f.
964 (tan_test): Use ALL_RM_TEST.
965 (tan_tonearest_test_data): Remove.
966 (tan_test_tonearest): Likewise.
967 (tan_towardzero_test_data): Likewise.
968 (tan_test_towardzero): Likewise.
969 (tan_downward_test_data): Likewise.
970 (tan_test_downward): Likewise.
971 (tan_upward_test_data): Likewise.
972 (tan_test_upward): Likewise.
973 (tanh_test_data): Update call to AUTO_TESTS_f_f.
974 (tgamma_test_data): Likewise.
975 (y0_test_data): Likewise.
976 (y1_test_data): Likewise.
977 (yn_test_data): Update call to AUTO_TESTS_if_f.
978 (main): Do not call removed functions.
979
d71aeee8
JM
9802014-03-19 Joseph Myers <joseph@codesourcery.com>
981
982 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
983 (ldexp_test_data): Remove.
984 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
985 scalbn_test_data.
986 (scalb_test): Use ALL_RM_TEST.
987
baaf1ded
AS
9882014-03-19 Andreas Schwab <schwab@suse.de>
989
990 * nscd/nscd.service: Also invalidate netgroup cache on reload.
991
b1115e91
JM
9922014-03-19 Joseph Myers <joseph@codesourcery.com>
993
994 [BZ #16649]
995 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
996 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
997 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
998 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
999 (__ASSUME_PREADV): Undefine.
1000 (__ASSUME_PWRITEV): Likewise.
1001
0283ecca
RM
10022014-03-18 Roland McGrath <roland@hack.frob.com>
1003
7d375303
RM
1004 * bits/mman-linux.h: Add comment about non-Linux use.
1005 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
1006 bits/mman-linux.h resting place.
1007
0283ecca
RM
1008 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
1009 * bits/mman-linux.h: ... here.
1010
aebe1003
AZ
10112014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1012
1013 * conform/conformtest.pl: Add standard definition when calling C
1014 preprocessor on data files.
1015 (checknamespace): Remove unused variable.
1016
b29b6bb8
JM
10172014-03-18 Joseph Myers <joseph@codesourcery.com>
1018
1019 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
1020 minus_oflow, plus_uflow and minus_uflow in expected results.
1021 * math/libm-test.inc (scalbn_test_data): Add more tests of
1022 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
1023 minus_uflow.
1024 (scalbn_test): Use ALL_RM_TEST.
1025 (scalbln_test_data): Add more tests of negative arguments. Use
1026 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
1027 (scalbln_test): Use ALL_RM_TEST.
1028
c8f8fa15
RM
10292014-03-18 Roland McGrath <roland@hack.frob.com>
1030
1031 * scripts/abilist.awk: Ignore symbols marked with .hidden.
1032
fede7a5f
WN
10332014-03-18 Will Newton <will.newton@linaro.org>
1034
1035 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
1036 inaccurate comment.
1037
80cf0a58
JM
10382014-03-18 Joseph Myers <joseph@codesourcery.com>
1039
1040 * Makerules [!subdir] (check-abi): Exit with error status if a
1041 test failed.
1042
b3620862
JM
10432014-03-17 Joseph Myers <joseph@codesourcery.com>
1044
1045 * math/libm-test.inc (nearbyint_test_data): Include all tests used
1046 for rint. Include results for all rounding modes.
1047 (nearbyint_test): Use ALL_RM_TEST.
1048 (rint_test_data): Include all tests used for nearbyint.
1049
788bba36
WN
10502014-03-17 Will Newton <will.newton@linaro.org>
1051
04ec140a
WN
1052 * nptl/sysdeps/pthread/pthread.h: Revert previous
1053 change.
1054
7579d8d5
WN
1055 * sysdeps/generic/ldsodefs.h: Revert previous
1056 change.
1057
c15cf13a
WN
1058 * libio/genops.c: Revert previous change.
1059 * libio/libioP.h: Likewise.
1060 * stdio-common/vfprintf.c: Likewise.
1061
d0ac1324
WN
1062 * sysdeps/generic/math_private.h: Revert previous
1063 change.
1064
9290130a
WN
1065 * sysdeps/generic/math_private.h: Check whether
1066 HAVE_RM_CTX is defined with #ifdef rather
1067 than #if.
1068
afb466fc
WN
1069 * argp/argp-fmtstream.h: Check whether
1070 __STRICT_ANSI__ is defined with #ifdef rather
1071 than #if.
1072 * argp/argp.h: Likewise.
1073
f7efd7c3
WN
1074 * libio/genops.c: Check whether
1075 _IO_JUMPS_OFFSET is defined with #ifdef rather
1076 than #if.
1077 * libio/libioP.h: Likewise.
1078 * stdio-common/vfprintf.c: Likewise.
1079
53f1bed3
WN
1080 * sysdeps/generic/ldsodefs.h: Check whether
1081 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
1082 than #if.
1083
788bba36
WN
1084 * nptl/sysdeps/pthread/pthread.h: Check
1085 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
1086 its value.
1087
fcd89ebe
SP
10882014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
1089
ae42bbc5
SP
1090 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
1091 setting O_APPEND.
1092 * libio/tst-ftell-active-handler.c (do_append_test): Add a
1093 test case.
1094
ea33158c
SP
1095 [BZ #16680]
1096 * libio/fileops.c (_IO_file_open): Seek to end of file but
1097 don't cache the offset.
1098 (get_file_offset): Remove function.
1099 (do_ftell): Use cached offset when available.
1100 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
1101 don't cache the offset.
1102 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
1103 case.
1104 (do_one_test): Call it.
1105 (do_ftell_test): Fix up expected old offset for a+ mode.
1106 * libio/wfileops.c (do_ftell_wide): Used cached offset when
1107 available.
1108
b1dbb426
SP
1109 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
1110 up test status with function return status.
1111 (do_write_test): Likewise.
1112 (do_append_test): Likewise.
1113
fcd89ebe
SP
1114 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
1115 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
1116 Remove.
1117
9962a2d3
JM
11182014-03-17 Joseph Myers <joseph@codesourcery.com>
1119
1120 * math/gen-libm-test.pl (parse_args): Handle results specified for
1121 each rounding mode separately.
1122 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
1123 tests and results from lrint_tonearest_test_data,
1124 lrint_towardzero_test_data, lrint_downward_test_data and
1125 lrint_upward_test_data.
1126 (lrint_test): Use ALL_RM_TEST.
1127 (lrint_tonearest_test_data): Remove.
1128 (lrint_test_tonearest): Likewise.
1129 (lrint_towardzero_test_data): Likewise.
1130 (lrint_test_towardzero): Likewise.
1131 (lrint_downward_test_data): Likewise.
1132 (lrint_test_downward): Likewise.
1133 (lrint_upward_test_data): Likewise.
1134 (lrint_test_upward): Likewise.
1135 (llrint_test_data): Merge in per-rounding-mode tests and results
1136 from llrint_tonearest_test_data, llrint_towardzero_test_data,
1137 llrint_downward_test_data and llrint_upward_test_data.
1138 (llrint_test): Use ALL_RM_TEST.
1139 (llrint_tonearest_test_data): Remove.
1140 (llrint_test_tonearest): Likewise.
1141 (llrint_towardzero_test_data): Likewise.
1142 (llrint_test_towardzero): Likewise.
1143 (llrint_downward_test_data): Likewise.
1144 (llrint_test_downward): Likewise.
1145 (llrint_upward_test_data): Likewise.
1146 (llrint_test_upward): Likewise.
1147 (rint_test_data): Merge in per-rounding-mode tests and results
1148 from rint_tonearest_test_data, rint_towardzero_test_data,
1149 rint_downward_test_data and rint_upward_test_data. Add
1150 per-rounding-mode results for tests not in those arrays.
1151 (rint_test): Use ALL_RM_TEST.
1152 (rint_tonearest_test_data): Remove.
1153 (rint_test_tonearest): Likewise.
1154 (rint_towardzero_test_data): Likewise.
1155 (rint_test_towardzero): Likewise.
1156 (rint_downward_test_data): Likewise.
1157 (rint_test_downward): Likewise.
1158 (rint_upward_test_data): Likewise.
1159 (rint_test_upward): Likewise.
1160 (main): Don't call removed functions.
1161
5006148e
RM
11622014-03-14 Roland McGrath <roland@hack.frob.com>
1163
1164 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
1165 "Compiled on ..." crapola. It is anti-useful.
1166
d6fe5e58
JM
11672014-03-14 Joseph Myers <joseph@codesourcery.com>
1168
1169 * scripts/evaluate-test.sh: Handle fourth argument to determine
1170 whether test run should stop on failure.
1171 * Makeconfig (stop-on-test-failure): New variable.
1172 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
1173 $(stop-on-test-failure).
1174 * Makefile (tests): Give a summary of results from testing and
1175 exit with failure status if they include an ERROR or FAIL.
1176 (xtests): Likewise.
1177 * manual/install.texi (Configuring and compiling): Mention
1178 stop-on-test-failure=y.
1179 * INSTALL: Regenerated.
1180
498a2233
RM
11812014-03-14 Roland McGrath <roland@hack.frob.com>
1182
22dbc19d
RM
1183 * scripts/versionlist.awk: New file.
1184 * Makerules [$(build-shared) = yes]
1185 (postclean-generated): Add Versions.def, not Versions.def.v and
1186 Versions.def.v.i.
1187 ($(common-objpfx)Versions.def.v.i): Target removed.
1188 ($(common-objpfx)Versions.def): New target.
1189 ($(common-objpfx)Versions.all): Depend on that rather that
1190 $(common-objpfx)Versions.def.v.
1191 * Versions.def: File removed.
1192
498a2233
RM
1193 * Makeconfig (+gccwarn): Add -Wundef.
1194 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
1195 a dl-sysdep.h breaking its contract.
1196 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
1197 * include/stackinfo.h: New file.
1198 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
1199 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
1200 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
1201 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
1202 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
1203 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
1204 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1205 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1206 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1207 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1208 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1209 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
1210 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1211 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1212 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
1213
c7de5025
AZ
12142014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1215
1216 [BZ #16707]
1217 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
1218 implementation.
1219 * math/libm-test.inc (round_test_data): Add more tests.
1220
98fb27a3
AZ
12212014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1222
1223 [BZ #16706]
1224 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
1225 implementation.
1226 * math/libm-test.inc (nearbyint_test_data): Add more tests.
1227
374f7f61
AZ
12282014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1229
1230 [BZ #16701]
1231 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
1232 implementation.
1233 * math/libm-test.inc (ceil_test_data): Add more tests.
1234
4655c291
AZ
12352014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1236
1237 * math/libm-test.inc (trunc_test_data): Add more tests related to
1238 BZ#16414.
1239
d7329d4b
RM
12402014-03-14 Roland McGrath <roland@hack.frob.com>
1241
1242 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
1243 with #if rather than #ifdef.
1244 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
1245
aa4de9ce
L
12462014-03-14 H.J. Lu <hongjiu.lu@intel.com>
1247
1248 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
1249 first. Disable AVX-512 GCC support if assembler doesn't support
1250 it.
1251 * sysdeps/x86_64/configure: Regenerated.
1252
2e03fae7
CD
12532014-03-13 Carlos O'Donell <carlos@redhat.com>
1254
1255 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
1256 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
1257 (__old_pthread_attr_setstack): Likewise.
1258 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
1259 [!_STACK_GROWS_DOWN]: Likewise.
1260
43ca83ec
MF
12612014-03-13 Mike Frysinger <vapier@gentoo.org>
1262
1263 * config.make.in (have-bash2): Delete.
1264 * configure.ac (libc_cv_have_bash2): Delete.
1265 * configure: Regenerate.
1266 * elf/Makefile (common-ldd-rewrite): Rename to ...
1267 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
1268 (sh-ldd-rewrite): Delete.
1269 (bash-ldd-rewrite): Delete.
1270 (have-bash2): Delete checks.
1271 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to ldd-rewrite.
1272
c66e48b4
MF
12732014-03-13 Mike Frysinger <vapier@gentoo.org>
1274
1275 * config.make.in (have-ksh): Delete.
1276 (KSH): Delete.
1277 * configure.ac (libc_cv_have_ksh): Delete.
1278 * configure: Regenerate.
1279
b93834ef
MF
12802014-03-13 Mike Frysinger <vapier@gentoo.org>
1281
1282 * elf/Makefile: Delete $(have-ksh) check.
1283 ($(objpfx)sotruss): Change KSH to BASH.
1284 * elf/sotruss.ksh: Rename to ...
1285 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
1286 function style to match POSIX. Drop ksh vim mode setting.
1287
f3a4632a
MF
12882014-03-13 Mike Frysinger <vapier@gentoo.org>
1289
1290 * manual/time.texi (Specifying the Time Zone with TZ): Change
1291 Tuesday to Thursday.
1292
5896c8bd
MF
12932014-03-13 Mike Frysinger <vapier@gentoo.org>
1294
1295 * debug/tst-longjmp_chk2.c: Update header comment.
1296 (stackoverflow_handler): Add comment. Call assert on pass value.
1297
2d63a517
IZ
12982014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
1299
1300 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
1301 (HAVE_AVX512_ASM_SUPPORT): Likewise.
1302 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
1303 (La_x86_64_vector): Add zmm.
1304 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
1305 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
1306 ($(objpfx)tst-audit10): New target.
1307 ($(objpfx)tst-audit10.out): Likewise.
1308 (tst-audit10-ENV): New.
1309 (AVX512-CFLAGS): Likewise.
1310 (CFLAGS-tst-audit10.c): Likewise.
1311 (CFLAGS-tst-auditmod10a.c): Likewise.
1312 (CFLAGS-tst-auditmod10b.c): Likewise.
1313 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
1314 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
1315 * sysdeps/x86_64/configure: Regenerated.
1316 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
1317 AVX-512 zmm register support.
1318 (_dl_x86_64_save_sse): Likewise.
1319 (_dl_x86_64_restore_sse): Likewise.
1320 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
1321 size vector registers.
1322 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
1323 (ZMM_SIZE): Likewise.
1324 * sysdeps/x86_64/tst-audit10.c: New file.
1325 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
1326 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
1327
44c4e5d5
RM
13282014-03-13 Roland McGrath <roland@hack.frob.com>
1329
1330 * configure.ac (HAVE_EHDR_START): New check.
1331 * configure: Regenerated.
1332 * config.h.in (HAVE_EHDR_START): New #undef.
1333 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
1334 assuming the lowest-addressed segment maps the start of the file.
1335
acd6e389
JM
13362014-03-13 Joseph Myers <joseph@codesourcery.com>
1337
1338 * INSTALL: Regenerated.
1339
6f918f36
WN
13402014-03-13 Will Newton <will.newton@linaro.org>
1341
1342 * manual/setjmp.texi (System V contexts): Improve
1343 clarity and grammar of documentation.
1344
798212a0
PP
13452014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
1346
1347 [BZ #16381]
798212a0 1348 * elf/Makefile (tests): Add tst-pie2.
2e03fae7 1349 (tests-pie): Add tst-pie2.
798212a0
PP
1350 * elf/tst-pie2.c: New file.
1351 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
1352 for ET_EXEC.
1353 * elf/rtld.c (map_doit): Load executable as lt_executable.
1354 (dl_main): Likewise.
1355
abe6d90c
JM
13562014-03-12 Joseph Myers <joseph@codesourcery.com>
1357
1358 [BZ #16642]
1359 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
1360 (__ASSUME_PSELECT): Undefine.
1361
dd3946c6
AZ
13622014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1363
1364 [BZ #16689]
1365 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
1366 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
1367 static build.
1368 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
1369 selector for static builds.
1370
c44496df
SP
13712014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
1372
1373 [BZ #16695]
1374 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
1375 key in the buffer.
1376
27c7220a
AZ
13772014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1378
1379 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build IFUNC
1380 selector for static builds.
1381
600fa361
JM
13822014-03-11 Joseph Myers <joseph@codesourcery.com>
1383
76c96cf7
JM
1384 * sysdeps/mips/math_private.h [__mips_hard_float]
1385 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
1386 libc_feresetround_mips_ctx.
1387 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
1388 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
1389 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
1390
600fa361
JM
1391 [BZ #16677]
1392 * math/s_nextafter.c (__nextafter): Do not return value from
1393 overflowing computation.
1394 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
1395 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
1396 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
1397 Likewise.
1398 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
1399 Likewise.
1400 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
1401 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
1402
d7706c32
RM
14032014-03-11 Roland McGrath <roland@hack.frob.com>
1404
1405 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
1406 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
1407 Move sfi_sp use from the load-multiple (that no longer sets sp) to
1408 the new mov targetting sp.
1409
4facea47
AZ
14102014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1411
1412 [BZ #16683]
1413 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
1414 Define it for static builds as well.
1415 (NO_BZERO_IMPL): Likewise.
1416
e65caf1f
VR
14172014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1418
1419 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
1420 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
1421 multiarch strspn for PPC64.
1422 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
1423 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
1424 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1425 (__libc_ifunc_impl_list): Likewise.
1426 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
1427 multiarch optimizations
1428 * string/strspn.c (strspn): Using macro to redefine symbol name.
1429
ba9cc071
AZ
14302014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
1431 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1432
1433 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
1434 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
1435 multiarch strncat for PPC64.
1436 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
1437 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
1438 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1439 (__libc_ifunc_impl_list): Likewise.
1440 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
1441 multiarch optimizations
1442
8b4ff974
SP
14432014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1444
1445 [BZ #16639]
1446 * nscd/nscd.service: Make service type forking.
1447
54b46a4b
AZ
14482014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1449
1450 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
1451 sign in non default rounding modes.
1452 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
1453
e9996ef7
JM
14542014-03-08 Joseph Myers <joseph@codesourcery.com>
1455
1456 * math/libm-test.inc (ALL_RM_TEST): New macro.
1457 (ceil_test): Use ALL_RM_TEST.
1458 (cimag_test): Likewise.
1459 (conj_test): Likewise.
1460 (copysign_test): Likewise.
1461 (cproj_test): Likewise.
1462 (creal_test): Likewise.
1463 (fabs_test): Likewise.
1464 (floor_test): Likewise.
1465 (fmax_test): Likewise.
1466 (fmin_test): Likewise.
1467 (fmod_test): Likewise.
1468 (fpclassify_test): Likewise.
1469 (frexp_test): Likewise.
1470 (ilogb_test): Likewise.
1471 (isfinite_test): Likewise.
1472 (finite_test): Likewise.
1473 (isgreater_test): Likewise.
1474 (isgreaterequal_test): Likewise.
1475 (isinf_test): Likewise.
1476 (isless_test): Likewise.
1477 (islessequal_test): Likewise.
1478 (islessgreater_test): Likewise.
1479 (isnan_test): Likewise.
1480 (isnormal_test): Likewise.
1481 (issignaling_test): Likewise.
1482 (isunordered_test): Likewise.
1483 (logb_test): Likewise.
1484 (logb_downward_test_data): Remove.
1485 (logb_test_downward): Likewise.
1486 (lround_test): Use ALL_RM_TEST.
1487 (llround_test): Likewise.
1488 (modf_test): Likewise.
1489 (nexttoward_test): Likewise.
1490 (remainder_test): Likewise.
1491 (drem_test): Likewise.
1492 (remainder_tonearest_test_data): Likewise.
1493 (remainder_test_tonearest): Likewise.
1494 (drem_test_tonearest): Likewise.
1495 (remainder_towardzero_test_data): Likewise.
1496 (remainder_test_towardzero): Likewise.
1497 (drem_test_towardzero): Likewise.
1498 (remainder_downward_test_data): Likewise.
1499 (remainder_test_downward): Likewise.
1500 (drem_test_downward): Likewise.
1501 (remainder_upward_test_data): Likewise.
1502 (remainder_test_upward): Likewise.
1503 (drem_test_upward): Likewise.
1504 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
1505 (round_test): Use ALL_RM_TEST.
1506 (signbit_test): Likewise.
1507 (trunc_test): Likewise.
1508 (significand_test): Likewise.
1509 (main): Don't call removed functions.
1510
bc61d27c
JM
15112014-03-07 Joseph Myers <joseph@codesourcery.com>
1512
5c780849
JM
1513 [BZ #16674]
1514 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
1515 || __USE_XOPEN2K8].
1516 (ILL_ILLOPN): Likewise.
1517 (ILL_ILLADR): Likewise.
1518 (ILL_ILLTRP): Likewise.
1519 (ILL_PRVOPC): Likewise.
1520 (ILL_PRVREG): Likewise.
1521 (ILL_COPROC): Likewise.
1522 (ILL_BADSTK): Likewise.
1523 (FPE_INTDIV): Likewise.
1524 (FPE_INTOVF): Likewise.
1525 (FPE_FLTDIV): Likewise.
1526 (FPE_FLTOVF): Likewise.
1527 (FPE_FLTUND): Likewise.
1528 (FPE_FLTRES): Likewise.
1529 (FPE_FLTINV): Likewise.
1530 (FPE_FLTSUB): Likewise.
1531 (SEGV_MAPERR): Likewise.
1532 (SEGV_ACCERR): Likewise.
1533 (BUS_ADRALN): Likewise.
1534 (BUS_ADRERR): Likewise.
1535 (BUS_OBJERR): Likewise.
1536 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1537 (TRAP_TRACE): Likewise.
1538 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1539 __USE_XOPEN2K8].
1540 (CLD_KILLED): Likewise.
1541 (CLD_DUMPED): Likewise.
1542 (CLD_TRAPPED): Likewise.
1543 (CLD_STOPPED): Likewise.
1544 (CLD_CONTINUED): Likewise.
1545 (POLL_IN): Likewise.
1546 (POLL_OUT): Likewise.
1547 (POLL_MSG): Likewise.
1548 (POLL_ERR): Likewise.
1549 (POLL_PRI): Likewise.
1550 (POLL_HUP): Likewise.
1551 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
1552 Likewise.
1553 (ILL_ILLOPN): Likewise.
1554 (ILL_ILLADR): Likewise.
1555 (ILL_ILLTRP): Likewise.
1556 (ILL_PRVOPC): Likewise.
1557 (ILL_PRVREG): Likewise.
1558 (ILL_COPROC): Likewise.
1559 (ILL_BADSTK): Likewise.
1560 (FPE_INTDIV): Likewise.
1561 (FPE_INTOVF): Likewise.
1562 (FPE_FLTDIV): Likewise.
1563 (FPE_FLTOVF): Likewise.
1564 (FPE_FLTUND): Likewise.
1565 (FPE_FLTRES): Likewise.
1566 (FPE_FLTINV): Likewise.
1567 (FPE_FLTSUB): Likewise.
1568 (SEGV_MAPERR): Likewise.
1569 (SEGV_ACCERR): Likewise.
1570 (BUS_ADRALN): Likewise.
1571 (BUS_ADRERR): Likewise.
1572 (BUS_OBJERR): Likewise.
1573 (BUS_MCEERR_AR): Likewise.
1574 (BUS_MCEERR_AO): Likewise.
1575 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1576 (TRAP_TRACE): Likewise.
1577 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1578 __USE_XOPEN2K8].
1579 (CLD_KILLED): Likewise.
1580 (CLD_DUMPED): Likewise.
1581 (CLD_TRAPPED): Likewise.
1582 (CLD_STOPPED): Likewise.
1583 (CLD_CONTINUED): Likewise.
1584 (POLL_IN): Likewise.
1585 (POLL_OUT): Likewise.
1586 (POLL_MSG): Likewise.
1587 (POLL_ERR): Likewise.
1588 (POLL_PRI): Likewise.
1589 (POLL_HUP): Likewise.
1590 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
1591 (ILL_ILLOPN): Likewise.
1592 (ILL_ILLADR): Likewise.
1593 (ILL_ILLTRP): Likewise.
1594 (ILL_PRVOPC): Likewise.
1595 (ILL_PRVREG): Likewise.
1596 (ILL_COPROC): Likewise.
1597 (ILL_BADSTK): Likewise.
1598 (FPE_INTDIV): Likewise.
1599 (FPE_INTOVF): Likewise.
1600 (FPE_FLTDIV): Likewise.
1601 (FPE_FLTOVF): Likewise.
1602 (FPE_FLTUND): Likewise.
1603 (FPE_FLTRES): Likewise.
1604 (FPE_FLTINV): Likewise.
1605 (FPE_FLTSUB): Likewise.
1606 (SEGV_MAPERR): Likewise.
1607 (SEGV_ACCERR): Likewise.
1608 (BUS_ADRALN): Likewise.
1609 (BUS_ADRERR): Likewise.
1610 (BUS_OBJERR): Likewise.
1611 (BUS_MCEERR_AR): Likewise.
1612 (BUS_MCEERR_AO): Likewise.
1613 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1614 (TRAP_TRACE): Likewise.
1615 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1616 __USE_XOPEN2K8].
1617 (CLD_KILLED): Likewise.
1618 (CLD_DUMPED): Likewise.
1619 (CLD_TRAPPED): Likewise.
1620 (CLD_STOPPED): Likewise.
1621 (CLD_CONTINUED): Likewise.
1622 (POLL_IN): Likewise.
1623 (POLL_OUT): Likewise.
1624 (POLL_MSG): Likewise.
1625 (POLL_ERR): Likewise.
1626 (POLL_PRI): Likewise.
1627 (POLL_HUP): Likewise.
1628 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
1629 Likewise.
1630 (ILL_ILLOPN): Likewise.
1631 (ILL_ILLADR): Likewise.
1632 (ILL_ILLTRP): Likewise.
1633 (ILL_PRVOPC): Likewise.
1634 (ILL_PRVREG): Likewise.
1635 (ILL_COPROC): Likewise.
1636 (ILL_BADSTK): Likewise.
1637 (ILL_BADIADDR): Likewise.
1638 (ILL_BREAK): Likewise.
1639 (FPE_INTDIV): Likewise.
1640 (FPE_INTOVF): Likewise.
1641 (FPE_FLTDIV): Likewise.
1642 (FPE_FLTOVF): Likewise.
1643 (FPE_FLTUND): Likewise.
1644 (FPE_FLTRES): Likewise.
1645 (FPE_FLTINV): Likewise.
1646 (FPE_FLTSUB): Likewise.
1647 (FPE_DECOVF): Likewise.
1648 (FPE_DECDIV): Likewise.
1649 (FPE_DECERR): Likewise.
1650 (FPE_INVASC): Likewise.
1651 (FPE_INVDEC): Likewise.
1652 (SEGV_MAPERR): Likewise.
1653 (SEGV_ACCERR): Likewise.
1654 (SEGV_PSTKOVF): Likewise.
1655 (BUS_ADRALN): Likewise.
1656 (BUS_ADRERR): Likewise.
1657 (BUS_OBJERR): Likewise.
1658 (BUS_MCEERR_AR): Likewise.
1659 (BUS_MCEERR_AO): Likewise.
1660 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1661 (TRAP_TRACE): Likewise.
1662 (TRAP_BRANCH): Likewise.
1663 (TRAP_HWBKPT): Likewise.
1664 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1665 __USE_XOPEN2K8].
1666 (CLD_KILLED): Likewise.
1667 (CLD_DUMPED): Likewise.
1668 (CLD_TRAPPED): Likewise.
1669 (CLD_STOPPED): Likewise.
1670 (CLD_CONTINUED): Likewise.
1671 (POLL_IN): Likewise.
1672 (POLL_OUT): Likewise.
1673 (POLL_MSG): Likewise.
1674 (POLL_ERR): Likewise.
1675 (POLL_PRI): Likewise.
1676 (POLL_HUP): Likewise.
1677 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
1678 (ILL_ILLOPN): Likewise.
1679 (ILL_ILLADR): Likewise.
1680 (ILL_ILLTRP): Likewise.
1681 (ILL_PRVOPC): Likewise.
1682 (ILL_PRVREG): Likewise.
1683 (ILL_COPROC): Likewise.
1684 (ILL_BADSTK): Likewise.
1685 (FPE_INTDIV): Likewise.
1686 (FPE_INTOVF): Likewise.
1687 (FPE_FLTDIV): Likewise.
1688 (FPE_FLTOVF): Likewise.
1689 (FPE_FLTUND): Likewise.
1690 (FPE_FLTRES): Likewise.
1691 (FPE_FLTINV): Likewise.
1692 (FPE_FLTSUB): Likewise.
1693 (SEGV_MAPERR): Likewise.
1694 (SEGV_ACCERR): Likewise.
1695 (BUS_ADRALN): Likewise.
1696 (BUS_ADRERR): Likewise.
1697 (BUS_OBJERR): Likewise.
1698 (BUS_MCEERR_AR): Likewise.
1699 (BUS_MCEERR_AO): Likewise.
1700 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1701 (TRAP_TRACE): Likewise.
1702 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1703 __USE_XOPEN2K8].
1704 (CLD_KILLED): Likewise.
1705 (CLD_DUMPED): Likewise.
1706 (CLD_TRAPPED): Likewise.
1707 (CLD_STOPPED): Likewise.
1708 (CLD_CONTINUED): Likewise.
1709 (POLL_IN): Likewise.
1710 (POLL_OUT): Likewise.
1711 (POLL_MSG): Likewise.
1712 (POLL_ERR): Likewise.
1713 (POLL_PRI): Likewise.
1714 (POLL_HUP): Likewise.
1715 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
1716 (ILL_ILLOPN): Likewise.
1717 (ILL_ILLADR): Likewise.
1718 (ILL_ILLTRP): Likewise.
1719 (ILL_PRVOPC): Likewise.
1720 (ILL_PRVREG): Likewise.
1721 (ILL_COPROC): Likewise.
1722 (ILL_BADSTK): Likewise.
1723 (FPE_INTDIV): Likewise.
1724 (FPE_INTOVF): Likewise.
1725 (FPE_FLTDIV): Likewise.
1726 (FPE_FLTOVF): Likewise.
1727 (FPE_FLTUND): Likewise.
1728 (FPE_FLTRES): Likewise.
1729 (FPE_FLTINV): Likewise.
1730 (FPE_FLTSUB): Likewise.
1731 (SEGV_MAPERR): Likewise.
1732 (SEGV_ACCERR): Likewise.
1733 (BUS_ADRALN): Likewise.
1734 (BUS_ADRERR): Likewise.
1735 (BUS_OBJERR): Likewise.
1736 (BUS_MCEERR_AR): Likewise.
1737 (BUS_MCEERR_AO): Likewise.
1738 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1739 (TRAP_TRACE): Likewise.
1740 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1741 __USE_XOPEN2K8].
1742 (CLD_KILLED): Likewise.
1743 (CLD_DUMPED): Likewise.
1744 (CLD_TRAPPED): Likewise.
1745 (CLD_STOPPED): Likewise.
1746 (CLD_CONTINUED): Likewise.
1747 (POLL_IN): Likewise.
1748 (POLL_OUT): Likewise.
1749 (POLL_MSG): Likewise.
1750 (POLL_ERR): Likewise.
1751 (POLL_PRI): Likewise.
1752 (POLL_HUP): Likewise.
1753 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
1754 (ILL_ILLOPN): Likewise.
1755 (ILL_ILLADR): Likewise.
1756 (ILL_ILLTRP): Likewise.
1757 (ILL_PRVOPC): Likewise.
1758 (ILL_PRVREG): Likewise.
1759 (ILL_COPROC): Likewise.
1760 (ILL_BADSTK): Likewise.
1761 (FPE_INTDIV): Likewise.
1762 (FPE_INTOVF): Likewise.
1763 (FPE_FLTDIV): Likewise.
1764 (FPE_FLTOVF): Likewise.
1765 (FPE_FLTUND): Likewise.
1766 (FPE_FLTRES): Likewise.
1767 (FPE_FLTINV): Likewise.
1768 (FPE_FLTSUB): Likewise.
1769 (SEGV_MAPERR): Likewise.
1770 (SEGV_ACCERR): Likewise.
1771 (BUS_ADRALN): Likewise.
1772 (BUS_ADRERR): Likewise.
1773 (BUS_OBJERR): Likewise.
1774 (BUS_MCEERR_AR): Likewise.
1775 (BUS_MCEERR_AO): Likewise.
1776 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1777 (TRAP_TRACE): Likewise.
1778 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1779 __USE_XOPEN2K8].
1780 (CLD_KILLED): Likewise.
1781 (CLD_DUMPED): Likewise.
1782 (CLD_TRAPPED): Likewise.
1783 (CLD_STOPPED): Likewise.
1784 (CLD_CONTINUED): Likewise.
1785 (POLL_IN): Likewise.
1786 (POLL_OUT): Likewise.
1787 (POLL_MSG): Likewise.
1788 (POLL_ERR): Likewise.
1789 (POLL_PRI): Likewise.
1790 (POLL_HUP): Likewise.
1791 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
1792 (ILL_ILLOPN): Likewise.
1793 (ILL_ILLADR): Likewise.
1794 (ILL_ILLTRP): Likewise.
1795 (ILL_PRVOPC): Likewise.
1796 (ILL_PRVREG): Likewise.
1797 (ILL_COPROC): Likewise.
1798 (ILL_BADSTK): Likewise.
1799 (ILL_DBLFLT): Likewise.
1800 (ILL_HARDWALL): Likewise.
1801 (FPE_INTDIV): Likewise.
1802 (FPE_INTOVF): Likewise.
1803 (FPE_FLTDIV): Likewise.
1804 (FPE_FLTOVF): Likewise.
1805 (FPE_FLTUND): Likewise.
1806 (FPE_FLTRES): Likewise.
1807 (FPE_FLTINV): Likewise.
1808 (FPE_FLTSUB): Likewise.
1809 (SEGV_MAPERR): Likewise.
1810 (SEGV_ACCERR): Likewise.
1811 (BUS_ADRALN): Likewise.
1812 (BUS_ADRERR): Likewise.
1813 (BUS_OBJERR): Likewise.
1814 (BUS_MCEERR_AR): Likewise.
1815 (BUS_MCEERR_AO): Likewise.
1816 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1817 (TRAP_TRACE): Likewise.
1818 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1819 __USE_XOPEN2K8].
1820 (CLD_KILLED): Likewise.
1821 (CLD_DUMPED): Likewise.
1822 (CLD_TRAPPED): Likewise.
1823 (CLD_STOPPED): Likewise.
1824 (CLD_CONTINUED): Likewise.
1825 (POLL_IN): Likewise.
1826 (POLL_OUT): Likewise.
1827 (POLL_MSG): Likewise.
1828 (POLL_ERR): Likewise.
1829 (POLL_PRI): Likewise.
1830 (POLL_HUP): Likewise.
1831 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
1832 (ILL_ILLOPN): Likewise.
1833 (ILL_ILLADR): Likewise.
1834 (ILL_ILLTRP): Likewise.
1835 (ILL_PRVOPC): Likewise.
1836 (ILL_PRVREG): Likewise.
1837 (ILL_COPROC): Likewise.
1838 (ILL_BADSTK): Likewise.
1839 (FPE_INTDIV): Likewise.
1840 (FPE_INTOVF): Likewise.
1841 (FPE_FLTDIV): Likewise.
1842 (FPE_FLTOVF): Likewise.
1843 (FPE_FLTUND): Likewise.
1844 (FPE_FLTRES): Likewise.
1845 (FPE_FLTINV): Likewise.
1846 (FPE_FLTSUB): Likewise.
1847 (SEGV_MAPERR): Likewise.
1848 (SEGV_ACCERR): Likewise.
1849 (BUS_ADRALN): Likewise.
1850 (BUS_ADRERR): Likewise.
1851 (BUS_OBJERR): Likewise.
1852 (BUS_MCEERR_AR): Likewise.
1853 (BUS_MCEERR_AO): Likewise.
1854 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
1855 (TRAP_TRACE): Likewise.
1856 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
1857 __USE_XOPEN2K8].
1858 (CLD_KILLED): Likewise.
1859 (CLD_DUMPED): Likewise.
1860 (CLD_TRAPPED): Likewise.
1861 (CLD_STOPPED): Likewise.
1862 (CLD_CONTINUED): Likewise.
1863 (POLL_IN): Likewise.
1864 (POLL_OUT): Likewise.
1865 (POLL_MSG): Likewise.
1866 (POLL_ERR): Likewise.
1867 (POLL_PRI): Likewise.
1868 (POLL_HUP): Likewise.
1869 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
1870 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
1871
bc61d27c
JM
1872 [BZ #16670]
1873 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
1874 before #include of <time.h>.
1875 [!__USE_XOPEN2K] (__need_timespec): Likewise.
1876 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
1877 (test-xfail-UNIX98/sched.h/conform): Likewise.
1878
302949e2
MS
18792014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
1880
1881 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
1882 error absence of trapping exception support.
1883 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1884
a00f522a
JM
18852014-03-07 Joseph Myers <joseph@codesourcery.com>
1886
6f99f280
JM
1887 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
1888 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
1889 * timezone/Makefile (testdata): Move definition above include of
1890 Rules.
1891 (test-zones): New variable.
1892 (tests-special): Add zone files.
1893 (build-testdata): Use $(evaluate-test).
1894
0b20a9e8
JM
1895 * elf/Makefile (tests-special): Rename tests to end with .out.
1896 ($(objpfx)noload-mem): Likewise.
1897 ($(objpfx)tst-leaks1-mem): Likewise.
1898 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
1899 * iconv/Makefile (xtests-special): Change test-iconvconfig to
1900 $(objpfx)test-iconvconfig.out.
1901 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
1902 set -e inside subshell and redirect output to file.
1903 * iconvdata/Makefile (generated): Rename tests to end with .out.
1904 Correct type.
1905 (tests-special): Rename tests to end with .out.
1906 ($(objpfx)mtrace-tst-loading): Likewise.
1907 * intl/Makefile (generated): Likewise.
1908 (tests-special): Likewise.
1909 ($(objpfx)mtrace-tst-gettext): Likewise.
1910 * misc/Makefile (generated): Likewise.
1911 (tests-special): Likewise.
1912 ($(objpfx)tst-error1-mem): Likewise.
1913 * nptl/Makefile (tests-special): Likewise.
1914 ($(objpfx)tst-stack3-mem): Likewise.
1915 (generated): Likewise.
1916 * posix/Makefile (generated): Likewise.
1917 (tests-special): Likewise.
1918 (xtests-special): Likewise.
1919 ($(objpfx)tst-fnmatch-mem): Likewise.
1920 ($(objpfx)bug-regex2-mem): Likewise.
1921 ($(objpfx)bug-regex14-mem): Likewise.
1922 ($(objpfx)bug-regex21-mem): Likewise.
1923 ($(objpfx)bug-regex31-mem): Likewise.
1924 ($(objpfx)tst-vfork3-mem): Likewise.
1925 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
1926 ($(objpfx)tst-pcre-mem): Likewise.
1927 ($(objpfx)tst-boost-mem): Likewise.
1928 ($(objpfx)bug-ga2-mem): Likewise.
1929 ($(objpfx)bug-glob2-mem): Likewise.
1930 * resolv/Makefile (generate): Likewise.
1931 (tests-special): Likewise.
1932 (xtests-special): Likewise.
1933 (generated): Likewise.
1934 ($(objpfx)mtrace-tst-leaks): Likewise.
1935 ($(objpfx)mtrace-tst-leaks2): Likewise.
1936
265d52ab
JM
1937 * scripts/merge-test-results.sh: New file.
1938 * Makefile (tests-special-notdir): New variable.
1939 (tests): Run merge-test-results.sh.
1940 (xtests): Likewise.
1941 * Rules (tests-special-notdir): New variable.
1942 (xtests-special-notdir): Likewise.
1943 (tests): Run merge-test-results.sh
1944 (xtests): Likewise.
1945
54ee292d
JM
1946 * Makeconfig (test-xfail-name): New variable.
1947 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
1948 compute variable name for expected failures.
1949 * conform/Makefile (conformtest-headers-data): New variable.
1950 (conformtest-standards): Likewise.
1951 (conformtest-headers-ISO): Likewise.
1952 (conformtest-headers-ISO99): Likewise.
1953 (conformtest-headers-ISO11): Likewise.
1954 (conformtest-headers-POSIX): Likewise.
1955 (conformtest-headers-XPG3): Likewise.
1956 (conformtest-headers-XPG4): Likewise.
1957 (conformtest-headers-UNIX98): Likewise.
1958 (conformtest-headers-XOPEN2K): Likewise.
1959 (conformtest-headers-POSIX2008): Likewise.
1960 (conformtest-headers-XOPEN2K8): Likewise.
1961 (conformtest-header-list-base): Likewise.
1962 (conformtest-header-list-tests): Likewise.
1963 (conformtest-header-base): Likewise.
1964 (conformtest-header-tests): Likewise.
1965 (tests-special): Add $(conformtest-header-list-tests). If
1966 [$(fast-check) && !$(cross-compiling)], add
1967 $(conformtest-header-tests) instead of
1968 $(objpfx)run-conformtest.out.
1969 (generated): Add $(conformtest-header-list-base). If
1970 [$(fast-check) && !$(cross-compiling)], add
1971 $(conformtest-header-base). Remove previous setting.
1972 ($(conformtest-header-list-tests)): New target.
1973 (test-xfail-run-conformtest): Remove variable.
1974 ($(objpfx)run-conformtest.out): Remove target.
1975 (test-xfail-ISO11/complex.h/conform): New variable.
1976 (test-xfail-ISO11/stdalign.h/conform): Likewise.
1977 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
1978 (test-xfail-XPG3/varargs.h/conform): Likewise.
1979 (test-xfail-XPG4/varargs.h/conform): Likewise.
1980 (test-xfail-UNIX98/varargs.h/conform): Likewise.
1981 (test-xfail-XPG4/ndbm.h/conform): Likewise.
1982 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
1983 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
1984 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
1985 (test-xfail-XPG3/fcntl.h/conform): Likewise.
1986 (test-xfail-XPG3/ftw.h/conform): Likewise.
1987 (test-xfail-XPG3/grp.h/conform): Likewise.
1988 (test-xfail-XPG3/langinfo.h/conform): Likewise.
1989 (test-xfail-XPG3/limits.h/conform): Likewise.
1990 (test-xfail-XPG3/pwd.h/conform): Likewise.
1991 (test-xfail-XPG3/search.h/conform): Likewise.
1992 (test-xfail-XPG3/signal.h/conform): Likewise.
1993 (test-xfail-XPG3/stdio.h/conform): Likewise.
1994 (test-xfail-XPG3/stdlib.h/conform): Likewise.
1995 (test-xfail-XPG3/string.h/conform): Likewise.
1996 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
1997 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
1998 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
1999 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
2000 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
2001 (test-xfail-XPG3/sys/types.h/conform): Likewise.
2002 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
2003 (test-xfail-XPG3/termios.h/conform): Likewise.
2004 (test-xfail-XPG3/time.h/conform): Likewise.
2005 (test-xfail-XPG3/unistd.h/conform): Likewise.
2006 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
2007 (test-xfail-XPG4/fcntl.h/conform): Likewise.
2008 (test-xfail-XPG4/langinfo.h/conform): Likewise.
2009 (test-xfail-XPG4/netdb.h/conform): Likewise.
2010 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
2011 (test-xfail-XPG4/signal.h/conform): Likewise.
2012 (test-xfail-XPG4/stdio.h/conform): Likewise.
2013 (test-xfail-XPG4/stdlib.h/conform): Likewise.
2014 (test-xfail-XPG4/stropts.h/conform): Likewise.
2015 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
2016 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
2017 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
2018 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
2019 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
2020 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
2021 (test-xfail-XPG4/sys/time.h/conform): Likewise.
2022 (test-xfail-XPG4/sys/types.h/conform): Likewise.
2023 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2024 (test-xfail-XPG4/termios.h/conform): Likewise.
2025 (test-xfail-XPG4/ucontext.h/conform): Likewise.
2026 (test-xfail-XPG4/unistd.h/conform): Likewise.
2027 (test-xfail-XPG4/utmpx.h/conform): Likewise.
2028 (test-xfail-POSIX/sched.h/conform): Likewise.
2029 (test-xfail-POSIX/signal.h/conform): Likewise.
2030 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2031 (test-xfail-POSIX/tar.h/conform): Likewise.
2032 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2033 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
2034 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
2035 (test-xfail-UNIX98/netdb.h/conform): Likewise.
2036 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2037 (test-xfail-UNIX98/sched.h/conform): Likewise.
2038 (test-xfail-UNIX98/signal.h/conform): Likewise.
2039 (test-xfail-UNIX98/stdio.h/conform): Likewise.
2040 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
2041 (test-xfail-UNIX98/stropts.h/conform): Likewise.
2042 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
2043 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
2044 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
2045 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
2046 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
2047 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
2048 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
2049 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
2050 (test-xfail-UNIX98/unistd.h/conform): Likewise.
2051 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
2052 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
2053 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
2054 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
2055 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
2056 (test-xfail-XOPEN2K/math.h/conform): Likewise.
2057 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
2058 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
2059 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
2060 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
2061 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
2062 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
2063 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
2064 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
2065 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
2066 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
2067 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
2068 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
2069 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
2070 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
2071 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
2072 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
2073 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
2074 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
2075 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
2076 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
2077 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
2078 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
2079 (test-xfail-POSIX2008/signal.h/conform): Likewise.
2080 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
2081 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
2082 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
2083 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
2084 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
2085 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
2086 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
2087 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
2088 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
2089 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
2090 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
2091 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
2092 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
2093 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
2094 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
2095 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
2096 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
2097 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
2098 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
2099 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
2100 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
2101 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
2102 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
2103 (conformtest-cc-flags): Likewise.
2104 ($(conformtest-header-tests): New target.
2105 * conform/check-header-lists.sh: New file.
2106 * conform/run-conformtest.sh: Remove.
2107
a00f522a
JM
2108 * conform/conformtest.pl: Allow ' and \ in values given for
2109 constants.
2110 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
2111 inclusion.
2112 [POSIX] (sys/types.h): Likewise.
2113 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
2114 inclusion.
2115 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
2116 inclusion.
2117 * conform/data/signal.h-data (SIGIO): Remove expectation.
2118 [XPG3] (SIGBUS): Do not expect.
2119 [POSIX || XPG3] (SIGPOLL): Likewise.
2120 [POSIX || XPG3] (SIGPROF): Likewise.
2121 [POSIX || XPG3] (SIGSYS): Likewise.
2122 [XPG3] (SIGTRAP): Likewise.
2123 [POSIX || XPG3] (SIGURG): Likewise.
2124 [POSIX || XPG3] (SIGVTALRM): Likewise.
2125 [POSIX || XPG3] (SIGXCPU): Likewise.
2126 [POSIX || XPG3] (SIGXFSZ): Likewise.
2127 [POSIX] (SA_SIGINFO): Expect.
2128 [XPG3] (siginfo_t): Do not expect type or contents.
2129 [POSIX] (si_pid): Do not expect element.
2130 [POSIX] (si_uid): Likewise.
2131 [POSIX] (si_addr): Likewise.
2132 [POSIX] (si_status): Likewise.
2133 [POSIX] (si_band): Likewise.
2134 [XPG4] (si_value): Likewise.
2135 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
2136 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
2137 [POSIX || XPG3] (ILL_ILLADR): Likewise.
2138 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
2139 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
2140 [POSIX || XPG3] (ILL_PRVREG): Likewise.
2141 [POSIX || XPG3] (ILL_COPROC): Likewise.
2142 [POSIX || XPG3] (ILL_BADSTK): Likewise.
2143 [POSIX || XPG3] (FPE_INTDIV): Likewise.
2144 [POSIX || XPG3] (FPE_INTOVF): Likewise.
2145 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
2146 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
2147 [POSIX || XPG3] (FPE_FLTUND): Likewise.
2148 [POSIX || XPG3] (FPE_FLTRES): Likewise.
2149 [POSIX || XPG3] (FPE_FLTINV): Likewise.
2150 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
2151 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
2152 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
2153 [POSIX || XPG3] (BUS_ADRALN): Likewise.
2154 [POSIX || XPG3] (BUS_ADRERR): Likewise.
2155 [POSIX || XPG3] (BUS_OBJERR): Likewise.
2156 [POSIX || XPG3] (CLD_EXITED): Likewise.
2157 [POSIX || XPG3] (CLD_KILLED): Likewise.
2158 [POSIX || XPG3] (CLD_DUMPED): Likewise.
2159 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
2160 [POSIX || XPG3] (CLD_STOPPED): Likewise.
2161 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
2162 [POSIX || XPG3] (POLL_IN): Likewise.
2163 [POSIX || XPG3] (POLL_OUT): Likewise.
2164 [POSIX || XPG3] (POLL_MSG): Likewise.
2165 [POSIX || XPG3] (POLL_ERR): Likewise.
2166 [POSIX || XPG3] (POLL_PRI): Likewise.
2167 [POSIX || XPG3] (POLL_HUP): Likewise.
2168 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
2169 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
2170 (SIG*): Do not allow.
2171 [XPG3] (si_*): Likewise.
2172 [XPG3] (SI_*): Likewise.
2173 [XPG3 || XPG4] (sigev_*): Likewise.
2174 [XPG3 || XPG4] (SIGEV_*): Likewise.
2175 [XPG3 || XPG4] (sival_*): Likewise.
2176 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
2177 [POSIX || XPG3] (BUS_*): Likewise.
2178 [POSIX || XPG3] (CLD_*): Likewise.
2179 [POSIX || XPG3] (FPE_*): Likewise.
2180 [POSIX || XPG3] (ILL_*): Likewise.
2181 [POSIX || XPG3] (POLL_*): Likewise.
2182 [POSIX || XPG3] (SEGV_*): Likewise.
2183 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
2184 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
2185 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
2186 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
2187 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
2188 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
2189 Specify type and value.
2190 (TVERSLEN): Likewise.
2191 (REGTYPE): Likewise.
2192 (AREGTYPE): Likewise.
2193 (LNKTYPE): Likewise.
2194 (SYMTYPE): Likewise.
2195 (CHRTYPE): Likewise.
2196 (BLKTYPE): Likewise.
2197 (DIRTYPE): Likewise.
2198 (FIFOTYPE): Likewise.
2199 (CONTTYPE): Likewise.
2200 (TSUID): Likewise.
2201 (TSGID): Likewise.
2202 (TSVTX): Likewise.
2203 (TUREAD): Likewise.
2204 (TUWRITE): Likewise.
2205 (TUEXEC): Likewise.
2206 (TGREAD): Likewise.
2207 (TGWRITE): Likewise.
2208 (TGEXEC): Likewise.
2209 (TOREAD): Likewise.
2210 (TOWRITE): Likewise.
2211 (TOEXEC): Likewise.
2212 [POSIX] (TSVTX): Expect constant.
2213
aa97dee1
JM
22142014-03-06 Joseph Myers <joseph@codesourcery.com>
2215
f214606a
JM
2216 * Makefile (tests): Change dependencies to ....
2217 (tests-special): ... additions to this variable.
2218 (tests): Depend on $(tests-special).
2219 * Makerules (check-abi-list): New variable.
2220 (check-abi): Depend on $(check-abi-list).
2221 [$(subdir) = elf] (tests-special): Add
2222 $(objpfx)check-abi-libc.out.
2223 [$(build-shared) = yes && subdir] (tests-special): Add
2224 $(check-abi-list).
2225 [$(build-shared) = yes && subdir] (tests): Do not depend on
2226 check-abi.
2227 * Rules (tests): Depend on $(tests-special).
2228 (xtests): Depend on $(xtests-special).
2229 * catgets/Makefile (tests): Change dependencies to ....
2230 (tests-special): ... additions to this variable.
2231 * conform/Makefile (tests): Change dependencies to ....
2232 (tests-special): ... additions to this variable.
2233 * elf/Makefile (tests): Change dependencies to ....
2234 (tests-special): ... additions to this variable.
2235 * grp/Makefile (tests): Change dependencies to ....
2236 (tests-special): ... additions to this variable.
2237 * iconv/Makefile (xtests): Change dependencies to ....
2238 (xtests-special): ... additions to this variable.
2239 * iconvdata/Makefile (tests): Change dependencies to ....
2240 (tests-special): ... additions to this variable.
2241 * intl/Makefile (tests): Change dependencies to ....
2242 (tests-special): ... additions to this variable. Also add
2243 $(objpfx)tst-gettext.out.
2244 * io/Makefile (tests): Change dependencies to ....
2245 (tests-special): ... additions to this variable.
2246 * libio/Makefile (tests): Change dependencies to ....
2247 (tests-special): ... additions to this variable.
2248 * malloc/Makefile (tests): Change dependencies to ....
2249 (tests-special): ... additions to this variable.
2250 * misc/Makefile (tests): Change dependencies to ....
2251 (tests-special): ... additions to this variable.
2252 * nptl/Makefile (tests): Change dependencies to ....
2253 (tests-special): ... additions to this variable.
2254 * nptl_db/Makefile (tests): Change dependencies to ....
2255 (tests-special): ... additions to this variable.
2256 * posix/Makefile (tests): Change dependencies to ....
2257 (tests-special): ... additions to this variable.
2258 (xtests): Change dependencies to ....
2259 (xtests-special): ... additions to this variable.
2260 * resolv/Makefile (tests): Change dependencies to ....
2261 (tests-special): ... additions to this variable.
2262 (xtests): Change dependencies to ....
2263 (xtests-special): ... additions to this variable.
2264 * stdio-common/Makefile (tests): Change dependencies to ....
2265 (tests-special): ... additions to this variable.
2266 (do-tst-unbputc): Remove target.
2267 (do-tst-printf): Likewise.
2268 * stdlib/Makefile (tests): Change dependencies to ....
2269 (tests-special): ... additions to this variable.
2270 * string/Makefile (tests): Change dependencies to ....
2271 (tests-special): ... additions to this variable.
2272 * sysdeps/x86/Makefile (tests): Change dependencies to ....
2273 (tests-special): ... additions to this variable.
2274
81700b53
JM
2275 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
2276 whole file.
2277 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
2278 whole file.
2279 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
2280 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
2281
2ea18461
JM
2282 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
2283 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
2284 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
2285 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
2286 * conform/data/libgen.h-data [XPG3]: Likewise.
2287 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
2288 * conform/data/ndbm.h-data [XPG3]: Likewise.
2289 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2290 * conform/data/netdb.h-data [XPG3]: Likewise.
2291 * conform/data/netinet/in.h-data [XPG3]: Likewise.
2292 * conform/data/poll.h-data [XPG3]: Likewise.
2293 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
2294 * conform/data/strings.h-data [XPG3]: Likewise.
2295 * conform/data/stropts.h-data [XPG3]: Likewise.
2296 * conform/data/sys/mman.h-data [XPG3]: Likewise.
2297 * conform/data/sys/resource.h-data [XPG3]: Likewise.
2298 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
2299 Likewise.
2300 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
2301 * conform/data/sys/time.h-data [XPG3]: Likewise.
2302 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
2303 * conform/data/sys/uio.h-data [XPG3]: Likewise.
2304 * conform/data/sys/un.h-data [XPG3]: Likewise.
2305 * conform/data/syslog.h-data [XPG3]: Likewise.
2306 * conform/data/ucontext.h-data [XPG3]: Likewise.
2307 * conform/data/utmpx.h-data [XPG3]: Likewise.
2308 * conform/data/varargs.h-data [UNIX98]: Enable file.
2309
355bc986
JM
2310 * manual/Makefile (INSTALL_INFO): Remove variable setting.
2311
215db402
JM
2312 * math/libm-test.inc (struct test_f_f_data): Move expected results
2313 into structure for each rounding mode.
2314 (struct test_ff_f_data): Likewise.
2315 (struct test_ff_f_data_nexttoward): Likewise.
2316 (struct test_fi_f_data): Likewise.
2317 (struct test_fl_f_data): Likewise.
2318 (struct test_if_f_data): Likewise.
2319 (struct test_fff_f_data): Likewise.
2320 (struct test_c_f_data): Likewise.
2321 (struct test_f_f1_data): Likewise.
2322 (struct test_fF_f1_data): Likewise.
2323 (struct test_ffI_f1_data): Likewise.
2324 (struct test_c_c_data): Likewise.
2325 (struct test_cc_c_data): Likewise.
2326 (struct test_f_i_data): Likewise.
2327 (struct test_ff_i_data): Likewise.
2328 (struct test_f_l_data): Likewise.
2329 (struct test_f_L_data): Likewise.
2330 (struct test_fFF_11_data): Likewise.
2331 (RM_): New macro.
2332 (RM_FE_DOWNWARD): Likewise.
2333 (RM_FE_TONEAREST): Likewise.
2334 (RM_FE_TOWARDZERO): Likewise.
2335 (RM_FE_UPWARD): Likewise.
2336 (RUN_TEST_LOOP_f_f): Update references to expected results.
2337 (RUN_TEST_LOOP_2_f): Likewise.
2338 (RUN_TEST_LOOP_fff_f): Likewise.
2339 (RUN_TEST_LOOP_c_f): Likewise.
2340 (RUN_TEST_LOOP_f_f1): Likewise.
2341 (RUN_TEST_LOOP_fF_f1): Likewise.
2342 (RUN_TEST_LOOP_fI_f1): Likewise.
2343 (RUN_TEST_LOOP_ffI_f1): Likewise.
2344 (RUN_TEST_LOOP_c_c): Likewise.
2345 (RUN_TEST_LOOP_cc_c): Likewise.
2346 (RUN_TEST_LOOP_f_i): Likewise.
2347 (RUN_TEST_LOOP_f_i_tg): Likewise.
2348 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2349 (RUN_TEST_LOOP_f_b): Likewise.
2350 (RUN_TEST_LOOP_f_b_tg): Likewise.
2351 (RUN_TEST_LOOP_f_l): Likewise.
2352 (RUN_TEST_LOOP_f_L): Likewise.
2353 (RUN_TEST_LOOP_fFF_11): Likewise.
2354 * math/gen-libm-test.pl (parse_args): Output four copies of
2355 expected results for each test.
2356
67737b8f
JM
2357 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2358 (__ASSUME_UTIMES): Remove.
2359 * sysdeps/unix/sysv/linux/tile/kernel-features.h
2360 (__ASSUME_UTIMES): Likewise.
2361
aa97dee1
JM
2362 * math/gen-auto-libm-tests.c: Update comment on output format.
2363 (output_for_one_input_case): Generate before-rounding and
2364 after-rounding information as conditions on output flags not
2365 floating-point format.
2366 * math/auto-libm-test-out: Regenerated.
2367 * math/gen-libm-test.pl (cond_value): New function.
2368 (or_cond_value): Use cond_value.
2369 (generate_testfile): Handle conditional exceptions.
2370
e6b6a857
JM
23712014-03-05 Joseph Myers <joseph@codesourcery.com>
2372
2f0a0f44
JM
2373 * math/libm-test.inc (max_valid_error): New variable.
2374 (init_max_error): Take new argument specifying whether function
2375 results are exactly determined. Set max_valid_error and bound
2376 other variables for errors based on this argument.
2377 (set_max_error): Do not record results above max_valid_error.
2378 (check_float_internal): Only accept errors of up to 0.5ulps if
2379 also at most max_valid_error.
2380 (START): Take new argument EXACT and pass it to init_max_error.
2381 (acos_test): Update call to START.
2382 (acos_test_tonearest): Likewise.
2383 (acos_test_towardzero): Likewise.
2384 (acos_test_downward): Likewise.
2385 (acos_test_upward): Likewise.
2386 (acosh_test): Likewise.
2387 (asin_test): Likewise.
2388 (asin_test_tonearest): Likewise.
2389 (asin_test_towardzero): Likewise.
2390 (asin_test_downward): Likewise.
2391 (asin_test_upward): Likewise.
2392 (asinh_test): Likewise.
2393 (atan_test): Likewise.
2394 (atanh_test): Likewise.
2395 (atan2_test): Likewise.
2396 (cabs_test): Likewise.
2397 (cacos_test): Likewise.
2398 (cacosh_test): Likewise.
2399 (carg_test): Likewise.
2400 (casin_test): Likewise.
2401 (casinh_test): Likewise.
2402 (catan_test): Likewise.
2403 (catanh_test): Likewise.
2404 (cbrt_test): Likewise.
2405 (ccos_test): Likewise.
2406 (ccosh_test): Likewise.
2407 (ceil_test): Likewise.
2408 (cexp_test): Likewise.
2409 (cimag_test): Likewise.
2410 (clog_test): Likewise.
2411 (clog10_test): Likewise.
2412 (conj_test): Likewise.
2413 (copysign_test): Likewise.
2414 (cos_test): Likewise.
2415 (cos_test_tonearest): Likewise.
2416 (cos_test_towardzero): Likewise.
2417 (cos_test_downward): Likewise.
2418 (cos_test_upward): Likewise.
2419 (cosh_test): Likewise.
2420 (cosh_test_tonearest): Likewise.
2421 (cosh_test_towardzero): Likewise.
2422 (cosh_test_downward): Likewise.
2423 (cosh_test_upward): Likewise.
2424 (cpow_test): Likewise.
2425 (cproj_test): Likewise.
2426 (creal_test): Likewise.
2427 (csin_test): Likewise.
2428 (csinh_test): Likewise.
2429 (csqrt_test): Likewise.
2430 (ctan_test): Likewise.
2431 (ctan_test_tonearest): Likewise.
2432 (ctan_test_towardzero): Likewise.
2433 (ctan_test_downward): Likewise.
2434 (ctan_test_upward): Likewise.
2435 (ctanh_test): Likewise.
2436 (ctanh_test_tonearest): Likewise.
2437 (ctanh_test_towardzero): Likewise.
2438 (ctanh_test_downward): Likewise.
2439 (ctanh_test_upward): Likewise.
2440 (erf_test): Likewise.
2441 (erfc_test): Likewise.
2442 (exp_test): Likewise.
2443 (exp_test_tonearest): Likewise.
2444 (exp_test_towardzero): Likewise.
2445 (exp_test_downward): Likewise.
2446 (exp_test_upward): Likewise.
2447 (exp10_test): Likewise.
2448 (exp10_test_tonearest): Likewise.
2449 (exp10_test_towardzero): Likewise.
2450 (exp10_test_downward): Likewise.
2451 (exp10_test_upward): Likewise.
2452 (pow10_test): Likewise.
2453 (exp2_test): Likewise.
2454 (expm1_test): Likewise.
2455 (expm1_test_tonearest): Likewise.
2456 (expm1_test_towardzero): Likewise.
2457 (expm1_test_downward): Likewise.
2458 (expm1_test_upward): Likewise.
2459 (fabs_test): Likewise.
2460 (fdim_test): Likewise.
2461 (floor_test): Likewise.
2462 (fma_test): Likewise.
2463 (fma_test_towardzero): Likewise.
2464 (fma_test_downward): Likewise.
2465 (fma_test_upward): Likewise.
2466 (fmax_test): Likewise.
2467 (fmin_test): Likewise.
2468 (fmod_test): Likewise.
2469 (fpclassify_test): Likewise.
2470 (frexp_test): Likewise.
2471 (hypot_test): Likewise.
2472 (ilogb_test): Likewise.
2473 (isfinite_test): Likewise.
2474 (finite_test): Likewise.
2475 (isgreater_test): Likewise.
2476 (isgreaterequal_test): Likewise.
2477 (isinf_test): Likewise.
2478 (isless_test): Likewise.
2479 (islessequal_test): Likewise.
2480 (islessgreater_test): Likewise.
2481 (isnan_test): Likewise.
2482 (isnormal_test): Likewise.
2483 (issignaling_test): Likewise.
2484 (isunordered_test): Likewise.
2485 (j0_test): Likewise.
2486 (j1_test): Likewise.
2487 (jn_test): Likewise.
2488 (ldexp_test): Likewise.
2489 (lgamma_test): Likewise.
2490 (gamma_test): Likewise.
2491 (lrint_test): Likewise.
2492 (lrint_test_tonearest): Likewise.
2493 (lrint_test_towardzero): Likewise.
2494 (lrint_test_downward): Likewise.
2495 (lrint_test_upward): Likewise.
2496 (llrint_test): Likewise.
2497 (llrint_test_tonearest): Likewise.
2498 (llrint_test_towardzero): Likewise.
2499 (llrint_test_downward): Likewise.
2500 (llrint_test_upward): Likewise.
2501 (log_test): Likewise.
2502 (log10_test): Likewise.
2503 (log1p_test): Likewise.
2504 (log2_test): Likewise.
2505 (logb_test): Likewise.
2506 (logb_test_downward): Likewise.
2507 (lround_test): Likewise.
2508 (llround_test): Likewise.
2509 (modf_test): Likewise.
2510 (nearbyint_test): Likewise.
2511 (nextafter_test): Likewise.
2512 (nexttoward_test): Likewise.
2513 (pow_test): Likewise.
2514 (pow_test_tonearest): Likewise.
2515 (pow_test_towardzero): Likewise.
2516 (pow_test_downward): Likewise.
2517 (pow_test_upward): Likewise.
2518 (remainder_test): Likewise.
2519 (drem_test): Likewise.
2520 (remainder_test_tonearest): Likewise.
2521 (drem_test_tonearest): Likewise.
2522 (remainder_test_towardzero): Likewise.
2523 (drem_test_towardzero): Likewise.
2524 (remainder_test_downward): Likewise.
2525 (drem_test_downward): Likewise.
2526 (remainder_test_upward): Likewise.
2527 (drem_test_upward): Likewise.
2528 (remquo_test): Likewise.
2529 (rint_test): Likewise.
2530 (rint_test_tonearest): Likewise.
2531 (rint_test_towardzero): Likewise.
2532 (rint_test_downward): Likewise.
2533 (rint_test_upward): Likewise.
2534 (round_test): Likewise.
2535 (scalb_test): Likewise.
2536 (scalbn_test): Likewise.
2537 (scalbln_test): Likewise.
2538 (signbit_test): Likewise.
2539 (sin_test): Likewise.
2540 (sin_test_tonearest): Likewise.
2541 (sin_test_towardzero): Likewise.
2542 (sin_test_downward): Likewise.
2543 (sin_test_upward): Likewise.
2544 (sincos_test): Likewise.
2545 (sinh_test): Likewise.
2546 (sinh_test_tonearest): Likewise.
2547 (sinh_test_towardzero): Likewise.
2548 (sinh_test_downward): Likewise.
2549 (sinh_test_upward): Likewise.
2550 (sqrt_test): Likewise.
2551 (sqrt_test_tonearest): Likewise.
2552 (sqrt_test_towardzero): Likewise.
2553 (sqrt_test_downward): Likewise.
2554 (sqrt_test_upward): Likewise.
2555 (tan_test): Likewise.
2556 (tan_test_tonearest): Likewise.
2557 (tan_test_towardzero): Likewise.
2558 (tan_test_downward): Likewise.
2559 (tan_test_upward): Likewise.
2560 (tanh_test): Likewise.
2561 (tgamma_test): Likewise.
2562 (trunc_test): Likewise.
2563 (y0_test): Likewise.
2564 (y1_test): Likewise.
2565 (yn_test): Likewise.
2566 (significand_test): Likewise.
2567
e6b6a857
JM
2568 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
2569 individual tests in comment.
2570 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
2571 (prev_max_error): New variable.
2572 (prev_real_max_error): Likewise.
2573 (prev_imag_max_error): Likewise.
2574 (compare_ulp_data): Don't refer to test names in comment.
2575 (find_test_ulps): Remove function.
2576 (find_function_ulps): Likewise.
2577 (find_complex_function_ulps): Likewise.
2578 (init_max_error): Take function name as argument. Look up ulps
2579 for that function.
2580 (print_ulps): Remove function.
2581 (print_max_error): Use prev_max_error instead of calling
2582 find_function_ulps.
2583 (print_complex_max_error): Use prev_real_max_error and
2584 prev_imag_max_error instead of calling find_complex_function_ulps.
2585 (check_float_internal): Take max_ulp parameter instead of calling
2586 find_test_ulps. Don't call print_ulps.
2587 (check_float): Update call to check_float_internal.
2588 (check_complex): Update calls to check_float_internal.
2589 (START): Pass argument to init_max_error.
2590 * math/gen-libm-test.pl (%results): Don't include "kind"
2591 information.
2592 (parse_ulps): Don't handle ulps of individual tests.
2593 (print_ulps_file): Likewise.
2594 (output_ulps): Likewise.
2595 * math/README.libm-test: Update.
2596 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
2597 individual tests.
2598 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
2599 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
2600 * sysdeps/arm/libm-test-ulps: Likewise.
2601 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
2602 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
2603 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
2604 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
2605 * sysdeps/microblaze/libm-test-ulps: Likewise.
2606 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
2607 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
2608 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2609 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
2610 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2611 * sysdeps/sh/libm-test-ulps: Likewise.
2612 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2613 * sysdeps/tile/libm-test-ulps: Likewise.
2614 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2615
45adef3c
JM
26162014-03-04 Joseph Myers <joseph@codesourcery.com>
2617
2618 * math/libm-test.inc (print_complex_max_error): Check separately
2619 whether real and imaginary errors are within allowed range and
2620 pass 0 to print_complex_function_ulps instead of value within
2621 allowed range.
2622
000232b9
SP
26232014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
2624
d4b17258
SP
2625 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
2626 formatting.
2627 (get_handles_fopen): Likewise.
2628 (do_write_test): Likewise.
2629
091eff71
SP
2630 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
2631
fa3cd248
SP
2632 * libio/fileops.c (do_ftell): Use cached offset when
2633 available.
2634 * libio/iofwide.c (do_ftell_wide): Likewise.
2635 * libio/iofdopen.c (_IO_new_fdopen): Don't use
2636 _IO_file_attach.
2637 * libio/wfileops.c (_IO_fwide): Don't cache offset.
2638
000232b9
SP
2639 [BZ #16532]
2640 * libio/libioP.h (get_file_offset): New function.
2641 * libio/fileops.c (get_file_offset): Likewise.
2642 (do_ftell): Likewise.
2643 (_IO_new_file_seekoff): Split out ftell logic.
2644 * libio/wfileops.c (do_ftell_wide): Likewise.
2645 (_IO_wfile_seekoff): Split out ftell logic.
2646 * libio/tst-ftell-active-handler.c: New test case.
2647 * libio/Makefile (tests): Add it.
2648
116f4d1a
RM
26492014-03-03 Roland McGrath <roland@hack.frob.com>
2650
2651 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
2652 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
2653
532a6035
SP
26542014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
2655
2656 [BZ #16639]
2657 * nscd/connections.c (nscd_init): Call do_exit.
2658 (start_threads): Call do_exit and notify_parent.
2659 (begin_drop_privileges): Call do_exit.
2660 (finish_drop_privileges): Likewise.
2661 * nscd/selinux.c (preserve_capabilities): Likewise.
2662 (install_real_capabilities): Likewise.
2663 (nscd_selinux_enabled): Likewise.
2664 (avc_create_thread): Likewise.
2665 (avc_alloc_lock): Likewise.
2666 (nscd_avc_init): Likewise.
2667 * nscd/nscd.c (parent_fd): New static variable.
2668 (main): Create a pipe between parent and child processes.
2669 Skip closing parent_fd.
2670 (monitor_child): New function.
2671 (do_exit): Likewise.
2672 (notify_parent): Likewise.
2673 * nscd/nscd.h (notify_parent): Likewise.
2674 (do_exit): Likewise.
2675
d6285c9f
CD
26762014-03-03 Carlos O'Donell <carlos@redhat.com>
2677
2678 * malloc/malloc.c (__libc_calloc): Revert last change.
2679
2b85d2a0
AZ
26802014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2681
2682 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2683
c7debbdf
RS
26842014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2685
2686 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
2687 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
2688 implementation.
2689 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
2690 (__libc_ifunc_impl_list): Likewise.
2691 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
2692 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
2693 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
2694 * string/strrchr.c: Define STRRCHR.
2695
235eed86
OB
26962014-02-28 Ondřej Bílka <neleai@seznam.cz>
2697
2698 * benchtest/bench-strtok.c (simple_strtok): Delete.
2699 (strtok_string): Use as benchmark.
2700 * string/strtok (STRTOK): New macro.
2701
8e25d1e7
CD
27022014-02-28 Carlos O'Donell <carlos@redhat.com>
2703
ef563f92
CD
2704 * manual/threads.texi: Add header and standard comments to all
2705 functions.
2706
8e25d1e7
CD
2707 * elf/dl-lookup.c (check_match): New function.
2708 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
2709 (do_lookup_x): Remove nested function check_match. Use non-nested
2710 function check_match.
2711
ff71cc37
RM
27122014-02-28 Roland McGrath <roland@hack.frob.com>
2713
f08e9a26
RM
2714 * csu/Makefile (generated, before-compile): Use += rather than =.
2715 * catgets/Makefile (generated, generated-dirs): Likewise.
2716 * debug/Makefile (generated): Likewise.
2717 * dlfcn/Makefile (generated): Likewise.
2718 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
2719 * iconvdata/Makefile (before-compile, generated): Likewise.
2720 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
2721 * libio/Makefile (generated): Likewise.
2722 * malloc/Makefile (generated): Likewise.
2723 * manual/Makefile (generated, generated-dirs): Likewise.
2724 * misc/Makefile (generated): Likewise.
2725 * posix/Makefile (generated): Likewise.
2726 * resolv/Makefile (generated): Likewise.
2727 * sunrpc/Makefile (generated, generated-dirs): Likewise.
2728 * timezone/Makefile (generated, generated-dirs): Likewise.
2729
ff71cc37
RM
2730 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
2731
fe13a20c
AZ
27322014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2733
2734 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround power8
2735 implementation.
2736 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New file:
2737 POWER8 llround ifunc implementation.
2738 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c (__lllround): Add
2739 POWER8 implementation.
2740 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
2741 POWER8 llround implementation.
2742
1ad8950a
AZ
27432014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2744
2745 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint power8
2746 implementation.
2747 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New file:
2748 POWER8 llrint ifunc implementation.
2749 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint): Add
2750 POWER8 implementation.
2751 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
2752 POWER8 llrint implementation.
2753
cac626d6
AZ
27542014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2755
2756 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite power8
2757 implementation.
2758 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New file:
2759 POWER8 finite ifunc implementation.
2760 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite): Add
2761 POWER8 implementation.
2762 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
2763 Likewise.
2764 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
2765 POWER8 finite implementation.
2766 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
2767
4393fc11
AZ
27682014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2769
2770 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf power8
2771 implementation.
2772 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New file:
2773 POWER8 isinf ifunc implementation.
2774 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
2775 POWER8 implementation.
2776 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
2777 Likewise.
2778 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file:
2779 POWER8 isinf implementation.
2780 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
2781
487972ae
AZ
27822014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2783
2784 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h (INIT_ARCH):
2785 Add hwcap2 initialization.
2786 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan power8
2787 implementation.
2788 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New file:
2789 POWER8 isnan ifunc implementation.
2790 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
2791 POWER8 implementation.
2792 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
2793 Likewise.
2794 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file:
2795 POWER8 isnan implementation.
2796 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
2797
7d92b787
JY
27982014-02-27 Joey Ye <joey.ye@arm.com>
2799
2800 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
2801 (_FP_NANFRAC_Q): Set to zero.
2802
1cadc858
SP
28032014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
2804
2805 [BZ #16623]
2806 * math/auto-libm-test-in: New test inputs.
2807 * math/auto-libm-test-out: Regenerate.
2808 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
2809 and DA.
2810 (__cos): Likewise.
2811 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
2812
f8c17e79
JM
28132014-02-27 Joseph Myers <joseph@codesourcery.com>
2814
2815 * scripts/evaluate-test.sh: Take new argument indicating whether
2816 failure is expected.
2817 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
2818 indicating whether failure is expected.
2819 * conform/Makefile (test-xfail-run-conformtest): New variable.
2820 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
2821 level.
2822 * posix/Makefile (test-xfail-annexc): New variable.
2823 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
2824
a5f891ac
JM
28252014-02-26 Joseph Myers <joseph@codesourcery.com>
2826
2827 * argp/Makefile: Include Makeconfig immediately after defining
2828 subdir.
2829 * assert/Makefile: Likewise.
2830 * benchtests/Makefile: Likewise.
2831 * catgets/Makefile: Likewise.
2832 * conform/Makefile: Likewise.
2833 * crypt/Makefile: Likewise.
2834 * csu/Makefile: Likewise.
2835 (all): Remove target.
2836 * ctype/Makefile: Include Makeconfig immediately after defining
2837 subdir.
2838 * debug/Makefile: Likewise.
2839 * dirent/Makefile: Likewise.
2840 * dlfcn/Makefile: Likewise.
2841 * gmon/Makefile: Likewise.
2842 * gnulib/Makefile: Likewise.
2843 * grp/Makefile: Likewise.
2844 * gshadow/Makefile: Likewise.
2845 * hesiod/Makefile: Likewise.
2846 * hurd/Makefile: Likewise.
2847 (all): Remove target.
2848 * iconvdata/Makefile: Include Makeconfig immediately after
2849 defining subdir.
2850 * inet/Makefile: Likewise.
2851 * intl/Makefile: Likewise.
2852 * io/Makefile: Likewise.
2853 * libio/Makefile: Likewise.
2854 (all): Remove target.
2855 * locale/Makefile: Include Makeconfig immediately after defining
2856 subdir.
2857 * login/Makefile: Likewise.
2858 * mach/Makefile: Likewise.
2859 (all): Remove target.
2860 * malloc/Makefile: Include Makeconfig immediately after defining
2861 subdir.
2862 (all): Remove target.
2863 * manual/Makefile: Include Makeconfig immediately after defining
2864 subdir.
2865 * math/Makefile: Likewise.
2866 * misc/Makefile: Likewise.
2867 * nis/Makefile: Likewise.
2868 * nss/Makefile: Likewise.
2869 * po/Makefile: Likewise.
2870 (all): Remove target.
2871 * posix/Makefile: Include Makeconfig immediately after defining
2872 subdir.
2873 * pwd/Makefile: Likewise.
2874 * resolv/Makefile: Likewise.
2875 * resource/Makefile: Likewise.
2876 * rt/Makefile: Likewise.
2877 * setjmp/Makefile: Likewise.
2878 * shadow/Makefile: Likewise.
2879 * signal/Makefile: Likewise.
2880 * socket/Makefile: Likewise.
2881 * soft-fp/Makefile: Likewise.
2882 * stdio-common/Makefile: Likewise.
2883 * stdlib/Makefile: Likewise.
2884 * streams/Makefile: Likewise.
2885 * string/Makefile: Likewise.
2886 * sunrpc/Makefile: Likewise.
2887 (all): Remove target.
2888 * sysvipc/Makefile: Include Makeconfig immediately after defining
2889 subdir.
2890 * termios/Makefile: Likewise.
2891 * time/Makefile: Likewise.
2892 * timezone/Makefile: Likewise.
2893 (all): Remove target.
2894 * wcsmbs/Makefile: Include Makeconfig immediately after defining
2895 subdir.
2896 * wctype/Makefile: Likewise.
2897
5b456e9d
SE
28982014-02-26 Steve Ellcey <sellcey@mips.com>
2899
2900 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
2901 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
2902 (libc_feholdexcept_setround_mips): Ditto.
2903 (libc_feholdsetround): New.
2904 (libc_feholdsetroundf): New.
2905 (libc_feholdsetroundl): New.
2906 (libc_feupdateenv_test_mips): New.
2907 (libc_feupdateenv_test): New.
2908 (libc_feupdateenv_testf): New.
2909 (libc_feupdateenv_testl): New.
2910 (libc_feresetround): New.
2911 (libc_feresetroundf): New.
2912 (libc_feresetroundl): New.
2913 (libc_fetestexcept_mips): New.
2914 (libc_fetestexcept): New.
2915 (libc_fetestexceptf): New.
2916 (libc_fetestexceptl): New.
2917 (HAVE_RM_CTX): New.
2918 (libc_feholdexcept_setround_mips_ctx): New.
2919 (libc_feholdexcept_setround_ctx): New.
2920 (libc_feholdexcept_setroundf_ctx): New.
2921 (libc_feholdexcept_setroundl_ctx): New.
2922 (libc_fesetenv_mips_ctx): New.
2923 (libc_fesetenv_ctx): New.
2924 (libc_fesetenv_ctxf): New.
2925 (libc_fesetenv_ctxl): New.
2926 (libc_feupdateenv_mips_ctx): New.
2927 (libc_feupdateenv_ctx): New.
2928 (libc_feupdateenvf_ctx): New.
2929 (libc_feupdateenvl_ctx): New.
2930 (libc_feholdsetround_mips_ctx): New.
2931 (libc_feholdsetround_ctx): New.
2932 (libc_feholdsetroundf_ctx): New.
2933 (libc_feholdsetroundl_ctx): New.
2934 (libc_feresetround_mips_ctx): New.
2935 (libc_feresetround_ctx): New.
2936 (libc_feresetroundf_ctx): New.
2937 (libc_feresetroundl_ctx): New.
2938
085d0e35
CD
29392014-02-26 Carlos O'Donell <carlos@redhat.com>
2940
f067bf1f
CD
2941 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
2942
085d0e35
CD
2943 * manual/ipc.texi: New file.
2944 * manual/Makefile (chapters): Add ipc.
2945 * manual/job.texi: Add "Inter-Process Communication" to next.
2946 * manual/process.texi: Add "Inter-Process Communication" to prev.
2947
86e58c08
AZ
29482014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2949
2950 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2951
4248f0da
OB
29522014-02-26 Ondřej Bílka <neleai@seznam.cz>
2953
2954 * malloc/malloc.c (__libc_calloc): Simplify implementation.
2955
cf822e3c
OB
2956 * manual/arith.texi: Fix spaces after sentences.
2957 * manual/charset.texi: Likewise.
2958 * manual/errno.texi: Likewise.
2959 * manual/install.texi: Likewise.
2960 * manual/llio.texi: Likewise.
2961 * manual/locale.texi: Likewise.
2962 * manual/maint.texi: Likewise.
2963 * manual/math.texi: Likewise.
2964 * manual/memory.texi: Likewise.
2965 * manual/message.texi: Likewise.
2966 * manual/probes.texi: Likewise.
2967 * manual/resource.texi: Likewise.
2968 * manual/signal.texi: Likewise.
2969 * manual/socket.texi: Likewise.
2970 * manual/stdio.texi: Likewise.
2971 * manual/string.texi: Likewise.
2972 * manual/time.texi: Likewise.
2973 * manual/users.texi: Likewise.
2974
ade40b10
CD
29752014-02-25 Carlos O'Donell <carlos@redhat.com>
2976
2977 [BZ #16632]
2978 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
2979 _DEFAULT_SOURCE is defined.
2980
d0503676
CD
29812014-02-25 Ulrich Drepper <drepper@gmail.com>
2982 Carlos O'Donell <carlos@redhat.com>
2983
2984 [BZ #16613]
2985 * elf/dl-tls.c (_dl_count_modids): New function.
2986 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
2987 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
2988 audit library and increment generation counter.
2989 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
2990 * elf/tst-audit9.c: New file.
2991 * elf/tst-auditmod9a.c: New file.
2992 * elf/tst-auditmod9b.c: New file.
2993 * elf/Makefile: Add rules to build and run tst-audit9.
2994
4cbf380c
FW
29952014-02-25 Florian Weimer <fweimer@redhat.com>
2996
2997 [BZ #15347]
2998 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
2999
80a56cc3
WN
30002014-02-25 Will Newton <will.newton@linaro.org>
3001
3002 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
3003 (__longjmp): Restore sp and lr before restoring callee
3004 saved registers. Add longjmp and longjmp_target
3005 SystemTap probe point.
3006 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
3007 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
3008 Define to zero to match jmpbuf layout.
3009 * sysdeps/arm/setjmp.S: Include stap-probe.h.
3010 (__sigsetjmp): Save sp and lr before saving callee
3011 saved registers. Add setjmp SystemTap probe point.
3012
3ea0f74e
SL
30132014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
3014
3015 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
3016
b04acb26
AS
30172014-02-24 Andreas Schwab <schwab@suse.de>
3018
3019 [BZ #15804]
3020 * elf/pldd.c (wait_for_ptrace_stop): New function.
3021 (main): Call it after attaching.
3022
098ad55c
RM
30232014-02-22 Roland McGrath <roland@hack.frob.com>
3024
d4ec6ae1
RM
3025 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
3026 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
3027 Versions files is now verboten.
3028 * hurd/Versions (libc: GLIBC_2.0):
3029 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
3030 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
3031 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
3032 * mach/Versions: Likewise.
3033
098ad55c
RM
3034 * csu/Versions: Remove unused %include.
3035 * resolv/Versions: Likewise.
3036
acd7f096
JM
30372014-02-21 Joseph Myers <joseph@codesourcery.com>
3038
f0881698
JM
3039 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
3040 ($(objpfx)check-local-headers.out): Likewise.
3041 ($(objpfx)begin-end-check.out): Likewise.
3042 * Makerules (check-abi-%.out): Likewise.
3043 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
3044 ($(objpfx)test2.cat): Likewise.
3045 ($(objpfx)de/libc.cat): Likewise.
3046 ($(objpfx)test-gencat.out): Likewise.
3047 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
3048 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
3049 ($(objpfx)noload-mem): Likewise.
3050 ($(objpfx)tst-pathopt.out): Likewise.
3051 ($(objpfx)tst-rtld-load-self.out): Likewise.
3052 ($(objpfx)tst-array1-cmp.out): Likewise.
3053 ($(objpfx)tst-array1-static-cmp.out): Likewise.
3054 ($(objpfx)tst-array2-cmp.out): Likewise.
3055 ($(objpfx)tst-array3-cmp.out): Likewise.
3056 ($(objpfx)tst-array4-cmp.out): Likewise.
3057 ($(objpfx)tst-array5-cmp.out): Likewise.
3058 ($(objpfx)tst-array5-static-cmp.out): Likewise.
3059 ($(objpfx)check-textrel.out): Likewise.
3060 ($(objpfx)check-execstack.out): Likewise.
3061 ($(objpfx)check-localplt.out): Likewise.
3062 ($(objpfx)order2-cmp.out): Likewise.
3063 ($(objpfx)tst-leaks1-mem): Likewise.
3064 ($(objpfx)tst-leaks1-static-mem): Likewise.
3065 ($(objpfx)tst-initorder-cmp.out): Likewise.
3066 ($(objpfx)tst-initorder2-cmp.out): Likewise.
3067 ($(objpfx)tst-unused-dep.out): Likewise.
3068 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
3069 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
3070 * iconv/Makefile (test-iconvconfig): Likewise.
3071 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
3072 ($(objpfx)iconv-test.out): Likewise.
3073 ($(objpfx)tst-tables.out): Likewise.
3074 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
3075 ($(objpfx)tst-gettext.out): Likewise.
3076 ($(objpfx)tst-translit.out): Likewise.
3077 ($(objpfx)tst-gettext2.out): Likewise.
3078 ($(objpfx)tst-gettext4.out): Likewise.
3079 ($(objpfx)tst-gettext6.out): Likewise.
3080 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
3081 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
3082 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
3083 ($(objpfx)tst-fopenloc-mem.out): Likewise.
3084 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
3085 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
3086 * posix/Makefile ($(objpfx)globtest.out): Likewise.
3087 ($(objpfx)wordexp-tst.out): Likewise.
3088 ($(objpfx)annexc.out): Likewise.
3089 ($(objpfx)tst-fnmatch-mem): Likewise.
3090 ($(objpfx)bug-regex2-mem): Likewise.
3091 ($(objpfx)bug-regex14-mem): Likewise.
3092 ($(objpfx)bug-regex21-mem): Likewise.
3093 ($(objpfx)bug-regex31-mem): Likewise.
3094 ($(objpfx)tst-vfork3-mem): Likewise.
3095 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3096 ($(objpfx)tst-pcre-mem): Likewise.
3097 ($(objpfx)tst-boost-mem): Likewise.
3098 ($(objpfx)tst-getconf.out): Likewise.
3099 ($(objpfx)bug-ga2-mem): Likewise.
3100 ($(objpfx)bug-glob2-mem): Likewise.
3101 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
3102 ($(objpfx)mtrace-tst-leaks2): Likewise.
3103 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
3104 ($(objpfx)tst-printf.out): Likewise.
3105 ($(objpfx)tst-setvbuf1.out): Likewise.
3106 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
3107 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
3108 ($(objpfx)tst-fmtmsg.out): Likewise.
3109 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
3110 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
3111
acd7f096
JM
3112 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
3113 * bits/sigaction.h [__USE_MISC]: Likewise.
3114 * bits/waitstatus.h: Update #endif comments.
3115 * ctype/ctype.h: Likewise.
3116 * dirent/dirent.h: Likewise.
3117 [__USE_MISC]: Remove redundant conditionals.
3118 * grp/grp.h: Update #endif comments.
3119 [__USE_GNU]: Remove redundant conditionals.
3120 [__USE_MISC]: Likewise.
3121 * inet/netinet/in.h [__USE_GNU]: Likewise.
3122 * io/sys/stat.h [__USE_MISC]: Likewise.
3123 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
3124 * libio/bits/stdio.h: Update #endif comments.
3125 [__USE_MISC]: Remove redundant conditionals.
3126 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
3127 * libio/stdio.h: Update #endif comments.
3128 [__USE_MISC]: Remove redundant conditionals.
3129 * math/bits/math-finite.h [__USE_MISC]: Likewise.
3130 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
3131 * math/math.h: Update #else and #endif comments.
3132 [__USE_MISC]: Remove redundant conditionals.
3133 * misc/sys/uio.h: Update #endif comments.
3134 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
3135 * posix/glob.h [__USE_MISC]: Likewise.
3136 * posix/sys/types.h: Update #endif comments.
3137 [__USE_MISC]: Remove redundant conditionals.
3138 * posix/sys/wait.h: Update #endif comments.
3139 [__USE_MISC]: Remove redundant conditionals.
3140 * posix/unistd.h: Update #endif comments.
3141 [__USE_MISC]: Remove redundant conditionals.
3142 * pwd/pwd.h [__USE_GNU]: Likewise.
3143 [__USE_MISC]: Likewise.
3144 * resolv/netdb.h [__USE_GNU]: Likewise.
3145 * signal/signal.h: Update #endif comments.
3146 [__USE_MISC]: Remove redundant conditionals.
3147 * stdlib/stdlib.h: Update #else and #endif comments.
3148 [__USE_MISC]: Remove redundant conditionals.
3149 [__USE_GNU]: Likewise.
3150 * string/bits/string2.h [__USE_MISC]: Likewise.
3151 * string/string.h: Update #endif comments.
3152 [__USE_MISC]: Remove redundant conditionals.
3153 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
3154 Likewise.
3155 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
3156 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
3157 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
3158 Likewise.
3159 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
3160 Likewise.
3161 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
3162 comments.
3163 [__USE_MISC]: Remove redundant conditionals.
3164 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
3165 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
3166 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
3167 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
3168 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
3169 Likewise.
3170 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
3171 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
3172 Likewise.
3173 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
3174 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
3175 Likewise.
3176 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
3177 Likewise.
3178 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
3179 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
3180 Likewise.
3181 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
3182 Likewise.
3183 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
3184 * sysdeps/x86/bits/string.h: Update #endif comments.
3185 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
3186 conditionals.
3187 * time/sys/time.h: Update #endif comments.
3188 * time/time.h: Likewise.
3189 [__USE_MISC]: Remove redundant conditionals.
3190
a5d82e4e
YG
31912014-02-21 Yury Gribov <y.gribov@samsung.com>
3192
3193 [BZ #16600]
3194 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
3195
9a80491d
AS
31962014-02-21 Andreas Schwab <schwab@linux-m68k.org>
3197
3198 * Versions.def (librt): Add GLIBC_2.17.
3199
105fa381
AC
32002014-02-21 Adam Conrad <adconrad@0c3.net>
3201
3202 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
3203 synonym for _SYS_AUXV_H to allow direct inclusion.
3204 * sysdeps/sparc/bits/hwcap.h: Likewise.
3205 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
3206 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
3207 * sysdeps/sparc/sysdep.h: Likewise.
3208
b8cd1c4e
SP
32092014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
3210
3211 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
3212
bd939d23
RS
32132014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3214
3215 * benchtests/bench-strrchr.c: Print length instead of position.
3216
5d7b57ca
JM
32172014-02-20 Joseph Myers <joseph@codesourcery.com>
3218
bc688c10
JM
3219 [BZ #16611]
3220 * sysdeps/unix/sysv/linux/kernel-features.h
3221 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
3222 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
3223 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
3224 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
3225 Likewise.
3226 [__i386__ || __powerpc__ || __sh__ || __sparc__]
3227 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3228 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
3229 (__ASSUME_SENDMMSG): Define instead of using previous
3230 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
3231 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3232 (__ASSUME_SENDMMSG_SYSCALL): Define.
3233 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3234 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
3235 Likewise.
3236 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3237 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3238 Likewise.
3239 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3240 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3241 Likewise.
3242 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
3243 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3244 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3245 [__ASSUME_SENDMMSG]: Change conditionals to
3246 [__ASSUME_SENDMMSG_SOCKETCALL].
3247 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3248 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
3249 Define.
3250 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3251 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
3252 Likewise.
3253 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
3254 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
3255 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
3256 [!__ASSUME_SENDMMSG]: Change conditional to
3257 [!__ASSUME_SENDMMSG_SOCKETCALL].
3258 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3259 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
3260 Define.
3261
0e31b18c
JM
3262 [BZ #16610]
3263 * sysdeps/unix/sysv/linux/kernel-features.h
3264 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
3265 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
3266 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
3267 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
3268 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
3269 [__i386__ || __sparc__]
3270 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3271 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
3272 (__ASSUME_RECVMMSG): Define instead of using previous
3273 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
3274 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3275 (__ASSUME_RECVMMSG_SYSCALL): Define.
3276 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3277 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3278 Likewise.
3279 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3280 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3281 Likewise.
3282 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3283 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3284 Likewise.
3285 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
3286 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3287 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3288 [__ASSUME_RECVMMSG]: Change condition to
3289 [__ASSUME_RECVMMSG_SOCKETCALL].
3290 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3291 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3292 Define.
3293 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
3294 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3295 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
3296 Likewise.
3297 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
3298 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
3299 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
3300 [!__ASSUME_RECVMMSG]: Change condition to
3301 [!__ASSUME_RECVMMSG_SOCKETCALL].
3302 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3303 (__ASSUME_RECVMMSG_SYSCALL): Define.
3304
dd481ccf
JM
3305 [BZ #16609]
3306 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
3307 __powerpc__ || __s390__ || __sh__ || __sparc__]
3308 (__ASSUME_SOCKETCALL): Define.
3309 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
3310 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
3311 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
3312 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
3313 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
3314 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
3315 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
3316 (__ASSUME_ACCEPT4): Define instead of using previous
3317 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
3318 __powerpc__ || __sparc__ || __s390__)] condition.
3319 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
3320 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3321 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
3322 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3323 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3324 [!__ASSUME_ACCEPT4]: Change condition to
3325 [!__ASSUME_ACCEPT4_SOCKETCALL].
3326 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
3327 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
3328 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
3329 * sysdeps/unix/sysv/linux/arm/kernel-features.h
3330 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
3331 __ASSUME_ACCEPT4_SYSCALL.
3332 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
3333 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
3334 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3335 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
3336 __ASSUME_ACCEPT4_SYSCALL.
3337 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
3338 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
3339 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
3340 [__ASSUME_ACCEPT4]: Change condition to
3341 [__ASSUME_ACCEPT4_SOCKETCALL].
3342 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3343 (__ASSUME_SOCKETCALL): Define.
3344 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
3345 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3346 (__ASSUME_SOCKETCALL): Define.
3347 (__ASSUME_ACCEPT4): Remove.
3348 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
3349 Define.
3350 * sysdeps/unix/sysv/linux/mips/kernel-features.h
3351 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
3352 Likewise.
3353 * sysdeps/unix/sysv/linux/tile/kernel-features.h
3354 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
3355
5d7b57ca
JM
3356 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
3357 macro.
3358 (HWCAP_ARM_LPAE): Likewise.
3359 (HWCAP_ARM_EVTSTRM): Likewise.
3360 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
3361 Add vpfd32, lpae and evtstrm.
3362 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3363 Increase to 22.
3364
63689d61
JM
33652014-02-19 Joseph Myers <joseph@codesourcery.com>
3366
3367 * math/auto-libm-test-in: Add tests of clog10.
3368 * math/auto-libm-test-out: Regenerated.
3369 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
3370 * sysdeps/i386/fpu/libm-test-ulps: Update.
3371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3372
ab09bf61
AS
33732014-02-18 Andreas Schwab <schwab@suse.de>
3374
3375 [BZ #16574]
3376 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
3377 Store non-zero if the second buffer was newly allocated.
3378 (send_dg): Likewise.
3379 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
3380 to send_vc and send_dg.
3381 (res_nsend): Pass NULL for ansp2_malloced.
3382 * resolv/res_query.c (__libc_res_nquery): Add parameter
3383 answerp2_malloced and pass it down to __libc_res_nsend.
3384 (res_nquery): Pass additional NULL to __libc_res_nquery.
3385 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
3386 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
3387 second answer buffer if answerp2_malloced was set.
3388 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
3389 (__libc_res_nquerydomain): Add parameter
3390 answerp2_malloced and pass it down to __libc_res_nquery.
3391 (res_nquerydomain): Pass additional NULL to
3392 __libc_res_nquerydomain.
3393 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
3394 additional NULL to __libc_res_nsend and __libc_res_nquery.
3395 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
3396 additional NULL to __libc_res_nsearch.
3397 (_nss_dns_gethostbyname4_r): Revert last change. Use new
3398 parameter of __libc_res_nsearch to check for separately allocated
3399 second buffer.
3400 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
3401 __libc_res_nquery.
3402 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
3403 additional NULL to __libc_res_nquery.
3404 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
3405 __libc_res_nsearch.
3406 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
3407 * include/resolv.h: Update prototypes of __libc_res_nquery,
3408 __libc_res_nsearch, __libc_res_nsend.
3409
a4fb7861
JM
34102014-02-18 Joseph Myers <joseph@codesourcery.com>
3411
c6af2d89
JM
3412 * math/auto-libm-test-in: Add tests of fma.
3413 * math/auto-libm-test-out: Regenerated.
3414 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
3415 (fma_towardzero_test_data): Likewise.
3416 (fma_downward_test_data): Likewise.
3417 (fma_upward_test_data): Likewise.
3418 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
3419 mpc_mode.
3420 (rounding_modes): Add values for new field.
3421 (func_calc_method): Add value mpfr_fff_f.
3422 (func_calc_desc): Add mpfr_fff_f union field.
3423 (test_function): Add field exact_args.
3424 (FUNC): Add macro argument EXACT_ARGS.
3425 (FUNC_mpfr_f_f): Update call to FUNC.
3426 (FUNC_mpfr_f_f): Likewise.
3427 (FUNC_mpfr_ff_f): Likewise.
3428 (FUNC_mpfr_if_f): Likewise.
3429 (FUNC_mpc_c_f): Likewise.
3430 (FUNC_mpc_c_c): Likewise.
3431 (test_functions): Add fma. Update calls to FUNC.
3432 (handle_input_arg): Add argument exact_args.
3433 (add_test): Update call to handle_input_arg.
3434 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
3435 (output_for_one_input_case): Update call to calc_generic_results.
3436 Recalculate exact zero results in each rounding mode.
3437
a4fb7861
JM
3438 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
3439 non-negative before setting low bit.
3440 * math/auto-libm-test-in: Mark one asin test possibly having
3441 spurious underflow.
3442 * math/auto-libm-test-out: Regenerated.
3443 * sysdeps/i386/fpu/libm-test-ulps: Update.
3444 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3445
ef114eaf
DH
34462014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
3447
2b7f4f2c
SP
3448 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
3449 * sysdeps/unix/sysv/linux/microblaze: Move directory from
3450 ports/sysdeps/unix/sysv/linux/microblaze.
ef114eaf
DH
3451 * README: Add missing listing for microblaze*-*-linux-gnu.
3452
c70a4b1d
MF
34532014-02-16 Mike Frysinger <vapier@gentoo.org>
3454
3455 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
3456 * sysdeps/unix/sysv/linux/ia64: Move directory from
3457 ports/sysdeps/unix/sysv/linux/ia64.
3458 * README: Update listing for ia64-*-linux-gnu.
3459
591aeaf7
TD
34602014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
3461 Joseph Myers <joseph@codesourcery.com>
3462
3463 * Makeconfig (test-name): New variable.
3464 (evaluate-test): Likewise.
3465 * Makerules (do-test-clean): Remove .test-result files.
3466 (common-mostlyclean): Likewise.
3467 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
3468 * scripts/evaluate-test.sh: New file.
3469
6e89caf1
JM
34702014-02-14 Joseph Myers <joseph@codesourcery.com>
3471
7f98f180
JM
3472 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
3473 separate $(objpfx)tst-fopenloc-cmp.out and
3474 $(objpfx)tst-fopenloc-mem.out targets.
3475 (tests): Update dependencies.
3476 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
3477 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
3478 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
3479 (tst-rxspencer-no-utf8-ARGS): New variable.
3480 (tst-rxspencer-no-utf8-ENV): Likewise.
3481 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
3482 instead of $(objpfx)tst-rxspencer-mem.
3483 ($(objpfx)tst-rxspencer-mem): Change target to
3484 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
3485 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
3486 * posix/tst-rxspencer-no-utf8.c: New file.
3487
6e89caf1
JM
3488 * elf/Makefile ($(objpfx)order.out): Remove rule.
3489 [$(run-built-tests) = yes] (tests): Depend on
3490 $(objpfx)order-cmp.out.
3491 ($(objpfx)order-cmp.out): New rule.
3492 [$(run-built-tests) = yes] (tests): Depend on
3493 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
3494 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
3495 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
3496 $(objpfx)tst-array5-static-cmp.out.
3497 ($(objpfx)tst-array1.out): Remove rule.
3498 ($(objpfx)tst-array1-cmp.out): New rule.
3499 ($(objpfx)tst-array1-static.out): Remove rule.
3500 ($(objpfx)tst-array1-static-cmp.out): New rule.
3501 ($(objpfx)tst-array2.out): Remove rule.
3502 ($(objpfx)tst-array2-cmp.out): New rule.
3503 ($(objpfx)tst-array3.out): Remove rule.
3504 ($(objpfx)tst-array3-cmp.out): New rule.
3505 ($(objpfx)tst-array4.out): Remove rule.
3506 ($(objpfx)tst-array4-cmp.out): New rule.
3507 ($(objpfx)tst-array5.out): Remove rule.
3508 ($(objpfx)tst-array5-cmp.out): New rule.
3509 ($(objpfx)tst-array5-static.out): Remove rule.
3510 ($(objpfx)tst-array5-static-cmp.out): New rule.
3511 [$(run-built-tests) = yes] (tests): Depend on
3512 $(objpfx)order2-cmp.out.
3513 ($(objpfx)order2.out): Remove rule.
3514 ($(objpfx)order2-cmp.out): New rule.
3515 ($(objpfx)tst-initorder.out): Remove rule.
3516 [$(run-built-tests) = yes] (tests): Depend on
3517 $(objpfx)tst-initorder-cmp.out.
3518 ($(objpfx)tst-initorder-cmp.out): New rule.
3519 ($(objpfx)tst-initorder2.out): Remove rule.
3520 [$(run-built-tests) = yes] (tests): Depend on
3521 $(objpfx)tst-initorder2-cmp.out.
3522 ($(objpfx)tst-initorder2-cmp.out): New rule.
3523 [$(run-built-tests) = yes] (tests): Depend on
3524 $(objpfx)tst-unused-dep-cmp.out.
3525 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
3526 ($(objpfx)tst-unused-dep-cmp.out): New rule.
3527 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
3528 on $(objpfx)tst-setvbuf1-cmp.out.
3529 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
3530 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
3531 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
3532 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
3533 ($(objpfx)tst-svc.out): Remove rule.
3534 ($(objpfx)tst-svc-cmp.out): New rule.
3535
ed9a38e2
JM
35362014-02-13 Joseph Myers <joseph@codesourcery.com>
3537
3538 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
3539 * ctype/ctype.h [__USE_MISC]: Likewise.
3540 * dirent/dirent.h [__USE_MISC]: Likewise.
3541 * grp/grp.h [__USE_MISC]: Likewise.
3542 * io/fcntl.h [__USE_MISC]: Likewise.
3543 * io/sys/stat.h [__USE_MISC]: Likewise.
3544 * libio/stdio.h [__USE_MISC]: Likewise.
3545 * posix/unistd.h [__USE_MISC]: Likewise.
3546 * pwd/pwd.h [__USE_MISC]: Likewise.
3547 * stdlib.h [__USE_MISC]: Likewise.
3548 * string/bits/string2.h [__USE_MISC]: Likewise.
3549 * string/string.h [__USE_MISC]: Likewise.
3550 * time/time.h [__USE_MISC]: Likewise.
3551
d6680619
AS
35522014-02-13 Andreas Schwab <schwab@suse.de>
3553
3554 [BZ #16574]
3555 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
3556 second answer buffer if it was separately allocated.
3557
ace614b8
JM
35582014-02-12 Joseph Myers <joseph@codesourcery.com>
3559
743151ae
JM
3560 * sysdeps/mips/math-tests.h: Include <features.h>.
3561 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3562 (ROUNDING_TESTS_long_double): Do not define.
3563 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
3564 (EXCEPTION_TESTS_long_double): Likewise.
3565 * sysdeps/mips/mips64/libm-test-ulps: Update.
3566
498afc54
JM
3567 * include/features.h (__USE_BSD): Remove macro definitions.
3568 (__USE_SVID): Likewise.
3569 (_BSD_SOURCE): Likewise.
3570 (_SVID_SOURCE): Likewise.
3571 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
3572 from definition of _DEFAULT_SOURCE.
3573 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
3574 [_DEFAULT_SOURCE].
3575 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
3576 * bits/mman.h [__USE_BSD]: Likewise.
3577 * bits/termios.h [__USE_BSD]: Likewise.
3578 * bits/waitstatus.h [__USE_BSD]: Likewise.
3579 * ctype/ctype.h [__USE_SVID]: Likewise.
3580 * dirent/dirent.h [__USE_BSD]: Likewise.
3581 * grp/grp.h [__USE_SVID]: Likewise.
3582 [__USE_BSD]: Likewise.
3583 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
3584 * io/fcntl.h [__USE_BSD]: Likewise.
3585 * io/ftw.h [__USE_BSD]: Likewise.
3586 * io/sys/stat.h [__USE_BSD]: Likewise.
3587 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
3588 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
3589 * libio/stdio.h [__USE_SVID]: Likewise.
3590 [__USE_BSD]: Likewise.
3591 * math/math.h [__USE_SVID]: Likewise.
3592 [__USE_BSD]: Likewise.
3593 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
3594 * misc/bits/syslog.h [__USE_BSD]: Likewise.
3595 * misc/search.h [__USE_SVID]: Likewise.
3596 * misc/sys/mman.h [__USE_BSD]: Likewise.
3597 * misc/sys/syslog.h [__USE_BSD]: Likewise.
3598 * misc/sys/uio.h [__USE_BSD]: Likewise.
3599 * posix/bits/unistd.h [__USE_BSD]: Likewise.
3600 * posix/glob.h [__USE_BSD]: Likewise.
3601 * posix/regex.h [__USE_BSD]: Likewise.
3602 * posix/sys/types.h [__USE_BSD]: Likewise.
3603 [__USE_SVID]: Likewise.
3604 * posix/sys/utsname.h [__USE_SVID]: Likewise.
3605 * posix/sys/wait.h [__USE_BSD]: Likewise.
3606 [__USE_SVID]: Likewise.
3607 * posix/unistd.h [__USE_BSD]: Likewise.
3608 [__USE_SVID]: Likewise.
3609 * pwd/pwd.h [__USE_SVID]: Likewise.
3610 * resolv/netdb.h [__USE_BSD]: Likewise.
3611 * setjmp/setjmp.h [__USE_BSD]: Likewise.
3612 * signal/signal.h [__USE_BSD]: Likewise.
3613 [__USE_SVID]: Likewise.
3614 * socket/sys/socket.h [__USE_BSD]: Likewise.
3615 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
3616 * stdlib/stdlib.h [__USE_BSD]: Likewise.
3617 [__USE_SVID]: Likewise.
3618 * string/bits/string2.h [__USE_BSD]: Likewise.
3619 [__USE_SVID]: Likewise.
3620 * string/bits/string3.h [__USE_BSD]: Likewise.
3621 * string/endian.h [__USE_BSD]: Likewise.
3622 * string/string.h [__USE_SVID]: Likewise.
3623 [__USE_BSD]: Likewise.
3624 * string/strings.h [__USE_BSD]: Likewise.
3625 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
3626 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
3627 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
3628 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
3629 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
3630 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
3631 Likewise.
3632 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
3633 Likewise.
3634 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
3635 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
3636 Likewise.
3637 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
3638 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
3639 Likewise.
3640 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
3641 Likewise.
3642 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
3643 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
3644 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
3645 Likewise.
3646 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
3647 Likewise.
3648 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
3649 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
3650 * termios/termios.h [__USE_BSD]: Likewise.
3651 * time/sys/time.h [__USE_BSD]: Likewise.
3652 * time/time.h [__USE_BSD]: Likewise.
3653 [__USE_SVID]: Likewise.
3654
dd7b064c
JM
3655 * Makefile (subdir_targets): Remove subdir_lint.out.
3656
a2c4c199
JM
3657 * stdio-common/Makefile (do-tst-unbputc): Remove target.
3658 (do-tst-printf): Likewise.
3659 (tests): Depend directly on $(objpfx)tst-unbputc.out and
3660 $(objpfx)tst-printf.out.
3661
8756f740
JM
3662 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
3663
1b6dd3f1
JM
3664 * Makerules (check-abi-%): Change target to
3665 $(objpfx)check-abi-%.out.
3666 (check-abi target): Update dependencies.
3667 (check-abi-pattern variable): Redirect output of diff to $@.
3668 (check-abi variable): Likewise.
3669 * elf/Makefile (check-abi): Update dependencies.
3670
ace614b8
JM
3671 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
3672 unused.
3673 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
3674 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
3675 subnormal range.
3676 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
3677 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
3678 value has largest subnormal exponent.
3679 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
3680 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
3681 * sysdeps/aarch64/soft-fp/sfp-machine.h
3682 (_FP_TININESS_AFTER_ROUNDING): New macro.
3683 * sysdeps/alpha/soft-fp/sfp-machine.h
3684 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3685 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3686 Likewise.
3687 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
3688 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3689 * sysdeps/mips/soft-fp/sfp-machine.h
3690 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3691 * sysdeps/powerpc/soft-fp/sfp-machine.h
3692 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3693 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3694 Likewise.
3695 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
3696 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3697 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
3698 (_FP_TININESS_AFTER_ROUNDING): Likewise.
3699 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
3700 Likewise.
3701
fbfdf9cb
DAS
37022014-02-12 Dylan Alex Simon <dylan@dylex.net>
3703
3704 [BZ #16545]
3705 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
3706 model 1.
3707
68b7efaa
RH
37082014-02-12 Richard Henderson <rth@redhat.com>
3709
c70a4b1d 3710 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
68b7efaa
RH
3711 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
3712 * sysdeps/unix/sysv/linux/alpha: Move directory from
3713 ports/sysdeps/unix/sysv/linux/alpha.
3714 * README: Update listing for alpha-*-linux-gnu.
3715
cb4a2928
JM
37162014-02-11 Joseph Myers <joseph@codesourcery.com>
3717
c941736c
JM
3718 * include/features.h: Update comment documenting feature test
3719 macros.
3720 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
3721 _DEFAULT_SOURCE.
3722 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
3723 (_SVID_SOURCE): Likewise.
3724 (_DEFAULT_SOURCE): Update description of default features.
3725 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
3726 with _GNU_SOURCE.
3727 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
3728 (S_ISVTX): Likewise.
3729 * manual/math.texi (Mathematical Constants): Likewise.
3730 * manual/signal.texi (Interrupted Primitives): Likewise.
3731 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
3732 * math/test-matherr.c (_SVID_SOURCE): Do not define.
3733 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
3734 Don't refer to _SVID_SOURCE in warning text.
3735
e8d8d7ec
JM
3736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3737
cb4a2928
JM
3738 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
3739 already defined.
3740 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
3741 * sysdeps/mips/dl-lookup.c: Remove.
3742 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
3743
7e6424e3
AK
37442014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
3745
3746 [BZ #16447]
3747 * math/auto-libm-test-in: Add testcase for expl.
3748 * math/auto-libm-test-out: Regenerate.
3749 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
3750 calculation of unsafe.
3751 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
3752
75eff3fe
MS
37532014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
3754
3755 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
3756 * sysdeps/unix/sysv/linux/aarch64: Move directory from
3757 ports/sysdeps/unix/sysv/linux/aarch64.
3758 * README: Update listing for aarch64*-*-linux-gnu.
3759
d35f1e80
WN
37602014-02-11 Will Newton <will.newton@linaro.org>
3761
3762 * manual/probes.texi (Mathematical Function Probes): Use
3763 "triggered" instead of "hit".
3764
7b3436d4
WN
37652014-02-11 Will Newton <will.newton@linaro.org>
3766
3767 * manual/probes.texi (Internal Probes): Add documentation
3768 of setjmp, longjmp and longjmp_target probes.
3769
b4f12ca3
WN
37702014-02-11 Will Newton <will.newton@linaro.org>
3771
3772 * include/stap-probe.h: Add comment about probe argument
3773 format.
3774
c13a72b7
WN
37752014-02-11 Will Newton <will.newton@linaro.org>
3776
3777 * malloc/mtrace.c (attribute_hidden): Remove unused macro
3778 definition. (tr_where, tr_freehook, tr_mallochook,
3779 tr_reallochook, tr_memalignhook): Use ANSI protoype.
3780
195b8165
DM
37812014-02-11 David S. Miller <davem@davemloft.net>
3782
3783 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
3784 processing int_tests.
3785
2ad7600b
JM
37862014-02-10 Joseph Myers <joseph@codesourcery.com>
3787
3788 * sysdeps/mips: Move directory from ports/sysdeps/mips.
3789 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
3790 * sysdeps/unix/sysv/linux/mips: Move directory from
3791 ports/sysdeps/unix/sysv/linux/mips.
3792 * README: Update listing for mips-*-linux-gnu and
3793 mips64-*-linux-gnu.
3794
73588a72
AS
37952014-02-10 Andreas Schwab <schwab@linux-m68k.org>
3796
3797 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
3798 * sysdeps/unix/sysv/linux/m68k: Move directory from
3799 ports/sysdeps/unix/sysv/linux/m68k.
3800 * README: Update listing for m68k-*-linux-gnu.
3801
4372980f
CM
38022014-02-10 Chris Metcalf <cmetcalf@tilera.com>
3803
3804 * sysdeps/tile: Move directory from ports/sysdeps/tile.
3805 * sysdeps/unix/sysv/linux/generic: Move directory from
3806 ports/sysdeps/unix/sysv/linux/generic.
3807 * sysdeps/unix/sysv/linux/tile: Move directory from
3808 ports/sysdeps/unix/sysv/linux/tile.
3809 * README: Update listing for tile*-*-linux-gnu.
3810
a1ffb40e
OB
38112014-02-10 Ondřej Bílka <neleai@seznam.cz>
3812
3813 * assert/assert.c (__assert_fail_base): Use glibc_likely instead __builtin_expect.
3814 * benchtests/bench-memmem.c (simple_memmem): Likewise.
3815 * catgets/open_catalog.c (__open_catalog): Likewise.
3816 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
3817 * debug/confstr_chk.c: Likewise.
3818 * debug/fread_chk.c (__fread_chk): Likewise.
3819 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
3820 * debug/getgroups_chk.c: Likewise.
3821 * debug/mbsnrtowcs_chk.c: Likewise.
3822 * debug/mbsrtowcs_chk.c: Likewise.
3823 * debug/mbstowcs_chk.c: Likewise.
3824 * debug/memcpy_chk.c: Likewise.
3825 * debug/memmove_chk.c: Likewise.
3826 * debug/mempcpy_chk.c: Likewise.
3827 * debug/memset_chk.c: Likewise.
3828 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
3829 * debug/strcat_chk.c (__strcat_chk): Likewise.
3830 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
3831 * debug/strncat_chk.c (__strncat_chk): Likewise.
3832 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
3833 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
3834 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
3835 * debug/wcpncpy_chk.c: Likewise.
3836 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
3837 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
3838 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
3839 * debug/wcsncpy_chk.c: Likewise.
3840 * debug/wcsnrtombs_chk.c: Likewise.
3841 * debug/wcsrtombs_chk.c: Likewise.
3842 * debug/wcstombs_chk.c: Likewise.
3843 * debug/wmemcpy_chk.c: Likewise.
3844 * debug/wmemmove_chk.c: Likewise.
3845 * debug/wmempcpy_chk.c: Likewise.
3846 * debug/wmemset_chk.c: Likewise.
3847 * dirent/scandirat.c (SCANDIRAT): Likewise.
3848 * dlfcn/dladdr1.c (dladdr1): Likewise.
3849 * dlfcn/dladdr.c (dladdr): Likewise.
3850 * dlfcn/dlclose.c (dlclose_doit): Likewise.
3851 * dlfcn/dlerror.c (__dlerror): Likewise.
3852 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
3853 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3854 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3855 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
3856 * dlfcn/dlsym.c (dlsym_doit): Likewise.
3857 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
3858 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
3859 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
3860 Likewise.
3861 * elf/dl-conflict.c: Likewise.
3862 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
3863 * elf/dl-dst.h: Likewise.
3864 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
3865 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
3866 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
3867 * elf/dl-init.c (call_init, _dl_init): Likewise.
3868 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
3869 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths,
3870 _dl_map_object_from_fd, open_verify, open_path,
3871 _dl_map_object): Likewise.
3872 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
3873 Likewise.
3874 * elf/dl-minimal.c (__libc_memalign): Likewise.
3875 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
3876 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
3877 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
3878 * elf/dl-sym.c (do_sym): Likewise.
3879 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr, __tls_get_addr,
3880 _dl_tls_get_addr_soft): Likewise.
3881 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
3882 * elf/dl-writev.h (_dl_writev): Likewise.
3883 * elf/ldconfig.c (search_dir): Likewise.
3884 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload,
3885 dl_main): Likewise.
3886 * elf/setup-vdso.h (setup_vdso): Likewise.
3887 * grp/compat-initgroups.c (compat_call): Likewise.
3888 * grp/fgetgrent.c (fgetgrent): Likewise.
3889 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
3890 * grp/putgrent.c (putgrent): Likewise.
3891 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
3892 Likewise.
3893 * hurd/hurdinit.c: Likewise.
3894 * iconvdata/8bit-gap.c (struct): Likewise.
3895 * iconvdata/ansi_x3.110.c : Likewise.
3896 * iconvdata/big5.c : Likewise.
3897 * iconvdata/big5hkscs.c : Likewise.
3898 * iconvdata/cp1255.c: Likewise.
3899 * iconvdata/cp1258.c : Likewise.
3900 * iconvdata/cp932.c : Likewise.
3901 * iconvdata/euc-cn.c: Likewise.
3902 * iconvdata/euc-jisx0213.c : Likewise.
3903 * iconvdata/euc-jp.c: Likewise.
3904 * iconvdata/euc-jp-ms.c : Likewise.
3905 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
3906 * iconvdata/gb18030.c : Likewise.
3907 * iconvdata/gbbig5.c (const): Likewise.
3908 * iconvdata/gbgbk.c: Likewise.
3909 * iconvdata/gbk.c : Likewise.
3910 * iconvdata/ibm1364.c : Likewise.
3911 * iconvdata/ibm930.c : Likewise.
3912 * iconvdata/ibm932.c: Likewise.
3913 * iconvdata/ibm933.c : Likewise.
3914 * iconvdata/ibm935.c : Likewise.
3915 * iconvdata/ibm937.c : Likewise.
3916 * iconvdata/ibm939.c : Likewise.
3917 * iconvdata/ibm943.c: Likewise.
3918 * iconvdata/iso_11548-1.c: Likewise.
3919 * iconvdata/iso-2022-cn.c : Likewise.
3920 * iconvdata/iso-2022-cn-ext.c : Likewise.
3921 * iconvdata/iso-2022-jp-3.c: Likewise.
3922 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
3923 * iconvdata/iso-2022-kr.c : Likewise.
3924 * iconvdata/iso646.c (gconv_end): Likewise.
3925 * iconvdata/iso_6937-2.c : Likewise.
3926 * iconvdata/iso_6937.c : Likewise.
3927 * iconvdata/iso8859-1.c: Likewise.
3928 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
3929 * iconvdata/shift_jisx0213.c : Likewise.
3930 * iconvdata/sjis.c : Likewise.
3931 * iconvdata/t.61.c : Likewise.
3932 * iconvdata/tcvn5712-1.c : Likewise.
3933 * iconvdata/tscii.c: Likewise.
3934 * iconvdata/uhc.c : Likewise.
3935 * iconvdata/unicode.c (gconv_end): Likewise.
3936 * iconvdata/utf-16.c (gconv_end): Likewise.
3937 * iconvdata/utf-32.c (gconv_end): Likewise.
3938 * iconvdata/utf-7.c (base64): Likewise.
3939 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
3940 * iconv/gconv_close.c (__gconv_close): Likewise.
3941 * iconv/gconv_open.c (__gconv_open): Likewise.
3942 * iconv/gconv_simple.c (internal_ucs4_loop_single, ucs4_internal_loop,
3943 ucs4_internal_loop_unaligned, ucs4_internal_loop_single,
3944 internal_ucs4le_loop_single, ucs4le_internal_loop,
3945 ucs4le_internal_loop_unaligned, ucs4le_internal_loop_single): Likewise.
3946 * iconv/iconv.c (iconv): Likewise.
3947 * iconv/iconv_close.c: Likewise.
3948 * iconv/loop.c (SINGLE): Likewise.
3949 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
3950 * include/atomic.h: Likewise.
3951 * inet/inet6_option.c (option_alloc): Likewise.
3952 * intl/bindtextdom.c (set_binding_values): Likewise.
3953 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
3954 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
3955 * intl/localealias.c (read_alias_file): Likewise.
3956 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
3957 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap,
3958 _IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
3959 * libio/fmemopen.c (fmemopen): Likewise.
3960 * libio/iofgets.c (_IO_fgets): Likewise.
3961 * libio/iofgets_u.c (fgets_unlocked): Likewise.
3962 * libio/iofgetws.c (fgetws): Likewise.
3963 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
3964 * libio/iogetdelim.c (_IO_getdelim): Likewise.
3965 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap,
3966 adjust_wide_data, _IO_wfile_seekoff): Likewise.
3967 * locale/findlocale.c (_nl_find_locale): Likewise.
3968 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
3969 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
3970 Likewise.
3971 * locale/setlocale.c (setlocale): Likewise.
3972 * login/programs/pt_chown.c (main): Likewise.
3973 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
3974 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
3975 * malloc/memusage.c (update_data, malloc, realloc, calloc, free,
3976 mmap, mmap64, mremap, munmap): Likewise.
3977 * math/e_exp2l.c: Likewise.
3978 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
3979 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
3980 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
3981 * math/s_catan.c (__catan): Likewise.
3982 * math/s_catanf.c (__catanf): Likewise.
3983 * math/s_catanh.c (__catanh): Likewise.
3984 * math/s_catanhf.c (__catanhf): Likewise.
3985 * math/s_catanhl.c (__catanhl): Likewise.
3986 * math/s_catanl.c (__catanl): Likewise.
3987 * math/s_ccosh.c (__ccosh): Likewise.
3988 * math/s_ccoshf.c (__ccoshf): Likewise.
3989 * math/s_ccoshl.c (__ccoshl): Likewise.
3990 * math/s_cexp.c (__cexp): Likewise.
3991 * math/s_cexpf.c (__cexpf): Likewise.
3992 * math/s_cexpl.c (__cexpl): Likewise.
3993 * math/s_clog10.c (__clog10): Likewise.
3994 * math/s_clog10f.c (__clog10f): Likewise.
3995 * math/s_clog10l.c (__clog10l): Likewise.
3996 * math/s_clog.c (__clog): Likewise.
3997 * math/s_clogf.c (__clogf): Likewise.
3998 * math/s_clogl.c (__clogl): Likewise.
3999 * math/s_csin.c (__csin): Likewise.
4000 * math/s_csinf.c (__csinf): Likewise.
4001 * math/s_csinh.c (__csinh): Likewise.
4002 * math/s_csinhf.c (__csinhf): Likewise.
4003 * math/s_csinhl.c (__csinhl): Likewise.
4004 * math/s_csinl.c (__csinl): Likewise.
4005 * math/s_csqrt.c (__csqrt): Likewise.
4006 * math/s_csqrtf.c (__csqrtf): Likewise.
4007 * math/s_csqrtl.c (__csqrtl): Likewise.
4008 * math/s_ctan.c (__ctan): Likewise.
4009 * math/s_ctanf.c (__ctanf): Likewise.
4010 * math/s_ctanh.c (__ctanh): Likewise.
4011 * math/s_ctanhf.c (__ctanhf): Likewise.
4012 * math/s_ctanhl.c (__ctanhl): Likewise.
4013 * math/s_ctanl.c (__ctanl): Likewise.
4014 * math/w_pow.c: Likewise.
4015 * math/w_powf.c: Likewise.
4016 * math/w_powl.c: Likewise.
4017 * math/w_scalb.c (sysv_scalb): Likewise.
4018 * math/w_scalbf.c (sysv_scalbf): Likewise.
4019 * math/w_scalbl.c (sysv_scalbl): Likewise.
4020 * misc/error.c (error_tail): Likewise.
4021 * misc/pselect.c (__pselect): Likewise.
4022 * nis/nis_callback.c (__nis_create_callback): Likewise.
4023 * nis/nis_call.c (__nisfind_server): Likewise.
4024 * nis/nis_creategroup.c (nis_creategroup): Likewise.
4025 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
4026 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
4027 * nis/nis_getservlist.c (nis_getservlist): Likewise.
4028 * nis/nis_lookup.c (nis_lookup): Likewise.
4029 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
4030 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry,
4031 nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
4032 * nis/nis_xdr.c (xdr_endpoint): Likewise.
4033 * nis/nss_compat/compat-grp.c (getgrent_next_file, internal_getgrnam_r,
4034 internal_getgrgid_r): Likewise.
4035 * nis/nss_compat/compat-initgroups.c (add_group, internal_getgrent_r):
4036 Likewise.
4037 * nis/nss_compat/compat-pwd.c (getpwent_next_file, internal_getpwnam_r,
4038 internal_getpwuid_r): Likewise.
4039 * nis/nss_compat/compat-spwd.c (getspent_next_file,
4040 internal_getspnam_r): Likewise.
4041 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r,
4042 _nss_nis_getaliasbyname_r): Likewise.
4043 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r,
4044 _nss_nis_getntohost_r): Likewise.
4045 * nis/nss_nis/nis-grp.c (internal_nis_setgrent,
4046 internal_nis_getgrent_r, _nss_nis_getgrnam_r, _nss_nis_getgrgid_r):
4047 Likewise.
4048 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent,
4049 internal_nis_gethostent_r, internal_gethostbyname2_r,
4050 _nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r,
4051 _nss_nis_gethostbyname4_r): Likewise.
4052 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r,
4053 initgroups_netid): Likewise.
4054 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
4055 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r,
4056 _nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
4057 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r,
4058 _nss_nis_getprotobynumber_r): Likewise.
4059 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey,
4060 _nss_nis_getsecretkey): Likewise.
4061 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent,
4062 internal_nis_getpwent_r, _nss_nis_getpwnam_r, _nss_nis_getpwuid_r):
4063 Likewise.
4064 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r,
4065 _nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
4066 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r,
4067 _nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
4068 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent, internal_nis_getspent_r,
4069 _nss_nis_getspnam_r): Likewise.
4070 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
4071 Likewise.
4072 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r,
4073 _nss_nisplus_getntohost_r): Likewise.
4074 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r,
4075 _nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
4076 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r,
4077 _nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r): Likewise.
4078 * nis/nss_nisplus/nisplus-initgroups.c (_nss_nisplus_initgroups_dyn):
4079 Likewise.
4080 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r,
4081 _nss_nisplus_getnetbyaddr_r): Likewise.
4082 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r,
4083 _nss_nisplus_getprotobynumber_r): Likewise.
4084 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r,
4085 _nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
4086 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
4087 Likewise.
4088 * nis/nss_nisplus/nisplus-service.c (internal_nisplus_getservent_r,
4089 _nss_nisplus_getservbyname_r, _nss_nisplus_getservbyport_r): Likewise.
4090 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r,
4091 _nss_nisplus_getspnam_r): Likewise.
4092 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist): Likewise.
4093 * nscd/aicache.c (addhstaiX): Likewise.
4094 * nscd/cache.c (cache_search, prune_cache): Likewise.
4095 * nscd/connections.c (register_traced_file, send_ro_fd, handle_request,
4096 nscd_run_prune, nscd_run_worker, fd_ready, main_loop_epoll): Likewise.
4097 * nscd/grpcache.c (addgrbyX): Likewise.
4098 * nscd/hstcache.c (addhstbyX): Likewise.
4099 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4100 * nscd/mem.c (gc, mempool_alloc): Likewise.
4101 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX, addinnetgrX):
4102 Likewise.
4103 * nscd/nscd-client.h (__nscd_acquire_maplock, __nscd_drop_map_ref):
4104 Likewise.
4105 * nscd/nscd_getai.c (__nscd_getai): Likewise.
4106 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
4107 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
4108 Likewise.
4109 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
4110 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
4111 * nscd/nscd_helper.c (__readvall, open_socket,
4112 __nscd_get_mapping, __nscd_get_map_ref): Likewise.
4113 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
4114 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr): Likewise.
4115 * nscd/pwdcache.c (addpwbyX): Likewise.
4116 * nscd/selinux.c (preserve_capabilities): Likewise.
4117 * nscd/servicescache.c (addservbyX): Likewise.
4118 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
4119 * posix/fnmatch.c (fnmatch): Likewise.
4120 * posix/getopt.c (_getopt_internal_r): Likewise.
4121 * posix/glob.c (glob, glob_in_dir): Likewise.
4122 * posix/wordexp.c (exec_comm_child): Likewise.
4123 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r, getanswer_r,
4124 gaih_getanswer_slice): Likewise.
4125 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
4126 * resolv/res_init.c: Likewise.
4127 * resolv/res_mkquery.c (res_nmkquery): Likewise.
4128 * resolv/res_query.c (__libc_res_nquery): Likewise.
4129 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
4130 Likewise.
4131 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
4132 * stdio-common/perror.c (perror): Likewise.
4133 * stdio-common/printf_fp.c (___printf_fp): Likewise.
4134 * stdio-common/tmpnam.c (tmpnam): Likewise.
4135 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
4136 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
4137 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl): Likewise.
4138 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
4139 * stdlib/putenv.c (putenv): Likewise.
4140 * stdlib/setenv.c (__add_to_environ): Likewise.
4141 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
4142 * stdlib/strtol_l.c (INTERNAL): Likewise.
4143 * string/memmem.c (memmem): Likewise.
4144 * string/strerror.c (strerror): Likewise.
4145 * string/strnlen.c (__strnlen): Likewise.
4146 * string/test-memmem.c (simple_memmem): Likewise.
4147 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
4148 * sunrpc/pm_getport.c (__get_socket): Likewise.
4149 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
4150 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
4151 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup,
4152 elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
4153 Likewise.
4154 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
4155 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
4156 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
4157 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
4158 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
4159 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1): Likewise.
4160 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn): Likewise.
4161 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
4162 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
4163 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4164 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
4165 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
4166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
4167 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
4168 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
4169 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
4170 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
4171 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
4172 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
4173 Likewise.
4174 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
4175 Likewise.
4176 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
4177 Likewise.
4178 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
4179 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
4180 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
4181 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
4182 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
4183 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
4184 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
4185 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
4186 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
4187 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
4188 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
4189 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
4190 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
4191 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
4192 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
4193 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Likewise.
4194 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
4195 Likewise.
4196 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
4197 Likewise.
4198 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
4199 Likewise.
4200 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
4201 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
4202 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
4203 Likewise.
4204 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
4205 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
4206 * sysdeps/posix/opendir.c (__opendirat): Likewise.
4207 * sysdeps/posix/sleep.c: Likewise.
4208 * sysdeps/posix/tempname.c: Likewise.
4209 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
4210 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
4211 Likewise.
4212 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_runtime_setup,
4213 elf_machine_rela): Likewise.
4214 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
4215 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
4216 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
4217 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
4218 Likewise.
4219 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
4220 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup,
4221 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4222 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup,
4223 elf_machine_rela, elf_machine_lazy_rel): Likewise.
4224 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
4225 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
4226 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
4227 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
4228 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
4229 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
4230 elf_machine_lazy_rel): Likewise.
4231 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
4232 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
4233 elf_machine_lazy_rel): Likewise.
4234 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
4235 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
4236 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
4237 * sysdeps/unix/grantpt.c (grantpt): Likewise.
4238 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
4239 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
4240 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
4241 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
4242 Likewise.
4243 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
4244 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
4245 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
4246 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
4247 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
4248 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
4249 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
4250 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
4251 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
4252 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
4253 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
4254 Likewise.
4255 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
4256 (__posix_fallocate64_l64): Likewise.
4257 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
4258 (posix_fallocate): Likewise.
4259 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64): Likewise.
4260 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4261 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request,
4262 getifaddrs_internal): Likewise.
4263 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
4264 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
4265 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
4266 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
4267 * sysdeps/unix/sysv/linux/posix_fallocate64.c
4268 (__posix_fallocate64_l64): Likewise.
4269 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
4270 Likewise.
4271 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
4272 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
4273 Likewise.
4274 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
4275 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
4276 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
4277 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4278 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4279 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
4280 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4281 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
4282 Likewise.
4283 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
4284 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
4285 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
4286 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
4287 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
4288 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
4289 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
4290 Likewise.
4291 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
4292 (posix_fallocate): Likewise.
4293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4294 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
4295 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
4296 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup,
4297 elf_machine_rela, elf_machine_rela_relative, elf_machine_lazy_rel):
4298 Likewise.
4299 * time/asctime.c (asctime_internal): Likewise.
4300 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
4301 * time/tzset.c (__tzset_parse_tz): Likewise.
4302 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4303 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4304 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
4305 * wcsmbs/wcsmbsload.h: Likewise.
4306
f3d338c9
OB
43072014-02-10 Ondřej Bílka <neleai@seznam.cz>
4308
4309 [BZ #15894]
4310 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
4311
bdfe308a
OB
43122014-02-10 Ondřej Bílka <neleai@seznam.cz>
4313
4314 * malloc/arena.c (grow_heap, get_free_list, reused_arena,
4315 arena_get2): Remove THREAD_STATS conditionals.
4316 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free,
4317 __malloc_stats, int): Likewise.
4318
d674667c
MF
43192014-02-08 Mike Frysinger <vapier@gentoo.org>
4320
4321 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
4322 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
4323
6349768c
MF
43242014-02-08 Mike Frysinger <vapier@gentoo.org>
4325
4326 * manual/setjmp.texi: Fix typos/grammar errors.
4327
0b7c7473
MF
43282014-02-08 Mike Frysinger <vapier@gentoo.org>
4329
4330 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
4331 Only return early when n is <= 0. Delete unused return statement.
4332
ac8cc9e3
MF
43332014-02-08 Mike Frysinger <vapier@gentoo.org>
4334
4335 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
4336 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
4337 * debug/tst-longjmp_chk3.c: New file.
4338
c5bb8e23
MF
43392014-02-08 Mike Frysinger <vapier@gentoo.org>
4340
4341 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
4342 (test_main): Replace code with set_fortify_handler call.
4343 * debug/test-strcpy_chk.c: Likewise.
4344 * debug/tst-chk1.c: Likewise.
4345 * debug/tst-longjmp_chk.c: Likewise.
4346 * test-skeleton.c: Include fcntl.h & paths.h
4347 (set_fortify_handler): Define.
4348
10444e42
MF
43492014-02-08 Mike Frysinger <vapier@gentoo.org>
4350
4351 * debug/tst-longjmp_chk.c: Add header comment and include
4352 ../test-skeleton.c.
4353 (do_test): Mark static.
4354 (TEST_FUNCTION): Define.
4355
1e805e8d
MF
43562014-02-08 Mike Frysinger <vapier@gentoo.org>
4357
4358 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
4359 (IP_PMTUDISC_INTERFACE): Likewise.
4360 (IP_MULTICAST_IF): Likewise.
4361 (IP_MULTICAST_TTL): Likewise.
4362 (IP_MULTICAST_LOOP): Likewise.
4363 (IP_ADD_MEMBERSHIP): Likewise.
4364 (IP_DROP_MEMBERSHIP): Likewise.
4365 (IP_UNBLOCK_SOURCE): Likewise.
4366 (IP_BLOCK_SOURCE): Likewise.
4367 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
4368 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
4369 (IP_MSFILTER): Likewise.
4370 (MCAST_JOIN_GROUP): Likewise.
4371 (MCAST_BLOCK_SOURCE): Likewise.
4372 (MCAST_UNBLOCK_SOURCE): Likewise.
4373 (MCAST_LEAVE_GROUP): Likewise.
4374 (MCAST_JOIN_SOURCE_GROUP): Likewise.
4375 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
4376 (MCAST_MSFILTER): Likewise.
4377 (IP_MULTICAST_ALL): Likewise.
4378 (IP_UNICAST_IF): Likewise.
4379
73f79bb7
MF
43802014-02-08 Mike Frysinger <vapier@gentoo.org>
4381
4382 * timezone/Makefile: Delete $(have-ksh) check.
4383 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
4384 * timezone/tzselect.ksh: Add +x mode bits.
4385
8da79b60
MF
43862014-02-08 Mike Frysinger <vapier@gentoo.org>
4387
4388 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
4389 (ANON_INODE_FS_MAGIC): Likewise.
4390 (BDEVFS_MAGIC): Likewise.
4391 (BINFMTFS_MAGIC): Likewise.
4392 (BTRFS_TEST_MAGIC): Likewise.
4393 (CRAMFS_MAGIC_WEND): Likewise.
4394 (DEBUGFS_MAGIC): Likewise.
4395 (ECRYPTFS_SUPER_MAGIC): Likewise.
4396 (EXT3_SUPER_MAGIC): Likewise.
4397 (EXT4_SUPER_MAGIC): Likewise.
4398 (FUTEXFS_SUPER_MAGIC): Likewise.
4399 (HOSTFS_SUPER_MAGIC): Likewise.
4400 (HUGETLBFS_MAGIC): Likewise.
4401 (MINIX3_SUPER_MAGIC): Likewise.
4402 (MTD_INODE_FS_MAGIC): Likewise.
4403 (NILFS_SUPER_MAGIC): Likewise.
4404 (OPENPROM_SUPER_MAGIC): Likewise.
4405 (PIPEFS_MAGIC): Likewise.
4406 (PSTOREFS_MAGIC): Likewise.
4407 (QNX6_SUPER_MAGIC): Likewise.
4408 (RAMFS_MAGIC): Likewise.
4409 (REISERFS_SUPER_MAGIC_STRING): Likewise.
4410 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
4411 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
4412 (SECURITYFS_MAGIC): Likewise.
4413 (SELINUX_MAGIC): Likewise.
4414 (SMACK_MAGIC): Likewise.
4415 (SOCKFS_MAGIC): Likewise.
4416 (SQUASHFS_MAGIC): Likewise.
4417 (STACK_END_MAGIC): Likewise.
4418 (TMPFS_MAGIC): Likewise.
4419 (USBDEVICE_SUPER_MAGIC): Likewise.
4420 (V9FS_MAGIC): Likewise.
4421 (XENFS_SUPER_MAGIC): Likewise.
4422 (CRAMFS_MAGIC): Fix typo in comment.
4423 (EXT2_SUPER_MAGIC): Update comment.
4424 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
4425
464263cc
JM
44262014-02-08 Joseph Myers <joseph@codesourcery.com>
4427
c6bfe5c4
JM
4428 * sysdeps/arm: Move directory from ports/sysdeps/arm.
4429 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
4430 * sysdeps/unix/sysv/linux/arm: Move directory from
4431 ports/sysdeps/unix/sysv/linux/arm.
4432 * README: Update listing for arm-*-linux-gnueabi.
4433
464263cc
JM
4434 * README: Remove mention of am33.
4435
32749f6c
RM
44362014-02-07 Roland McGrath <roland@hack.frob.com>
4437
4438 * bits/sigset.h (__sigemptyset): Use a statement expression rather
4439 than the comma operator, to avoid "rhs of comma has no effect"
4440 compiler warnings.
4441 (__sigfillset, __sigandset, __sigorset): Likewise.
4442 * include/signal.h (__sigemptyset): Likewise.
4443 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
4444
d5b396c1
AM
44452014-02-07 Allan McRae <allan@archlinux.org>
4446
4447 * version.h (RELEASE): Set to "development".
4448 (VERSION): Set to "2.19.90"
4449 * NEWS: Add 2.20 section.
4450
3bfff2ed
CD
44512014-02-06 Carlos O'Donell <carlos@redhat.com>
4452
4453 [BZ #16529]
4454 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
4455
ee7cc385
SP
44562014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
4457
4458 * manual/contrib.texi: Update entry for Carlos O'Donell,
4459 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
4460
f877c4f2
CD
44612014-02-05 Carlos O'Donell <carlos@rehdat.com>
4462
27e839f6
CD
4463 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
4464
f877c4f2
CD
4465 * sysdeps/unix/sysv/linux/kernel-features.h
4466 [__LINUX_KERNEL_VERSION >= 0x020621]
4467 (__ASSUME_PROC_PID_TASK_COMM): Define.
4468
68159946
SP
44692014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
4470
ba17cdbd
SP
4471 [BZ #16398]
4472 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
4473 conversion when destination buffer does not have enough space.
4474 * libio/tst-ftell-partial-wide.c: New test case.
4475 * libio/Makefile (tests): Add tst-ftell-partial-wide.
4476
68159946
SP
4477 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
4478 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
4479 Leonard and Allan McRae.
4480
2b528732
DM
44812014-02-04 David S. Miller <davem@davemloft.net>
4482
4483 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
4484 32-bit.
4485
0ff82463
AZ
44862014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4487
c01603f7
AZ
4488 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist: New
4489 file
4490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
4491 New file
4492 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist: New
4493 file.
4494 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist: New
4495 file.
4496 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
4497 New file.
4498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist: New
4499 file.
4500 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist: New
4501 file.
4502 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
4503 New file.
4504 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
4505 New file.
4506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
4507 New file.
4508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
4509 New file.
4510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
4511 New file.
4512 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
4513 New file.
4514
45152014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4516
0ff82463
AZ
4517 * nptl/shlib-versions: Change powerpc*le start to 2.17.
4518 * shlib-versions: Likewise.
4519
1695c773
AZ
45202014-02-04 Roland McGrath <roland@hack.frob.com>
4521 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4522
4523 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
4524 (abilist-pattern): New variable, set to %-le.abilist.
4525
4526 * Makerules (abilist-pattern): New variable.
4527 (vpath): Use $(abilist-pattern) in place of %.abilist.
4528 (check-abi-% pattern rule): Likewise.
4529 (check-abi, update-abi): Likewise.
4530
6c0ce4b4
EW
45312014-02-04 Eric Wong <normalperson@yhbt.net>
4532
4533 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4534
dc98b8f5
EW
45352014-02-04 Eric Wong <normalperson@yhbt.net>
4536
4537 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4538
481e3524
CD
45392014-02-03 Carlos O'Donell <carlos@redhat.com>
4540
4541 * manual/startup.texi: Add next, previous, and top entries for
4542 the `Program Arguments' and `Environment Variables' nodes.
4543
375592d3
AO
45442014-02-03 Alexandre Oliva <aoliva@redhat.com>
4545
4546 * manual/macros.texi: Add comments before MTASC-safety macros.
4547
f54838ba
AO
4548 * manual/users.texi: Document MTASC-safety properties.
4549
909e12ad
AO
4550 * manual/threads.texi (pthread_key_create, pthread_key_delete,
4551 pthread_getspecific, pthread_setspecific): Format with
4552 @deftypefun, and add @safety note.
4553 * manual/signal.texi: Move comments that analyze the above
4554 functions to their home place.
4555
fd3daba4
AM
45562014-02-03 Allan McRae <allan@archlinux.org>
4557
4558 * po/sl.po: Update Slovenian translation from translation project.
4559
597636d7
AO
45602014-02-02 Alexandre Oliva <aoliva@redhat.com>
4561
4562 * manual/time.texi (timegm): Add missing blank after @c.
4563 Reported by Joseph Myers <joseph@codesourcery.com>.
4564
ee196e3c
AO
45652014-02-01 Alexandre Oliva <aoliva@redhat.com>
4566
4567 * manual/check-safety.sh: New.
4568 * manual/Makefile ($(objpfx)stamp-summary): Run it.
4569
f8d529d5
AO
4570 * manual/terminal.texi: Document MTASC-safety properties.
4571
de55fdf4
AO
4572 * manual/filesys.texi: Document MTASC-safety properties.
4573
c3299c08
AO
4574 * manual/errno.texi: Document MTASC-safety properties.
4575
06e90b14
AO
4576 * manual/intro.texi: Document safety identifiers and
4577 conditionals.
4578
1acd4371
AO
4579 * manual/string.texi (wcstok): Fix prototype.
4580 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
4581
23e5b8cb
AO
4582 * manual/time.texi: Document MTASC-safety properties.
4583
11087373
AO
4584 * manual/string.texi: Document MTASC-safety properties.
4585
5da2c93d
AO
4586 * manual/threads.texi: Document MTASC-safety properties.
4587
171e9210
AO
4588 * manual/stdio.texi: Document MTASC-safety properties.
4589
d9e02532
AO
4590 * manual/syslog.texi: Document MTASC-safety properties.
4591
6af8bab7
AO
4592 * manual/sysinfo.texi: Document MTASC-safety properties.
4593
663b02d7
AO
4594 * manual/startup.texi: Document MTASC-safety properties.
4595
973f180b
AO
4596 * manual/socket.texi: Document MTASC-safety properties.
4597
8f3c25c8
AO
4598 * manual/signal.texi: Document MTASC-safety properties.
4599
542210fb
AO
46002014-01-31 Alexandre Oliva <aoliva@redhat.com>
4601
4602 * manual/setjmp.texi: Document MTASC-safety properties.
4603
433c45a2
AO
4604 * manual/search.texi: Document MTASC-safety properties.
4605
c8ce789c
AO
4606 * manual/resource.texi: Document MTASC-safety properties.
4607
19f5d29c
AO
4608 * manual/process.texi: Document MTASC-safety properties.
4609
e2dfb7f4
AO
4610 * manual/platform.texi: Document MTASC-safety properties.
4611
8c1413f5
AO
4612 * manual/pipe.texi: Document MTASC-safety properties.
4613
03483ada
AO
4614 * manual/pattern.texi: Document MTASC-safety properties.
4615
29e7e2df
AO
4616 * manual/message.texi: Document MTASC-safety properties.
4617
9f529d7c
AO
4618 [BZ #12751]
4619 * manual/memory.texi: Document MTASC-safety properties.
4620
27aaa791
AO
4621 * manual/math.texi: Document MTASC-safety properties.
4622
f2d58726
AO
4623 * manual/locale.texi: Document MTASC-safety properties.
4624
2cc3615c
AO
4625 * manual/llio.texi: Document MTASC-safety properties.
4626
d9f0ec97
AO
4627 * manual/libdl.texi: New.
4628
e7c4409a
AO
4629 * manual/lang.texi: Document MTASC-safety properties.
4630
27bdc63c
AO
4631 * manual/job.texi: Document MTASC-safety properties.
4632
a7b90ea9
AO
4633 * manual/getopt.texi: Document MTASC-safety properties.
4634
c49130e3
AO
4635 * manual/ctype.texi: Document MTASC-safety properties.
4636
0d23a5c1
MR
46372014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
4638
4639 [BZ #16046]
4640 * csu/libc-tls.c (static_map): Remove variable.
4641 (__libc_setup_tls): Use main executable's link map for TLS data.
4642 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
4643 casing for LM_ID_BASE and GL(dl_nns).
4644 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
4645 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
4646 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
4647 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
4648 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
4649 member.
4650 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
4651 l_phnum members.
4652
0037bb60
AO
46532014-01-30 Alexandre Oliva <aoliva@redhat.com>
4654
4655 * manual/debug.texi: Document MTASC-safety properties.
4656
409e00bd
L
46572014-01-29 H.J. Lu <hongjiu.lu@intel.com>
4658
4659 [BZ #16510]
4660 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
4661 of __x86_64__ when disabling x87 inline functions.
4662
86e60666
AO
46632014-01-29 Alexandre Oliva <aoliva@redhat.com>
4664
4665 * manual/charset.texi: Document MTASC-safety properties.
4666
76167637
AO
4667 * manual/crypt.texi: Document MTASC-safety properties.
4668
e567f2a0
AO
4669 * manual/conf.texi: Document MTASC-safety properties.
4670
b719dafd
AO
4671 * manual/arith.texi: Document MTASC-safety properties.
4672
4a16c662
AO
4673 * manual/argp.texi: Document MTASC-safety properties.
4674
0a57b83e
AO
4675 * manual/macros.texi: Introduce macros to document multi
4676 thread, asynchronous signal and asynchronous cancellation
4677 safety properties.
4678 * manual/intro.texi: Introduce the properties themselves.
4679
feab2397
KK
46802014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4681
4682 * sysdeps/sh/sh4/Makefile: New file.
4683
1c0d11bc
AS
46842014-01-27 Andreas Schwab <schwab@linux-m68k.org>
4685
4686 * math/gen-libm-test.pl ($srcdir): New variable.
4687 ($auto_input): Use it.
4688
af37a8a3
SP
46892014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
4690
d7b00f98
SP
4691 [BZ #16506]
4692 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
4693 access beyond array bounds when parsing netgroups file.
4694
af37a8a3
SP
4695 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
4696 the old buffer before realloc.
4697
0c00f062
AM
46982014-01-27 Allan McRae <allan@archlinux.org>
4699
4700 * po/fr.po: Update French translation from translation project.
4701
7d69a1b0
KK
47022014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4703
4704 * sysdeps/sh/libm-test-ulps: Regenerate.
4705
6e697ff7
DM
47062014-01-24 David S. Miller <davem@davemloft.net>
4707
4708 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
4709
9cadb35c
KK
47102014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4711
4712 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
4713 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
4714
5d41dadf
SP
47152013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4716
4717 [BZ #16474]
4718 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
4719 string pointers after reallocation.
4720
0bad441c
KK
47212014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4722
4723 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
4724 __SH4A__ instead of __SH_FPU_ANY__.
4725
7007c661
KK
47262014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
4727
4728 * sysdeps/sh/fpu_control.h: New file.
4729 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
4730 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
4731 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
4732 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
4733 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
4734 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
4735 * sysdeps/sh/sys/ucontext.h: Remove.
4736 * sysdeps/sh/sys: Remove directory.
4737
0f0c35e4
AK
47382014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4739
4740 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
4741 s390/sys/ucontext.h.
4742 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
4743 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
4744
4959e284
L
47452014-01-20 H.J. Lu <hongjiu.lu@intel.com>
4746
4747 [BZ #15605]
4748 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
4749
d98720e0
AZ
47502014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4751
4752 [BZ#16431]
4753 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4754 Adjust the vDSO correctly for internal calls.
4755 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
4756
91cbd0bc
AM
47572014-01-20 Allan McRae <allan@archlinux.org>
4758
4759 * po/ca.po: Update Catalan translation from translation project.
4760
7a02cfad
MF
47612014-01-16 Mike Frysinger <vapier@gentoo.org>
4762
4763 * sysdeps/s390/sotruss-lib.c: New file.
4764
736c304a
AZ
47652014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4766
4767 [BZ#16430]
6e077ee5 4768 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
736c304a
AZ
4769 (__GI___gettimeofday): Alias for a different internal symbol to avoid
4770 local calls issues by not having a PLT stub required for IFUNC calls.
4771 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
4772
94d0cea0
JM
47732014-01-16 Joseph Myers <joseph@codesourcery.com>
4774
4775 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
4776 * math/test-fpucw-static.c: Likewise.
4777
980cb518
SP
47782013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4779
4780 [BZ #16453]
4781 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
4782
2393fc01
AZ
47832014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4784
4785 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
4786 implementation for powerpc.
4787
d359bcc2
OB
47882014-01-15 Ondřej Bílka <neleai@seznam.cz>
4789
4790 [BZ #14782]
4791 * sysdeps/posix/system.c (__libc_system): Do not enable
4792 asynchronous cancellation.
4793
7beb48cb
AK
47942014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4795
4796 [BZ #16427]
4797 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
4798 handling only for numbers special also in the IEEE case.
4799
c20d5bf5
AK
48002014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4801
4802 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4803
e83bd4ee
AM
48042014-01-11 Allan McRae <allan@archlinux.org>
4805
76d0ea69
AM
4806 * po/bg.po: Update Bulgarian translation from translation project.
4807
e83bd4ee
AM
4808 * po/de.po: Update German translation from translation project.
4809
bc2ba20a
RM
48102014-01-10 Roland McGrath <roland@hack.frob.com>
4811
4812 * sysdeps/generic/gcc-compat.h: New file.
4813
649ecea2
SP
48142014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4815
4816 * benchtests/asin-inputs: Correct slow inputs.
4817 * benchtests/acos-inputs: Likewise.
4818
1b19c006
AM
48192014-01-10 Allan McRae <allan@archlinux.org>
4820
a46dab08
AM
4821 * po:sv.po: Update Swedish translation from translation project.
4822
421df74a
AM
4823 * po/vi.po: Update Vietnamese translation from translation project.
4824
d61c51a7
AM
4825 * po/eo.po: Update Esperanto translation from translation project.
4826
0339a319
AM
4827 * po/cs.po: Update Czech translation from translation project.
4828
94ad3e99
AM
4829 * po/nl.po: Update Dutch translation from translation project.
4830
e349ca71
AM
4831 * po/pl.po: Update Polish translation from translation project.
4832
ddf930c1
AM
4833 * po/ru.po: Update Russian translation from translation project.
4834
1b19c006
AM
4835 * po/uk.po: Update Ukrainian translation from translation project.
4836
9f236c49
BM
48372014-01-08 Brooks Moses <bmoses@google.com>
4838
4839 * elf/dl-load.c: Fix comment typo.
4840
cd6701cf
CD
48412014-01-08 Carlos O'Donell <carlos@redhat.com>
4842
4843 * po/header.pot: Rename to...
4844 * po/pot.header: ... this.
4845 * po/Makefile: Use pot.header.
4846
66671c84
YK
48472014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
4848 Maxim Kuvyrkov <maxim@kugelworks.com>
4849
4850 [BZ #16394]
cd6701cf
CD
4851 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
4852 SRC and DEST against LEN.
66671c84 4853
38f34581
AZ
48542014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4855
4856 [BZ #16414]
4857 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
4858 implementation.
4859 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
4860
48612014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3ff6304e
AZ
4862
4863 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4864
4c327f2a
JM
48652014-01-08 Joseph Myers <joseph@codesourcery.com>
4866
4867 [BZ #16408]
4868 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
4869 for large positive arguments.
4870
b821f414
JM
48712014-01-07 Joseph Myers <joseph@codesourcery.com>
4872
1f0f2067
JM
4873 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
4874
a5a326f6
JM
4875 * math/auto-libm-test-in: Mark various tests with
4876 xfail-rounding:ldbl-128ibm.
4877 * math/auto-libm-test-out: Regenerated.
4878
b821f414
JM
4879 [BZ #16407]
4880 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
4881 Increase overflow threshold.
4882
94c8a4bc
OB
48832014-01-07 Ondřej Bílka <neleai@seznam.cz>
4884
4885 [BZ #14286]
4886 * stdio-common/vfprintf.c: Check for integer overflow.
4887
87ded0c3
AK
48882014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4889
4890 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
4891 the first argument and return value of __tls_get_addr_internal.
4892
c5eebdd0
AK
48932014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4894
4895 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
4896 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
4897
05d138ef
AK
48982014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4899
4900 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
4901 * sysdeps/s390/rtld-global-offsets.sym: New file.
4902 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
4903 GLIBC_2.19 symbol.
4904 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
4905 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
4906 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
4907 ... this.
4908 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
4909 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
4910 ... this.
4911 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4912 Regenerate.
4913 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4914 Regenerate.
4915 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
4916 halfs of GPRs for high_gprs contexts.
4917 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
4918 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
4919 field.
4920 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
4921 uc_flags field.
4922 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
4923 64 bit versions:
4924 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
4925 for high GPRs (uc_high_gprs) and for future extensions
4926 (__reserved).
4927 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
4928 for future extensions (__reserved).
4929 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
4930 64 bit versions:
4931 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
4932 SC_HIGHGPRS offset definition.
4933 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
4934 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
4935
93a45ff1
AK
49362014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
4937
4938 * Versions.def: Add GLIBC_2.19 for libpthread.
4939 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
4940 siglongjmp for libpthread with GLIBC_2.19 symver.
4941 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
4942 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
4943 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
4944 * sysdeps/s390/__longjmp.c: New file.
4945 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
4946 * sysdeps/s390/longjmp.c: New file.
4947 * sysdeps/s390/setjmp.S: New file.
4948 * sysdeps/s390/sigjmp.S: New file.
4949 * sysdeps/s390/v1-longjmp.c: New file.
4950 * sysdeps/s390/v1-setjmp.h: New file.
4951 * sysdeps/s390/v1-sigjmp.c: New file.
4952 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
4953 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
4954 GLIBC_2.19 version.
4955 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
4956 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
4957 versioned symbols for ____longjmp_chk.
4958 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
4959 Likewise.
4960 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
4961 Regenerate.
4962 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
4963 Regenerate.
4964 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
4965 Regenerate.
4966 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
4967 Regenerate.
4968 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
4969 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
4970 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
4971 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
4972 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
4973 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
4974 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
4975 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
4976 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
4977 * sysdeps/s390/rtld-__longjmp.c: New file.
4978 * sysdeps/s390/rtld-setjmp.S: New file.
4979
eb3fc44b
JM
49802014-01-06 Joseph Myers <joseph@codesourcery.com>
4981
4982 [BZ #16400]
4983 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
4984 Return -__logl (x) for small positive arguments without evaluating
4985 a polynomial.
4986
9341dde4
MF
49872014-01-06 Mike Frysinger <vapier@gentoo.org>
4988
4989 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
4990 Rename to ...
4991 (__ptrace_peeksiginfo_args): ... this.
4992 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4993 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4994 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4995
4cff0293
AM
49962014-01-06 Allan McRae <allan@archlinux.org>
4997
4998 * inet/netinet/in.h: Fix typo in comment.
4999
75595dcf
AJ
50002014-01-05 Andreas Jaeger <aj@suse.de>
5001
5002 * sysdeps/i386/fpu/libm-test-ulps: Update.
5003
79c1e109
AM
50042014-01-05 Allan McRae <allan@archlinux.org>
5005
dd804818
AM
5006 * po/libc.pot: Regenerated.
5007
79c1e109
AM
5008 * malloc/memusagestat.c: Fix gettext call formatting.
5009
0c813d1f
SK
50102014-01-04 Sami Kerola <kerolasa@iki.fi>
5011
5012 * nscd/nscd.c: Improve usage() output.
5013
20f4a8d9
MF
50142014-01-04 Mike Frysinger <vapier@gentoo.org>
5015
5016 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
5017 * sysdeps/unix/sysv/linux/configure: Regenerated.
5018 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
5019 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
5020
22562bb2
JM
50212014-01-03 Joseph Myers <joseph@codesourcery.com>
5022
5023 [BZ #16390]
5024 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
5025 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
5026
d7ad2d9b
AZ
50272014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5028
5029 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
5030 extra tokens at end of #undef directive.
5031 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
5032 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
5033 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
5034
7dd009d8
JM
50352014-01-03 Joseph Myers <joseph@codesourcery.com>
5036
24db925a
JM
5037 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
5038
7dd009d8
JM
5039 * math/auto-libm-test-in: Mark various tests with
5040 xfail-rounding:ldbl-128ibm.
5041 * math/auto-libm-test-out: Regenerated.
5042
396e3ecf
JM
50432014-01-02 Joseph Myers <joseph@codesourcery.com>
5044
819e5d50
JM
5045 [BZ #16386]
5046 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
5047 numbers with subnormal high part when calculating exponent.
5048
90b6a1e5
JM
5049 [BZ #16385]
5050 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
5051 fabs.
5052
396e3ecf
JM
5053 [BZ #16384]
5054 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
5055 M_LN2l.
5056 (__ieee754_acoshl): Use __log1pl not __log1p.
5057
6c8dbf00
OB
50582013-01-02 Ondřej Bílka <neleai@seznam.cz>
5059
5060 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all,
5061 ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry,
5062 __failing_morecore, ptmalloc_init, dump_heap, new_heap, grow_heap,
5063 heap_trim, _int_new_arena, get_free_list, reused_arena, arena_get2):
5064 Convert to GNU style.
5065 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init,
5066 mem2mem_check, mem2chunk_check, top_check, realloc_check,
5067 memalign_check, __malloc_set_state): Likewise.
5068 * malloc/mallocbug.c (main): Likewise.
5069 * malloc/malloc.c (__malloc_assert, malloc_init_state, free_perturb,
5070 do_check_malloced_chunk, do_check_malloc_state, sysmalloc, systrim,
5071 mremap_chunk, __libc_malloc, __libc_free, __libc_realloc, _mid_memalign,
5072 _int_malloc, malloc_consolidate, _int_realloc, _int_memalign, mtrim,
5073 musable, __libc_mallopt, __posix_memalign, malloc_info): Likewise.
5074 * malloc/malloc.h: Likewise.
5075 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook, mallochook,
5076 memalignhook, reallochook, mabort): Likewise.
5077 * malloc/mcheck.h: Likewise.
5078 * malloc/memusage.c (update_data, me, malloc, realloc, calloc, free, mmap,
5079 mmap64, mremap, munmap, dest): Likewise.
5080 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
5081 * malloc/morecore.c (__default_morecore): Likewise.
5082 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
5083 * malloc/obstack.c (_obstack_begin, _obstack_newchunk,
5084 _obstack_allocated_p, obstack_free, _obstack_memory_used,
5085 print_and_abort): Likewise.
5086 * malloc/obstack.h: Likewise.
5087 * malloc/set-freeres.c (__libc_freeres): Likewise.
5088 * malloc/tst-mallocstate.c (main): Likewise.
5089 * malloc/tst-mtrace.c (main): Likewise.
5090 * malloc/tst-realloc.c (do_test): Likewise.
5091
d4124212
SP
50922013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
5093
9a3c6a6f
SP
5094 [BZ #16366]
5095 * nscd/netgroupcache.c (do_notfound): New function.
5096 (addgetnetgrentX): Use it.
5097
d4124212
SP
5098 [BZ # 16365]
5099 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
5100 NSS_STATUS_NOTFOUND.
5101
97b9a009
JM
51022014-01-01 Joseph Myers <joseph@codesourcery.com>
5103
5104 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5105 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5106
d4697bc9
AM
51072014-01-01 Allan McRae <allan@archlinux.org>
5108
ddb3687f
AM
5109 * scripts/update-copyrights: Update configure input file suffix.
5110
88726d48
AM
5111 * NEWS: Update copyright year.
5112 * catgets/gencat.c: Likewise.
5113 * csu/version.c: Likewise.
5114 * debug/catchsegv.sh: Likewise.
5115 * debug/pcprofiledump.c: Likewise.
5116 * debug/xtrace.sh: Likewise.
5117 * elf/ldconfig.c: Likewise.
5118 * elf/ldd.bash.in: Likewise.
5119 * elf/pldd.c: Likewise.
5120 * elf/sotruss.ksh: Likewise.
5121 * elf/sprof.c: Likewise.
5122 * iconv/iconv_prog.c: Likewise.
5123 * iconv/iconvconfig.c: Likewise.
5124 * locale/programs/locale.c: Likewise.
5125 * locale/programs/localedef.c: Likewise.
5126 * login/programs/pt_chown.c: Likewise.
5127 * malloc/memusage.sh: Likewise.
5128 * malloc/memusagestat.c: Likewise.
5129 * malloc/mtrace.pl: Likewise.
5130 * manual/libc.texinfo: Likewise.
5131 * nscd/nscd.c: Likewise.
5132 * nss/getent.c: Likewise.
5133 * nss/makedb.c: Likewise.
5134 * posix/getconf.c: Likewise.
5135 * scripts/test-installation.pl: Likewise.
5136
d4697bc9
AM
5137 * All files with FSF copyright notices: Update copyright dates
5138 using scripts/update-copyrights.
5139 * intl/plural.c: Regenerated.
5140 * locale/programs/charmap-kw.h: Likewise.
5141 * locale/programs/locfile-kw.h: Likewise.
5142
c8590f9d
MF
51432013-12-31 Mike Frysinger <vapier@gentoo.org>
5144
5145 * sysdeps/unix/sysv/linux/configure: Regenerated.
5146 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
5147 the linux/fanotify.h header.
5148 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
5149 HAVE_LINUX_FANOTIFY_H is defined.
5150
b19221b9
SP
51512013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
5152
dd1d85e5
SP
5153 * benchtests/cos-inputs: New inputs.
5154 * benchtests/sin-inputs: Likewise.
5155
1acbb90f
SP
5156 * benchtests/atan-inputs: New inputs. Fix name of multiple
5157 precision fallback inputs.
5158
4c012ed3
SP
5159 * benchtests/atanh-inputs: New inputs.
5160 * benchtests/tanh-inputs: Likewise.
5161
eff98324
SP
5162 * benchtests/acosh-inputs: New inputs.
5163 * benchtests/asinh-inputs: Likewise.
5164
ce641152
SP
5165 * benchtests/cosh-inputs: New inputs.
5166 * benchtests/sinh-inputs: Likewise.
5167
b19221b9
SP
5168 * benchtests/acos-inputs: Add more inputs.
5169 * benchtests/asin-inputs: Likewise.
5170
030a4976 51712013-12-30 Ville Skytta <ville.skytta@iki.fi>
9dcc8f11 5172
030a4976 5173 [BZ #16375]
9dcc8f11
VS
5174 * manual/arith.texi: Fix spelling.
5175 * manual/charset.texi: Likewise.
5176 * manual/errno.texi: Likewise.
5177 * manual/filesys.texi: Likewise.
5178 * manual/lang.texi: Likewise.
5179 * manual/llio.texi: Likewise.
5180 * manual/locale.texi: Likewise.
5181 * manual/message.texi: Likewise.
5182 * manual/resource.texi: Likewise.
5183 * manual/search.texi: Likewise.
5184 * manual/setjmp.texi: Likewise.
5185 * manual/stdio.texi: Likewise.
5186 * manual/string.texi: Likewise.
5187 * manual/sysinfo.texi: Likewise.
5188 * manual/time.texi: Likewise.
5189
11520a57
CD
51902013-12-27 Carlos O'Donell <carlos@redhat.com>
5191
5192 * po/sl.po: New file.
5193
471103ae
MF
51942013-12-27 Mike Frysinger <vapier@gentoo.org>
5195
5196 * .gitignore: Add core/.gdbinit/.gdb_history.
5197
6c9642ed
AM
51982013-12-27 Allan McRae <allan@archlinux.org>
5199
5200 [BZ #16369]
5201 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
5202 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
5203
3f637079
BM
52042013-12-24 Brooks Moses <bmoses@google.com>
5205
5206 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
5207 all compilers that claim C++98 compliance, not just GCC.
5208 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
5209 Likewise.
5210
abc26e99
MK
52112013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5212
5213 * NEWS: Restore accidentally deleted bug-fix entries.
5214
362b47fe
MK
52152013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
5216 Ondřej Bílka <neleai@seznam.cz>
5217
5218 [BZ #15073]
5219 * malloc/malloc.c (_int_free): Perform sanity check only if we
11520a57 5220 have_lock.
362b47fe 5221
b9bcbbcb
OB
52222013-12-23 Ondřej Bílka <neleai@seznam.cz>
5223
5224 [BZ #12986]
5225 * manual/stdio.texi (String Input Conversions): Clarify that character
5226 classes are not supported.
5227
fb55fcd2
AZ
52282013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5229
5230 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5231
ef7344f0
JM
52322013-12-22 Joseph Myers <joseph@codesourcery.com>
5233
4f40e4b3
JM
5234 [BZ #16337]
5235 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
5236 Calculate results for small negative arguments directly rather
5237 than using reflection formula with special underflow handling.
5238
ef7344f0
JM
5239 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
5240 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
5241 sysdeps/unix/bsd/bsd4.4/syscalls.list.
5242 (fchflags): Likewise.
5243 (revoke): Likewise.
5244 (setlogin): Likewise.
5245 (sigaltstack): Likewise.
5246 (wait4): Likewise.
5247 (sigblock): Remove.
5248 (sigsetmask): Likewise.
5249 (wait3): Likewise.
5250 (waitpid): Likewise.
5251 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
5252 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
5253 file.
5254 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
5255 * sysdeps/unix/bsd/Makefile: ... here.
5256 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
5257 * sysdeps/unix/bsd/Versions: ... here.
5258 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
5259 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
5260 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
5261 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
5262 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
5263 * sysdeps/unix/bsd/sigblock.c: ... here.
5264 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
5265 * sysdeps/unix/bsd/sigsetmask.c: ... here.
5266 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
5267 * sysdeps/unix/bsd/sigvec.c: ... here.
5268 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
5269 * sysdeps/unix/bsd/tcdrain.c: ... here.
5270 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
5271 * sysdeps/unix/bsd/tcgetattr.c: ... here.
5272 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
5273 * sysdeps/unix/bsd/tcsetattr.c: ... here.
5274 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
5275 * sysdeps/unix/bsd/wait.c: ... here.
5276 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
5277 * sysdeps/unix/bsd/wait3.c: ... here.
5278 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
5279 * sysdeps/unix/bsd/waitpid.c: ... here.
5280
5b0626b9
JM
52812013-12-21 Joseph Myers <joseph@codesourcery.com>
5282
5283 [BZ #16356]
5284 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
5285 round-to-nearest for [!USE_AS_EXPM1L].
5286 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5287 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
5288 more tests of exp and exp10. Expect some exp10 tests to miss
5289 exceptions or fail in directed rounding modes.
5290 * math/auto-libm-test-out: Regenerated.
5291 * math/libm-test.inc (exp10_tonearest_test_data): New array.
5292 (exp10_test_tonearest): New function.
5293 (exp10_towardzero_test_data): New array.
5294 (exp10_test_towardzero): New function.
5295 (exp10_downward_test_data): New array.
5296 (exp10_test_downward): New function.
5297 (exp10_upward_test_data): New array.
5298 (exp10_test_upward): New function.
5299 (main): Call the new functions.
5300 * sysdeps/i386/fpu/libm-test-ulps: Update.
5301 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5302
7fda5682
JM
53032013-12-20 Joseph Myers <joseph@codesourcery.com>
5304
31e3a405
JM
5305 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
5306 asinh, atan, atan2, atanh, cbrt, cos and cosh.
5307 * math/auto-libm-test-out: Regenerated.
5308 * math/libm-test.inc (acosh_test_data): Add more tests.
5309 (atanh_test_data): Likewise.
5310 (ceil_test_data): Likewise.
5311 (copysign_test_data): Likewise.
5312 * sysdeps/i386/fpu/libm-test-ulps: Update.
5313 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5314
85bff96a
JM
5315 * timezone/checktab.awk: Update from tzcode 2013i.
5316 * timezone/private.h: Likewise.
5317 * timezone/scheck.c: Likewise.
5318 * timezone/tzfile.h: Likewise.
5319 * timezone/tzselect.ksh: Likewise.
5320 * timezone/zdump.c: Likewise.
5321 * timezone/zic.c: Likewise.
5322
b7867a3b
JM
5323 * math/auto-libm-test-in: Add tests of cpow.
5324 * math/auto-libm-test-out: Regenerated.
5325 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
5326 * * math/gen-auto-libm-tests.c (func_calc_method): Add value
5327 mpc_cc_c.
5328 (func_calc_desc): Add mpc_cc_c union field.
5329 (test_functions): Add cpow.
5330 (special_fill_2pi): New function.
5331 (special_real_inputs): Add 2pi.
5332 (calc_generic_results): Handle mpc_cc_c.
5333 * sysdeps/i386/fpu/libm-test-ulps: Update.
5334 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5335
7fda5682
JM
5336 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
5337 csqrt, ctan and ctanh.
5338 * math/auto-libm-test-out: Regenerated.
5339 * math/libm-test.inc (TEST_COND_x86_64): New macro.
5340 (TEST_COND_x86): Likewise.
5341 (ccos_test_data): Use AUTO_TESTS_c_c.
5342 (ccosh_test_data): Likewise.
5343 (cexp_test_data): Likewise.
5344 (clog_test_data): Likewise.
5345 (csqrt_test_data): Likewise.
5346 (ctan_test_data): Likewise.
5347 (ctan_tonearest_test_data): Likewise.
5348 (ctan_towardzero_test_data): Likewise.
5349 (ctan_downward_test_data): Likewise.
5350 (ctan_upward_test_data): Likewise.
5351 (ctanh_test_data): Likewise.
5352 (ctanh_tonearest_test_data): Likewise.
5353 (ctanh_towardzero_test_data): Likewise.
5354 (ctanh_downward_test_data): Likewise.
5355 (ctanh_upward_test_data): Likewise.
5356 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5357 mpc_c_c.
5358 (func_calc_desc): Add mpc_c_c union field.
5359 (FUNC_mpc_c_c): New macro.
5360 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
5361 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
5362 ctanh.
5363 (special_fill_min_subnorm_p120): New function.
5364 (special_real_inputs): Add min_subnorm_p120.
5365 (calc_generic_results): Handle mpc_c_c.
5366 * sysdeps/i386/fpu/libm-test-ulps: Update.
5367 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5368
5ff8d60e
SP
53692013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
5370
392dd2de
SP
5371 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin,
5372 do_sin_slow): New functions.
5373 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2,
5374 cslow2, csloww1, csloww2): Use the new functions.
5375
84ba214c
SP
5376 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
5377 Use M to change sign of result instead of X. Assume X is
5378 positive.
5379 (csloww1): Likewise.
5380 (__sin): Adjust.
5381 (__cos): Adjust.
5382
975195e4
SP
5383 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
5384 arguments A and DA.
5385 (__sin): Adjust.
5386 (__cos): Likewise.
5387
5ff8d60e
SP
5388 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
5389 (__cos): Likewise.
5390 (sloww1): Don't adjust sign of DX.
5391 (csloww1): Likewise.
5392 (sloww2): Use X directly and don't adjust sign of DX.
5393 (csloww2): Likewise.
5394
eb983568
JM
53952013-12-19 Joseph Myers <joseph@codesourcery.com>
5396
64a17f1a
JM
5397 * math/auto-libm-test-in: Add tests of cabs and carg.
5398 * math/auto-libm-test-out: Regenerated.
5399 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
5400 (carg_test_data): Likewise.
5401 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5402 mpc_c_f.
5403 (func_calc_desc): Add mpc_c_f union field.
5404 (test_functions): Add cabs and carg.
5405 (calc_generic_results): Handle mpc_c_f.
5406
eb983568
JM
5407 * sysdeps/powerpc/powerpc32/libgcc-compat.S
5408 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
5409 as a macro and a compat symbol.
5410 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5411 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5412 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5413 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5414 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
5415 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
5416 not use .hidden.
5417 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
5418 Likewise.
5419 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
5420 Likewise.
5421 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
5422 Likewise.
5423 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
5424 Likewise.
5425 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
5426 Likewise.
5427 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
5428 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
5429 from GLIBC_2.3.2.
5430
6eeb678a
AZ
54312013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5432
5433 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5434
6f6fc482
JM
54352013-12-19 Joseph Myers <joseph@codesourcery.com>
5436
21fea2e2
JM
5437 * manual/texinfo.tex: Update to version 2013-11-26.10 with
5438 trailing whitespace removed.
5439 * scripts/config.guess: Update to version 2013-11-29.
5440 * scripts/config.sub: Update to version 2013-10-01.
5441
6f6fc482
JM
5442 * math/auto-libm-test-in: Add tests of sincos.
5443 * math/auto-libm-test-out: Regenerated.
5444 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
5445 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5446 mpfr_f_11.
5447 (func_calc_desc): Add mpfr_f_11 union field.
5448 (test_functions): Add sincos.
5449 (calc_generic_results): Handle mpfr_f_11.
5450 * sysdeps/i386/fpu/libm-test-ulps: Update.
5451 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5452
83f5c32d
AS
54532013-12-19 Andreas Schwab <schwab@suse.de>
5454
5455 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
5456 CALL_MCOUNT.
5457 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5458 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
5459 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
5460
c688b419
JM
54612013-12-19 Joseph Myers <joseph@codesourcery.com>
5462
335ee092
JM
5463 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
5464 * sysdeps/i386/fpu/libm-test-ulps: Update.
5465 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5466
f88acd39
JM
5467 [BZ #16293]
5468 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
5469 round-to-nearest mode when using frndint.
5470 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
5471 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
5472 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
5473 Likewise.
5474 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
5475 sinh test to fail.
5476 * math/auto-libm-test-out: Regenerated.
5477 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
5478 (TEST_COND_x86): Likewise.
5479 (expm1_tonearest_test_data): New array.
5480 (expm1_test_tonearest): New function.
5481 (expm1_towardzero_test_data): New array.
5482 (expm1_test_towardzero): New function.
5483 (expm1_downward_test_data): New array.
5484 (expm1_test_downward): New function.
5485 (expm1_upward_test_data): New array.
5486 (expm1_test_upward): New function.
5487 (main): Run the new test functions.
5488 * sysdeps/i386/fpu/libm-test-ulps: Update.
5489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5490
c688b419
JM
5491 * include/features.h: Update comment documenting feature test
5492 macros. Mention _DEFAULT_SOURCE in comment.
5493 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
5494 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
5495 _BSD_SOURCE and _SVID_SOURCE.
5496 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
5497 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
5498 !_SVID_SOURCE]: Likewise.
5499 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5500 (__USE_POSIX_IMPLICITLY): Define.
5501 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5502 (_POSIX_SOURCE): Undefine and redefine.
5503 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
5504 (_POSIX_C_SOURCE): Likewise.
5505 * manual/creature.texi (_DEFAULT_SOURCE): Document.
5506 (Feature Test Macros): Update documentation of default features.
5507
9f6e964c
RS
55082013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5509
5510 * benchtests/Makefile: Add bench-strtok.
5511 * benchtests/bench-strtok.c: New file: strtok benchtest.
5512
ee0a148a
AM
55132013-12-19 Allan McRae <allan@archlinux.org>
5514
5515 * manual/install.texi: Suppress menu for plain text output.
5516 * INSTALL: Regenerated.
5517
b9ab448f
BM
55182013-12-18 Brooks Moses <bmoses@google.com>
5519
5520 [BZ #15846]
5521 * misc/getauxval.c: Include errno.h.
5522 (__getauxval): Set errno to ENOENT if the requested type is not
5523 found.
5524 * misc/sys/auxv.h (getauxval): Document that it may set errno;
5525 don't declare with __attribute_const__.
5526 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
5527 * manual/startup.texi: Document that getauxval sets errno.
5528
23776487
JM
55292013-12-18 Joseph Myers <joseph@codesourcery.com>
5530
f889953b
JM
5531 * math/auto-libm-test-in: Add tests of jn and yn.
5532 * math/auto-libm-test-out: Regenerated.
5533 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
5534 (yn_test_data): Likewise.
5535 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5536 mpfr_if_f.
5537 (func_calc_desc): Add mpfr_if_f union field.
5538 (FUNC_mpfr_if_f): New macro.
5539 (test_functions): Add jn and yn.
5540 (calc_generic_results): Assert type of second input for
5541 mpfr_ff_f. Handle mpfr_if_f.
5542 (output_for_one_input_case): Disable all checking for arguments
5543 fitting floating-point types in case of an integer argument.
5544 * sysdeps/i386/fpu/libm-test-ulps: Update.
5545 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5546
23776487
JM
5547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
5548 Don't expect fegetround reference in libm.so.
5549
cb756c6d
MS
55502013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
5551
5552 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
5553 $(config-cflags-nofma).
5554
2dec468f
JM
55552013-12-18 Joseph Myers <joseph@codesourcery.com>
5556
5953eb3a
JM
5557 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
5558 * math/auto-libm-test-out: Regenerated.
5559
2dec468f
JM
5560 [BZ #16338]
5561 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
5562 to determine exponent and adjust argument to have exponent of -1.
5563 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
5564 log2.
5565 * math/auto-libm-test-out: Regenerated.
5566 * sysdeps/i386/fpu/libm-test-ulps: Update.
5567 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5568
4d84e6ad
OB
55692013-12-18 Ondřej Bílka <neleai@seznam.cz>
5570
5571 * manual/probes.texi: Remove cases when per-thread arenas are
5572 disabled.
5573
1818483b
AS
55742013-12-18 Andreas Schwab <schwab@suse.de>
5575
5576 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
5577 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
5578 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
5579 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
5580 * sysdeps/i386/i686/multiarch/Makefile: Update.
5581 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
5582
25de95bf
JM
55832013-12-17 Joseph Myers <joseph@codesourcery.com>
5584
5585 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
5586 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
5587
674762d9
PE
55882013-12-17 Paul Eggert <eggert@cs.ucla.edu>
5589
ed27ed83 5590 [BZ #15968]
0748546f
PE
5591 Support TZ transition times < 00:00:00.
5592 This is needed for version-3 tz-format files; it supports time
5593 stamps past 2037 for America/Godthab (the only entry in the tz
5594 database for which this change is relevant).
5595 * manual/time.texi (TZ Variable): Document transition times
5596 from -167:59:59 through -00:00:01.
5597 * time/tzset.c (tz_rule): Time of day is now signed.
5598 (__tzset_parse_tz): Parse negative time of day.
5599
4480e934
PE
5600 Document TZ transition times >= 25:00:00.
5601 * manual/time.texi (TZ Variable): Document transition times from
5602 25:00:00 through 167:59:59. These are already supported, and this
5603 support will help with version-3 tz-format files.
5604
69947401
PE
5605 * manual/time.texi (TZ Variable): Modernize North America example
5606 to reflect current (i.e., 2007-and-later) daylight saving rules.
5607
674762d9
PE
5608 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
5609
7011c262
JM
56102013-12-17 Joseph Myers <joseph@codesourcery.com>
5611
2fc6557e
JM
5612 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
5613 * sysdeps/unix/bsd/bits/stat.h: Likewise.
5614 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
5615 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
5616 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
5617 * sysdeps/unix/bsd/bsdstat.h: Likewise.
5618 * sysdeps/unix/bsd/clock.c: Likewise.
5619 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
5620 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
5621 * sysdeps/unix/bsd/init-posix.c: Likewise.
5622 * sysdeps/unix/bsd/poll.c: Likewise.
5623 * sysdeps/unix/bsd/ptsname.c: Likewise.
5624 * sysdeps/unix/bsd/seekdir.c: Likewise.
5625 * sysdeps/unix/bsd/setegid.c: Likewise.
5626 * sysdeps/unix/bsd/seteuid.c: Likewise.
5627 * sysdeps/unix/bsd/setgid.c: Likewise.
5628 * sysdeps/unix/bsd/setrgid.c: Likewise.
5629 * sysdeps/unix/bsd/setruid.c: Likewise.
5630 * sysdeps/unix/bsd/setsid.c: Likewise.
5631 * sysdeps/unix/bsd/setuid.c: Likewise.
5632 * sysdeps/unix/bsd/sigaction.c: Likewise.
5633 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
5634 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
5635 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
5636 * sysdeps/unix/bsd/telldir.c: Likewise.
5637 * sysdeps/unix/bsd/times.c: Likewise.
5638 * sysdeps/unix/bsd/usleep.c: Likewise.
5639
029c7b25
JM
5640 * misc/Makefile (install-lib): Remove libbsd-compat.a.
5641 ($(objpfx)libbsd-compat.a): Remove rule.
5642
7011c262
JM
5643 * include/features.h (__FAVOR_BSD): Do not define.
5644 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
5645 features conflicting with POSIX.
5646 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
5647 (_BSD_SOURCE): Remove description of not being a subset of other
5648 feature test macros.
5649 * manual/job.texi (getpgrp): Do not document BSD version.
5650 (getpgid): Do not document by reference to BSD getpgrp.
5651 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
5652 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
5653 * signal/signal.h [__FAVOR_BSD]: Likewise.
5654 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
5655 instead of making contents conditional on [__FAVOR_BSD].
5656 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
5657
affb6f78
AZ
56582013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5659
5660 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5661
c88769dd
JM
56622013-12-17 Joseph Myers <joseph@codesourcery.com>
5663
6432a540
JM
5664 [BZ #16314]
5665 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
5666 values below 2**-450, not 2**-500.
5667 * math/auto-libm-test-in: Don't allow spurious underflow from
5668 hypot.
5669 * math/auto-libm-test-out: Regenerated.
5670
c88769dd
JM
5671 [BZ #16316]
5672 [BZ #16330]
5673 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
5674 values of ha and hb and sort them after adjusting subnormal
5675 arguments.
5676 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
5677 Likewise.
5678 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
5679 values of ea and eb and sort them after adjusting subnormal
5680 arguments.
5681 * math/auto-libm-test-in: Do not expect some hypot tests of
5682 subnormals to fail. Add more hypot tests.
5683 * math/auto-libm-test-out: Regenerated.
5684
29618f6b
KK
56852013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5686
5687 [BZ #13304]
5688 * sysdeps/sh/s_fma.c: New file.
5689 * sysdeps/sh/s_fmaf.c: New file.
5690 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
5691 version.
5692 * sysdeps/sh/Implies: Add sh/soft-fp.
5693
eacfdfbf
RM
56942013-12-16 Roland McGrath <roland@hack.frob.com>
5695
5696 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
5697 level of indirection to members `objname', `errstring', `malloced'.
5698 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
5699 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
5700 it as the __longjmp argument (just pass 1 instead).
5701 (_dl_catch_error): Initialize C with argument pointers and address of
5702 volatile local ERRCODE rather than copying values out of C at return.
5703
ff362e5b
JM
57042013-12-16 Joseph Myers <joseph@codesourcery.com>
5705
5706 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
5707 * math/auto-libm-test-out: Regenerated.
5708 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
5709 (hypot_test_data): Likewise.
5710 (pow_test_data): Likewise.
5711 (pow_tonearest_test_data): Likewise.
5712 * math/gen-auto-libm-tests.c (func_calc_method): Add value
5713 mpfr_ff_f.
5714 (func_calc_desc): Add mpfr_ff_f union field.
5715 (FUNC_mpfr_ff_f): New macro.
5716 (test_functions): Add atan2, hypot and pow.
5717 (special_fill_min): New function.
5718 (special_fill_minus_min): Likewise.
5719 (special_fill_min_subnorm): Likewise.
5720 (special_fill_minus_min_subnorm): Likewise.
5721 (special_real_inputs): Add min, -min, min_subnorm and
5722 -min_subnorm.
5723 (calc_generic_results): Handle mpfr_ff_f.
5724 * sysdeps/i386/fpu/libm-test-ulps: Update.
5725 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5726
5764c27f
WN
57272013-12-16 Will Newton <will.newton@linaro.org>
5728
5729 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
5730 (Aligned Memory Blocks): Add documentation for aligned_alloc
5731 and suggest it as an alternative to posix_memalign.
5732 (Hooks for Malloc): Document __memalign_hook is also called
5733 for aligned_alloc. (Summary of Malloc): Add summary for
5734 aligned alloc. Document __memalign_hook is also called
5735 for aligned_alloc.
5736
0a096e44
WN
57372013-12-16 Will Newton <will.newton@linaro.org>
5738
5739 * manual/memory.texi (Malloc Examples): Clarify default
5740 alignment documentation. Suggest posix_memalign rather
5741 than memalign or valloc.
5742 (Aligned Memory Blocks): Remove suggestion to use memalign
5743 or valloc. Remove obsolete comment about BSD.
5744 Document memalign errno values and mark the function obsolete.
5745 Document posix_memalign returned error codes. Mark valloc
5746 as obsolete. (Hooks for Malloc): __memalign_hook is also
5747 called for posix_memalign and valloc.
5748 (Summary of Malloc): Add posix_memalign to function summary.
5749 __memalign_hook is also called for posix_memalign and valloc.
5750
8d561986
SP
57512013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
5752
5753 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
5754 TAYLOR_SIN.
5755 (__sin): Adjust.
5756 (__cos): Likewise.
5757 (sloww): Use mynumber union. Expand ternary operator into
5758 if-else statements.
5759 (cslow): use mynumber union.
5760
73616a74
AM
57612013-12-16 Allan McRae <allan@archlinux.org>
5762
9e8ac24b
AM
5763 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
5764 * configure: Regenerated.
5765
6f8e37eb
AM
5766 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
5767
8894bad3
AM
5768 [BZ #14120]
5769 * configure.ac: Added --enable-maintainer-mode. Check for
5770 autoconf when enabled.
5771 * configure: Regenerated.
5772
73616a74
AM
5773 * nscd/nscd.service: New file.
5774 * nscd/nscd.tmpfiles: New file.
5775
584b18eb
OB
57762013-12-14 Ondřej Bílka <neleai@seznam.cz>
5777
5778 [BZ #12100]
5779 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
5780 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
5781 * sysdeps/x86_64/multiarch/strstr.c: ... here.
5782 (strstr): Add __strstr_sse2_unaligned ifunc.
5783 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
5784 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
5785 (strcasestr): Remove __strcasestr_sse42 ifunc.
5786 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
5787 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5788 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
5789
8a5c7897
KK
57902013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
5791
5792 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
5793 * sysdeps/sh/bits/fenv.h: ... here.
5794 * sysdeps/sh/sh4/fpu/bits: Remove directory.
5795
fd712ef3
AZ
57962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5797
5798 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
5799
42fcb46c
AZ
58002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5801
5802 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
5803 hypotf multiarch implementations.
5804 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
5805 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
5806 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
5807 multiarch hypot for PPC64.
5808 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
5809 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
5810 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
5811 multiarch hypotf for PPC64.
5812
83efded4
AZ
58132013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5814
5815 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
5816 modff multiarch implementations.
5817 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
5818 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
5819 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
5820 multiarch modf for PPC64.
5821 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
5822 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
5823 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
5824 multiarch modff for PPC64.
5825
43e246d2
AZ
58262013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5827
5828 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
5829 and logl multiarch implementations.
5830 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
5831 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
5832 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
5833 multiarch logb for PPC64.
5834 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
5835 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
5836 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
5837 multiarch logb for PPC64.
5838 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
5839 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
5840 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
5841 multiarch logb for PPC64.
5842
8fdad123
AZ
58432013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5844
5845 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
5846 isinff multiarch implementation.
5847 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
5848 file.
5849 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
5850 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
5851 multiarch isinf for PPC64.
5852 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
5853 file.
5854 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
5855 multiarch isinff for PPC64.
5856
1481d706
AZ
58572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5858
5859 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
5860 finitef multiarch implementation.
5861 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
5862 file.
5863 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
5864 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
5865 multiarch finite for PPC64.
5866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
5867 file.
5868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
5869 multiarch finitef for PPC64.
5870
5ccd5fc8
AZ
58712013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5872
5873 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
5874 lrint multiarch implementation.
5875 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
5876 file.
5877 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
5878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
5879 multiarch llrint for PPC64.
5880 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
5881 multiarch lrint for PPC64.
5882
2568f3fa
AZ
58832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5884
5885 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
5886 copysignf multiarch implementation.
5887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
5888 file.
5889 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
5890 file.
5891 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
5892 multiarch copysign for PPC64.
5893 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
5894 multiarch copysignf for PPC64.
5895
1cb341fd
AZ
58962013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5897
5898 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
5899 multiarch implementation.
5900 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
5901 file.
5902 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
5903 file.
5904 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
5905 file.
5906 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
5907 file.
5908 multiarch llround for PPC64.
5909 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
5910 multiarch trunc for PPC64.
5911 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
5912 multiarch truncf for PPC64.
5913
59a3e194
AZ
59142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5915
5916 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
5917 multiarch implementation.
5918 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
5919 file.
5920 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
5921 file.
5922 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
5923 file.
5924 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
5925 file.
5926 multiarch llround for PPC64.
5927 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
5928 multiarch round for PPC64.
5929 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
5930 multiarch roundf for PPC64.
5931
357fd3b4
AZ
59322013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5933
5934 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
5935 multiarch implementation.
5936 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
5937 file.
5938 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
5939 file.
5940 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
5941 file.
5942 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
5943 file.
5944 multiarch llround for PPC64.
5945 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
5946 multiarch floor for PPC64.
5947 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
5948 multiarch floorf for PPC64.
5949
96770f12
AZ
59502013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5951
5952 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
5953 multiarch implementation.
5954 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
5955 file.
5956 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
5957 file.
5958 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
5959 file.
5960 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
5961 file.
5962 multiarch llround for PPC64.
5963 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
5964 multiarch ceil for PPC64.
5965 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
5966 multiarch ceilf for PPC64.
5967
c3627f6e
AZ
59682013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5969
5970 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
5971 multiarch implementation.
5972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
5973 file.
5974 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
5975 file.
5976 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
5977 file.
5978 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
5979 multiarch llround for PPC64.
5980 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
5981 multiarch lround for PPC64.
5982
b2284ad7
AZ
59832013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5984
5985 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
5986 multiarch implementation.
5987 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
5988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
5989 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
5990 file.
5991 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
5992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
5993 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
5994 multiarch isnan for PPC64.
5995 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
5996 multiarch isnanf for PPC64.
5997
69bbc63d
AZ
59982013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5999
6000 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
6001 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
6002 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
6003 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
6004 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
6005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
6006
c24517c9
AZ
60072013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6008
6009 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
6010 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
6011 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6012 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6013
a52374e8
AZ
60142013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6015
6016 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
6017 multiarch implementations.
6018 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6019 (__libc_ifunc_impl_list): Likewise.
6020 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
6021 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
6022 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
6023 multiarch stpcpy for PPC64.
6024
7f5ec113
AZ
60252013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6026
6027 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
6028 multiarch implementations.
6029 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6030 (__libc_ifunc_impl_list): Likewise.
6031 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
6032 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
6033 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
6034 multiarch strcpy for PPC64.
6035
e28bcd42
AZ
60362013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6037
6038 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
6039 redefine function name.
6040 (_wordcopy_fwd_dest_aligned): Likewise.
6041 (_wordcopy_bwd_aligned): Likewise.
6042 (_wordcopy_bwd_dest_aligned): Likewise.
6043 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
6044 multiarch implementations.
6045 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6046 (__libc_ifunc_impl_list): Likewise.
6047 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
6048 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
6049 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
6050 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
6051 multiarch wcscpy for PPC64.
6052
92cacfce
AZ
60532013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6054
6055 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
6056 multiarch implementations.
6057 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6058 (__libc_ifunc_impl_list): Likewise.
6059 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
6060 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
6061 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
6062 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
6063 multiarch wcscpy for PPC64.
6064
7b714620
AZ
60652013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6066
6067 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
6068 multiarch implementations.
6069 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6070 (__libc_ifunc_impl_list): Likewise.
6071 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
6072 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
6073 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
6074 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
6075 multiarch wcsrchr for PPC64.
6076
16fd2ae3
AZ
60772013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6078
6079 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
6080 multiarch implementations.
6081 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6082 (__libc_ifunc_impl_list): Likewise.
6083 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
6084 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
6085 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
6086 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
6087 multiarch wcschr for PPC64.
6088
9ee2969b
AZ
60892013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6090
6091 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
6092 multiarch implementations.
6093 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6094 (__libc_ifunc_impl_list): Likewise.
6095 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
6096 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
6097 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
6098 multiarch strchrnul for PPC64.
6099
372dc060
AZ
61002013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6101
6102 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
6103 implementations.
6104 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6105 (__libc_ifunc_impl_list): Likewise.
6106 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
6107 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
6108 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
6109 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
6110 strchr for PPC64.
6111
24c2c3b9
AZ
61122013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6113
6114 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
6115 implementations.
6116 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6117 (__libc_ifunc_impl_list): Likewise.
6118 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
6119 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
6120 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
6121 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
6122 strncmp for PPC64.
6123
1c92d9a0
AZ
61242013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6125
6126 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
6127 multiarch implementations.
6128 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6129 (__libc_ifunc_impl_list): Likewise.
6130 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
6131 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
6132 strncasecmp for PPC64.
6133 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
6134 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
6135 multiarch strncasecmp_l for PPC64.
6136
17de3ee3
AZ
61372013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6138
6139 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
6140 multiarch implementations.
6141 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6142 (__libc_ifunc_impl_list): Likewise.
6143 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
6144 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
6145 multiarch strcasecmp for PPC64.
6146 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
6147 file.
6148 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
6149 multiarch strcasecmp_l for PPC64.
6150
62982bf9
AZ
61512013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6152
6153 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
6154 implementations.
6155 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6156 (__libc_ifunc_impl_list): Likewise.
6157 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
6158 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
6159 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
6160 strnlen for PPC64.
6161
a65f4904
AZ
61622013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6163
6164 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
6165 implementations.
6166 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6167 (__libc_ifunc_impl_list): Likewise.
6168 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
6169 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
6170 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
6171 strlen for PPC64.
6172
1fd005ad
AZ
61732013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6174
6175 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
6176 implementations.
6177 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6178 (__libc_ifunc_impl_list): Likewise.
6179 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
6180 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
6181 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
6182 rawmemrchr for PPC64.
6183
cd05ba91
AZ
61842013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6185
6186 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
6187 implementation.
6188 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6189 (__libc_ifunc_impl_list): Likewise.
6190 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
6191 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
6192 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
6193 memrchr for PPC64.
6194
870f8676
AZ
61952013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6196
6197 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
6198 implementation.
6199 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6200 (__libc_ifunc_impl_list): Likewise.
6201 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
6202 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
6203 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
6204 memchr for PPC64.
6205
f00be62b
AZ
62062013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6207
6208 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
6209 implementation.
6210 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6211 (__libc_ifunc_impl_list): Likewise.
6212 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
6213 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
6214 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
6215 mempcpy for PPC64.
6216
8a29a3d0
AZ
62172013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6218
6219 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
6220 avoid cretion of __bzero symbol.
6221 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6222 Likewise.
6223 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
6224 Likewise.
6225 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
6226 Likewise.
6227 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
6228 multiarch implementations.
6229 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6230 (__libc_ifunc_impl_list): Likewise.
6231 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
6232 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
6233 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
6234 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
6235 bzero for PPC32.
6236 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
6237 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
6238 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
6239 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
6240 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
6241 memset for PPC64.
6242 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
6243
07253fcf
AZ
62442013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6245
6246 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
6247 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
6248 implementations.
6249 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6250 (__libc_ifunc_impl_list): Likewise.
6251 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
6252 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
6253 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
6254 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
6255 memcmp for PPC64.
6256
b5beafbc
AZ
62572013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6258
6259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
6260 multiarch for POWER/PPC64.
6261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
6262 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
6263 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
6264 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
6265 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
6266 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
6267 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
6268 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
6269 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
6270 memcpy for PPC64.
6271
5e6a4d4b
AZ
62722013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6273
6274 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
6275 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
6276 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6277 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
6278 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
6279 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
6280 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
6281 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
6282 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
6283 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
6284 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
6285 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
6286 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
6287 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
6288 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
6289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
6290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
6291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
6292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
6293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
6294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
6295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
6296
ddfab6dc
KK
62972013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
6298
6299 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
6300
19b5525e
SP
63012013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
6302
6303 * benchtests/Makefile (bench): Add exp2 and log2.
6304 (LDLIBS-bench-exp2): Add -lm.
6305 (LDLIBS-bench-log2): Likewise.
6306 * benchtests/exp2-inputs: New inputs file.
6307 * benchtests/log2-inputs: New inputs file.
6308 * benchtests/log-inputs: Add new inputs.
6309 * benchtests/tan-inputs: Likewise.
6310
196f7f5d
SP
63112013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
6312
7a74607f
SP
6313 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
6314 definition...
6315 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
6316 csloww1, csloww2): ... from here.
6317
196f7f5d
SP
6318 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
6319 instead of structures.
6320 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
6321 (POLYNOMIAL): Likewise.
6322 (TAYLOR_SLOW): Likewise.
6323 (__sin): Likewise.
6324 (__cos): Likewise.
6325 (slow1): Likewise.
6326 (slow2): Likewise.
6327 (sloww): Likewise.
6328 (sloww1); Likewise.
6329 (sloww2): Likewise.
6330 (bsloww1): Likewise.
6331 (bsloww2): Likewise.
6332 (cslow2): Likewise.
6333 (csloww): Likewise.
6334 (csloww1): Likewise.
6335 (csloww2): Likewise.
6336
0dfa665c
OB
63372013-12-10 Ondřej Bílka <neleai@seznam.cz>
6338
6339 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
6340 (__malloc_assert, __libc_realloc, __libc_calloc,
6341 _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
6342 memcpy and memset.
6343 * malloc/hooks.c (realloc_check): Likewise.
6344
5782a80f
OB
63452013-12-10 Ondřej Bílka <neleai@seznam.cz>
6346
6347 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
6348 * malloc/arena.c: Remove PER_THREAD conditional.
6349 [!PER_THREAD]: Remove code.
6350 (ptmalloc_unlock_all2): Likewise.
6351 (ptmalloc_init): Likewise.
6352 (_int_new_arena): Likewise.
6353 (arena_get2): Likewise.
6354 * malloc/hooks.c (__malloc_get_state): Likewise.
6355 (__malloc_set_state): Likewise.
6356 * malloc/malloc.c: Likewise.
6357 (struct malloc_state): Likewise.
6358 (struct malloc_par): Likewise.
6359 (__libc_realloc): Likewise.
6360 (__libc_mallopt): Likewise.
6361
aeb95445
AZ
63622013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6363
6364 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
6365
e8349efd
OB
63662013-12-09 Ondřej Bílka <neleai@seznam.cz>
6367
6368 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
6369 macro to a function. Check for zero perturb_byte.
6370 (_int_malloc, _int_free): Remove zero perturb_byte checks.
6371
f3eeb3fc
OB
63722013-12-09 Ondřej Bílka <neleai@seznam.cz>
6373
6374 * malloc/malloc.c: (force_reg): Remove.
6375 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
6376 _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
6377 force_reg by atomic_forced_read.
6378 * malloc/arena.c (ptmalloc_init): Likewise.
6379 * malloc/hooks.c (top_check): Likewise.
6380
be2f9009
AZ
63812013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6382
6383 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6384
e7b914bd
MT
63852013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
6386
6387 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6388
9f0be4f8
JM
63892013-12-08 Joseph Myers <joseph@codesourcery.com>
6390
6391 * math/auto-libm-test-in: Add tests of lgamma.
6392 * math/auto-libm-test-out: Regenerated.
6393 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
6394 (M_LOG_2_SQRT_PIl): Likewise.
6395 (lgamma_test_data): Use AUTO_TESTS_f_f1.
6396 * math/gen-auto-libm-tests.c (func_calc_method): Add value
6397 mpfr_f_f1.
6398 (func_calc_desc): Add mpfr_f_f1 union field.
6399 (ARGS1): New macro.
6400 (ARGS2): Likewise.
6401 (ARGS3): Likewise.
6402 (ARGS4): Likewise.
6403 (RET1): Likewise.
6404 (RET2): Likewise.
6405 (CALC): Likewise.
6406 (FUNC): Likewise.
6407 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
6408 (test_functions): Add lgamma.
6409 (calc_generic_results): Handle mpfr_f_f1.
6410 * sysdeps/i386/fpu/libm-test-ulps: Update.
6411 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6412
24eeafdb
AZ
64132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6414
6415 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
6416 __mpn_add_n for PowerPC64/POWER7.
6417 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
6418 __mpn_sub_n for PowerPC64/POWER7.
6419
4a2c0fd4
AZ
64202013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6421
6422 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
6423 __mpn_addmul_1 for PowerPC64.
6424 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
6425 __mpn_submul_1 for PowerPC64.
6426 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
6427 for PowerPC64.
6428 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
6429 for PowerPC64.
6430
4b5b548c
FS
64312013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
6432
6433 [BZ #15089]
6434 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
6435
0a3ac0aa
AZ
64362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6437
6438 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
6439
ccdc8438
AZ
64402013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6441
6442 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
6443 add multiarch folders.
6444 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
6445 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
6446 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
6447 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
6448 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
6449 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
6450 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
6451 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
6452 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
6453 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
6454 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
6455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
6456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
6457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
6458 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
6459 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
6460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
6461
2e973d99
AZ
64622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6463
6464 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6465 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
6466 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
6467 New file.
6468 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
6469 New file.
6470 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
6471 multiarch __ieee754_hypot for PowerPC32.
6472 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
6473 New file.
6474 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
6475 New file.
6476 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
6477 multiarch __ieee754_hypotf for PowerPC32.
6478
2d9470b2
AZ
64792013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6480
6481 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
6482 long_double_symbol only if __logbl is defined.
6483 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
6484 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
6485 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
6486 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
6487 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
6488 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
6489 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
6490 path for implementation.
6491 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
6492 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
6493 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
6494 logb, and logbl multiarch implementations for PowerPC32.
6495 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
6496 file.
6497 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
6498 file.
6499 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
6500 multiarch logb for PowerPC32.
6501 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
6502 file.
6503 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
6504 file.
6505 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
6506 multiarch logbf for PowerPC32.
6507 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
6508 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
6509 file.
6510 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
6511 multiarch logbl implementation for PowerPC32.
6512
5212ffce
AZ
65132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6514
6515 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
6516 and modff multiarch implementations.
6517 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
6518 New file.
6519 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
6520 New file.
6521 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
6522 multiarch modf for PowerPC32.
6523 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
6524 New file.
6525 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
6526 New file.
6527 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
6528 multiarch modff for PowerPC32.
6529
79dccf31
AZ
65302013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6531
6532 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
6533 and lrintf multiarch implementations.
6534 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
6535 New file.
6536 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
6537 New file.
6538 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
6539 multiarch lrint for PowerPC32.
6540 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
6541 file: multiarch lrintf for PowerPC32.
6542
deb66480
AZ
65432013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6544
6545 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
6546 and lroundf multiarch implementations.
6547 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
6548 New file.
6549 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
6550 New file.
6551 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
6552 New file.
6553 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
6554 multiarch lround for PowerPC32.
6555 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
6556 file: multiarch lroundf for PowerPC32.
6557
264b036b
AZ
65582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6559
6560 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
6561 copysign and copysignf multiarch implementations.
6562 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
6563 New file.
6564 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
6565 New file.
6566 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
6567 file: multiarch copysign for PowerPC32.
6568 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
6569 file: multiarch copysignf for PowerPC32.
6570
d47db6c9
AZ
65712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6572
6573 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
6574 and truncf multiarch implementations.
6575 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
6576 New file.
6577 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
6578 file.
6579 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
6580 multiarch trunc for PowerPC32.
6581 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
6582 New file.
6583 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
6584 New file.
6585 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
6586 multiarch truncf for PowerPC32.
6587
ddb60b5a
AZ
65882013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6589
6590 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
6591 and roundf multiarch implementations.
6592 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
6593 New file.
6594 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
6595 file.
6596 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
6597 multiarch round for PowerPC32.
6598 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
6599 New file.
6600 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
6601 New file.
6602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
6603 multiarch roundf for PowerPC32.
6604
bedcf49b
AZ
66052013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6606
6607 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
6608 and floorf multiarch implementations.
6609 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
6610 New file.
6611 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
6612 file.
6613 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
6614 multiarch floor for PowerPC32.
6615 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
6616 New file.
6617 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
6618 New file.
6619 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
6620 multiarch floorf for PowerPC32.
6621
35ae5b40
AZ
66222013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6623
6624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
6625 and ceilf multiarch implementations.
6626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
6627 New file.
6628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
6629 file.
6630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
6631 multiarch ceil for PowerPC32.
6632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
6633 New file.
6634 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
6635 file.
6636 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
6637 multiarch ceilf for PowerPC32.
6638
ae1a4cd9
AZ
66392013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6640
6641 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
6642 is defined.
6643 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
6644 FINITEF is defined.
6645 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
6646 and finitef multiarch implementations.
6647 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
6648 New file.
6649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
6650 file.
6651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
6652 multiarch finite for PowerPC32.
6653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
6654 New file.
6655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
6656 file: multiarch finitef for PowerPC32.
6657
64fffd65
AZ
66582013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6659
6660 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
6661 and isinff multiarch implementations.
6662 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
6663 file.
6664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
6665 file.
6666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
6667 multiarch isinf for PowerPC32.
6668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
6669 New file.
6670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
6671 multiarch isinff for PowerPC32.
6672
8e4e7ba2
AZ
66732013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6674
6675 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
6676 alias when __isnan is defined.
6677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
6678 and isnanf multiarch implementations.
6679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
6680 file.
6681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
6682 file.
6683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
6684 file.
6685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
6686 file.
6687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
6688 multiarch isnan for PowerPC32.
6689 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
6690 New file.
6691 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
6692 New file.
6693 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
6694 multiarch isnanf for PowerPC32.
6695
ddba588e
AZ
66962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6697
6698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
6699 and sqrtf multiarch implementations.
6700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
6701 file.
6702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
6703 file.
6704 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
6705 multiarch sqrt for PowerPC32.
6706 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
6707 file.
6708 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
6709 file.
6710 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
6711 multiarch sqrtf for PowerPC32.
6712
0f96a2f0
AZ
67132013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6714
6715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
6716 and llroundf multiarch implementations.
6717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
6718 New file.
6719 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
6720 New file.
6721 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
6722 New file.
6723 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
6724 file: multiarch llround for PowerPC32.
6725 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
6726 file: multiarch llroundf for PowerPC32.
6727
c9b5d79e
AZ
67282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6729
6730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
6731 multiarch PowerPC32 fpu implementations.
6732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
6733 New file.
6734 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
6735 New file.
6736 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
6737 multiarch llrint for PowerPC32.
6738 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
6739 New file.
6740 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
6741 New file.
6742 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
6743 file.
6744
9cbb3aab
AZ
67452013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6746
6747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
6748
ea5a72f8
AZ
67492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6750
6751 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
6752 file.
6753 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
6754 file.
6755 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
6756 file.
6757 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
6758 multiarch wordcopy for PPC32.
6759 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6760 wordcopy objects.
6761 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6762 (__libc_ifunc_impl_list): Likewise.
6763 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
6764 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
6765 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
6766 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
6767 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
6768 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
6769
93be09e7
AZ
67702013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6771
6772 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
6773 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
6774 file.
6775 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
6776 file.
6777 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
6778 file.
6779 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
6780 multiarch wcscpy for PPC32.
6781 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
6782 multiarch objects.
6783 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6784 (__libc_ifunc_impl_list): Likewise.
6785 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6786 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6787 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
6788 sysdeps/powerpc/power6/wcscpy.c.
6789
bb04e529
AZ
67902013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6791
6792 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
6793 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
6794 file.
6795 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
6796 file.
6797 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
6798 file.
6799 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
6800 multiarch wcsrchr for PPC32.
6801 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6802 multiarch objects.
6803 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6804 (__libc_ifunc_impl_list): Likewise.
6805 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
6806 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
6807 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
6808 sysdeps/powerpc/power6/wcsrchr.c.
6809
05b5cd1c
AZ
68102013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6811
6812 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
6813 file.
6814 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
6815 file.
6816 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
6817 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
6818 multiarch wcschr for PPc32.
6819 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
6820 multiarch objects.
6821 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6822 (__libc_ifunc_impl_list): Likewise.
6823 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
6824 * sysdeps/powerpc/power6/wcschr.c: ... to here.
6825 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
6826 sysdeps/powerpc/power6/wcschr.c.
6827
ba964147
AZ
68282013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6829
6830 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
6831 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
6832 file.
6833 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
6834 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
6835 file: multiarch strchr for PPC32.
6836 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
6837 multiarch objects.
6838 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6839 (__libc_ifunc_impl_list): Likewise.
6840
31c81aaa
AZ
68412013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6842
6843 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
6844 name.
6845 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
6846 file.
6847 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
6848 file.
6849 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
6850 multiarch strchrnul for PPC32.
6851 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
6852 multiarch objects.
6853 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6854 (__libc_ifunc_impl_list): Likewise.
6855
0d0607d9
AZ
68562013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6857
6858 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
6859 file.
6860 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
6861 multiarch strncasecmp for PPC32.
6862 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
6863 file.
6864 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
6865 multiarch strncasecmp_l for PPC32.
6866 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
6867 strncasecmp multiarch objects.
6868 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6869 (__libc_ifunc_impl_list): Likewise.
6870
4dfd5c86
AZ
68712013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6872
6873 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
6874 file.
6875 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
6876 multiarch strncasecmp for PPC32.
6877 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
6878 New file.
6879 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
6880 multiarch strcasecmp_l for PPC32.
6881 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
6882 multiarch objects.
6883 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6884 (__libc_ifunc_impl_list): Likewise.
6885
a19e01a3
AZ
68862013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6887
6888 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
6889 file.
6890 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
6891 file.
6892 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
6893 multiarch strncmp for PPC32.
6894 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
6895 multiarch objects.
6896 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6897 (__libc_ifunc_impl_list): Likewise.
6898
ae9cf7a2
AZ
68992013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6900
6901 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
6902 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
6903 file.
6904 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
6905 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
6906 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
6907 multiarch objects.
6908 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6909 (__libc_ifunc_impl_list): Likewise.
6910
3148bb7d
AZ
69112013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6912
6913 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
6914 file.
6915 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
6916 file.
6917 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
6918 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
6919 multiarch objects.
6920 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6921 (__libc_ifunc_impl_list): Likewise.
6922
7af8b946
AZ
69232013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6924
6925 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
6926 file.
6927 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
6928 file.
6929 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
6930 multiarch rawmemchr for PPC32.
6931 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
6932 multiarch objects.
6933 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6934 (__libc_ifunc_impl_list): Likewise.
6935
03a6aa6a
AZ
69362013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6937
6938 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
6939 file.
6940 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
6941 file.
6942 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
6943 file: memrchr multiarch for PPC32.
6944 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
6945 multiarch objects.
6946 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
6947 (__libc_ifunc_impl_list): Likewise.
6948
1c62e6d9
AZ
69492013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6950
6951 * string/memchr.c (__memchr): Using macro to redefine symbol name.
6952 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
6953 file.
6954 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
6955 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
6956 multiarch memchr for PPC32.
6957 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
6958 multiarch objects.
6959 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6960 (__libc_ifunc_impl_list): Likewise.
6961
87da8bdb
AZ
69622013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6963
6964 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
6965 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
6966 file.
6967 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
6968 file.
6969 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
6970 file: multiarch mempcpy for PPC32.
6971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
6972 multiarch objects.
6973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6974 (__libc_ifunc_impl_list): Likewise.
6975
20ed4714
AZ
69762013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6977
6978 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
6979 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
6980 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
6981 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
6982 multiarch bzero for PPC32.
6983 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
6984 file.
6985 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
6986 file.
6987 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
6988 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
6989 file: multiarch memset for PPC32.
6990 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
6991 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
6992 memset multiarch objects.
6993 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
6994 (__libc_ifunc_impl_list): Likewise.
6995
ab3e3a46
AZ
69962013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6997
6998 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
6999 file.
7000 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
7001 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
7002 memcmp for PPC32.
7003 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
7004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
7005 multiarch objects.
7006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7007 (__libc_ifunc_impl_list): Likewise.
7008
930de6f0
AZ
70092013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7010
7011 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
7012 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
7013 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
7014 file.
7015 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
7016 file.
7017 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
7018 file.
7019 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
7020 multiarch memcpy for PPC32.
7021 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
7022 multiarch objects.
7023 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7024 (__libc_ifunc_impl_list): Likewise.
7025
4c628e00
AZ
70262013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7027
7028 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
7029 support multiarch for POWER/PPC32.
7030 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
7031 Likewise.
7032 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
7033 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
7034 Implies file to make multiarch folder appers before the fpu and
7035 default folder for power4 configuration.
7036
f4479220
SP
70372013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
7038
7039 * scripts/bench.pl: Append volatile keyword to type.
7040
8517800f
KK
70412013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
7042
7043 * sysdeps/sh/sotruss-lib.c: New file.
7044 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
7045
180138f1
AZ
70462013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7047
7048 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7049
bbf37bdc
JM
70502013-12-05 Joseph Myers <joseph@codesourcery.com>
7051
e47cc4e0
JM
7052 [BZ #6810]
7053 * math/w_tgamma.c: Include <errno.h>.
7054 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
7055 * math/w_tgammaf.c: Include <errno.h>.
7056 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
7057 * math/w_tgammal.c: Include <errno.h>.
7058 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
7059 * math/auto-libm-test-in: Do not allow missing errno on tgamma
7060 underflow. Add more tgamma tests.
7061 * math/auto-libm-test-out: Regenerated.
7062 * sysdeps/i386/fpu/libm-test-ulps: Update.
7063 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7064
bbf37bdc
JM
7065 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
7066 sin, sinh, tan, tanh, tgamma, y0 and y1.
7067 * math/auto-libm-test-out: Regenerated.
7068 * math/libm-test.inc (TEST_COND_x86_64): New macro.
7069 (TEST_COND_x86): Likewise.
7070 (M_E2l): Remove macro.
7071 (M_E3l): Likewise.
7072 (M_2_SQRT_PIl): Likewise.
7073 (M_SQRT_PIl): Likewise.
7074 (M_1_DIV_El): Likewise.
7075 (log_test_data): Use AUTO_TESTS_f_f.
7076 (log10_test_data): Likewise.
7077 (log1p_test_data): Likewise.
7078 (log2_test_data): Likewise.
7079 (sin_test_data): Likewise.
7080 (sin_tonearest_test_data): Likewise.
7081 (sin_towardzero_test_data): Likewise.
7082 (sin_downward_test_data): Likewise.
7083 (sin_upward_test_data): Likewise.
7084 (sinh_test_data): Likewise.
7085 (sinh_tonearest_test_data): Likewise.
7086 (sinh_towardzero_test_data): Likewise.
7087 (sinh_downward_test_data): Likewise.
7088 (sinh_upward_test_data): Likewise.
7089 (tan_test_data): Likewise.
7090 (tan_tonearest_test_data): Likewise.
7091 (tan_towardzero_test_data): Likewise.
7092 (tan_downward_test_data): Likewise.
7093 (tan_upward_test_data): Likewise.
7094 (tanh_test_data): Likewise.
7095 (tgamma_test_data): Likewise.
7096 (y0_test_data): Likewise.
7097 (y1_test_data): Likewise.
7098 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
7099 (special_real_inputs): Add pi/4.
7100 * sysdeps/i386/fpu/libm-test-ulps: Update.
7101 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7102
eb5ad6b9
AZ
71032013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7104
7105 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
7106 "longjmp_target" static probes.
7107 (__longjmp): Rename to __longjmp_symbol.
7108 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
7109 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
7110 on which longjmp to generate.
7111 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
7112 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
7113 probe.
7114 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7115 (__sigjmp_save): Rename to __sigjmp_save_symbol.
7116 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7117 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
7118 and __sigjmp_save_symbol based on which sigsetjmp to generated.
7119 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
7120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
7121 __longjmp_symbol based on which __longjmp to generate.
7122 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
7123 probe.
7124 (setjmp): Rename to setjmp_symbol.
7125 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7126 (_setjmp): Rename to _setjmp_symbol.
7127 (__sigsetjmp): Rename to __sigsetjmp_symbol.
7128 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
7129 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
7130 which setjmp to generate.
7131 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
7132 "longjmp_target" static probes.
7133
d136c6dc
SP
71342013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
7135
9298ecba
SP
7136 * benchtests/README: Add note about output arguments.
7137 * benchtests/bench-sincos.c: Remove file.
7138 * benchtests/sincos-inputs: New file.
7139 * scripts/bench.pl: Identify output arguments and define
7140 static variables for them.
7141
232983e9
SP
7142 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
7143
d136c6dc
SP
7144 [BZ #15941]
7145 * Makefile (INSTALL): Add install-plain.texi as the primary
7146 dependency.
7147 * manual/install-plain.texi: New file.
7148 * manual/install.texi: Include node directive only for
7149 non-plaintext output.
7150
699ff837
JM
71512013-12-04 Joseph Myers <joseph@codesourcery.com>
7152
ab07cea8
JM
7153 * stdlib/longlong.h: Update from GCC.
7154
699ff837
JM
7155 [BZ #6807]
7156 [BZ #15901]
7157 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
7158 * math/w_j0f.c (y0f): Likewise.
7159 * math/w_j0l.c (__y0l): Likewise.
7160 * math/w_j1.c (y1): Likewise.
7161 * math/w_j1f.c (y1f): Likewise.
7162 * math/w_j1l.c (__y1l): Likewise
7163 * math/w_jn.c (yn): Likewise.
7164 * math/w_jnf.c (ynf): Likewise.
7165 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
7166 Bessel function pole errors in _POSIX_ mode. Use NAN as return
7167 value for Bessel function domain errors outside _SVID_ mode.
7168 Adjust sign of return value for yn (negative integer, 0).
7169 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
7170 by zero in return for negative x and set sign appropriately for
7171 negative n.
7172 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
7173 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
7174 * math/libm-test.inc (y0_test_data): Add more tests and adjust
7175 expectations in error cases.
7176 (y1_test_data): Likewise.
7177 (yn_test_data): Likewise.
7178 * sysdeps/i386/fpu/libm-test-ulps: Update.
7179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7180
5b118558
UW
71812013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7182
7183 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
7184 "64" to "64-v1". Add "64-v2".
7185 (abi-64-options): Rename to ...
7186 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
7187 (abi-64-condition): Rename to ...
7188 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
7189 (abi-64-ld-soname): Rename to ...
7190 (abi-64-v1-ld-soname): ... this.
7191 (abi-64-v2-options): Define.
7192 (abi-64-v2-condition): Likewise.
7193 (abi-64-v2-ld-soname): Likewise.
7194 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
7195 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
7196 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
7197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
7198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
7199
61cd8fe4
UW
72002013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7201 Alan Modra <amodra@gmail.com>
7202
7203 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
7204 New versions for use with the ELFv2 ABI.
7205 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
7206 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
7207 declaration.
7208 (struct La_ppc64v2_retval): Likewise.
7209 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
7210 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
7211 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
7212 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
7213 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
7214 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
7215 Do not save or restore CR.
7216 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
7217 (_dl_profile_resolve): Do no save or restore CR. Support extended
7218 return values for ELFv2 ABI. Fix location of FPR return registers.
7219 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
7220 updated values for _CALL_ELF == 2.
7221 (La_regs, La_retval, int_retval): Likewise.
7222
8b8a692c
UW
72232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7224
7225 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
7226 (FRAME_MIN_SIZE_PARM): Likewise.
7227 (FRAME_BACKCHAIN): Likewise.
7228 (FRAME_CR_SAVE): Likewise.
7229 (FRAME_LR_SAVE): Likewise.
7230 (FRAME_TOC_SAVE): Likewise.
7231 (FRAME_PARM_SAVE): Likewise.
7232 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7233 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7234 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7235 (call_mcount_parm_offset): New macro.
7236 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
7237 (PROF): Use symbolic stack frame offsets.
7238 (TAIL_CALL_SYSCALL_ERROR): Likewise.
7239 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
7240 Redefine in terms of FRAME_MIN_SIZE.
7241 (_dl_runtime_resolve): Use symbolic stack frame offsets.
7242 (_dl_profile_resolve): Likewise. Update comment.
7243 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
7244 symbols stack frame offsets.
7245 (__sigsetjmp): Likewise.
7246 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
7247 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
7248 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
7249 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
7250
7251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
7252 (FRAME_BACKCHAIN): Remove.
7253 (FRAME_CR_SAVE): Likewise.
7254 (FRAME_LR_SAVE): Likewise.
7255 (FRAME_COMPILER_DW): Likewise.
7256 (FRAME_LINKER_DW): Likewise.
7257 (FRAME_TOC_SAVE): Likewise.
7258 (FRAME_PARM_SAVE): Likewise.
7259 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
7260 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
7261 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
7262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
7263 (CHECK_SP): Use symbolic stack frame offsets.
7264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
7265 zone" instead of caller's parameter save area for temp storage.
7266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7267 Likewise. Also, use symbolic stack frame offsets.
7268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
7269 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
7270 our own stack frame instead of the caller's.
7271 (__socket): Use symbolic stack frame offsets.
7272
122b66de
UW
72732013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7274 Alan Modra <amodra@gmail.com>
7275
7276 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
7277 Define.
7278 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
7279 PPC64_LOCAL_ENTRY_OFFSET): Define.
7280 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
7281 New function.
7282 (elf_machine_fixup_plt): Call it.
7283 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
7284 reloc arguments.
7285 (elf_machine_rela): Update call to elf_machine_plt_conflict.
54285cf9
SP
7286 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7287 _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
122b66de
UW
7288 r2 before calling target.
7289
696caf1d
UW
72902013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7291 Alan Modra <amodra@gmail.com>
7292
7293 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
7294 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
7295 versions of macros to support ELFv2 ABI.
7296 (LOCALENTRY): New macro.
7297 (ENTRY, EALIGN): Use it.
7298 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
7299 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
7300 fall through into ENTRY entry point.
7301 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
7302 Only define if _CALL_ELF != 2.
7303
7304 (elf_machine_matches_host): Verify ABI version matches.
7305 (RTLD_START): Use LOCALENTRY.
7306 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
7307 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
7308 (PLT_ENTRY_WORDS): New macro.
7309 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
7310 (elf_machine_runtime_setup): Support ELFv2 ABI.
7311 (elf_machine_fixup_plt): Likewise.
7312 (elf_machine_plt_conflict): Likewise.
7313 (resolve_ifunc): Likewise.
7314 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
7315 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
7316 Likewise.
7317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
7318 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
7319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7320 (makecontext): Support ELFv2 ABI.
7321 * elf/elf.h (EF_PPC64_ABI): Define.
7322
d31beafa
UW
73232013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7324
7325 * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
7326 New assembler macro.
7327 [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
7328 [ASSEMBLER] (ENTRY): ... but instead here ...
7329 [ASSEMBLER] (EALIGN): ... and here.
7330 [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
7331 [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
7332 [!ASSEMBLER] (ENTRY_2): Use it.
7333 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
7334 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
7335 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
7336 _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
7337 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
7338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
7339 Use PPC64_LOAD_FUNCPTR.
7340
b525166b
UW
73412013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7342
7343 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
7344
7ec07d9a
AM
73452013-12-04 Alan Modra <amodra@gmail.com>
7346
7347 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
7348 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
7349 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
7350 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
7351
7352 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
7353 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
7354 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
7355 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
7356 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
7357 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
7358
5162e7dd
UW
73592013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
7360
7361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
7362 (__makecontext): Fix incorrect CFI when backtracing out of
7363 context created via makecontext.
7364 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
7365 (__setcontext): Fix incorrect CFI during switch to new context.
7366 (__novec_setcontext): Likewise.
7367
19e3372b
OB
73682013-12-04 Ondřej Bílka <neleai@seznam.cz>
7369
7370 [BZ #4772]
7371 * time/strptime_l.c (__strptime_internal): Allow modifiers
7372 in strptime.
7373 * time/tst-strptime.c (day_tests): Add testcase.
7374
7375
ecaf142d
SP
73762013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
7377
7378 * scripts/bench.pl: Skip over blank lines.
7379
fbf964ae
PE
73802013-12-04 Paul Eggert <eggert@cs.ucla.edu>
7381
7382 [BZ #926]
7383 * manual/time.texi (Calendar Time): Clarify what timezone functions
7384 use.
7385
fa60a674
AZ
73862013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7387
7388 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7389
d674f0ef
OB
73902013-12-04 Ondřej Bílka <neleai@seznam.cz>
7391
7392 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
7393 implementation.
7394 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
7395 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
7396 * debug/memset_chk.c (__memset_chk): Likewise.
7397 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
7398 * debug/strncpy_chk.c: Likewise.
7399
17dea188
JM
74002013-12-03 Joseph Myers <joseph@codesourcery.com>
7401
749008ff
JM
7402 [BZ #15268]
7403 [BZ #15425]
7404 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
7405 (__ieee754_exp): For possibly underflowing results, check size of
7406 result and force underflow exception if required.
7407 * math/auto-libm-test-in: Add more tests of exp.
7408 * math/auto-libm-test-out: Regenerated.
7409 * sysdeps/i386/fpu/libm-test-ulps: Update.
7410 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7411
17dea188
JM
7412 [BZ #16283]
7413 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
7414 * math/w_exp2f.c (__exp2f): Likewise.
7415 * math/w_exp2l.c (__exp2l): Likewise.
7416 * math/auto-libm-test-in: Do not allow missing errno on exp2
7417 underflow.
7418 * math/auto-libm-test-out: Regenerated.
7419
b20de2c3
OB
74202013-12-03 Ondřej Bílka <neleai@seznam.cz>
7421
7422 [BZ #16274]
7423 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
7424 handle filename validation.
7425 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
7426 (do_open): Delete.
7427
d8e2dbe3
JM
74282013-12-03 Joseph Myers <joseph@codesourcery.com>
7429
34e16df5
JM
7430 [BZ #6786]
7431 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
7432 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
7433 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
7434 <float.h>.
7435 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
7436 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
7437 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7438 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
7439 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7440 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
7441 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
7442 * math/auto-libm-test-in: Don't allow missing errno from erfc.
7443 Add more erfc tests.
7444 * math/auto-libm-test-out: Regenerated.
7445 * sysdeps/i386/fpu/libm-test-ulps: Update.
7446 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7447
d8e2dbe3
JM
7448 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
7449 exp2, expm1, j0 and j1.
7450 * math/auto-libm-test-out: Regenerated.
7451 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
7452 (erfc_test_data): Likewise.
7453 (exp_test_data): Likewise.
7454 (exp_tonearest_test_data): Likewise.
7455 (exp_towardzero_test_data): Likewise.
7456 (exp_downward_test_data): Likewise.
7457 (exp_upward_test_data): Likewise.
7458 (exp10_test_data): Likewise.
7459 (exp2_test_data): Likewise.
7460 (expm1_test_data): Likewise.
7461 (j0_test_data): Likewise.
7462 (j1_test_data): Likewise.
7463 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
7464 (input_flag_type): Add flag_xfail_rounding.
7465 (input_flags): Add xfail-rounding.
7466 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
7467 (output_for_one_input_case): Handle flag_xfail_rounding.
7468 * sysdeps/i386/fpu/libm-test-ulps: Update.
7469 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7470
18d14251
AJ
74712013-12-03 Aurelien Jarno <aurelien@aurel32.net>
7472
3d2e6075 7473 [BZ #16289]
18d14251
AJ
7474 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
7475 division by 0.
7476
520d437b
SP
74772013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
7478
7479 [BZ #16195]
7480 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
7481 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
7482 (STAP_PROBE0): New macro.
7483 (STAP_PROBE1): Likewise.
7484 (STAP_PROBE2): Likewise.
7485 (STAP_PROBE3): Likewise.
7486 (STAP_PROBE4): Likewise.
7487
416e0145
OB
74882013-12-02 Ondřej Bílka <neleai@seznam.cz>
7489
7490 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
7491
9d17796a
SE
74922013-12-02 Steve Ellcey <sellcey@mips.com>
7493
7494 * benchtests/Makefile (bench): Add sqrt.
7495 (LDLIBS-bench-sqrt): New.
7496 * benchtests/sqrt-input: New.
7497
f524d6a8
PS
74982013-12-02 Pavel Simerda <psimerda@redhat.com>
7499
639a0ef8
PS
7500 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
7501 (GAIH_EAI): Likewise.
7502 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
7503 (gaih_inet): Likewise.
7504 (getaddrinfo): Don't use GAIH_EAI.
7505
f524d6a8
PS
7506 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
7507 (struct gaih): Remove definition.
7508
df3aedaf
SP
75092013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
7510
7511 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
7512 Use HERRNOP directly.
7513
1ab19dec
AZ
75142013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7515
b42ad38d 7516 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1ab19dec 7517
176b0c79
JM
75182013-11-30 Joseph Myers <joseph@codesourcery.com>
7519
7520 * math/gen-auto-libm-tests.c (test_functions): Add more
7521 single-argument functions.
7522 (special_fill_pi_2): New function.
7523 (special_fill_minus_pi_2): Likewise.
7524 (special_fill_pi_6): Likewise.
7525 (special_fill_minus_pi_6): Likewise.
7526 (special_fill_pi_3): Likewise.
7527 (special_fill_2pi_3): Likewise.
7528 (special_fill_e): Likewise.
7529 (special_fill_1_e): Likewise.
7530 (special_fill_e_minus_1): Likewise.
7531 (special_real_inputs): Add more special inputs.
7532 (output_for_one_input_case): Do not require ERANGE on underflow to
7533 zero if round-to-nearest result does not underflow to zero, unless
7534 exact results required.
7535 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
7536 atan, atanh, cbrt, cos and cosh.
7537 * math/auto-libm-test-out: Regenerated.
7538 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
7539 (acos_tonearest_test_data): Likewise.
7540 (acos_towardzero_test_data): Likewise.
7541 (acos_downward_test_data): Likewise.
7542 (acos_upward_test_data): Likewise.
7543 (acosh_test_data): Likewise.
7544 (asin_test_data): Likewise.
7545 (asin_tonearest_test_data): Likewise.
7546 (asin_towardzero_test_data): Likewise.
7547 (asin_upward_test_data): Likewise.
7548 (asinh_test_data): Likewise.
7549 (atan_test_data): Likewise.
7550 (atanh_test_data): Likewise.
7551 (cbrt_test_data): Likewise.
7552 (cos_test_data): Likewise.
7553 (cos_tonearest_test_data): Likewise.
7554 (cos_towardzero_test_data): Likewise.
7555 (cos_downward_test_data): Likewise.
7556 (cos_upward_test_data): Likewise.
7557 (cosh_test_data): Likewise.
7558 (cosh_tonearest_test_data): Likewise.
7559 (cosh_towardzero_test_data): Likewise.
7560 (cosh_downward_test_data): Likewise.
7561 (cosh_upward_test_data): Likewise.
7562 * sysdeps/i386/fpu/libm-test-ulps: Update.
7563 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7564
ffb536d0
JM
75652013-11-29 Joseph Myers <joseph@codesourcery.com>
7566
2a77a467
JM
7567 [BZ #6787]
7568 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
7569 * math/w_exp10f.c (__exp10f): Likewise.
7570 * math/w_exp10l.c (__exp10l): Likewise.
7571 * math/libm-test.inc (exp10_test_data): Add more tests and expect
7572 errno settings in existing tests.
7573
ea3bc4e8
JM
7574 [BZ #14032]
7575 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
7576 precision control set to double precision.
7577 * sysdeps/i386/fpu/w_sqrt.c: New file.
7578 * math/auto-libm-test-in: Add more tests.
7579 * math/auto-libm-test-out: Update.
7580
0712c9d8
JM
7581 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
7582 (sqrt_test_tonearest): New function.
7583 (sqrt_towardzero_test_data): New variable.
7584 (sqrt_test_towardzero): New function.
7585 (sqrt_downward_test_data): New variable.
7586 (sqrt_test_downward): New function.
7587 (sqrt_upward_test_data): New variable.
7588 (sqrt_test_upward): New function.
7589 (main): Call the new functions.
7590
ffb536d0
JM
7591 * math/gen-auto-libm-tests.c: New file.
7592 * math/auto-libm-test-in: Likewise.
7593 * math/auto-libm-test-out: New generated file.
7594 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
7595 variables.
7596 (%beautify): Add generated representations of zero.
7597 (top level): Set $auto_input and call parse_auto_input.
7598 (beautify): Remove trailing "f" from hex float constants.
7599 (parse_args): Handle XFAIL_TEST.
7600 (convert_condition): New function.
7601 (or_value): Likewise.
7602 (or_cond_value): Likewise.
7603 (generate_testfile): Handle AUTO_TESTS_* lines.
7604 (parse_auto_input): New function.
7605 * math/libm-test.inc (XFAIL_TEST): New macro.
7606 (ERRNO_UNCHANGED): Update value.
7607 (ERRNO_EDOM): Likewise.
7608 (ERRNO_ERANGE): Likewise.
7609 (IGNORE_RESULT): Likewise.
7610 (TEST_COND_flt_32): New macro.
7611 (TEST_COND_dbl_64): Likewise.
7612 (TEST_COND_ldbl_96_intel): Likewise.
7613 (TEST_COND_ldbl_96_m68k): Likewise.
7614 (TEST_COND_ldbl_128): Likewise.
7615 (TEST_COND_ldbl_128ibm): Likewise.
7616 (TEST_COND_long32): Likewise.
7617 (TEST_COND_long64): Likewise.
7618 (TEST_COND_before_rounding): Likewise.
7619 (TEST_COND_after_rounding): Likewise.
7620 (enable_test): Handle XFAIL_TEST flag.
7621 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
7622 with finite results.
7623 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
7624 auto-libm-test-out.
7625
acd98a8e
AK
76262013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
7627 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
7628
7629 [BZ #16214]
7630 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
7631 __tls_get_addr_internal instead of __tls_get_offset in order to
7632 avoid GOT pointer dependency. Make rtld export
7633 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
7634 __tls_get_addr since we are a __tls_get_offset platform.
7635 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
7636 GOT pointer being set up before.
7637 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
7638
3c1c46a6
JM
76392013-11-28 Joseph Myers <joseph@codesourcery.com>
7640
7475aef5
JM
7641 * manual/math.texi (Errors in Math Functions): Document accuracy
7642 goals.
7643
8bca7cd8
JM
7644 [BZ #15004]
7645 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
7646 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
7647 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
7648 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
7649 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
7650 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
7651 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
7652 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
7653 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
7654 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
7655 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
7656 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
7657 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
7658 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
7659 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
7660 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
7661
91a1f3fe
JM
7662 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
7663 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
7664 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
7665 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
7666 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
7667 Likewise.
7668 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
7669 Likewise.
7670 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
7671 Likewise.
7672 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
7673 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
7674 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
7675 atomic-feupdateenv and flt-rounds.
7676 * sysdeps/powerpc/nofpu/Versions (libc): Add
7677 __atomic_feholdexcept, __atomic_feclearexcept,
7678 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
7679 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
7680 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
7681 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
7682 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
7683 here.
7684 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7685 Update.
7686
c5df7609
JM
7687 * manual/arith.texi (FP Exceptions): Document that exceptions may
7688 not be raised when matherr is used.
7689 (Math Error Reporting): Document overflow in directed rounding
7690 modes. Document that errno may not be set when finite values are
7691 returned on overflow. Document intent to set errno on underflow
7692 only for underflow to zero.
7693
3c1c46a6
JM
7694 [BZ #16271]
7695 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
7696 round-to-nearest then adjust result for other rounding modes.
7697 * include/fenv.h (fegetround): Use libm_hidden_proto.
7698 * math/fegetround.c (fegetround): Use libm_hidden_def.
7699 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
7700 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
7701 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
7702 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
7703 Likewise.
7704 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
7705 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
7706 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
7707 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
7708
5a4c6d53
SP
77092013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
7710
7711 [BZ #16077]
7712 * nss/Versions (libnss_files): Add
7713 _nss_files_gethostbyname3_r.
7714 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
7715 New function.
7716 (HOST_DB_LOOKUP): Remove macro.
7717 (_nss_files_gethostbyname_r): Implement function without the
7718 HOST_DB_LOOKUP macro.
7719 (_nss_files_gethostbyname2_r): Likewise.
7720
897b98ba
OB
77212013-11-28 Ondřej Bílka <neleai@seznam.cz>
7722
7723 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
7724
6f476861
UB
77252013-11-26 Uros Bizjak <ubizjak@gmail.com>
7726
7727 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
7728 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
7729 warning.
7730
bd12ab55
AZ
77312013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7732
7733 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
7734 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
7735 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
7736 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
7737 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
7738 __fe_nomask_env_priv and attribute_hidden.
7739 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
7740 (libc_feupdateenv_test_ppc): Likewise.
7741 (libc_feresetround_ppc): Likewise.
7742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
7743 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
7744 compat_symbol macro.
7745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
7746 (__fe_nomask_env): Likewise.
7747 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
7748
52bb6543
OB
77492013-11-26 Ondřej Bílka <neleai@seznam.cz>
7750
7751 * string/Makefile: Remove ifunc tests.
7752 * string/test-string.h: Define TEST_IFUNC.
7753 * string/test-bcopy-ifunc.c: Remove.
7754 * string/test-bzero-ifunc.c: Likewise.
7755 * string/test-memccpy-ifunc.c: Likewise.
7756 * string/test-memchr-ifunc.c: Likewise.
7757 * string/test-memcmp-ifunc.c: Likewise.
7758 * string/test-memcpy-ifunc.c: Likewise.
7759 * string/test-memmem-ifunc.c: Likewise.
7760 * string/test-memmove-ifunc.c: Likewise.
7761 * string/test-mempcpy-ifunc.c: Likewise.
7762 * string/test-memrchr-ifunc.c: Likewise.
7763 * string/test-memset-ifunc.c: Likewise.
7764 * string/test-rawmemchr-ifunc.c: Likewise.
7765 * string/test-stpcpy-ifunc.c: Likewise.
7766 * string/test-stpncpy-ifunc.c: Likewise.
7767 * string/test-strcasecmp-ifunc.c: Likewise.
7768 * string/test-strcasestr-ifunc.c: Likewise.
7769 * string/test-strcat-ifunc.c: Likewise.
7770 * string/test-strchr-ifunc.c: Likewise.
7771 * string/test-strchrnul-ifunc.c: Likewise.
7772 * string/test-strcmp-ifunc.c: Likewise.
7773 * string/test-strcpy-ifunc.c: Likewise.
7774 * string/test-strcspn-ifunc.c: Likewise.
7775 * string/test-strlen-ifunc.c: Likewise.
7776 * string/test-strncasecmp-ifunc.c: Likewise.
7777 * string/test-strncat-ifunc.c: Likewise.
7778 * string/test-strncmp-ifunc.c: Likewise.
7779 * string/test-strncpy-ifunc.c: Likewise.
7780 * string/test-strnlen-ifunc.c: Likewise.
7781 * string/test-strpbrk-ifunc.c: Likewise.
7782 * string/test-strrchr-ifunc.c: Likewise.
7783 * string/test-strspn-ifunc.c: Likewise.
7784 * string/test-strstr-ifunc.c: Likewise.
7785
ab260039 77862013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97
OB
7787
7788 * benchtests/Makefile: Remove ifunc tests.
7789 * benchtests/bench-string.h: Define TEST_IFUNC.
7790 * benchtests/bench-bcopy-ifunc.c: Remove.
7791 * benchtests/bench-bzero-ifunc.c: Likewise.
7792 * benchtests/bench-memccpy-ifunc.c: Likewise.
7793 * benchtests/bench-memchr-ifunc.c: Likewise.
7794 * benchtests/bench-memcmp-ifunc.c: Likewise.
7795 * benchtests/bench-memcpy-ifunc.c: Likewise.
7796 * benchtests/bench-memmem-ifunc.c: Likewise.
7797 * benchtests/bench-memmove-ifunc.c: Likewise.
7798 * benchtests/bench-mempcpy-ifunc.c: Likewise.
7799 * benchtests/bench-memrchr-ifunc.c: Likewise.
7800 * benchtests/bench-memset-ifunc.c: Likewise.
7801 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
7802 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
7803 * benchtests/bench-stpcpy-ifunc.c: Likewise.
7804 * benchtests/bench-stpncpy-ifunc.c: Likewise.
7805 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
7806 * benchtests/bench-strcasestr-ifunc.c: Likewise.
7807 * benchtests/bench-strcat-ifunc.c: Likewise.
7808 * benchtests/bench-strchr-ifunc.c: Likewise.
7809 * benchtests/bench-strchrnul-ifunc.c: Likewise.
7810 * benchtests/bench-strcmp-ifunc.c: Likewise.
7811 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
7812 * benchtests/bench-strcpy-ifunc.c: Likewise.
7813 * benchtests/bench-strcspn-ifunc.c: Likewise.
7814 * benchtests/bench-strlen-ifunc.c: Likewise.
7815 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
7816 * benchtests/bench-strncat-ifunc.c: Likewise.
7817 * benchtests/bench-strncmp-ifunc.c: Likewise.
7818 * benchtests/bench-strncpy-ifunc.c: Likewise.
7819 * benchtests/bench-strnlen-ifunc.c: Likewise.
7820 * benchtests/bench-strpbrk-ifunc.c: Likewise.
7821 * benchtests/bench-strrchr-ifunc.c: Likewise.
a9503496 7822 * benchtests/bench-strsep-ifunc.c: Likewise.
2787db97
OB
7823 * benchtests/bench-strspn-ifunc.c: Likewise.
7824 * benchtests/bench-strstr-ifunc.c: Likewise.
7825
78262013-11-26 Ondřej Bílka <neleai@seznam.cz>
7827
ab260039
OB
7828 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
7829
d1d9eaf4 78302013-11-26 Ondřej Bílka <neleai@seznam.cz>
2787db97 7831
d1d9eaf4
OB
7832 * resolv/netdb.h: Use __glibc_reserved instead __unused.
7833 * rt/aio.h: Likewise.
7834 * sysdeps/gnu/bits/utmp.h: Likewise.
7835 * sysdeps/gnu/bits/utmpx.h: Likewise.
7836 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
7837 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
7838 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
7839 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
7840 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
7841 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
7842 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
7843 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
7844 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
7845 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
7846 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
7847 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
7848 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
7849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
7850 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
7851 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
7852 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
7853 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
7854 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
7855 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
7856 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
7857 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
7858 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
7859 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
7860 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
7861 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
7862 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
7863 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
7864 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
7865 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
7866 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
7867 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
7868 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
7869 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7870 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
7871 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
7872 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
7873 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
7874 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
7875 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
7876 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
7877 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
7878
a7624ed9
CD
78792013-11-25 Carlos O'Donell <carlos@redhat.com>
7880
7881 [BZ #16245]
7882 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
7883 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
7884
63cfe52b
JM
78852013-11-25 Joseph Myers <joseph@codesourcery.com>
7886
7887 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
7888 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
7889 Likewise.
7890
41e8926a
AZ
78912013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
7892
7893 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
7894 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
7895 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
7896 (__fesetround): Remove define.
7897 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
7898 rounding and exceptions handling.
7899 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
7900 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
7901 (__fe_nomask_env): Likewise.
7902 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
7903 __fegetround instead of fegetround.
7904 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
7905 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
7906
6851bd4d
RM
79072013-11-21 Roland McGrath <roland@hack.frob.com>
7908
070906ff
RM
7909 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
7910 it's there.
7911
6851bd4d
RM
7912 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
7913
84ae135d
MI
79142013-11-21 Meador Inge <meadori@codesourcery.com>
7915
7916 [BZ #11157]
7917 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
7918 (encrypt_r): Likewise.
7919 * malloc/obstack.h (obstack_free): Likewise.
7920 * posix/unistd.h (encrypt): Likewise.
7921
daf75146
GM
79222013-11-21 Guy Martin <gmsoft@tuxicoman.be>
7923
7924 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
7925 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
7926 DL_CALL_DT_FINI() that call the functions directly.
7927 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
7928 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
7929 * elf/dl-fini.c: Likewise.
7930
10ad46bc
OB
79312013-11-20 Ondřej Bílka <neleai@seznam.cz>
7932
7933 * malloc/hooks.c (memalign_check): Add alignment rounding.
7934 * malloc/malloc.c (_mid_memalign): New function.
7935 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
7936 Implement by calling _mid_memalign.
7937 * manual/probes.texi (Memory Allocation Probes): Remove
7938 memory_valloc_retry and memory_pvalloc_retry.
7939
f3fd2628
SP
79402013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
7941
4712799f
SP
7942 * locale/programs/locarchive.c (open_archive): Add const
7943 qualifier to ARCHIVEFNAME and copy default fname to
7944 DEFAULT_FNAME.
7945
0417b20f
SP
7946 [BZ #15601]
7947 * libio/tst-widetext.input: Rename Oriya to Odia.
7948 * locale/iso-639.def: Likewise.
7949
f3fd2628
SP
7950 * manual/probes.texi (Mathematical Function Probes): Add
7951 documentation for sin, cos, asin and acos probes.
7952 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
7953 (__sin32): Add slowasin probe.
7954 (__cos32): Add slowacos probe.
7955 (__mpsin): Add slowsin probe.
7956 (__mpcos): Add slowcos probe.
7957
73c1ce4f
JM
79582013-11-19 Joseph Myers <joseph@codesourcery.com>
7959
7960 [BZ #15483]
7961 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
7962 thread-local __sim_exceptions_thread and global
7963 __sim_exceptions_global.
7964 (__sim_disabled_exceptions): Change to thread-local
7965 __sim_disabled_exceptions_thread and global
7966 __sim_disabled_exceptions_global.
7967 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7968 and global __sim_round_mode_global.
7969 (__simulate_exceptions): Use thread-local floating-point state and
7970 set global state from it as needed.
7971 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
7972 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
7973 __sim_round_mode_thread.
7974 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
7975 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
7976 and global __sim_exceptions_global.
7977 (__sim_disabled_exceptions): Change to thread-local
7978 __sim_disabled_exceptions_thread and global
7979 __sim_disabled_exceptions_global.
7980 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
7981 and global __sim_round_mode_global.
7982 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
7983 (SIM_SET_GLOBAL): Likewise.
7984 * sysdeps/powerpc/soft-fp/sfp-machine.h
7985 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
7986 __sim_round_mode_thread.
7987 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
7988 __sim_disabled_exceptions_thread.
7989 (__sim_exceptions): Change to __sim_exceptions_thread.
7990 (__sim_disabled_exceptions): Change to
7991 __sim_disabled_exceptions_thread.
7992 (__sim_round_mode): Change to __sim_round_mode_thread.
7993 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
7994 thread-local floating-point state and set global state from it as
7995 needed.
7996 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
7997 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
7998 (__sim_disabled_exceptions): Remove extern declaration.
7999 (feenableexcept): Use thread-local floating-point state and set
8000 global state from it as needed.
8001 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
8002 extern declaration.
8003 (__sim_disabled_exceptions): Likewise.
8004 (__sim_round_mode): Likewise.
8005 (__fegetenv): Use thread-local floating-point state.
8006 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
8007 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
8008 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
8009 floating-point state and set global state from it as needed.
8010 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
8011 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
8012 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
8013 Likewise.
8014 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
8015 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
8016 Likewise.
8017 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
8018 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
8019 Use __sim_round_mode_thread.
8020 * math/test-fenv-tls.c: New file.
8021 * math/Makefile (tests): Add test-fenv-tls.
8022 ($(objpfx)test-fenv-tls): Depend on
8023 $(common-objpfx)nptl/libpthread.so.
8024
b5449b12
AS
80252013-11-19 Andreas Schwab <schwab@suse.de>
8026
8027 * locale/programs/locale.c (show_info): Decode wordarray elements.
8028 * locale/categories.def (LC_MONETARY): Add element for
8029 _NL_MONETARY_CRNCYSTR.
8030 * locale/C-monetary.c (conversion_rate): New variable.
8031 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
8032 element.
8033
e186536b
CM
80342013-11-18 Chris Metcalf <cmetcalf@tilera.com>
8035
8036 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
8037 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
8038
5c349950
PP
80392013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
8040
8041 * elf/Makefile (tst-auxv): New test.
8042 * elf/tst-auxv.c: New
8043 * elf/rtld.c (dl_main): Adjust AT_EXECFN
8044
699df45b
JM
80452013-11-18 Joseph Myers <joseph@codesourcery.com>
8046
8047 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
8048 (hidden_proto): Caller changed.
8049 (hidden_tls_proto): New macro.
8050 (libc_hidden_tls_proto): Likewise.
8051 (rtld_hidden_tls_proto): Likewise.
8052 (libm_hidden_tls_proto): Likewise.
8053 (libresolv_hidden_tls_proto): Likewise.
8054 (librt_hidden_tls_proto): Likewise.
8055 (libdl_hidden_tls_proto): Likewise.
8056 (libnss_files_hidden_tls_proto): Likewise.
8057 (libnsl_hidden_tls_proto): Likewise.
8058 (libnss_nisplus_hidden_tls_proto): Likewise.
8059 (libutil_hidden_tls_proto): Likewise.
8060
b7589107
OB
80612013-11-18 Ondřej Bílka <neleai@seznam.cz>
8062
8063 [BZ #10253]
8064 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
8065 (decompose_rpath): Defer expansion to fillin_rpath.
8066 (_dl_init_paths): Pass linkmap to fillin_rpath.
8067
250c23bd
RS
80682013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8069
8070 * benchtests/Makefile: Add strsep.
8071 * benchtests/bench-strsep.c: New file: strsep benchtest.
8072 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
8073
a7931fcf
AS
80742013-11-18 Andreas Schwab <schwab@suse.de>
8075
8076 * locale/programs/locale.c (show_info) [case byte]: Check for
8077 '\377' instead of '\177'.
8078 * locale/C-monetary.c (not_available): Always use "\377".
8079 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
8080 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
8081 detect unavailable sign_posn locale elements.
8082 * locale/localeconv.c (__localeconv): For grouping and
8083 mon_grouping handle "\177" and "\377" like no grouping.
8084 (INT_ELEM): New macro. Use it to set all numeric members.
8085 * locale/programs/ld-monetary.c (monetary_read)
8086 <tok_mon_grouping>: Normalize single -1 to the empty string.
8087 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
8088 Likewise.
8089
728dab0e
OB
80902013-11-07 Ondřej Bílka <neleai@seznam.cz>
8091
8092 [BZ #16055]
8093 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
8094 when we match (nil).
8095 * stdio-common/tst-sscanf.c (struct test): Add testcase.
8096
66294491
JM
80972013-11-16 Joseph Myers <joseph@codesourcery.com>
8098
ce665817
JM
8099 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
8100 (NO_TEST_INLINE): Update value.
8101 (ERRNO_UNCHANGED): Likewise.
8102 (ERRNO_EDOM): Likewise.
8103 (ERRNO_ERANGE): Likewise.
8104 (IGNORE_RESULT): Likewise.
8105 (check_float_internal): Check signs of NaN results if
8106 TEST_NAN_SIGN used.
8107 (check_complex): Pass TEST_NAN_SIGN flag through to second
8108 check_float_internal call.
8109 (copysign_test_data): Add tests with quiet NaNs as second
8110 argument. Use TEST_NAN_SIGN.
8111 (fabs_test_data): Add test of negative quiet NaN argument. Use
8112 TEST_NAN_SIGN.
8113 (signbit_test_data): Add tests of quiet NaN argument.
8114 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
8115
ee1466a9
JM
8116 * math/gen-libm-test.pl (show_exceptions): Take extra argument
8117 $ignore_result.
8118 (parse_args): Handle function results specified as IGNORE.
8119 * math/libm-test.inc (IGNORE_RESULT): New macro.
8120 (check_float_internal): Do not check numerical result if flag
8121 IGNORE_RESULT set.
8122 (check_complex): Pass through IGNORE_RESULT to second
8123 check_float_internal call.
8124 (check_int): Do not check numerical result if flag IGNORE_RESULT
8125 set.
8126 (check_long): Likewise.
8127 (check_bool): Likewise.
8128 (check_longlong): Likewise.
8129 (lrint_test_data): Add tests of infinite and NaN arguments.
8130 (lrint_tonearest_test_data): Likewise.
8131 (lrint_towardzero_test_data): Likewise.
8132 (lrint_downward_test_data): Likewise.
8133 (lrint_upward_test_data): Likewise.
8134 (llrint_test_data): Likewise.
8135 (llrint_tonearest_test_data): Likewise.
8136 (llrint_towardzero_test_data): Likewise.
8137 (llrint_downward_test_data): Likewise.
8138 (llrint_upward_test_data): Likewise.
8139 (lround_test_data): Likewise.
8140 (llround_test_data): Likewise.
8141
14407b7e
JM
8142 * math/libm-test.inc (NO_TEST_INLINE): New macro.
8143 (ERRNO_UNCHANGED): Update value.
8144 (ERRNO_EDOM): Likewise.
8145 (ERRNO_ERANGE): Likewise.
8146 (NO_TEST_INLINE_FLOAT): New macro.
8147 (NO_TEST_INLINE_DOUBLE): Likewise.
8148 (enable_test): New function.
8149 (RUN_TEST_f_f): Check enable_test before running test.
8150 (RUN_TEST_2_f): Likewise.
8151 (RUN_TEST_fff_f): Likewise.
8152 (RUN_TEST_c_f): Likewise.
8153 (RUN_TEST_f_f1): Likewise.
8154 (RUN_TEST_fF_f1): Likewise.
8155 (RUN_TEST_fI_f1): Likewise.
8156 (RUN_TEST_ffI_f1): Likewise.
8157 (RUN_TEST_c_c): Likewise.
8158 (RUN_TEST_cc_c): Likewise.
8159 (RUN_TEST_f_i): Likewise.
8160 (RUN_TEST_f_i_tg): Likewise.
8161 (RUN_TEST_ff_i_tg): Likewise.
8162 (RUN_TEST_f_b): Likewise.
8163 (RUN_TEST_f_b_tg): Likewise.
8164 (RUN_TEST_f_l): Likewise.
8165 (RUN_TEST_f_L): Likewise.
8166 (RUN_TEST_fFF_11): Likewise.
8167 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
8168 conditionals.
8169 (cosh_test_data): Likewise.
8170 (exp_test_data): Likewise.
8171 (expm1_test_data): Likewise.
8172 (hypot_test_data): Likewise.
8173 (pow_test_data): Likewise.
8174 (sinh_test_data): Likewise.
8175 (tanh_test_data): Likewise.
8176 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
8177 flags argument.
8178
ca07f197
JM
8179 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
8180 tests with quiet NaN input and output.
8181 (acosh_test_data): Likewise.
8182 (asin_test_data): Likewise.
8183 (asinh_test_data): Likewise.
8184 (atan_test_data): Likewise.
8185 (atanh_test_data): Likewise.
8186 (atan2_test_data): Likewise.
8187 (cbrt_test_data): Likewise.
8188 (cos_test_data): Likewise.
8189 (cosh_test_data): Likewise.
8190 (erf_test_data): Likewise.
8191 (erfc_test_data): Likewise.
8192 (exp_test_data): Likewise.
8193 (exp10_test_data): Likewise.
8194 (exp2_test_data): Likewise.
8195 (expm1_test_data): Likewise.
8196 (hypot_test_data): Likewise.
8197 (j0_test_data): Likewise.
8198 (j1_test_data): Likewise.
8199 (jn_test_data): Likewise.
8200 (lgamma_test_data): Likewise.
8201 (log_test_data): Likewise.
8202 (log10_test_data): Likewise.
8203 (log1p_test_data): Likewise.
8204 (log2_test_data): Likewise.
8205 (pow_test_data): Likewise.
8206 (scalb_test_data): Likewise.
8207 (sin_test_data): Likewise.
8208 (sincos_test_data): Likewise.
8209 (sinh_test_data): Likewise.
8210 (tan_test_data): Likewise.
8211 (tanh_test_data): Likewise.
8212 (tgamma_test_data): Likewise.
8213 (y0_test_data): Likewise.
8214 (y1_test_data): Likewise.
8215 (yn_test_data): Likewise.
8216
66294491
JM
8217 [BZ #16167]
8218 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
8219 argument being NaN and avoid computations with second argument in
8220 that case.
8221 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
8222 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
8223 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
8224
1820b143
CL
82252013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
8226
8227 * locale/iso-639.def: Add Chitwani Tharu (the).
8228
714bd261
AS
82292013-11-14 Andreas Schwab <schwab@suse.de>
8230
8231 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
8232 word instead of empty string.
8233
7ab44563
AZ
82342013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8235
8236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8237 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
8238 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8239 (__fe_nomask_env): Likewise.
8240
e8470ea2
SE
82412013-11-13 Steve Ellcey <sellcey@mips.com>
8242
8243 * benchtests/bench-timing.h: Include time.h.
8244
17c1d9f0
L
82452013-11-13 H.J. Lu <hongjiu.lu@intel.com>
8246
8247 [BZ #15997]
8248 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
8249 to 3.4.0 for x32.
8250 * sysdeps/unix/sysv/linux/configure: Regenerated.
8251
9310c284
JM
82522013-11-13 Joseph Myers <joseph@codesourcery.com>
8253
8254 [BZ #16151]
8255 * stdlib/strtod_l.c (round_and_return): Do not consider
8256 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
8257 exponent one less than half the least subnormal exponent.
8258 * stdlib/test-strtod-round-data: Add more tests.
8259 * stdlib/tst-strtod-round.c (tests): Regenerated.
8260
7a2ad8cf
AZ
82612013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8262
8263 [BZ #14143]
8264 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
8265 (__fe_mask_env): Likewise.
8266 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
8267 libm_hidden_proto and add function prototype.
8268 (__fe_mask_env): Add function prototype.
8269 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
8270 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
8271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
8272 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
8273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
8274 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
8275
50727aa7
MS
82762013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8277
b2f386c1 8278 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
50727aa7
MS
8279 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
8280
a615be46
MS
82812013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8282
8283 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
8284 of htab_find_slot().
8285
7ddace62
DM
82862013-11-11 David S. Miller <davem@davemloft.net>
8287
8288 [BZ #16150]
8289 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
8290 symbol in the non-vis3 case in static builds.
8291 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
8292 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
8293 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
8294 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
8295
9182aa67
JK
82962013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
8297
8298 [BZ #387]
8299 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
8300 it is empty.
8301
450a2e2d
AZ
83022013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8303
b2f386c1
SP
8304 * benchtests/Makefile: Add bench-strtod.
8305 * benchtests/bench-strtod.c: New file: strtod benchtest
450a2e2d 8306
8ec3f656
AS
83072013-11-11 Andreas Schwab <schwab@suse.de>
8308
8309 [BZ #16153]
8310 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
8311 terminating NUL in key length.
8312
76a9b998
AZ
83132013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
8314
8315 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8316 Add artificial ODP entry for vDSO symbol for PPC64.
8317 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
8318 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
8319
e4368156
OB
83202013-11-07 Ondřej Bílka <neleai@seznam.cz>
8321
8322 [BZ #15374]
8323 * nss/getent.c (services_keys): Recognize services starting with digit.
8324
8d6bb57c
DM
83252013-11-06 David S. Miller <davem@davemloft.net>
8326
8327 [BZ #15985]
8328 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
8329 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
8330
e256c421
WN
83312013-11-06 Will Newton <will.newton@linaro.org>
8332
8333 * manual/memory.texi (Malloc Examples): Remove register
8334 keyword from examples.
8335
f6e12daa 83362013-11-04 Chris Leonard <cjl@sugarlabs.org>
1484e657 8337
f6e12daa 8338 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
1484e657 8339
9d880655
AS
83402013-11-04 Joseph Myers <joseph@codesourcery.com>
8341
fd2f9486 8342 [BZ #6981]
9d880655
AS
8343 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
8344 depending on [__GCC_IEC_559 > 0].
8345 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
8346 depending on [__GCC_IEC_559_COMPLEX > 0].
8347
ae129d3c
CL
83482013-11-03 Chris Leonard <cjl@sugarlabs.org>
8349
8350 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
8351 to iso-639.def.
8352
4a15c2a4 83532013-11-03 Ondřej Bílka <neleai@seznam.cz>
17c8c3dc
OB
8354
8355 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
8356
8b35e35d
OB
83572013-11-01 Ondřej Bílka <neleai@seznam.cz>
8358
8359 [BZ #16112]
8360 * malloc/malloc (malloc_info): Do not handle first bin as
8361 special case.
8362
1d70fd6c
CL
83632013-11-01 Chris Leonard <cjl@sugarlabs.org>
8364
8365 * locale/iso-639.def: Add Central Nahuatl (nhn).
8366
8c5c2600
BH
83672013-11-01 Bruno Haible <bruno@clisp.org>
8368
8369 [BZ #7003]
8370 * manual/math.texi (BSD Random): Specify range upper bound as
8371 in POSIX.
8372
da5579c2
CL
83732013-10-31 Chris Leonard <cjl@sugarlabs.org>
8374
8375 * locale/iso-639.def: Add Meadow Mari (mhr).
8376
5d30d853
OB
83772013-10-31 Ondřej Bílka <neleai@seznam.cz>
8378
8379 [BZ #14752], [BZ #15763]
8380 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
8381 Validate name.
8382 * rt/tst_shm.c: Add test for escaping directory.
8383
a4966c61
AS
83842013-10-31 Andreas Schwab <schwab@suse.de>
8385
8a43e768 8386 [BZ #15917]
a4966c61
AS
8387 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
8388 followed by 'x' as part of digit sequence.
8389 * stdio-common/tst-sscanf.c (double_tests2): New tests.
8390
28d708c4
MAP
83912013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
8392
8393 [BZ #16037]
8394 * configure.ac: allow GNU Make 4.0 and greater.
8395 * configure: Regenerated.
8396
a56ee40b
WN
83972013-10-30 Will Newton <will.newton@linaro.org>
8398
8399 [BZ #16038]
8400 * malloc/hooks.c (memalign_check): Limit alignment to the
8401 maximum representable power of two.
8402 * malloc/malloc.c (__libc_memalign): Likewise.
8403 * malloc/tst-memalign.c (do_test): Add test for very
8404 large alignment values.
8405 * malloc/tst-posix_memalign.c (do_test): Likewise.
8406
c6e4925d
OB
84072013-10-30 Ondřej Bílka <neleai@seznam.cz>
8408
8409 [BZ #11087]
8410 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
8411 (munmap_chunk): Likewise.
8412 (mremap_chunk): Likewise.
8413
84142013-10-30 Ondřej Bílka <neleai@seznam.cz>
bbea82f7 8415
8a43e768 8416 [BZ #15799]
bbea82f7
OB
8417 * stdlib/div.c (div): Remove obsolete code.
8418 * stdlib/ldiv.c (ldiv): Likewise.
8419 * stdlib/lldiv.c (lldiv): Likewise.
8420
977f4b31
SP
84212013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
8422
8423 [BZ #16071]
8424 * nss/nss_files/files-XXX.c (get_contents_ret): New
8425 enumerator.
8426 (get_contents): New function.
8427 (internal_getent): Use it. Expand size of LINEBUFLEN.
8428
cb8a6dbd
MF
84292013-10-30 Mike Frysinger <vapier@gentoo.org>
8430
8431 * configure.in: Moved to ...
8432 * configure.ac: ... here. Change reference to configure.in
8433 to configure.ac.
8434 * sysdeps/arm/preconfigure.ac: ... here.
8435 configure.in to configure.ac.
8436 * sysdeps/gnu/configure.in: Moved to ...
8437 * sysdeps/gnu/configure.ac: ... here.
8438 * sysdeps/i386/configure.in: Moved to ...
8439 * sysdeps/i386/configure.ac: ... here.
8440 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
8441 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
8442 * sysdeps/mach/configure.in: Moved to ...
8443 * sysdeps/mach/configure.ac: ... here.
8444 * sysdeps/mach/hurd/configure.in: Moved to ...
8445 * sysdeps/mach/hurd/configure.ac: ... here.
8446 * sysdeps/powerpc/configure.in: Moved to ...
8447 * sysdeps/powerpc/configure.ac: ... here.
8448 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
8449 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
8450 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
8451 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
8452 * sysdeps/s390/s390-32/configure.in: Moved to ...
8453 * sysdeps/s390/s390-32/configure.ac: ... here.
8454 * sysdeps/s390/s390-64/configure.in: Moved to ...
8455 * sysdeps/s390/s390-64/configure.ac: ... here.
8456 * sysdeps/sh/configure.in: Moved to ...
8457 * sysdeps/sh/configure.ac: ... here.
8458 * sysdeps/sparc/configure.in: Moved to ...
8459 * sysdeps/sparc/configure.ac: ... here.
8460 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
8461 * sysdeps/unix/sysv/linux/configure.ac: ... here.
8462 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
8463 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
8464 * sysdeps/x86_64/configure.in: Moved to ...
8465 * sysdeps/x86_64/configure.ac: ... here.
8466 * sysdeps/x86_64/preconfigure.in: Moved to ...
8467 * sysdeps/x86_64/preconfigure.ac: ... here.
8468 * aclocal.m4: Change reference to configure.in to configure.ac.
8469 * config.h.in: Likewise.
8470 * manual/install.texi: Likewise.
8471 * manual/maint.texi: Likewise.
8472 * Makefile: Likewise.
8473 * malloc/Makefile: Likewise.
8474 * nscd/Makefile: Likewise.
8475 * Makeconfig: Change reference to configure.in and
8476 preconfigure.in to configure.ac and preconfigure.ac
8477 respectively.
8478 * INSTALL: Regenerated.
8479 * configure: Likewise.
8480 * sysdeps/gnu/configure: Likewise.
8481 * sysdeps/i386/configure: Likewise.
8482 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
8483 * sysdeps/mach/configure: Likewise.
8484 * sysdeps/mach/hurd/configure: Likewise.
8485 * sysdeps/powerpc/configure: Likewise.
8486 * sysdeps/powerpc/powerpc32/configure: Likewise.
8487 * sysdeps/powerpc/powerpc64/configure: Likewise.
8488 * sysdeps/s390/s390-32/configure: Likewise.
8489 * sysdeps/s390/s390-64/configure: Likewise.
8490 * sysdeps/sh/configure: Likewise.
8491 * sysdeps/sparc/configure: Likewise.
8492 * sysdeps/unix/sysv/linux/configure: Likewise.
8493 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
8494 * sysdeps/x86_64/configure: Likewise.
8495 * sysdeps/x86_64/preconfigure: Likewise.
8496
36a4953a
AS
84972013-10-29 Andreas Schwab <schwab@suse.de>
8498
8499 * stdio-common/Makefile (tst-swscanf-ENV): Define.
8500
c79a1204
SP
85012013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8502
dfa1b402
SP
8503 * benchtests/pow-inputs: Add new inputs.
8504
54f73d9c
SP
8505 * benchtests/exp-inputs: Add new inputs.
8506
c79a1204
SP
8507 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
8508 conditional check for return value.
8509 (__cos32): Likewise.
8510
67beb545 85112013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69f13dbf
AZ
8512
8513 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
8514 to provide a boost for large inputs with word alignment.
8515 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
8516 implementation based on optimized PPC64 strcpy.
8517 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
8518 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
8519 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
8520 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
8521
151659f6
OB
85222013-10-25 Ondřej Bílka <neleai@seznam.cz>
8523
482a077e 8524 [BZ #2801]
151659f6
OB
8525 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
8526
10b0f26b
OB
85272013-10-25 Ondřej Bílka <neleai@seznam.cz>
8528
8529 [BZ #14876]
8530 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
8531 * time/tst-strptime.c (day_tests): Add testcase.
8532
ca42d35e
OB
85332013-10-25 Ondřej Bílka <neleai@seznam.cz>
8534
482a077e 8535 [BZ #14029]
ca42d35e
OB
8536 * manual/pattern.texi: Acknowledge that fnmatch can fail.
8537
52e6d801
FB
85382013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
8539
8540 [BZ #16074]
8541 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
8542 MAP_FAILED on error.
8543
7cbcdb36
SP
85442013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
8545
8546 [BZ #16072]
8547 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
8548 heap for large requests.
8549
894f3f10
AM
85502013-10-25 Aurelien Jarno <aurelien@aurel32.net>
8551
8552 [BZ #9954]
8553 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
8554 result if the result has no associated interface.
8555 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
8556 interface for all 127.X.Y.Z addresses.
8557
b85545a6
CL
85582013-10-24 Chris Leonard <cjl@sugarlabs.org>
8559
8560 * locale/iso-639.def: Add Ligurian (lij)
8561
d1f23d46
OB
85622013-10-21 Ondřej Bílka <neleai@seznam.cz>
8563
8564 [BZ #15825]
8565 * sunrpc/rpc_main.c: Document rpcgen -5.
8566
4db5b08f
MS
85672013-10-19 Michael Stahl <mstahl@redhat.com>
8568
8569 * elf/rtld.c (do_preload): Print the reason why preloading failed.
8570
a471e96a
OB
85712013-10-19 Ondřej Bílka <neleai@seznam.cz>
8572
d1f23d46 8573 [BZ #10278]
a471e96a
OB
8574 * posix/glob.c: Match only directories when trailing slash is present.
8575 * posix/tst-gnuglob.c (my_opendir): Do not open files.
8576 (main): Add testcase.
8577
45c30c61
OB
85782013-10-19 Ondřej Bílka <neleai@seznam.cz>
8579
8580 [BZ #15670]
8581 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
8582
484c12fb
CD
85832013-10-18 Carlos O'Donell <carlos@redhat.com>
8584
3d7dc513
CD
8585 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
8586 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
8587 AUTH_DES and cindex for FIPS 140-2.
8588 (DES Encryption): Add cindex FIPS 46-3.
8589
484c12fb
CD
8590 * locale/locarchive.h (struct locarhandle): Add fname.
8591 * locale/programs/localedef.c (main): Pass ARGV[remaining]
8592 if an optional argument was specified to --list-archive,
8593 otherwise NULL.
8594 * locale/programs/locarchive.c (show_archive_content): Take new
8595 argument fname and pass it via ah.fname to open_archive.
8596 * locale/programs/localedef.h: Update decl.
8597 (open_archive): If AH->fname is non-null, open that file
8598 rather than the default file name, and don't ignore ENOENT.
8599 (create_archive): Set AH.fname to NULL.
8600 (delete_locales_from_archive): Likewise.
8601 (add_locales_to_archive): Likewise.
8602 * locale/programs/locfile.c (write_all_categories): Likewise.
8603
3c8325fb
JM
86042013-10-18 Joseph Myers <joseph@codesourcery.com>
8605 Aldy Hernandez <aldyh@redhat.com>
8606
8607 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
8608 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
8609 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
8610 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
8611 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
8612 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
8613 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
8614 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
8615 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
8616 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
8617 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
8618 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
8619 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
8620 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
8621 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
8622 Likewise.
8623 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
8624 Likewise.
8625 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
8626 Likewise.
8627 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
8628 Likewise.
8629 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
8630 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
8631 Likewise.
8632 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
8633 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
8634 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
8635 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
8636 Likewise.
8637 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
8638 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
8639 * sysdeps/powerpc/preconfigure: Likewise.
8640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
8641 Likewise.
8642 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
8643 Replace contents of file by #include of <fenv_libc.h>.
8644 * sysdeps/powerpc/soft-fp/sfp-machine.h
8645 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
8646 and <sys/prctl.h>.
8647 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
8648 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
8649 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
8650 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
8651 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
8652 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
8653 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
8654 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
8655 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
8656 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
8657 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
8658 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
8659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
8660 Allow copysignl PLT reference to be missing.
8661
5abe0682
RS
86622013-10-18 Richard Sandiford <richard@codesourcery.com>
8663 Joseph Myers <joseph@codesourcery.com
8664
8665 [BZ #15948]
8666 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
8667 single character.
8668 (add_to_tablewc): Assert sequence of wide characters is nonempty.
8669
c7738d08
SP
86702013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
8671
8672 * elf/tst-tls-dlinfo.c: Don't include tls.h.
8673 * elf/tst-tls1.c: Likewise.
8674 * elf/tst-tls10.h: Likewise.
8675 * elf/tst-tls14.c: Likewise.
8676 * elf/tst-tls2.c: Likewise.
8677 * elf/tst-tls3.c: Likewise.
8678 * elf/tst-tls4.c: Likewise.
8679 * elf/tst-tls5.c: Likewise.
8680 * elf/tst-tls6.c: Likewise.
8681 * elf/tst-tls7.c: Likewise.
8682 * elf/tst-tls8.c: Likewise.
8683 * elf/tst-tls9.c: Likewise.
8684 * elf/tst-tlsmod1.c: Likewise.
8685 * elf/tst-tlsmod13.c: Likewise.
8686 * elf/tst-tlsmod13a.c: Likewise.
8687 * elf/tst-tlsmod14a.c: Likewise.
8688 * elf/tst-tlsmod16a.c: Likewise.
8689 * elf/tst-tlsmod16b.c: Likewise.
8690 * elf/tst-tlsmod2.c: Likewise.
8691 * elf/tst-tlsmod3.c: Likewise.
8692 * elf/tst-tlsmod4.c: Likewise.
8693 * elf/tst-tlsmod5.c: Likewise.
8694 * elf/tst-tlsmod6.c: Likewise.
8695
0bfcf2c7
OB
86962013-10-18 Ondřej Bílka <neleai@seznam.cz>
8697
8698 [BZ #12486]
8699 * malloc/malloc.c: remove checks for statistics.
8700
264aad1e
OB
87012013-10-17 Ondřej Bílka <neleai@seznam.cz>
8702
8703 [BZ #15277]
8704 * inet/inet_net.c (inet_network): Detect additional invalid strings.
8705 * inet/tst-network.c: Add testcase.
8706
b957ced8
AS
87072013-10-17 Andreas Schwab <schwab@suse.de>
8708
8709 [BZ #15218]
8710 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
8711 to determine canonical name.
8712
c5d5d574
OB
87132013-10-17 Ondřej Bílka <neleai@seznam.cz>
8714
8715 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
8716 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
8717 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8718 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
8719 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8720 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
8721 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
8722 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
8723 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
8724 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
8725 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
8726 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
8727 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8737 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
8739 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
8740 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
8745 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8747 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
8748 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
8749 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
8750 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
8751 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
8752 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
8753 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
8754 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
8755 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
8756 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8757 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
8758 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8759 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
8760 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
8761 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
8762 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
8763 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
8764 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
8765 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
8766 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
8767 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8768 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
8769 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8770 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
8771 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8772 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
8773
e5c2c2d0
JM
87742013-10-17 Joseph Myers <joseph@codesourcery.com>
8775
8776 [BZ #16041]
8777 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
8778 make result into a quiet NaN.
8779
51ca9e29
JM
87802013-10-16 Joseph Myers <joseph@codesourcery.com>
8781
8782 * soft-fp/adddf3.c: Fix horizontal whitespace.
8783 * soft-fp/addsf3.c: Likewise.
8784 * soft-fp/addtf3.c: Likewise.
8785 * soft-fp/divdf3.c: Likewise.
8786 * soft-fp/divsf3.c: Likewise.
8787 * soft-fp/divtf3.c: Likewise.
8788 * soft-fp/double.h: Likewise.
8789 * soft-fp/eqdf2.c: Likewise.
8790 * soft-fp/eqsf2.c: Likewise.
8791 * soft-fp/eqtf2.c: Likewise.
8792 * soft-fp/extenddftf2.c: Likewise.
8793 * soft-fp/extended.h: Likewise.
8794 * soft-fp/extendsfdf2.c: Likewise.
8795 * soft-fp/extendsftf2.c: Likewise.
8796 * soft-fp/extendxftf2.c: Likewise.
8797 * soft-fp/fixdfdi.c: Likewise.
8798 * soft-fp/fixdfsi.c: Likewise.
8799 * soft-fp/fixdfti.c: Likewise.
8800 * soft-fp/fixsfdi.c: Likewise.
8801 * soft-fp/fixsfsi.c: Likewise.
8802 * soft-fp/fixsfti.c: Likewise.
8803 * soft-fp/fixtfdi.c: Likewise.
8804 * soft-fp/fixtfsi.c: Likewise.
8805 * soft-fp/fixtfti.c: Likewise.
8806 * soft-fp/fixunsdfdi.c: Likewise.
8807 * soft-fp/fixunsdfsi.c: Likewise.
8808 * soft-fp/fixunsdfti.c: Likewise.
8809 * soft-fp/fixunssfdi.c: Likewise.
8810 * soft-fp/fixunssfsi.c: Likewise.
8811 * soft-fp/fixunssfti.c: Likewise.
8812 * soft-fp/fixunstfdi.c: Likewise.
8813 * soft-fp/fixunstfsi.c: Likewise.
8814 * soft-fp/fixunstfti.c: Likewise.
8815 * soft-fp/floatdidf.c: Likewise.
8816 * soft-fp/floatdisf.c: Likewise.
8817 * soft-fp/floatditf.c: Likewise.
8818 * soft-fp/floatsidf.c: Likewise.
8819 * soft-fp/floatsisf.c: Likewise.
8820 * soft-fp/floatsitf.c: Likewise.
8821 * soft-fp/floattidf.c: Likewise.
8822 * soft-fp/floattisf.c: Likewise.
8823 * soft-fp/floattitf.c: Likewise.
8824 * soft-fp/floatundidf.c: Likewise.
8825 * soft-fp/floatundisf.c: Likewise.
8826 * soft-fp/floatunditf.c: Likewise.
8827 * soft-fp/floatunsidf.c: Likewise.
8828 * soft-fp/floatunsisf.c: Likewise.
8829 * soft-fp/floatunsitf.c: Likewise.
8830 * soft-fp/floatuntidf.c: Likewise.
8831 * soft-fp/floatuntisf.c: Likewise.
8832 * soft-fp/floatuntitf.c: Likewise.
8833 * soft-fp/fmadf4.c: Likewise.
8834 * soft-fp/fmasf4.c: Likewise.
8835 * soft-fp/fmatf4.c: Likewise.
8836 * soft-fp/gedf2.c: Likewise.
8837 * soft-fp/gesf2.c: Likewise.
8838 * soft-fp/getf2.c: Likewise.
8839 * soft-fp/ledf2.c: Likewise.
8840 * soft-fp/lesf2.c: Likewise.
8841 * soft-fp/letf2.c: Likewise.
8842 * soft-fp/muldf3.c: Likewise.
8843 * soft-fp/mulsf3.c: Likewise.
8844 * soft-fp/multf3.c: Likewise.
8845 * soft-fp/negdf2.c: Likewise.
8846 * soft-fp/negsf2.c: Likewise.
8847 * soft-fp/negtf2.c: Likewise.
8848 * soft-fp/op-1.h: Likewise.
8849 * soft-fp/op-2.h: Likewise.
8850 * soft-fp/op-4.h: Likewise.
8851 * soft-fp/op-8.h: Likewise.
8852 * soft-fp/op-common.h: Likewise.
8853 * soft-fp/quad.h: Likewise.
8854 * soft-fp/single.h: Likewise.
8855 * soft-fp/soft-fp.h: Likewise.
8856 * soft-fp/sqrtdf2.c: Likewise.
8857 * soft-fp/sqrtsf2.c: Likewise.
8858 * soft-fp/sqrttf2.c: Likewise.
8859 * soft-fp/subdf3.c: Likewise.
8860 * soft-fp/subsf3.c: Likewise.
8861 * soft-fp/subtf3.c: Likewise.
8862 * soft-fp/truncdfsf2.c: Likewise.
8863 * soft-fp/trunctfdf2.c: Likewise.
8864 * soft-fp/trunctfsf2.c: Likewise.
8865 * soft-fp/trunctfxf2.c: Likewise.
8866 * soft-fp/unorddf2.c: Likewise.
8867 * soft-fp/unordsf2.c: Likewise.
8868 * soft-fp/unordtf2.c: Likewise.
8869
9ebb0332
JM
88702013-10-15 Joseph Myers <joseph@codesourcery.com>
8871
8872 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
8873 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
8874
4b1a6d8b
OB
88752013-10-15 Ondřej Bílka <neleai@seznam.cz>
8876
8877 * elf/dl-libc.c: Clear initfini list after freeing.
8878
1e145589
JM
88792013-10-14 Joseph Myers <joseph@codesourcery.com>
8880
8881 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
8882 * soft-fp/addsf3.c: Likewise.
8883 * soft-fp/addtf3.c: Likewise.
8884 * soft-fp/divdf3.c: Likewise.
8885 * soft-fp/divsf3.c: Likewise.
8886 * soft-fp/divtf3.c: Likewise.
8887 * soft-fp/double.h: Likewise.
8888 * soft-fp/eqdf2.c: Likewise.
8889 * soft-fp/eqsf2.c: Likewise.
8890 * soft-fp/eqtf2.c: Likewise.
8891 * soft-fp/extenddftf2.c: Likewise.
8892 * soft-fp/extended.h: Likewise.
8893 * soft-fp/extendsfdf2.c: Likewise.
8894 * soft-fp/extendsftf2.c: Likewise.
8895 * soft-fp/extendxftf2.c: Likewise.
8896 * soft-fp/fixdfdi.c: Likewise.
8897 * soft-fp/fixdfsi.c: Likewise.
8898 * soft-fp/fixdfti.c: Likewise.
8899 * soft-fp/fixsfdi.c: Likewise.
8900 * soft-fp/fixsfsi.c: Likewise.
8901 * soft-fp/fixsfti.c: Likewise.
8902 * soft-fp/fixtfdi.c: Likewise.
8903 * soft-fp/fixtfsi.c: Likewise.
8904 * soft-fp/fixtfti.c: Likewise.
8905 * soft-fp/fixunsdfdi.c: Likewise.
8906 * soft-fp/fixunsdfsi.c: Likewise.
8907 * soft-fp/fixunsdfti.c: Likewise.
8908 * soft-fp/fixunssfdi.c: Likewise.
8909 * soft-fp/fixunssfsi.c: Likewise.
8910 * soft-fp/fixunssfti.c: Likewise.
8911 * soft-fp/fixunstfdi.c: Likewise.
8912 * soft-fp/fixunstfsi.c: Likewise.
8913 * soft-fp/fixunstfti.c: Likewise.
8914 * soft-fp/floatdidf.c: Likewise.
8915 * soft-fp/floatdisf.c: Likewise.
8916 * soft-fp/floatditf.c: Likewise.
8917 * soft-fp/floatsidf.c: Likewise.
8918 * soft-fp/floatsisf.c: Likewise.
8919 * soft-fp/floatsitf.c: Likewise.
8920 * soft-fp/floattidf.c: Likewise.
8921 * soft-fp/floattisf.c: Likewise.
8922 * soft-fp/floattitf.c: Likewise.
8923 * soft-fp/floatundidf.c: Likewise.
8924 * soft-fp/floatundisf.c: Likewise.
8925 * soft-fp/floatunsidf.c: Likewise.
8926 * soft-fp/floatunsisf.c: Likewise.
8927 * soft-fp/floatuntidf.c: Likewise.
8928 * soft-fp/floatuntisf.c: Likewise.
8929 * soft-fp/floatuntitf.c: Likewise.
8930 * soft-fp/fmadf4.c: Likewise.
8931 * soft-fp/fmasf4.c: Likewise.
8932 * soft-fp/fmatf4.c: Likewise.
8933 * soft-fp/gedf2.c: Likewise.
8934 * soft-fp/gesf2.c: Likewise.
8935 * soft-fp/getf2.c: Likewise.
8936 * soft-fp/ledf2.c: Likewise.
8937 * soft-fp/lesf2.c: Likewise.
8938 * soft-fp/letf2.c: Likewise.
8939 * soft-fp/muldf3.c: Likewise.
8940 * soft-fp/mulsf3.c: Likewise.
8941 * soft-fp/multf3.c: Likewise.
8942 * soft-fp/negdf2.c: Likewise.
8943 * soft-fp/negsf2.c: Likewise.
8944 * soft-fp/negtf2.c: Likewise.
8945 * soft-fp/op-1.h: Likewise.
8946 * soft-fp/op-2.h: Likewise.
8947 * soft-fp/op-4.h: Likewise.
8948 * soft-fp/op-8.h: Likewise.
8949 * soft-fp/op-common.h: Likewise.
8950 * soft-fp/quad.h: Likewise.
8951 * soft-fp/single.h: Likewise.
8952 * soft-fp/soft-fp.h: Likewise.
8953 * soft-fp/sqrtdf2.c: Likewise.
8954 * soft-fp/sqrtsf2.c: Likewise.
8955 * soft-fp/sqrttf2.c: Likewise.
8956 * soft-fp/subdf3.c: Likewise.
8957 * soft-fp/subsf3.c: Likewise.
8958 * soft-fp/subtf3.c: Likewise.
8959 * soft-fp/truncdfsf2.c: Likewise.
8960 * soft-fp/trunctfdf2.c: Likewise.
8961 * soft-fp/trunctfsf2.c: Likewise.
8962 * soft-fp/trunctfxf2.c: Likewise.
8963 * soft-fp/unorddf2.c: Likewise.
8964 * soft-fp/unordsf2.c: Likewise.
8965 * soft-fp/unordtf2.c: Likewise.
8966
17c48a60
OB
89672013-10-14 Ondřej Bílka <neleai@seznam.cz>
8968
8969 [BZ #15672]
8970 * misc/error.c (error_tail): Fix possible buffer overflow.
8971
cabba934
OB
89722013-10-14 Aurelien Jarno <aurelien@aurel32.net>
8973
8974 [BZ #13028]
8975 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
8976 address.
8977
94bf958a
PM
89782013-10-14 P. J. McDermott <pj@pehjota.net>
8979
8980 [BZ #832]
8981 * elf/ldd.bash.in (try_trace): New function. Delete previous code
8982 testing pipefail option.
8983
71b4dea7
JM
89842013-10-12 Joseph Myers <joseph@codesourcery.com>
8985
8986 * soft-fp/double.h: Indent preprocessor directives inside #if.
8987 * soft-fp/extended.h: Likewise.
8988 * soft-fp/op-2.h: Likewise.
8989 * soft-fp/op-4.h: Likewise.
8990 * soft-fp/op-common.h: Likewise.
8991 * soft-fp/quad.h: Likewise.
8992 * soft-fp/single.h: Likewise.
8993 * soft-fp/soft-fp.h: Likewise.
8994
55602758
YC
89952013-10-12 Yuri Chornoivan <yurchor@ukr.net>
8996
8997 * iconv/iconv_prog.c: Fix typos.
8998 * stdio-common/psiginfo-data.h: Likewise.
8999
9cd83302
RT
90002013-10-12 Reuben Thomas <rrt@sc3d.org>
9001
9002 [BZ #15764]
9003 * locale/setlocale.c: Fix typo.
9004
99fd9f47
JM
90052013-10-12 Joseph Myers <joseph@codesourcery.com>
9006
b7ea74f0
JM
9007 [BZ #16036]
9008 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
9009 signaling NaN arguments.
9010 * soft-fp/unordsf2.c (__unordsf2): Likewise.
9011 * soft-fp/unordtf2.c (__unordtf2): Likewise.
9012
8a509447
JM
9013 [BZ #14910]
9014 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
9015 unordered operands.
9016 * soft-fp/gesf2.c (__gesf2): Likewise.
9017 * soft-fp/getf2.c (__getf2): Likewise.
9018 * soft-fp/ledf2.c (__ledf2): Likewise.
9019 * soft-fp/lesf2.c (__lesf2): Likewise.
9020 * soft-fp/letf2.c (__letf2): Likewise.
9021
98998e9f
JM
9022 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
9023 * soft-fp/eqsf2.c (__eqsf2): Likewise.
9024 * soft-fp/eqtf2.c (__eqtf2): Likewise.
9025 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
9026 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
9027 * soft-fp/fixdfti.c (__fixdfti): Likewise.
9028 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
9029 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
9030 * soft-fp/fixsfti.c (__fixsfti): Likewise.
9031 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
9032 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
9033 * soft-fp/fixtfti.c (__fixtfti): Likewise.
9034 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
9035 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
9036 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
9037 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
9038 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
9039 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
9040 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
9041 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
9042 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
9043 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
9044 * soft-fp/floatdisf.c (__floatdisf): Likewise.
9045 * soft-fp/floatsisf.c (__floatsisf): Likewise.
9046 * soft-fp/floattidf.c (__floattidf): Likewise.
9047 * soft-fp/floattisf.c (__floattisf): Likewise.
9048 * soft-fp/floattitf.c (__floattitf): Likewise.
9049 * soft-fp/floatundidf.c (__floatundidf): Likewise.
9050 * soft-fp/floatundisf.c (__floatundisf): Likewise.
9051 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
9052 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
9053 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
9054 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
9055 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
9056 * soft-fp/gesf2.c (__gesf2): Likewise.
9057 * soft-fp/getf2.c (__getf2): Likewise.
9058 * soft-fp/ledf2.c (__ledf2): Likewise.
9059 * soft-fp/lesf2.c (__lesf2): Likewise.
9060 * soft-fp/letf2.c (__letf2): Likewise.
9061
8edc4a11
JM
9062 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
9063 Undefine and redefine.
9064 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
9065 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
9066 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
9067 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
9068 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9069 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
9070 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9071 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
9072 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9073 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
9074 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9075 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
9076 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9077 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
9078 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
9079
8399acaf
JM
9080 [BZ #16032]
9081 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
9082 without decrementing exponent if mantissa >= that for the
9083 denominator, not >.
9084 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
9085 denominator, not >. Decrement exponent in < case instead of
9086 incrementing in >= case.
9087 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
9088 without decrementing exponent if mantissa >= that for the
9089 denominator, not >.
9090
99fd9f47
JM
9091 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
9092 computing saturated result for unsigned overflow.
9093
10e1cf6b
SP
90942013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
9095 Jeff Law <law@redhat.com>
9096
9097 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
9098 (atan2Mp): Add systemtap probe marker.
9099 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
9100 (__ieee754_log): Add systemtap probe marker.
9101 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
9102 (atanMp): Add systemtap probe marker.
9103 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
9104 (tanMp): Add systemtap probe marker.
9105 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
9106 (__slowexp): Add systemtap probe marker.
9107 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
9108 (__slowpow): Add systemtap probe marker.
9109 * manual/probes.texi: Document probes.
9110
3d110c7c
EB
91112013-10-11 Eric Biggers <ebiggers3@gmail.com>
9112
9113 [BZ #15362]
9114 * libio/fileops.c (_IO_new_file_write): Return count of bytes
9115 written.
9116 (_IO_new_file_xsputn): Don't return EOF if nothing has been
9117 written.
9118 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
9119 written to buffer but not flushed.
9120 * libio/iofwrite_u.c: Likewise.
9121 * libio/iopadn.c: Return bytes returned even if EOF was
9122 encountered.
9123 * libio/iowpadn.c: Likewise.
9124 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
9125 if _IO_padn does not write the whole buffer.
9126 [!COMPILE_WPRINTF] (PAD): Likewise.
9127
75b4202a
DM
91282013-10-10 David S. Miller <davem@davemloft.net>
9129
9130 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
9131 directory block.
9132
6c6352e6
JM
91332013-10-10 Joseph Myers <joseph@codesourcery.com>
9134
33b853c3
JM
9135 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
9136 instead of FSF address.
9137 * soft-fp/fixdfti.c: Likewise.
9138 * soft-fp/fixsfti.c: Likewise.
9139 * soft-fp/fixtfti.c: Likewise.
9140 * soft-fp/fixunsdfti.c: Likewise.
9141 * soft-fp/fixunssfti.c: Likewise.
9142 * soft-fp/fixunstfti.c: Likewise.
9143 * soft-fp/floattidf.c: Likewise.
9144 * soft-fp/floattisf.c: Likewise.
9145 * soft-fp/floattitf.c: Likewise.
9146 * soft-fp/floatuntidf.c: Likewise.
9147 * soft-fp/floatuntisf.c: Likewise.
9148 * soft-fp/floatuntitf.c: Likewise.
9149 * soft-fp/trunctfxf2.c: Likewise.
9150
6c6352e6
JM
9151 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
9152 * soft-fp/fixdfti.c: Likewise.
9153 * soft-fp/fixsfti.c: Likewise.
9154 * soft-fp/fixtfti.c: Likewise.
9155 * soft-fp/fixunsdfti.c: Likewise.
9156 * soft-fp/fixunssfti.c: Likewise.
9157 * soft-fp/fixunstfti.c: Likewise.
9158 * soft-fp/floattidf.c: Likewise.
9159 * soft-fp/floattisf.c: Likewise.
9160 * soft-fp/floattitf.c: Likewise.
9161 * soft-fp/floatuntidf.c: Likewise.
9162 * soft-fp/floatuntisf.c: Likewise.
9163 * soft-fp/floatuntitf.c: Likewise.
9164 * soft-fp/trunctfxf2.c: Likewise.
9165
3bf78b71
DM
91662013-10-10 David S. Miller <davem@davemloft.net>
9167
9168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9169
6f10289e
JM
91702013-10-10 Joseph Myers <joseph@codsourcery.com>
9171
bd878fc0
JM
9172 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
9173 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
9174 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
9175 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
9176 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
9177 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
9178 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
9179
6f10289e
JM
9180 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
9181 for NaNs before doing comparisons on argument.
9182 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
9183 Likewise.
9184
321e2684
WN
91852013-10-10 Will Newton <will.newton@linaro.org>
9186
9187 * malloc/hooks.c (memalign_check): Ensure the value of bytes
9188 passed to _int_memalign does not overflow.
9189
40fefba1
TR
91902013-10-10 Torvald Riegel <triegel@redhat.com>
9191
9192 * scripts/bench.pl: Add include-sources directive.
9193 * benchtests/README: Update documentation.
9194
2ae21ed2
JM
91952013-10-10 Joseph Myers <joseph@codesourcery.com>
9196
dcc2dd3f
JM
9197 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
9198 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
9199 instead of FP_INIT_ROUNDMODE.
9200 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
9201 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
9202
2ae21ed2
JM
9203 [BZ #16034]
9204 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
9205 copy class of input value.
9206 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
9207 not handle exceptions.
9208 * soft-fp/negsf2.c (__negsf2): Likewise.
9209 * soft-fp/negtf2.c (__negtf2): Likewise.
9210 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
9211
cb8f9562
JM
92122013-10-09 Joseph Myers <joseph@codesourcery.com>
9213
9214 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
9215 semicolon. From Linux kernel.
9216
5b60c59d
AB
92172013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
9218
9219 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
9220
b86835ca
YC
92212013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
9222
9223 [BZ #156]
9224 * manual/socket.texi: Added statement about buffer
9225 for gethostbyname2_r.
9226
e7044ea7
OB
92272013-10-08 Ondřej Bílka <neleai@seznam.cz>
9228
9229 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
9230 Use .p2align directive instead, throughout.
9231 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
9232 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
9233 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
9234 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
9235 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
9236 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
9237 * sysdeps/x86_64/strchr.S: Likewise.
9238 * sysdeps/x86_64/strrchr.S: Likewise.
9239
09544cbc
SP
92402013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
9241
88576635
SP
9242 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
9243
e7b2d1dd
SP
9244 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
9245
09544cbc
SP
9246 * sysdeps/generic/math_private.h (__mpsin1): Remove
9247 declaration.
9248 (__mpcos1): Likewise.
9249 (__mpsin): New argument __range_reduce.
9250 (__mpcos): Likewise.
9251 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
9252 (slow): Use __mpsin and __mpcos.
9253 (slow1): Likewise.
9254 (slow2): Likewise.
9255 (sloww): Likewise.
9256 (sloww1): Likewise.
9257 (sloww2): Likewise.
9258 (bsloww): Likewise.
9259 (bsloww1): Likewise.
9260 (bsloww2): Likewise.
9261 (cslow2): Likewise.
9262 (csloww): Likewise.
9263 (csloww1): Likewise.
9264 (csloww2): Likewise.
9265 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
9266 range_reduce. Merge in __mpsin1.
9267 (__mpcos): Likewise.
9268 (__mpsin1): Remove.
9269 (__mpcos1): Likewise.
9270
7602d070
JM
92712013-10-07 Joseph Myers <joseph@codesourcery.com>
9272
9273 * locale/loadlocale.c (_nl_intern_locale_data): Use
9274 LOCFILE_ALIGNED_P.
9275 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
9276 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
9277 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
9278 obstack data is appropriately aligned.
9279 (obstack_int32_grow_fast): Likewise.
9280 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
9281 * locale/programs/locfile.c (add_locale_uint32): Likewise.
9282 (add_locale_uint32_array): Likewise.
9283
a357259b
SP
92842013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
9285
9286 * benchtests/Makefile: Remove ARGLIST and RET variables.
9287 ($(objpfx)bench-%.c): Pass only function name to the script.
9288 * benchtests/README: Update documentation.
9289 * benchtests/acos-inputs: Add new directives.
9290 * benchtests/acosh-inputs: Likewise.
9291 * benchtests/asin-inputs: Likewise.
9292 * benchtests/asinh-inputs: Likewise.
9293 * benchtests/atan-inputs: Likewise.
9294 * benchtests/atanh-inputs: Likewise.
9295 * benchtests/cos-inputs: Likewise.
9296 * benchtests/cosh-inputs: Likewise.
9297 * benchtests/exp-inputs: Likewise.
9298 * benchtests/log-inputs: Likewise.
9299 * benchtests/pow-inputs: Likewise.
9300 * benchtests/rint-inputs: Likewise.
9301 * benchtests/sin-inputs: Likewise.
9302 * benchtests/sinh-inputs: Likewise.
9303 * benchtests/tan-inputs: Likewise.
9304 * benchtests/tanh-inputs: Likewise.
9305 * scripts/bench.pl: Add support for new directives.
9306
9ec1b13d
AM
93072013-10-07 Alan Modra <amodra@gmail.com>
9308
9309 * README: Fix careless merge.
9310
8b7d57cd
AM
93112013-10-05 Alan Modra <amodra@gmail.com>
9312
9313 * NEWS: Mention powerpc64le support and bugs fixed.
9314 * README: Both big-endian and little-endian powerpc64 supported.
9315
7b7bab13
ST
93162013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
9317
9318 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
9319 _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
9320 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
9321 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
9322
d39baad1
RA
93232013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
9324
9325 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
9326 match prototype.
9327
cd78f7e7
JM
93282013-10-04 Joseph Myers <joseph@codesourcery.com>
9329
29d73d86
JM
9330 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
9331 Move -mhard-float appending from
9332 ports/sysdeps/powerpc/powerpc32/Makefile.
9333 [$(with-fp) = yes] (ASFLAGS): Likewise.
9334 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
9335 * sysdeps/powerpc/nofpu: Move directory from
9336 ports/sysdeps/powerpc/nofpu.
9337 * sysdeps/powerpc/soft-fp: Move directory from
9338 ports/sysdeps/powerpc/soft-fp.
9339 * sysdeps/powerpc/powerpc32/405: Move directory from
9340 ports/sysdeps/powerpc/powerpc32/405.
9341 * sysdeps/powerpc/powerpc32/440: Move directory from
9342 ports/sysdeps/powerpc/powerpc32/440.
9343 * sysdeps/powerpc/powerpc32/464: Move directory from
9344 ports/sysdeps/powerpc/powerpc32/464.
9345 * sysdeps/powerpc/powerpc32/476: Move directory from
9346 ports/sysdeps/powerpc/powerpc32/476.
9347 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
9348 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
9349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
9350 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
9351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
9352 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
9353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
9354 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
9355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
9356 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
9357 * README: Update for powerpc-*-linux-gnu software floating point
9358 support in libc.
9359
e246b347
JM
9360 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
9361 case to powerpc/powerpc32*.
9362 * sysdeps/unix/sysv/linux/configure: Regenerated.
9363
89c2003e
JM
9364 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
9365 (_FPU_MASK_OM): Define as 0x04.
9366 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
9367 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
9368 0x00c10080.
9369 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
9370 0x0000003c.
9371 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
9372
cd78f7e7
JM
9373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
9374 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9375 getcontext_e500.
9376 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
9377 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
9378 setcontext_e500.
9379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9380 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
9381 and setcontext_e500.
9382
c755294d
CL
93832013-10-04 Chris Leonard <cjl@sugarlabs,.org>
9384
9385 * locale/iso-3166.def: Update iso-1366.def and related occurrences
9386
e16d221c
SP
93872013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
9388
9389 * manual/threads.texi (Default Thread Attributes): Fix typo.
9390
215c7d43
WN
93912013-10-04 Will Newton <will.newton@linaro.org>
9392
9393 * malloc/Makefile: Add tst-memalign.
9394 * malloc/tst-memalign.c: New file.
9395
27d0461b
WN
9396 * malloc/tst-posix_memalign.c: Add comments.
9397 (do_test): Add comments and call free on all potentially
9398 allocated pointers. Add space after cast.
9399
1bc92709
WN
9400 * malloc/tst-pvalloc.c: Add comments.
9401 (do_test): Add comments and call free on all potentially
9402 allocated pointers. Remove duplicate check for NULL pointer.
9403 Add space after cast.
9404
66a9be9d
WN
9405 * malloc/tst-valloc.c: Add comments.
9406 (do_test): Add comments and call free on all potentially
9407 allocated pointers. Remove duplicate check for NULL pointer.
9408 Add space after cast.
9409
4cb81307
AM
94102013-10-04 Alan Modra <amodra@gmail.com>
9411
9412 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9413 Use stdint types in rather than __attribute__((mode())).
9414 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9415
f8e3e9f3
AM
94162013-10-04 Alan Modra <amodra@gmail.com>
9417
9418 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
9419 Correct handling of unaligned relocs for little-endian.
9420 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
9421
8f9ebb08
AM
94222013-10-04 Alan Modra <amodra@gmail.com>
9423
9424 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
9425 * configure: Regenerate.
9426 * nptl/shlib-versions: Powerpc*le starts at 2.18.
9427 * shlib-versions: Likewise.
9428
0edf96c2
AM
94292013-10-04 Alan Modra <amodra@gmail.com>
9430
9431 * string/tester.c (test_memrchr): Increment reported test cycle.
9432
e0f7a380
AM
94332013-10-04 Alan Modra <amodra@gmail.com>
9434
9435 * string/test-memcpy.c (do_one_test): When reporting errors, print
9436 string address and don't overrun end of string.
9437
466b0393
AM
94382013-10-04 Alan Modra <amodra@gmail.com>
9439
9440 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
9441 insrdi. Make better use of reg selection to speed exit slightly.
9442 Schedule entry path a little better. Remove useless "are we done"
9443 checks on entry to main loop. Handle wrapping around zero address.
9444 Correct main loop count. Handle single left-over word from main
9445 loop inline rather than by using loop_small. Remove extra word
9446 case in loop_small caused by wrong loop count. Add little-endian
9447 support.
9448 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
9449 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
9450 cache hint.
9451 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
9452 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
9453 support. Avoid rlwimi.
9454 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
9455
3be87c77
AM
94562013-10-04 Alan Modra <amodra@gmail.com>
9457
9458 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
e3764517 9459 insrdi. Formatting.
3be87c77
AM
9460 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
9461 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
9462 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
9463 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
9464 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
9465 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
9466
759cfef3
AM
94672013-10-04 Alan Modra <amodra@gmail.com>
9468
9469 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
9470 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
9471 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
9472 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
9473 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
9474 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
9475 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
9476 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
9477 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
9478 use of regs. Use power7 mtocrf. Tidy function tails.
9479
fe6e95d7
AM
94802013-10-04 Alan Modra <amodra@gmail.com>
9481
9482 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
9483 Formatting. Consistently use rXXX register defines or rN defines.
9484 Use early exit labels that avoid restoring unused non-volatile regs.
9485 Make cr field use more consistent with rWORDn compares. Rename
9486 regs used as shift registers for unaligned loop, using rN defines
9487 for short lifetime/multiple use regs.
9488 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
9489 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
9490 addi 1,1,64 to pop stack frame. Simplify return value code.
9491 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
9492
664318c3
AM
94932013-10-04 Alan Modra <amodra@gmail.com>
9494
9495 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
9496 support. Correct typos, formatting. Optimize tail. Use insrdi
9497 rather than rlwimi.
9498 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
9499 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
9500 little-endian support. Correct typos.
9501 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
9502 rather than rlwimi.
9503 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
9504 in loop and entry code to keep "and." results.
9505 (strchr): Add little-endian support. Comment. Move cntlzd
9506 earlier in tail.
9507 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
9508
43b84013
AM
95092013-10-04 Alan Modra <amodra@gmail.com>
9510
9511 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
9512 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
9513 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
9514 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
9515
8a7413f9
AM
95162013-10-04 Alan Modra <amodra@gmail.com>
9517
9518 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
9519 (rTMP): Define as r11.
9520 (strcmp): Add little-endian support. Optimise tail.
9521 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
9522 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
9523 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
9524 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
9525 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
9526 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
9527 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
9528
33ee81de
AM
95292013-10-04 Alan Modra <amodra@gmail.com>
9530
9531 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
9532 little-endian support. Remove unnecessary "are we done" tests.
9533 Handle "s" wrapping around zero and extremely large "size".
9534 Correct main loop count. Handle single left-over word from main
9535 loop inline rather than by using small_loop. Correct comments.
9536 Delete "zero" tail, use "end_max" instead.
9537 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
9538
db9b4570
AM
95392013-10-04 Alan Modra <amodra@gmail.com>
9540
9541 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
9542 support. Don't branch over align.
9543 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
9544 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
9545 support. Rearrange tmp reg use to suit. Comment.
9546 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
9547
f7c399cf
AM
95482013-10-04 Alan Modra <amodra@gmail.com>
9549
9550 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
9551
0b2c2ace
AM
95522013-10-04 Alan Modra <amodra@gmail.com>
9553
9554 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
9555 conditional form of branch and link when obtaining pc.
9556 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9557
02f04a6c
AM
95582013-10-04 Alan Modra <amodra@gmail.com>
9559
9560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
9561 HIWORD/LOWORD.
9562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
9563 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
9564
9b874b2f
AM
95652013-10-04 Alan Modra <amodra@gmail.com>
9566
9567 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
9568 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
9569 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
9570 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
9571 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
9572 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
9573 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
9574 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
9575 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
9576 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
9577
be1e5d31
AB
95782013-10-04 Anton Blanchard <anton@au1.ibm.com>
9579 Alistair Popple <alistair@ozlabs.au.ibm.com>
9580 Alan Modra <amodra@gmail.com>
9581
9582 [BZ #15723]
9583 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
9584 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
9585 _dl_hwcap access for little-endian.
9586 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
9587 destroy vmx regs when saving unaligned.
9588 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
9589 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
9590 destroy vmx regs when saving unaligned.
9591
fef13a78
AM
95922013-10-04 Alan Modra <amodra@gmail.com>
9593
9594 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
9595 Don't use a union to pack hi/low value.
9596
76a66d51
AB
95972013-10-04 Anton Blanchard <anton@au1.ibm.com>
9598
9599 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
9600 for little-endian.
9601 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
9602 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
9603 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9604 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
9605 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
9606
6a31fe7f
AM
96072013-10-04 Alan Modra <amodra@gmail.com>
9608
9609 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
9610 constants to usual value for .cst8 section, and remove redundant
9611 high address load.
9612 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
9613 constant for 0x1p52. Load little-endian words of double from
9614 correct stack offsets.
9615
7b88401f
AM
96162013-10-04 Alan Modra <amodra@gmail.com>
9617
9618 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
9619 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
9620 words of double from correct stack offsets.
9621 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
9622 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
9623 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
9624 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
9625 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
9626 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
9627 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
9628 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
9629 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
9630 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
9631 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
9632 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
9633 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
9634 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
9635 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
9636 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
9637 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
9638
9c008155
AM
96392013-10-04 Alan Modra <amodra@gmail.com>
9640
9641 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
9642 64-bit int/double union.
9643 (_FPU_SETCW): Likewise.
9644 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
9645 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
9646
da13146d
AM
96472013-10-04 Alan Modra <amodra@gmail.com>
9648
9649 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
9650 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
9651
603e8410
AM
96522013-10-04 Alan Modra <amodra@gmail.com>
9653
9654 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
9655 use vector int constants.
9656 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
9657
4a28b3ca
AB
96582013-10-04 Anton Blanchard <anton@au1.ibm.com>
9659
9660 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
9661 array with long long.
9662 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
9663 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
9664 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
9665 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
9666 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
9667 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
9668 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
9669 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
9670 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
9671 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
9672 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
9673 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
9674 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
9675
2ca85d2b
AB
96762013-10-04 Anton Blanchard <anton@au1.ibm.com>
9677
9678 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
9679 (__signbit): Likewise. Correct for little-endian.
9680 (__signbitl): Call __signbit.
9681 (lrint): Correct for little-endian.
9682 (lrintf): Call lrint.
9683
62a728ae
AM
96842013-10-04 Alan Modra <amodra@gmail.com>
9685
9686 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
9687 union 32-bit int array member with 64-bit int array.
9688 (t515, tm256): Double rather than long double.
9689 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
9690
32c301df
AM
96912013-10-04 Alan Modra <amodra@gmail.com>
9692
9693 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
9694 Delete.
9695 (IEEE854_LONG_DOUBLE_BIAS): Delete.
9696 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
9697 version of math_ldbl.h.
9698
650ef4bd
AM
96992013-10-04 Alan Modra <amodra@gmail.com>
9700
9701 [BZ #15734], [BZ #15735]
9702 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
9703 all uses of ieee875 long double macros and unions. Simplify test
9704 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
9705 ldbl_extract_mantissa value for ix,iy exponents. Properly
9706 normalize after ldbl_extract_mantissa, and don't add hidden bit
9707 already handled. Don't treat low word of ieee854 mantissa like
9708 low word of IBM long double and mask off bit when testing for
9709 zero.
9710 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
9711 all uses of ieee875 long double macros and unions. Simplify tests
9712 for 0.0L and inf. Correct double adjustment of k. Delete dead code
9713 adjusting ha,hb. Simplify code setting kld. Delete two600 and
9714 two1022, instead use their values. Recognise that tests for large
9715 "a" and small "b" are mutually exclusive. Rename vars. Comment.
9716 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
9717 Rewrite all uses of ieee875 long double macros and unions. Simplify
9718 test for 0.0L and nan. Correct negation.
9719 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
9720 ieee875 long double macros and unions. Correct output for large
9721 magnitude x. Correct absolute value calculation.
9722 (__erfcl): Likewise.
9723 * math/libm-test.inc: Add tests for errors discovered in IBM long
9724 double versions of fmodl, remainderl, erfl and erfcl.
9725
765714ca
AM
97262013-10-04 Alan Modra <amodra@gmail.com>
9727
9728 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
9729 all uses of ieee854 long double macros and unions. Simplify tests
9730 for long doubles that are fully specified by the high double.
9731 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
9732 Likewise.
9733 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
9734 Remove dead code too.
9735 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
9736 (__ieee754_ynl): Likewise.
9737 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
9738 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
9739 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
9740 Remove dead code too.
9741 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
9742 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
9743 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9744 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
9745 Simplify.
9746 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
9747 Simplify.
9748 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
9749 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
9750 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
9751 Comment on variable precision.
9752 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
9753 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
9754 Likewise.
9755 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9756 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
9757 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
9758 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
9759 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
9760
4ebd120c
AM
97612013-10-04 Alan Modra <amodra@gmail.com>
9762
9763 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
9764 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
9765 all uses of ieee854 long double macros and unions.
9766 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
9767 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
9768 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
9769 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
9770 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
9771 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9772 Likewise.
9773 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
9774 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
9775 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
9776 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
9777 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
9778 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
9779 Simplify sign and nan test too.
9780 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
9781 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
9782 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
9783 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
9784 Likewise.
9785 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9786 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
9787 Likewise.
9788 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9789 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
9790 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
9791 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
9792 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
9793 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
9794
1b6adf88
AM
97952013-10-04 Alan Modra <amodra@gmail.com>
9796
9797 * stdio-common/printf_size.c (__printf_size): Don't use
9798 union ieee854_long_double in fpnum union.
9799 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
9800 signbit macro to retrieve sign from long double.
9801 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
9802 retrieve sign from long double.
9803 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
9804 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
9805 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
9806 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
9807 * math/test-misc.c (main): Don't use union ieee854_long_double.
9808
4cf69995
AM
98092013-10-04 Alan Modra <amodra@gmail.com>
9810
9811 [BZ #15680]
9812 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
9813 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
9814 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
9815 calculation. Remove unnecessary test for denormal exponent.
9816 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
9817 Correct handling of denormals. Avoid undefined shift behaviour.
9818 Correct normalisation of low mantissa when low double is denormal.
9819 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
9820 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
9821 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
9822 Correct normalisation of low mantissa. Test for overflow of high
9823 mantissa and normalise.
9824 (ldbl_nearbyint): Use more readable constant for two52.
9825 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
9826 (__mpn_construct_long_double): Fix test for overflow of high
9827 mantissa and correct normalisation. Avoid undefined shift.
9828
9605ca6c
AM
98292013-10-04 Alan Modra <amodra@gmail.com>
9830
9831 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
9832 (union ibm_extended_long_double): Define as an array of ieee754_double.
9833 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
9834 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
9835 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
9836 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
9837 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
9838 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
9839 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
9840 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
9841 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
9842 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
9843 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
9844
975569d0
JM
98452013-10-03 Joseph Myers <joseph@codesourcery.com>
9846
d3d23756
JM
9847 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
9848 page size instead of calling getpagesize.
9849
975569d0
JM
9850 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
9851 (LOCFILE_ALIGN_MASK): Likewise.
9852 (LOCFILE_ALIGN_UP): Likewise.
9853 (LOCFILE_ALIGNED_P): Likewise.
9854 * locale/programs/ld-collate.c (collate_output): Use the new
9855 macros instead of __alignof__ (int32_t).
9856 * locale/weight.h (findidx): Likewise.
9857
b1fe1f2b
OB
98582013-10-03 Ondřej Bílka <neleai@seznam.cz>
9859
9860 [BZ #431]
9861 * manual/string.texi: Fix strncat and wcsncat.
9862
5f855e35
BM
98632013-10-03 Brooks Moses <bmoses@google.com>
9864
9865 [BZ #15915]
9866 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
9867 * Makerules: ...here, and adjust associated comments.
9868
3cef6009
WN
98692013-10-02 Will Newton <will.newton@linaro.org>
9870
9871 * malloc/Makefile: Add tst-pvalloc.
9872 * malloc/tst-pvalloc.c: New file.
9873
7815420b
WN
98742013-10-02 Will Newton <will.newton@linaro.org>
9875
9876 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
9877 improve test coverage.
9878
4868b204
WN
98792013-10-02 Will Newton <will.newton@linaro.org>
9880
9881 * malloc/Makefile: Add tst-posix_memalign.
9882 * malloc/tst-posix_memalign.c: New file.
9883
29c793b3
EB
98842013-10-01 Eric Blake <eblake@redhat.com>
9885
9886 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
9887 Use __THROWNL rather than __THROW on static functions.
9888
fd967522
PM
98892013-09-30 Petr Machata <pmachata@redhat.com>
9890
9891 * elf/elf.h (R_AARCH64_ABS16): New macro.
9892 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
9893 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
9894 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
9895 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
9896 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
9897 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
9898 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
9899 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
9900 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
9901 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
9902 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
9903 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
9904 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
9905 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
9906 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
9907 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
9908 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
9909 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
9910 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
9911 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
9912 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
9913 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
9914 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
9915 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
9916 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
9917 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
9918 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
9919 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
9920 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
9921 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
9922 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
9923 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
9924 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
9925 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
9926 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
9927 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
9928 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
9929 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
9930 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
9931 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
9932 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
9933 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
9934 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
9935 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
9936 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
9937 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
9938 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
9939 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
9940 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
9941 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
9942 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
9943 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
9944 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
9945 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
9946 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
9947 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
9948 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
9949 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
9950 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
9951 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
9952 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
9953 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
9954 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
9955 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
9956 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
9957 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
9958 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
9959 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
9960 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
9961 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
9962 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
9963 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
9964 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
9965 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
9966 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
9967 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
9968 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
9969 (R_AARCH64_TLSDESC_LDR): Likewise.
9970 (R_AARCH64_TLSDESC_ADD): Likewise.
9971 (R_AARCH64_TLSDESC_CALL): Likewise.
9972
b2179107
AS
99732013-09-30 Andreas Schwab <schwab@suse.de>
9974
9975 [BZ #15048]
9976 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
9977 the nss database lookup.
9978 * nscd/initgrcache.c (addinitgroupsX): Likewise.
9979 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
9980
47f28d0a
MF
99812013-09-28 Mike Frysinger <vapier@gentoo.org>
9982
9983 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
9984
99852013-09-28 P. J. McDermott <pj@pehjota.net>
0a834dde
PM
9986
9987 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
9988 ${Bash-specific parameter/pattern/string} parameter expansion.
9989 * sysdeps/unix/make-syscalls.sh: Likewise.
9990
f4518a17
KK
99912013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
9992
9993 * sysdeps/sh/stackguard-macros.h: New file.
9994
dc1a95c7
OB
99952013-09-26 Ondřej Bílka <neleai@seznam.cz>
9996
9997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
9998 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
9999 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
10000 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
10001 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
10002 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
10003
5ebbff8f
AZ
100042013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10005
10006 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
10007 Fix thread ID register.
10008
4fd2cf9f
JM
100092013-09-25 Joseph Myers <joseph@codesourcery.com>
10010
10011 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
10012 [POSIX || UNIX98]: Require rather than permitting all symbols from
10013 <time.h>.
10014 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
10015 element of struct sched_param.
10016 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
10017 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
10018 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
10019 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
10020 constant.
10021
12c22bc4
OL
100222013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
10023
10024 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
10025 argument calculation.
10026
a03d8ea7
JM
100272013-09-24 Joseph Myers <joseph@codesourcery.com>
10028
10029 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
10030 Expect macro.
10031 [POSIX] (pthread_attr_t): Do not require type.
10032 [POSIX] (pthread_cond_t): Likewise.
10033 [POSIX] (pthread_condattr_t): Likewise.
10034 [POSIX] (pthread_key_t): Likewise.
10035 [POSIX] (pthread_mutex_t): Likewise.
10036 [POSIX] (pthread_mutexattr_t): Likewise.
10037 [POSIX] (pthread_once_t): Likewise.
10038 [POSIX] (pthread_t): Likewise.
10039 [POSIX-based standards] (pthread_atfork): Expect function.
10040
6055173a
JM
100412013-09-24 Joseph Myers <joseph@codesourcery.com>
10042 Richard Sandiford <richard@codesourcery.com>
10043
10044 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
10045 (swap_endianness_p): New extern variable.
10046 (set_big_endian): New inline function.
10047 (maybe_swap_uint32): Likewise.
10048 (maybe_swap_uint32_array): Likewise.
10049 (maybe_swap_uint32_obstack): Likewise.
10050 * locale/programs/locfile.c: Include <stdbool.h>.
10051 (swap_endianness_p): New variable.
10052 (add_locale_uint32): Call maybe_swap_uint32.
10053 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
10054 (write_locale_data): Call maybe_swap_uint32_array.
10055 * locale/programs/ld-collate.c (obstack_int32_grow): Call
10056 maybe_swap_uint32.
10057 (obstack_int32_grow_fast): Likewise.
10058 (output_weightwc): Call maybe_swap_uint32_obstack.
10059 (collate_output): Likewise.
10060 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
10061 (OPT_LITTLE_ENDIAN): Likewise.
10062 (options): Add --little-endian and --big-endian options.
10063 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
10064 * locale/programs/locarchive.c: Include "locfile.h".
10065 (GET): New macro.
10066 (SET): Likewise.
10067 (INC): Likewise.
10068 (create_archive): Use the new macros to access fields of
10069 structures directly mapped from or written to locale archives.
10070 (oldlocrecentcmp): Likewise.
10071 (enlarge_archive): Likewise.
10072 (insert_name): Likewise.
10073 (add_alias): Likewise.
10074 (add_locale): Likewise.
10075 (delete_locales_from_archive): Likewise.
10076 (show_archive_content): Likewise.
10077 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
10078 locale data.
10079
39bf0bb4
RM
100802013-09-24 Roland McGrath <roland@hack.frob.com>
10081
10082 * manual/freemanuals.texi: Updated from (newly) canonical copy at
10083 http://www.gnu.org/doc/freemanuals.texi.
10084 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
10085
f02eed10
WN
100862013-09-24 Will Newton <will.newton@linaro.org>
10087
10088 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
10089 macro.
10090
a3a6c312
JM
100912013-09-23 Joseph Myers <joseph@codesourcery.com>
10092
10093 * locale/hashval.h (compute_hashval): Interpret bytes of key as
10094 unsigned char.
10095
107375ac
MR
100962013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
10097
10098 * manual/threads.texi (POSIX Threads): Fix a typo.
10099
141f3a77
SP
101002013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
10101
303e567a
SP
10102 [BZ #14547]
10103 * string/tst-strcoll-overflow.c: New test case.
10104 * string/Makefile (xtests): Add tst-strcoll-overflow.
10105 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
10106 cache if string sizes may cause integer overflow.
10107
141f3a77
SP
10108 [BZ #14547]
10109 * string/strcoll_l.c (coll_seq): New members rule, idx,
10110 save_idx and back_us.
10111 (get_next_seq_nocache): New function.
10112 (do_compare_nocache): New function.
10113 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
10114 when malloc fails.
10115
c61b4d41
CD
101162013-09-23 Carlos O'Donell <carlos@redhat.com>
10117
0b1f8e35
CD
10118 [BZ #15754]
10119 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
10120 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
10121 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
10122
c61b4d41
CD
10123 [BZ #15754]
10124 * elf/Makefile (tests): Add tst-ptrguard1.
10125 (tests-static): Add tst-ptrguard1-static.
10126 (tst-ptrguard1-ARGS): Define.
10127 (tst-ptrguard1-static-ARGS): Define.
10128 * elf/tst-ptrguard1.c: New file.
10129 * elf/tst-ptrguard1-static.c: New file.
10130 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
10131 * sysdeps/i386/stackguard-macros.h: Likewise.
10132 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
10133 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
10134 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
10135 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
10136 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
10137 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
10138
101392013-09-23 Hector Marco <hecmargi@upv.es>
10140 Ismael Ripoll <iripoll@disca.upv.es>
10141 Carlos O'Donell <carlos@redhat.com>
10142
10143 [BZ #15754]
10144 * sysdeps/generic/stackguard-macros.h: Define
10145 __pointer_chk_guard_local and POINTER_CHK_GUARD.
10146 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
10147 Define __pointer_chk_guard_local.
10148 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
10149 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
10150
f5f4e7b4
VV
101512013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
10152
10153 [BZ #15859]
10154 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
10155
5bb43a43
AS
101562013-09-20 Andreas Schwab <schwab@linux-m68k.org>
10157
10158 * include/string.h (__ffs): Declare as hidden.
10159 * string/ffs.c (__ffs): Define as hidden.
10160 * sysdeps/i386/ffs.c (__ffs): Likewise.
10161 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
10162 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
10163 * sysdeps/s390/ffs.c (__ffs): Likewise.
10164 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
10165
3ea5be54
AO
101662013-09-20 Alexandre Oliva <aoliva@redhat.com>
10167
ffb89e53
AO
10168 * NEWS: Mention malloc probes.
10169
322dea08
AO
10170 * malloc/arena.c (new_heap): New memory_heap_new probe.
10171 (grow_heap): New memory_heap_more probe.
10172 (shrink_heap): New memory_heap_less probe.
10173 (heap_trim): New memory_heap_free probe.
10174 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
10175 (systrim): New memory_sbrk_less probe.
10176 * manual/probes.texi: Document them.
10177
655673f3
AO
10178 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
10179 * manual/probes.texi: Document it.
10180
35fed6f1
AO
10181 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
10182 (__libc_realloc): Add memory_realloc_retry probe.
10183 (__libc_memalign): Add memory_memalign_retry probe.
10184 (__libc_valloc): Add memory_valloc_retry probe.
10185 (__libc_pvalloc): Add memory_pvalloc_retry probe.
10186 (__libc_calloc): Add memory_calloc_retry probe.
10187 * manual/probes.texi: Document them.
10188
6999d38c
AO
10189 * malloc/arena.c (get_free_list): Add probe
10190 memory_arena_reuse_free_list.
10191 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
10192 and memory_arena_reuse.
10193 (arena_get2) [!PER_THREAD]: Likewise.
10194 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
10195 memory_arena_reuse_realloc.
10196 * manual/probes.texi: Document them.
10197
0653427f
AO
10198 * malloc/malloc.c (__libc_free): Add
10199 memory_mallopt_free_dyn_thresholds probe.
10200 (__libc_mallopt): Add multiple memory_mallopt probes.
10201 * manual/probes.texi: Document them.
10202
3ea5be54
AO
10203 * malloc/malloc.c: Include stap-probe.h.
10204 (__libc_mallopt): Add memory_mallopt probe.
10205 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
10206 * manual/probes.texi: New.
10207 * manual/Makefile (chapters): Add probes.
10208 * manual/threads.texi: Set next node.
10209
e35696c3 102102013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
3e181dda 10211
e35696c3
CL
10212 [BZ #15963, #13985]
10213 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
10214 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
10215 Add `Chinese' to `nan' entry name.
10216
4aafb73c
SP
102172013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10218
10219 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
10220 (POLYNOMIAL): Likewise.
10221 (TAYLOR_SINCOS): Likewise.
10222 (TAYLOR_SLOW): Likewise.
10223 (__sin): Use TAYLOR_SINCOS.
10224 (__cos): Likewise.
10225 (slow): Use TAYLOR_SLOW.
10226 (sloww): Likewise.
10227 (bsloww): Likewise.
10228 (csloww): Likewise.
10229
d84f25c7
LD
102302013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
10231
10232 * stdlib/strtod_l.c: Fix buffer overrun.
10233
5eea0404
SP
102342013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
10235
7849ff93
SP
10236 * benchtests/Makefile (bench): Add sincos.
10237 * benchtests/bench-sincos.c: New file.
10238
cfa3c886
SP
10239 * math/libm-test.inc (cos_test_data): New test inputs.
10240 (sin_test_data): Likewise.
10241
b348e1e3
SP
10242 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
10243 macro.
10244 (__sin): Use it.
10245 (__cos): Likewise.
10246 (slow1): Likewise.
10247 (slow2): Likewise.
10248 (sloww1): Likewise.
10249 (sloww2): Likewise.
10250 (bsloww1): Likewise.
10251 (bsloww2): Likewise.
10252 (cslow2): Likewise.
10253 (csloww1): Likewise.
10254 (csloww2): Likewise.
10255
6cce25f8
SP
10256 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
10257 function.
10258 (__sin): Use it.
10259 (__cos): Likewise.
10260
5eea0404
SP
10261 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
10262 gotos.
10263 (__cos): Likewise.
10264
9c21573c
MR
102652013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
10266
10267 * config.h.in (HAVE_MIPS_NAN2008): New macro.
10268 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
10269 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
10270 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
10271 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
10272 * elf/cache.c (print_entry): Handle the new cache flags.
10273
24d22e65
JM
102742013-09-18 Joseph Myers <joseph@codesourcery.com>
10275 Aldy Hernandez <aldyh@redhat.com>
10276
10277 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
10278 Change condition to [_SOFT_FLOAT].
10279 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
10280 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
10281 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
10282 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
10283 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
10284 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
10285 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
10286 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
10287 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
10288 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
10289 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
10290 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
10291 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
10292 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
10293 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
10294 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
10295 declaration.
10296
d13ef066
JM
102972013-09-18 Joseph Myers <joseph@codesourcery.com>
10298
2e071de0
JM
10299 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
10300 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10301 (__longjmp): Use LOAD_GP to load saved GPRs.
10302 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
10303 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
10304 (__sigsetjmp): Use SAVE_GP to save GPRs.
10305
d13ef066
JM
10306 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
10307 Do not append -msoft-float.
10308 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
10309
97a0650b
SP
103102013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
10311
10312 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
10313
11ca09e9
JM
103142013-09-17 Joseph Myers <joseph@codesourcery.com>
10315
10316 [BZ #15966]
10317 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
10318 (_FPU_GETCW): Use initial "__" on variable and field names but not
10319 on macro parameter name.
10320 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
10321 parentheses around reference to macro parameter.
10322
08ffcf34
RS
103232013-09-13 Richard Sandiford <richard@codesourcery.com>
10324
10325 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
10326 prototype.
10327 (ctype_startup): Use uint32_t in cast and sizeof for
10328 ctype->charnames.
10329
ae7080d3
JL
103302013-09-11 Jia Liu <proljc@gmail.com>
10331
10332 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
10333 __daddr_t_defined.
10334 [__FreeBSD__]: Likewise.
10335
5905e7b3
OB
103362013-09-11 Ondřej Bílka <neleai@seznam.cz>
10337
10338 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10339 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
10340 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
10341 (strchr): Remove __strchr_sse42 ifunc selection.
10342 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
10343 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
10344
b987c776
WN
103452013-09-11 Will Newton <will.newton@linaro.org>
10346
10347 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
10348 parameter to RES. Remove hardcoded 1000 value.
10349 * benchtests/bench-skeleton.c (main): Pass RES parameter
10350 to TIMING_INIT and multiply result by 1000.
10351
ddf985af
AZ
103522013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10353
10354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10355
ffdd3181
AS
103562013-09-11 Andreas Schwab <schwab@suse.de>
10357
10358 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
10359 if not defined.
10360 (O_TMPFILE) [__USE_GNU]: Define.
10361 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
10362 Define.
10363
b73ed247
WN
103642013-09-11 Will Newton <will.newton@linaro.org>
10365
10366 [BZ #15857]
10367 * malloc/malloc.c (__libc_memalign): Check the value of bytes
10368 does not overflow.
10369
55e17aad
WN
103702013-09-11 Will Newton <will.newton@linaro.org>
10371
10372 [BZ #15856]
10373 * malloc/malloc.c (__libc_valloc): Check the value of bytes
10374 does not overflow.
10375
1159a193
WN
103762013-09-11 Will Newton <will.newton@linaro.org>
10377
10378 [BZ #15855]
10379 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
10380 does not overflow.
10381
5905e7b3 103822013-09-10 Ondřej Bílka <neleai@seznam.cz>
c7cabd13
OB
10383
10384 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
10385 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10386 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10387 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10388 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10389
cdfc721b
AM
103902013-09-10 Allan McRae <allan@archlinux.org>
10391
aa04af00
AM
10392 [BZ #15748]
10393 * manual/arith.texi (Parsing of Floats): Clarify
10394 cross-reference.
10395
cdfc721b
AM
10396 [BZ #15849]
10397 * manual/install.texi (Running make install): Mention
10398 --enable-pt-chown.
10399 * INSTALL: Regenerated.
10400
95e7cf29
MR
104012013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
10402
10403 * csu/init-first.c (_init): Remove the !SHARED condition around
10404 FPU control word initialization.
10405 * elf/dl-support.c (_dl_fpu_control): New variable.
10406 (_dl_aux_init) <AT_FPUCW>: Initialize it.
10407 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
10408 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
10409 * math/test-fpucw-static.c: New file.
10410 * math/test-fpucw-ieee.c: New file.
10411 * math/test-fpucw-ieee-static.c: New file.
10412 * math/Makefile (tests): Add `test-fpucw-ieee' and
10413 `$(tests-static)'.
10414 (tests-static): New variable.
10415 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
10416 dependency to...
10417 [($(build-shared),yes)]
10418 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10419 ... this.
10420 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
10421 New dependency.
10422
83e43bf0
AM
104232013-09-09 Allan McRae <allan@archlinux.org>
10424
a9f5ce09
AM
10425 [BZ #15939]
10426 * manual/string.texi (Collation Functions): Fix typo in
10427 strcoll example.
10428 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
10429
34829bc2
AM
10430 [BZ #15893]
10431 * stdlib/isomac.c (get_null_defines): Fix memory leak.
10432
3932737d
AM
10433 [BZ #15892]
10434 * libio/memstream.c (open_memstream): Fix memory leak.
10435 * libio/wmemstream.c (open_wmemstream): Likewise.
10436
83e43bf0
AM
10437 [BZ #15895]
10438 * nscd/netgroupcache.c: Fix nesting of ifdefs.
10439
0c66b8e9
WN
104402013-09-09 Will Newton <will.newton@linaro.org>
10441
10442 * malloc/Makefile: Add tst-realloc to tests.
10443 * malloc/tst-realloc.c: New file.
10444
f6b00fd1
AM
104452013-09-09 Allan McRae <allan@archlinux.org>
10446
10447 [BZ #15844]
10448 * COPYING: Update from GNU website to fix FSF address.
10449 * COPYING.LIB: Likewise.
10450
eec55e16
DM
104512013-09-06 David S. Miller <davem@davemloft.net>
10452
10453 * po/zh_TW.po: Update Chinese (traditional) translation from
10454 translation project.
10455
1ecbb381
RS
104562013-09-06 Richard Sandiford <richard@codesourcery.com>
10457 Joseph Myers <joseph@codesourcery.com>
10458
10459 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
10460 "localeinfo.h".
10461 (obstack_chunk_alloc): New macro.
10462 (obstack_chunk_free): Likewise.
10463 (record_offset): New function.
10464 (init_locale_data): Likewise.
10465 (align_locale_data): Likewise.
10466 (add_locale_empty): Likewise.
10467 (add_locale_raw_data): Likewise.
10468 (add_locale_raw_obstack): Likewise.
10469 (add_locale_string): Likewise.
10470 (add_locale_wstring): Likewise.
10471 (add_locale_uint32): Likewise.
10472 (add_locale_uint32_array): Likewise.
10473 (add_locale_char): Likewise.
10474 (start_locale_structure): Likewise.
10475 (end_locale_structure): Likewise.
10476 (start_locale_prelude): Likewise.
10477 (end_locale_prelude): Likewise.
10478 (write_locale_data): Take locale_file structure rather than an
10479 iovec.
10480 * locale/programs/locfile.h: Include "obstack.h".
10481 (struct locale_file): Change to store locale file contents instead
10482 of header.
10483 (init_locale_data): New prototype.
10484 (align_locale_data): Likewise.
10485 (add_locale_empty): Likewise.
10486 (add_locale_raw_data): Likewise.
10487 (add_locale_raw_obstack): Likewise.
10488 (add_locale_string): Likewise.
10489 (add_locale_wstring): Likewise.
10490 (add_locale_uint32): Likewise.
10491 (add_locale_uint32_array): Likewise.
10492 (add_locale_char): Likewise.
10493 (start_locale_structure): Likewise.
10494 (end_locale_structure): Likewise.
10495 (start_locale_prelude): Likewise.
10496 (end_locale_prelude): Likewise.
10497 (write_locale_data): Update prototype.
10498 * locale/programs/3level.h (struct TABLE): Remove result field.
10499 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
10500 Use new locale_file interface.
10501 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
10502 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
10503 * locale/programs/ld-address.c (address_output): Use new
10504 locale_file interface.
10505 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
10506 NO_ADD_LOCALE.
10507 (collate_finish): Don't call collseq_table_finalize.
10508 (collate_output): Use new locale_file interface.
10509 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
10510 in file.
10511 (NO_FINALIZE): Change to NO_ADD_LOCALE.
10512 (TABLE): Move defines earlier in file.
10513 (ELEMENT): Likewise.
10514 (DEFAULT): Likewise.
10515 (wctrans_table_add): Move macro and inline function earlier in
10516 file.
10517 (struct wctype_table): Move type earlier in file.
10518 (add_locale_wctype_table): New static prototype.
10519 (struct locale_ctype_t): Use logical types instead of struct iovec
10520 pointers for members.
10521 (ctype_output): Use new locale_file interface.
10522 (wctype_table_finalize): Change to add_locale_wctype_table. Use
10523 new locale_file interface.
10524 (allocate_arrays): Update for use of new locale_file interface.
10525 * locale/programs/ld-identification.c (identification_output): Use
10526 new locale_file interface.
10527 * locale/programs/ld-measurement.c (measurement_output): Likewise.
10528 * locale/programs/ld-messages.c (messages_output): Likewise.
10529 * locale/programs/ld-monetary.c (monetary_output): Likewise.
10530 * locale/programs/ld-name.c (name_output): Likewise.
10531 * locale/programs/ld-numeric.c (numeric_output): Likewise.
10532 * locale/programs/ld-paper.c (paper_output): Likewise.
10533 * locale/programs/ld-telephone.c (telephone_output): Likewise.
10534 * locale/programs/ld-time.c (time_output): Likewise.
10535
e029e2e5
AZ
105362013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10537
10538 * benchtests/Makefile: Add memrchr benchmark.
10539 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
10540 benchmark as memrchr.
10541 * benchtests/bench-memrchr-ifunc.c: New file.
10542 * benchtests/bench-memrchr.c: New file.
10543
bbf6e8e4
WN
105442013-09-06 Will Newton <will.newton@linaro.org>
10545
10546 * benchtests/Makefile (string-bench): Add memcpy.
10547
6c82a2f8
CD
105482013-09-05 Carlos O'Donell <carlos@redhat.com>
10549 Cong Wang <amwang@redhat.com>
10550
e732c5f0 10551 [BZ #15850]
6c82a2f8
CD
10552 * sysdeps/unix/sysv/linux/bits/in.h
10553 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
10554 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
10555 before __USE_KERNEL_IPV6_DEFS uses.
10556 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
10557 IPPROTO_BEETPH.
10558 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
10559 sockaddr_in6, or ipv6_mreq.
10560
5430fc65
AZ
105612013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10562
10563 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
10564 memory access for final bytes in some large inputs.
10565 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
10566
4660856c
AZ
105672013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
10568
10569 * string/test-memrchr.c: New file.
10570 * string/test-memrchr-ifunc.c: New file.
10571 * string/Makefile: Add new memrchr testcase.
10572
bb8ea713
MF
105732013-09-05 Mike Frysinger <vapier@gentoo.org>
10574
10575 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
10576 fanotify_init returns EPERM.
10577
b92a20b5
JM
105782013-09-04 Joseph Myers <joseph@codesourcery.com>
10579
10580 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
10581 errors.
10582 (top level): Treat second token from macro or constant entries for
10583 allowed headers as allowed.
10584 * include/complex.h: Condition internal declarations on
10585 [!_ISOMAC].
10586 * include/fenv.h: Condition include of <stdbool.h> and internal
10587 declarations on [!_ISOMAC].
7447ccd9
CL
10588
105892013-09-04 Chris Leonard <cjl@sugarlabs,.org>
10590
3e181dda 10591 [BZ #15923]
7447ccd9
CL
10592 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
10593
3f2e46a4
JM
105942013-09-04 Joseph Myers <joseph@codesourcery.com>
10595
10596 * configure.in (--enable-versioning): Remove configure option.
10597 (libc_cv_asm_symver_directive): Remove configure test.
10598 (libc_cv_ld_version_script_option): Likewise.
10599 (VERSIONING): Remove variable and AC_SUBST.
10600 (DO_VERSIONING): Remove AC_DEFINE.
10601 * configure: Regenerated.
10602 * config.h.in (DO_VERSIONING): Remove macro.
10603 * Makerules [$(versioning) = yes]: Change conditionals to
10604 [$(build-shared) = yes].
10605 * config.make.in (versioning): Remove variable.
10606 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
10607 [$(build-shared) = yes].
10608 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
10609 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
10610 * elf/Makefile [$(versioning) = yes]: Change conditionals to
10611 [$(build-shared) = yes].
10612 * extra-lib.mk [$(versioning) = yes]: Likewise.
10613 * hurd/Makefile [$(versioning) = yes]: Likewise.
10614 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
10615 [SHARED].
10616 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
10617 [SHARED].
10618 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10619 [SHARED && !NO_HIDDEN].
10620 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
10621 [SHARED].
10622 [SHARED && DO_VERSIONING]: Likewise..
10623 * libio/Makefile [$(versioning) = yes]: Change conditionals to
10624 [$(build-shared) = yes].
10625 * manual/install.texi (--disable-versioning): Remove
10626 documentation.
10627 * INSTALL: Regenerated.
10628 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
10629 to [SHARED].
10630 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
10631 [$(build-shared) = yes].
10632 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
10633 * sysdeps/i386/i686/multiarch/strstr-c.c
10634 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
10635 [SHARED && !NO_HIDDEN].
10636 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
10637 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
10638 * sysdeps/powerpc/powerpc32/dl-machine.c
10639 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
10640 * sysdeps/powerpc/powerpc32/sysdep.h
10641 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
10642 to [SHARED && PIC && !NO_HIDDEN].
10643 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
10644 conditional to [SHARED].
10645
44558701
WN
106462013-09-04 Will Newton <will.newton@linaro.org>
10647
10648 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
10649 * benchtests/bench-string.h: Include bench-timing.h instead
10650 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
10651 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
10652 call to HP_TIMING_DIFF_INIT.
10653 * benchtests/bench-memccpy.c: Use bench-timing.h macros
10654 instead of hp-timing.h macros.
10655 * benchtests/bench-memchr.c: Likewise.
10656 * benchtests/bench-memcmp.c: Likewise.
10657 * benchtests/bench-memcpy.c: Likewise.
10658 * benchtests/bench-memmem.c: Likewise.
10659 * benchtests/bench-memmove.c: Likewise.
10660 * benchtests/bench-memset.c: Likewise.
10661 * benchtests/bench-rawmemchr.c: Likewise.
10662 * benchtests/bench-strcasecmp.c: Likewise.
10663 * benchtests/bench-strcasestr.c: Likewise.
10664 * benchtests/bench-strcat.c: Likewise.
10665 * benchtests/bench-strchr.c: Likewise.
10666 * benchtests/bench-strcmp.c: Likewise.
10667 * benchtests/bench-strcpy.c: Likewise.
10668 * benchtests/bench-strcpy_chk.c: Likewise.
10669 * benchtests/bench-strlen.c: Likewise.
10670 * benchtests/bench-strncasecmp.c: Likewise.
10671 * benchtests/bench-strncat.c: Likewise.
10672 * benchtests/bench-strncmp.c: Likewise.
10673 * benchtests/bench-strncpy.c: Likewise.
10674 * benchtests/bench-strnlen.c: Likewise.
10675 * benchtests/bench-strpbrk.c: Likewise.
10676 * benchtests/bench-strrchr.c: Likewise.
10677 * benchtests/bench-strspn.c: Likewise.
10678 * benchtests/bench-strstr.c: Likewise.
10679
cae16d66
WN
106802013-09-04 Will Newton <will.newton@linaro.org>
10681
10682 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
10683
ffa3cd7f
JM
106842013-09-03 Joseph Myers <joseph@codesourcery.com>
10685
10686 [BZ #15427]
10687 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
10688 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
10689 * math/libm-test.inc (lgamma_test_data): Add more tests.
10690 * sysdeps/i386/fpu/libm-test-ulps: Update.
10691 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10692
8f02859f
OB
106932013-09-03 Ondřej Bílka <neleai@seznam.cz>
10694
10695 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
10696 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10697 Add ifunc.
10698 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
10699 Add strcmp-sse2-unaligned
10700 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
10701
18d43716
MF
107022013-09-02 Mike Frysinger <vapier@gentoo.org>
10703
10704 * Versions.def (libc): Add GLIBC_2.19.
10705
ac444012
MF
107062013-09-02 Mike Frysinger <vapier@gentoo.org>
10707
10708 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
10709 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
10710
b7835e32
JM
107112013-09-02 Joseph Myers <joseph@codesourcery.com>
10712
10713 [BZ #14155]
10714 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
10715 intermediate calculations in recurrence.
10716 (__ieee754_ynf): Likewise.
10717 * math/libm-test.inc (jn_test_data): Do not allow spurious
10718 underflow exception. Add more tests.
10719 (yn_test_data): Add more tests.
10720 * sysdeps/i386/fpu/libm-test-ulps: Update.
10721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10722
8220f4f0
OB
107232013-09-02 Ondřej Bílka <neleai@seznam.cz>
10724
10725 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
10726
f24a6d08
OB
107272013-08-30 Ondřej Bílka <neleai@seznam.cz>
10728
10729 * csu/init-first.c: Fix then/than typos.
10730 * locale/programs/ld-collate.c: Likewise.
10731 * locale/programs/linereader.h: Likewise.
10732 * manual/charset.texi: Likewise.
10733 * manual/filesys.texi: Likewise.
10734 * manual/stdio.texi: Likewise.
10735 * manual/string.texi: Likewise.
10736 * stdlib/fmtmsg.c: Likewise.
10737 * sysdeps/i386/stpncpy.S: Likewise.
10738 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10739 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10740 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10741 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10742
382466e0
OB
107432013-08-30 Ondřej Bílka <neleai@seznam.cz>
10744
10745 * elf/dl-open.c: Fix typos.
10746 * iconvdata/gbbig5.c: Likewise.
10747 * iconvdata/iso-2022-jp.c: Likewise.
10748 * iconv/gconv_int.h: Likewise.
10749 * iconv/loop.c: Likewise.
10750 * nis/rpcsvc/nis.h: Likewise.
10751 * resolv/ns_name.c: Likewise.
10752 * stdio-common/vfscanf.c: Likewise.
10753 * streams/stropts.h: Likewise.
10754 * sunrpc/rpc_thread.c: Likewise.
10755 * sysdeps/i386/strpbrk.S: Likewise.
10756 * sysdeps/ieee754/k_standard.c: Likewise.
10757 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
10758 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
10759 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
10760 * sysdeps/mach/hurd/profil.c: Likewise.
10761 * sysdeps/s390/dl-procinfo.h: Likewise.
10762 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
10763 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
10764 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
10765 * sysdeps/x86_64/dl-trampoline.S: Likewise.
10766 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
10767
0186c6e9
OB
107682013-08-30 Ondřej Bílka <neleai@seznam.cz>
10769
10770 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
10771 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
10772
d4e16af1
OB
107732013-08-29 Ondřej Bílka <neleai@seznam.cz>
10774
10775 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
10776 aix specific files.
10777 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
10778 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
10779 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
10780 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
10781 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
10782 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
10783 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
10784 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
10785
88335980
TS
107862013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10787 Roland McGrath <roland@hack.frob.com>
10788
10789 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
10790 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
10791
ed479b02
ST
107922013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
10793
10794 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
10795 __executable_start symbol instead of _start.
10796
f1cc4c86
TS
107972013-08-29 Thomas Schwinge <thomas@codesourcery.com>
10798
d821f07c
TS
10799 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
10800 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
10801 Move macros to...
10802 * sysdeps/gnu/ldsodefs.h: ... this new file.
10803
c54290cf
TS
10804 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
10805 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
10806 instead of ELFOSABI_LINUX.
10807
0007fc9b 10808 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
0007fc9b
TS
10809 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
10810 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
10811 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
10812 Likewise.
10813 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
10814 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
10815 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
10816 Likewise.
10817 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
10818 (ibm_extended_long_double): Add ieee_nan member.
10819 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
10820 (do_test): New function.
10821
f1cc4c86
TS
10822 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
10823 TEST_TRUNC.
10824 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
10825 functions, renamed from truncdfsf_test, trunctfsf_test,
10826 trunctfdf_test.
10827 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
10828 functions.
10829 (do_test): Run all these.
10830
6f65e668
OB
108312013-08-29 Ondřej Bílka <neleai@seznam.cz>
10832
10833 * argp/argp-help.c: Fix typos.
10834 * argp/argp-parse.c: Likewise.
10835 * debug/backtracesyms.c: Likewise.
10836 * elf/elf.h: Likewise.
10837 * malloc/malloc.c: Likewise.
10838 * nis/nis_print.c: Likewise.
10839 * resolv/res_comp.c: Likewise.
10840 * stdlib/stdlib.h: Likewise.
10841 * sunrpc/clnt_tcp.c: Likewise.
10842 * sunrpc/clnt_udp.c: Likewise.
10843 * sunrpc/clnt_unix.c: Likewise.
10844 * sysdeps/unix/bsd/ptsname.c: Likewise.
10845 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
10846 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
99541e80
RM
10847 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
10848 Likewise.
10849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
10850 Likewise.
10851 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
10852 Likewise.
6f65e668
OB
10853 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
10854
3a309239
SP
108552013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
10856
10857 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
10858 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
10859
3b813b29
MF
108602013-08-27 Mike Frysinger <vapier@gentoo.org>
10861
10862 [BZ #15897]
10863 * dlfcn/Makefile (tests): Add bug-dl-leaf.
10864 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
10865 ($(objpfx)bug-dl-leaf): New rule.
10866 ($(objpfx)bug-dl-leaf.so): Likewise.
10867 ($(objpfx)bug-dl-leaf.out): Likewise.
10868 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
10869 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
10870 * dlfcn/bug-dl-leaf.c: New test.
10871 * dlfcn/bug-dl-leaf-lib.c: Likewise.
10872 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
10873 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
10874 (dlclose): Likewise.
10875 (dlmopen): Likewise.
10876
8cc3269f
RM
108772013-08-27 Roland McGrath <roland@hack.frob.com>
10878
7f9d0034
RM
10879 * include/netdb.h [!_ISOMAC]:
10880 Don't include <tls.h>.
10881 (h_errno, __libc_h_errno): Move declaration and macros out of
10882 [_LIBC_REENTRANT].
10883
fb431262
RM
10884 * include/resolv.h [_RESOLV_H_]:
10885 Don't include <tls.h>.
10886 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
10887 * resolv/res_libc.c: Don't include <tls.h>.
10888 (_res): Use __attribute__ ((nocommon)) in place of
10889 __attribute__ ((section (".bss"))).
10890
bd81123a
RM
10891 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
10892 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
10893
c4e42566
RM
10894 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
10895
f890a59b
RM
10896 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
10897 only under [SIOCGIFCONF && SIOCGIFNETMASK].
10898
10899 * resolv/res_mkquery.c: Include <sys/time.h>.
10900
5d1f0a09
RM
10901 * inet/ifreq.c: Moved to ...
10902 * sysdeps/unix/ifreq.c: ... here.
10903 * inet/ifreq.c: New file, true stub version.
10904
6fcf28b3
RM
10905 * socket/sa_len.c: New file.
10906 * socket/Makefile (aux): Add it.
10907 * sysdeps/unix/sysv/linux/Makefile
10908 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
10909 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
10910 and #include <socket/sa_len.c>.
10911 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
10912 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
10913
e041fb8b
RM
10914 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
10915 * bits/socket.h: ... here.
10916
8cc3269f
RM
10917 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
10918 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
10919 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
10920
5d228a43
AS
109212013-08-27 Andreas Schwab <schwab@suse.de>
10922
45b8accc
AS
10923 [BZ #15736]
10924 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
10925 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
10926 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
10927 * string/test-strcasecmp.c (test_main): Run tests in several
10928 locales.
10929 * string/test-strncasecmp.c (test_main): Likewise.
10930
5d228a43
AS
10931 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
10932 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
10933 to __strcasecmp_nonascii and __strncasecmp_nonascii.
10934 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
10935 (__strncasecmp_ssse3) [PIC]: Likewise.
10936
59d112a4
RM
109372013-08-26 Roland McGrath <roland@hack.frob.com>
10938
53234cc3
RM
10939 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
10940
59d112a4
RM
10941 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
10942 instead of explicitly declaring xdecrypt.
10943 * nis/nss_nis/nis-publickey.c: Likewise.
10944
595aba70
SP
109452013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10946
10947 [BZ #15890]
10948 * nscd/aicache.c: Include res_hconf.h.
10949 (addhstaiX): Initialize res_hconf.
10950
ffabd393
AS
109512013-08-26 Andreas Schwab <schwab@suse.de>
10952
10953 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
10954 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
10955
e0a69f5c
SP
109562013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
10957
10958 * nscd/aicache.c (addhstaiX): Fix indentation.
10959
8c12f01d
MF
109602013-08-25 Mike Frysinger <vapier@gentoo.org>
10961
10962 * configure.ac: Quote $build_pt_chown test.
10963 * configure: Regenerated.
10964
8fe89494
JM
109652013-08-23 Joseph Myers <joseph@codesourcery.com>
10966
10967 [BZ #15532]
10968 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
10969 * math/s_cexpf.c (__cexpf): Likewise.
10970 * math/s_cexpl.c (__cexpl): Likewise.
10971 * math/libm-test.inc (cexp_test_data): Correct expected return
10972 value for NaN + i0. Add another test.
10973
75b181d6
DM
109742013-08-22 David S. Miller <davem@davemloft.net>
10975
10976 * po/ca.po: Update Catalan translation from translation project.
936241e4 10977 * po/uk.po: Add Ukrainian translations from translation project.
75b181d6 10978
acd06bb1
JM
109792013-08-21 Joseph Myers <joseph@codesourcery.com>
10980
10981 [BZ #15797]
10982 * math/s_fdim.c (__fdim): Check for infinite arguments if result
10983 is infinite, not alongside NaN test.
10984 * math/s_fdimf.c (__fdimf): Likewise.
10985 * math/s_fdiml.c (__fdiml): Likewise.
10986 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
10987 errno is unchanged.
10988
c0c3f78a
OB
109892013-08-21 Ondřej Bílka <neleai@seznam.cz>
10990
10991 * argp/argp-help.c: Fix typos.
10992 * crypt/speeds.c: Likewise.
10993 * csu/check_fds.c: Likewise.
10994 * elf/dl-load.c: Likewise.
10995 * elf/dl-open.c: Likewise.
10996 * elf/reldep3.c: Likewise.
10997 * elf/reldep.c: Likewise.
10998 * elf/sprof.c: Likewise.
10999 * iconv/iconv_charmap.c: Likewise.
11000 * iconv/skeleton.c: Likewise.
11001 * iconv/strtab.c: Likewise.
11002 * io/lockf64.c: Likewise.
11003 * libio/libioP.h: Likewise.
11004 * resolv/gai_notify.c: Likewise.
11005 * resolv/ns_name.c: Likewise.
11006 * resolv/ns_samedomain.c: Likewise.
11007 * resolv/res_send.c: Likewise.
11008 * stdlib/random.c: Likewise.
11009 * sunrpc/rpc/xdr.h: Likewise.
11010 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
11011 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
11012 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
11013 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
11014 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
11015 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
11016 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
11017 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
11018 * sysdeps/mach/hurd/check_fds.c: Likewise.
11019 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
11020 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11021 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11022 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
11023 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11024 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
11025 * sysdeps/pthread/aio_notify.c: Likewise.
11026 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
11027 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
11028 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
11029 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
11030 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
11031
46ed1038
LD
110322013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11033
11034 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
11035 version if bit_Slow_SSE4_2 is set.
11036 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11037 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11038
d400dcac
AZ
110392013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11040
11041 [BZ #15867]
11042 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
11043 trampoline stack frame information.
11044 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
11045 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
11046 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
11047 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
11048 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
11049 * sysdeps/unix/sysv/linux/powerpc/init-first.c
11050 (_libc_vdso_platform_setup): Initialize the signal trampolines.
11051 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
11052 sa_flags value.
11053 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
11054 interrupting a syscall and set with option SA_SIGINFO.
11055
42c8fdd8
JM
110562013-08-20 Joseph Myers <joseph@codesourcery.com>
11057
c980f2f4
JM
11058 [BZ #15531]
11059 * math/s_cproj.c (__cproj): Only return an infinity if one part of
11060 argument is infinite.
11061 * math/s_cprojf.c (__cprojf): Likewise.
11062 * math/s_cprojl.c (__cprojl): Likewise.
11063 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
11064 * math/libm-test.inc (cproj_test_data): Add more tests.
11065
0716c4fc
JM
11066 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
11067
42c8fdd8
JM
11068 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
11069 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
11070 size. Use __ffs to determine corresponding shift.
11071
b31469d0
JM
110722013-08-20 Joseph Myers <joseph@codesourcery.com>
11073 Roland McGrath <roland@hack.frob.com>
11074
11075 * Makefile (INSTALL): Remove trailing blank lines from output of
11076 makeinfo.
11077
4e39af6e
AK
110782013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11079
11080 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
11081 Align 32 bit compat elf_greg to 8 bytes.
11082
f315524e
AA
110832013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
11084
11085 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
11086
1326ba1a
SP
110872013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11088
11089 * string/strcoll_l.c (coll_seq): New structure.
11090 (get_next_seq_cached): New function.
11091 (get_next_seq): New function.
11092 (do_compare): New function.
11093 (STRCOLL): Use GNU style definition. Simplify implementation
11094 by using get_next_seq, get_next_seq_cached and do_compare.
11095
91ce4085
FW
110962013-08-16 Florian Weimer <fweimer@redhat.com>
11097
11098 [BZ #14699]
11099 CVE-2013-4237
11100 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
11101 member.
11102 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
11103 member.
11104 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
11105 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
11106 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
11107 conditional.
11108 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
11109 GETDENTS_64BIT_ALIGNED.
11110 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
11111 * manual/filesys.texi (Reading/Closing Directory): Document
11112 ENAMETOOLONG return value of readdir_r. Recommend readdir more
11113 strongly.
11114 * manual/conf.texi (Limits for Files): Add portability note to
11115 NAME_MAX, PATH_MAX.
11116 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
11117
ca0a6bc4
AS
111182013-08-13 Andreas Schwab <schwab@suse.de>
11119
11120 [BZ #15749]
11121 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
11122 of fabs.
11123 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
11124 LDBL_MAX_EXP >= 16384]: Add tests for it.
11125
6c1fd795
DM
111262013-08-12 David S. Miller <davem@davemloft.net>
11127
11128 * version.h (RELEASE): Set to "development".
11129 (VERSION): Set to "2.18.90".
11130 * NEWS: Add 2.19 section.
11131
31ad488d
DM
111322013-08-03 David S. Miller <davem@davemloft.net>
11133
11134 * po/ko.po: Update Korean translation from translation project.
11135
db24e684
DM
111362013-08-01 David S. Miller <davem@davemloft.net>
11137
11138 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
11139 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
11140 Bilka.
11141
f723285b
DM
111422013-07-30 David S. Miller <davem@davemloft.net>
11143
11144 * po/fr.po: Update French translation from translation project.
11145
3cbc52db
DM
111462013-07-28 David S. Miller <davem@davemloft.net>
11147
30bbc0cc
DM
11148 * po/cs.po: Update Czech translation from translation project.
11149
3cbc52db
DM
11150 * po/sv.po: Update Swedish translation from translation project.
11151
d492e6d0
DM
111522013-07-27 David S. Miller <davem@davemloft.net>
11153
f1a7f492
DM
11154 * po/eo.po: Update Esperanto translation from translation project.
11155
90e62a4a
DM
11156 * po/vi.po: Update Vietnamese translation from translation project.
11157
d492e6d0
DM
11158 * po/de.po: Update German translation from translation project.
11159
d4baa62d
DM
111602013-07-26 David S. Miller <davem@davemloft.net>
11161
641aa7b4
DM
11162 * po/bg.po: Update Bulgarian translation from translation project.
11163
d4baa62d
DM
11164 * po/nl.po: Update Dutch translation from translation project.
11165 * po/pl.po: Update Polish translation from translation project.
11166 * po/ru.po: Update Russian translation from translation project.
11167
61a9dcb9
DM
111682013-07-24 David S. Miller <davem@davemloft.net>
11169
11170 * po/libc.pot: Update.
11171
7b1f8b58
AZ
111722013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11173
11174 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
11175 variable page size.
11176 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
11177 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
11178 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
11179
a8fc7a03
AK
111802013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
11181
11182 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
11183
e4608715
CD
111842013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
11185 Andreas Schwab <schwab@suse.de>
11186 Roland McGrath <roland@hack.frob.com>
11187 Joseph Myers <joseph@codesourcery.com>
11188 Carlos O'Donell <carlos@redhat.com>
11189
11190 [BZ #15755]
11191 * config.h.in: Define HAVE_PT_CHOWN.
11192 * config.make.in (build-pt-chown): New variable.
11193 * configure.in (--enable-pt_chown): New configure option.
11194 * configure: Regenerate.
11195 * login/Makefile: Include Makeconfig. Build pt_chown only if
11196 build-pt-chown is enabled.
11197 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
11198 pt_chown to fix pty ownership.
11199 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
11200 CLOSE_ALL_FDS.
11201 * manual/install.texi (Configuring and compiling): Mention
11202 --enable-pt_chown. Add @findex for grantpt.
11203 * INSTALL: Regenerate.
11204
da2d62df
DM
112052013-07-20 David S. Miller <davem@davemloft.net>
11206
11207 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
11208 difference between 32-bit and 64-bit.
11209
d7e06450
CD
112102013-07-15 Carlos O'Donell <carlos@redhat.com>
11211
11212 [BZ #15711]
11213 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
11214 Avoid system header dependency with -ffreestanding.
11215 ($(objpfx)bits/syscall%d): Likewise.
11216
f959cfd7
DM
112172013-07-13 David S. Miller <davem@davemloft.net>
11218
11219 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
11220 underflows from atanl/atan2l due to bug 15319.
11221 (casinh_test_data): Likewise.
11222
c61f8513
DM
112232013-07-07 David S. Miller <davem@davemloft.net>
11224
11225 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
11226
72c90ed0
JA
112272013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
11228
11229 * sysdeps/i386/fpu/libm-test-ulps: Update.
11230 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11231
52dfbe13
SP
112322013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11233
11234 * configure.in (--enable-lock-elision): Fix message text.
11235 * INSTALL: Regenerate.
11236 * configure: Regenerate.
11237
3f169543
AZ
112382013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11239
11240 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11241
521c6785
AJ
112422013-07-03 Andreas Jaeger <aj@suse.de>
11243
11244 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
11245 define.
11246 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
11247 (ptrace_peeksiginfo_args): Add.
11248 (__ptrace_peeksiginfo_flags): Add.
11249 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
11250 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
11251 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
11252
d2cc15cb
AM
112532013-07-03 Allan McRae <allan@archlinux.org>
11254
11255 * sysdeps/i386/fpu/libm-test-ulps: Update.
11256
3aaeeca7
DM
112572013-07-02 David S. Miller <davem@davemloft.net>
11258
11259 * sysdeps/sparc/fpu/libm-test-ulps: Update.
11260
5314ed1a
MT
112612013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
11262
11263 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
11264
67338156
JM
112652013-07-02 Joseph Myers <joseph@codesourcery.com>
11266
11267 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
11268 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11269
1717da59
AK
112702013-07-02 Andi Kleen <ak@linux.intel.com>
11271
11272 * config.h.in (ENABLE_LOCK_ELISION): Add.
11273 * configure.in (--enable-lock-elision): Add option.
11274 * manual/install.texi: Document --enable lock elision.
11275 * configure: Regenerate
11276 * INSTALL: Regenerate.
11277
1c81621c
L
112782013-07-02 H.J. Lu <hongjiu.lu@intel.com>
11279
11280 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
11281 SSE4.2 strcasecmp for libc.a.
11282 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
11283
77f01ab5
JM
112842013-07-02 Joseph Myers <joseph@codesourcery.com>
11285
11286 [BZ #13304]
11287 * soft-fp/op-common.h (_FP_FMA): New macro.
11288 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
11289 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
11290 (_FP_MUL_MEAT_1_imm): ... here.
11291 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
11292 (_FP_MUL_MEAT_1_wide): ... here.
11293 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
11294 (_FP_MUL_MEAT_1_hard): ... here.
11295 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
11296 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
11297 (_FP_MUL_MEAT_2_wide): ... here.
11298 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
11299 (_FP_MUL_MEAT_2_wide_3mul): ... here.
11300 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
11301 (_FP_MUL_MEAT_2_gmp): ... here.
11302 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
11303 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
11304 (_FP_MUL_MEAT_4_wide): ... here.
11305 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
11306 (_FP_MUL_MEAT_4_gmp): ... here.
11307 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
11308 (_FP_WFRACBITS_DW_S): Likewise.
11309 (_FP_WFRACXBITS_DW_S): Likewise.
11310 (_FP_HIGHBIT_DW_S): Likewise.
11311 (FP_FMA_S): Likewise.
11312 (_FP_FRAC_HIGH_DW_S): Likewise.
11313 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
11314 (_FP_WFRACBITS_DW_D): Likewise.
11315 (_FP_WFRACXBITS_DW_D): Likewise.
11316 (_FP_HIGHBIT_DW_D): Likewise.
11317 (FP_FMA_D): Likewise.
11318 (_FP_FRAC_HIGH_DW_D): Likewise.
11319 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
11320 (_FP_WFRACBITS_DW_E): Likewise.
11321 (_FP_WFRACXBITS_DW_E): Likewise.
11322 (_FP_HIGHBIT_DW_E): Likewise.
11323 (FP_FMA_E): Likewise.
11324 (_FP_FRAC_HIGH_DW_E): Likewise.
11325 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
11326 (_FP_WFRACBITS_DW_Q): Likewise.
11327 (_FP_WFRACXBITS_DW_Q): Likewise.
11328 (_FP_HIGHBIT_DW_Q): Likewise.
11329 (FP_FMA_Q): Likewise.
11330 (_FP_FRAC_HIGH_DW_Q): Likewise.
11331 * soft-fp/fmasf4.c: New file.
11332 * soft-fp/fmadf4.c: Likewise.
11333 * soft-fp/fmatf4.c: Likewise.
11334
6308fd9a
LD
113352013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11336
11337 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
11338 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
11339 Silvermont.
11340 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
11341 macro.
11342 (index_Slow_SSE4_2): Likewise.
11343 (index_Prefer_PMINUB_for_stringop): Likewise.
11344 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
11345 bit_Slow_SSE4_2 is set.
11346 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11347 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11348
89cd9569
RA
113492013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11350
11351 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
11352 rtld_global._dl_hwcap2.
11353 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
11354 POWER8.
11355 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
11356 POWER8 feature descriptions defined in _dl_hwcap2.
11357 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
11358 string handling for POWER8 feature bits.
11359 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
11360 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
11361 _dl_powerpc_cap_flags.
11362 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
11363 * sysdeps/powerpc/rtld-global-offsets.sym
11364 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
11365 _dl_hwcap2 in the rtld_global_ro structure.
11366
1ae8bfe0
RA
113672013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11368
11369 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
11370 hardware capabilities in support of AT_HWCAP2.
11371 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
11372 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
11373 GLRO(dl_hwcap2).
11374 (_dl_show_auxv): Add support for calling _dl_procinfo to display
11375 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
11376 explicitly the unknown a_type display mechanism is used.
11377 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
11378 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
11379 struct member.
11380 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
11381 to macro prototype for AT_HWCAP2 support.
11382 * sysdeps/i386/dl-procinfo.h: Likewise.
11383 * sysdeps/s390/dl-procinfo.h: Likewise.
11384 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
11385 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
11386 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
11387 return -1 for unknown a_type display fallback.
11388 * sysdeps/sparc/dl-procinfo.h: Likewise.
11389 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
11390 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
11391
8fbec010
JM
113922013-06-28 Joseph Myers <joseph@codesourcery.com>
11393
11394 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
11395 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
11396
0432680e
PY
113972013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
11398
11399 [BZ #12492]
11400 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
11401 mprotect making __stack_prot writable.
11402
ce61a2ad
NF
114032013-06-28 Nathan Froyd <froydnj@codesourcery.com>
11404 Joseph Myers <joseph@codesourcery.com>
11405
11406 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
11407 as being properly aligned.
11408
f91f1c0f
MR
114092013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
11410
3d0f5d0c
MR
11411 * dlfcn/modstatic5.c: New file.
11412 * dlfcn/tststatic5.c: New file.
11413 * dlfcn/Makefile (tests): Add tststatic5.
11414 (tests-static): Likewise.
11415 (modules-names): Add modstatic5.
11416 (tststatic5-ENV): New variable.
11417 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
11418
f91f1c0f
MR
11419 [BZ #15022]
11420 * elf/dl-support.c (_dl_main_map): New variable.
11421 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
11422 (_dl_nns, _dl_load_adds): Set to 1.
11423 (_dl_initial_searchlist): Refer to _dl_main_map.
11424 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
11425 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
11426 call to _dl_get_origin.
11427 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
11428 around call_map.
11429 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
11430 * dlfcn/modstatic3.c: New file.
11431 * dlfcn/tststatic3.c: New file.
11432 * dlfcn/tststatic4.c: New file.
11433 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
11434 (tests-static): Likewise.
11435 (modules-names): Add modstatic3.
11436 (tststatic3-ENV, tststatic4-ENV): New variables.
11437 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
11438 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
11439
cbe7d24b
JM
114402013-06-26 Joseph Myers <joseph@codesourcery.com>
11441
11442 * configure.in (CC): Require GCC version 4.4 or later.
11443 * configure: Regenerated.
11444 * manual/install.texi (Tools for Compilation): Update GCC version
11445 requirement.
11446 * INSTALL: Regenerated.
11447
11b8a0e1
LD
114482013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11449
11450 [BZ #15674]
bb5bb87c
L
11451 * string/test-memcmp.c (check2): New.
11452 (main): Call check2.
11453
11b8a0e1
LD
11454 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
11455
b0037103
MR
114562013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
11457
11458 [BZ #15022]
11459 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
11460 over to...
11461 (dl_open_worker) [!SHARED]: ... here.
11462
c18c701d
RA
114632013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11464
11465 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
11466
1d17fa5f
RH
114672013-06-25 Richard Henderson <rth@redhat.com>
11468
11469 * locale/programs/locarchive.c: Include <libc-internal.h>
11470
8fcb833a
JM
114712013-06-25 Joseph Myers <joseph@codesourcery.com>
11472
11473 * manual/texinfo.tex: Update to version 2013-06-21.17, with
11474 trailing whitespace removed.
11475
17db6e8d
MF
114762013-06-24 Mike Frysinger <vapier@gentoo.org>
11477
11478 [BZ #10283]
17db6e8d
MF
11479 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
11480 * locale/programs/locarchive.c: Include libc-mmap.h.
11481 (prepare_address_space): Take two new outputs (the mmap base and len).
11482 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
11483 values.
11484 (create_archive): Declare new mmap base and len values for
11485 prepare_address_space, and store the result in ah.
11486 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
11487 (enlarge_archive): If ah->mmap_base is not NULL, use that and
11488 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11489 Declare new mmap base and len values for
11490 prepare_address_space, and store the result in new_ah.
11491 (open_archive): Declare new mmap base and len values for
11492 prepare_address_space, and store the result in ah.
11493 (close_archive): If ah->mmap_base is not NULL, use that and
11494 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
11495 * sysdeps/generic/libc-mmap.h: New file.
11496
d605071e
MF
114972013-06-24 Mike Frysinger <vapier@gentoo.org>
11498
11499 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
11500 (ALIGN_UP): Likewise.
11501 (PTR_ALIGN_DOWN): Likewise.
11502 (PTR_ALIGN_UP): Likewise.
11503
2f063a6e
RA
115042013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11505
11506 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
11507 entry mapped to PPC_PLATFORM_POWER8.
11508 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
11509 POWER8.
11510 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
11511 (_dl_string_platform): Add case for exporting platform position for
11512 POWER8.
11513 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
11514 search path to sysdeps/powerpc/powerpc32/power8 directory.
11515 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
11516 search path to sysdeps/powerpc/powerpc64/power8 directory.
11517 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
11518 power7 directories.
11519 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
11520 power7 directories.
11521
a31ee4b3
SP
115222013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
11523
a74ca98f
SP
11524 * INSTALL: Regenerate.
11525
a31ee4b3
SP
11526 * nscd/connections.c (nscd_init): Fix comment.
11527
695c378f
JM
115282013-06-22 Joseph Myers <joseph@codesourcery.com>
11529
d8412221
JM
11530 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
11531
695c378f
JM
11532 [BZ #15667]
11533 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
11534 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
11535
d1d54715
MR
115362013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11537
11538 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
11539 DL_DST_REQ_STATIC.
11540 (DL_DST_REQ_STATIC): Remove macro.
11541
8fdda7af
JM
115422013-06-21 Joseph Myers <joseph@codesourcery.com>
11543
11544 [BZ #7006]
11545 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
11546 with a shift of 0 bits.
11547
f3bc5e5a
MR
115482013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
11549
11550 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
11551 $(tststatic-ENV).
11552
be09e8c9
KK
115532013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
11554
11555 [BZ #15655]
11556 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
11557
85c2e611
AZ
115582013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11559
11560 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
11561 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
11562 accepts -fno-tree-loop-distribute-patterns.
11563 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
11564 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
11565 recursive call.
11566 * string/memset.c (memset): Likewise.
11567 * string/test-memmove.c (simple_memmove): Disable loop transformation
11568 to library calls.
11569 * string/test-memset.c (simple_memset): Likewise.
11570 * benchtests/bench-memmove.c (simple_memmove): Likewise.
11571 * benchtests/bench-memset.c (simple_memset): Likewise.
11572 * configure: Regenerated.
11573
c91e0825
JM
115742013-06-20 Joseph Myers <joseph@codesourcery.com>
11575
b8c792af
JM
11576 * math/test-misc.c (main): Ignore fesetround failure when failures
11577 of subsequent rounding tests would be ignored.
11578
c91e0825
JM
11579 [BZ #15654]
11580 * math/fedisblxcpt.c (fedisableexcept): Return 0.
11581 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
11582 * math/fegetenv.c (__fegetenv): Return 0.
11583 * math/fegetexcept.c (fegetexcept): Return 0.
11584 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
11585 FE_TONEAREST.
11586 * math/feholdexcpt.c (feholdexcept): Return 0.
11587 * math/fesetenv.c (__fesetenv): Return 0.
11588 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
11589 argument FE_TONEAREST.
11590 * math/feupdateenv.c (__feupdateenv): Return 0.
11591 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
11592
bfcacbde
RM
115932013-06-18 Roland McGrath <roland@hack.frob.com>
11594
11595 * elf/rtld-Rules (rtld-compile-command.S): New variable.
11596 (rtld-compile-command.s, rtld-compile-command.c): New variables.
11597 ($(objpfx)rtld-%.os rules): Use them.
11598
e55a9b25
AZ
115992013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
11600
11601 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
11602 fields.
11603
346d65b3
RM
116042013-06-17 Roland McGrath <roland@hack.frob.com>
11605
12086fb4
RM
11606 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
11607 length of target pattern, then descending length of dependency pattern.
11608 * configure.in (AWK): Require gawk 3.1.2 or newer.
11609 * manual/install.texi (Tools for Compilation): Say that we do.
11610 * configure: Regenerated.
11611
346d65b3
RM
11612 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
11613 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
11614 * scripts/sysd-rules.awk: ... this new script.
11615 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
11616 than a glob-style pattern.
11617
1a846317
JM
116182013-06-17 Joseph Myers <joseph@codesourcery.com>
11619
11620 * math/test-misc.c (main): Do not treat incorrectly rounded
11621 conversions as failure unless ROUNDING_TESTS passes.
11622
8fc75e6f
JM
116232013-06-15 Joseph Myers <joseph@codesourcery.com>
11624
3711a167
JM
11625 [BZ #15631]
11626 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
11627 restore exception state around main square root computation, then
11628 check for inexactness explicitly.
11629
8fc75e6f
JM
11630 * math/libm-test.inc (fma_test_data): Add another test.
11631
61dd6208
SP
116322013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
11633
adf23d2c
SP
11634 * manual/threads.texi (Non-POSIX Extensions): New document
11635 node. Document pthread_getattr_default_np and
11636 pthread_setattr_default_np.
11637
61dd6208
SP
11638 * Versions.def (libpthread): Add GLIBC_2.18.
11639 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
11640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
11641 Likewise.
11642 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
11643 Likewise.
11644 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
11645 Likewise.
11646 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
11647 Likewise.
11648 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
11649 Likewise.
11650 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
11651 Likewise.
11652 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
11653 Likewise.
11654 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
11655 Likewise.
11656 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
11657 Likewise.
11658
d086fc7b
LD
116592013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
11660
11661 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11662 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
11663
747ef469
SP
116642013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
11665 H.J. Lu <hjl.tools@gmail.com>
11666
11667 [BZ #15627]
11668 * sysdeps/x86_64/rtld-memset.c: Remove file.
11669 * sysdeps/x86_64/rtld-memset.S: New file.
11670
1b2feed2
JM
116712013-06-14 Joseph Myers <joseph@codesourcery.com>
11672
11673 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
11674 (test_in_one_mode): Take arguments for whether the rounding mode
11675 is supported for each floating-point type.
11676 (do_test): Pass new arguments to test_in_one_mode using
11677 ROUNDING_TESTS.
11678
a58ad3f8
RM
116792013-06-13 Roland McGrath <roland@hack.frob.com>
11680
11681 * posix/tst-waitid.c (do_test): Distinguish different instances of
11682 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
11683 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
11684 before entering the kernel for waitpid.
11685
c204ab28
SP
116862013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11687
11688 * NEWS: Fix note on clock function precision. Text by Roland
11689 McGrath.
11690
f4a29fba
RM
116912013-06-13 Roland McGrath <roland@hack.frob.com>
11692
11693 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
11694 it into place only when and if the sanity check passes.
11695
1f24b9ad
JM
116962013-06-13 Joseph Myers <joseph@codesourcery.com>
11697
11698 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
11699 output for whether conversion result is exact. Take argument
11700 indicating whether type is IBM long double.
11701 (round_for_all): Change need_exact field to ibm_ld.
11702 * stdlib/tst-strtod-round.c (struct exactness): New type.
11703 (struct test): Change bool ld_ok field to struct exactness exact.
11704 (TEST): Update all definitions for change to field.
11705 (tests): Regenerate array contents.
11706 (test_in_one_mode): Take pointer to new field instead of old ld_ok
11707 field value. Check for IBM long double here.
11708 (do_test): Update calls to test_in_one_mode.
11709
58206c68
SP
117102013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
11711
11712 [BZ #12515]
11713 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
11714 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
11715
2d6f4c5b 117162013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
11717
11718 [BZ #15605]
11719 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
11720 generated by the compiler on loop optimizations.
11721 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
11722 general definitions.
11723
94f2c076
JM
117242013-06-12 Joseph Myers <joseph@codesourcery.com>
11725
11726 * math/bug-nextafter.c: Include <math-tests.h>.
11727 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11728 the relevant type.
11729 * math/bug-nexttoward.c: Include <math-tests.h>.
11730 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11731 the relevant type.
11732 * math/test-misc.c: Include <math-tests.h>.
11733 (main): Only test for exceptions if EXCEPTION_TESTS is true for
11734 the relevant type.
11735
e0e50a0a
AJ
117362013-06-12 Andreas Jaeger <aj@suse.de>
11737
11738 * po/ia.po: Update Interlingua translation from translation
11739 project.
11740
25061094
SP
117412013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
11742
11743 * include/fenv.h: Include stdbool.h.
11744 (struct rm_ctx): New structure.
11745 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
11746 Define macro.
11747 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
11748 (SET_RESTORE_ROUNDF): Likewise.
11749 (SET_RESTORE_ROUNDL): Likewise.
11750 (SET_RESTORE_ROUND_NOEX): Likewise.
11751 (SET_RESTORE_ROUND_NOEXF): Likewise.
11752 (SET_RESTORE_ROUND_NOEXL): Likewise.
11753 (SET_RESTORE_ROUND_53BIT): Likewise.
11754 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
11755 (libc_feresetround_noexf_ctx): Likewise.
11756 (libc_feresetround_noexl_ctx): Likewise.
11757 (libc_feholdsetround_53bit_ctx): Likewise.
11758 (libc_feresetround_53bit_ctx): Likewise.
11759 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
11760 (libc_feholdexcept_setround_sse_ctx): New function.
11761 (libc_fesetenv_sse_ctx): Likewise.
11762 (libc_feupdateenv_sse_ctx): Likewise.
11763 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
11764 (libc_feholdexcept_setround_387_ctx): Likewise.
11765 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
11766 (libc_feholdsetround_387_prec_ctx): Likewise.
11767 (libc_feholdsetround_387_ctx): Likewise.
11768 (libc_feholdsetround_387_53bit_ctx): Likewise.
11769 (libc_feholdsetround_sse_ctx): Likewise.
11770 (libc_feresetround_sse_ctx): Likewise.
11771 (libc_feresetround_387_ctx): Likewise.
11772 (libc_feupdateenv_387_ctx): Likewise.
11773 (libc_feholdexcept_setroundf_ctx): Define macro.
11774 (libc_fesetenvf_ctx): Likewise.
11775 (libc_feupdateenvf_ctx): Likewise.
11776 (libc_feholdsetroundf_ctx): Likewise.
11777 (libc_feresetroundf_ctx): Likewise.
11778 (libc_feholdexcept_setround_ctx): Likewise.
11779 (libc_fesetenv_ctx): Likewise.
11780 (libc_feupdateenv_ctx): Likewise.
11781 (libc_feholdsetround_ctx): Likewise.
11782 (libc_feresetround_ctx): Likewise.
11783 (libc_feholdexcept_setroundl_ctx): Likewise.
11784 (libc_feupdateenvl_ctx): Likewise.
11785 (libc_feholdsetroundl_ctx): Likewise.
11786 (libc_feresetroundl_ctx): Likewise.
11787 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
11788 (libc_feresetround_53bit_ctx): Likewise.
11789
59b30555
SP
117902013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11791
11792 * locale/iso-639.def: Convert to UTF-8.
11793
f1d73d30
JM
117942013-06-11 Joseph Myers <joseph@codesourcery.com>
11795
11796 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
11797 (EXCEPTION_TESTS_double): Likewise.
11798 (EXCEPTION_TESTS_long_double): Likewise.
11799 (EXCEPTION_TESTS): Likewise.
11800 * math/libm-test.inc (test_exceptions): Only test exceptions if
11801 EXCEPTION_TESTS (FLOAT).
11802
94aca5e7
SP
118032013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11804
11805 * benchtests/Makefile (string-bench): Add strcpy_chk and
11806 stpcpy_chk.
11807 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
11808 * benchtests/bench-stpcpy_chk.c: New file.
11809 * benchtests/bench-strcpy_chk-ifunc.c: New file.
11810 * benchtests/bench-strcpy_chk.c: New file.
11811 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
11812 code.
11813 (do_test): Likewise.
11814
fac0c5f2
RA
118152013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
11816
11817 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
11818 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
11819 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
11820 with tabs where appropriate.
11821 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
11822 dl-procinfo.h.
11823 [PPC_PLATFORM_PPC440]: Likewise.
11824 [PPC_PLATFORM_PPC464]: Likewise.
11825 [PPC_PLATFORM_PPC476]: Likewise.
11826 (_dl_string_platform): Add support for detecting ppc405, ppc440,
11827 ppc464, and ppc476 platform strings merging from ports/
11828 dl-procinfo.h.
11829
f22bc486
AS
118302013-06-11 Andreas Schwab <schwab@suse.de>
11831
11832 [BZ #14991]
11833 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
11834 (from_ucs4_idx): Regenerate.
11835 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
11836 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
11837 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
11838 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
11839 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
11840 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
11841 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
11842 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
11843 from FROM_LOOP and TO_LOOP specific macros.
11844 (BODY): Handle combining characters.
11845 * iconvdata/BIG5HKSCS.irreversible: Update.
11846 * iconvdata/BIG5HKSCS.precomposed: New file.
11847 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
11848 characters.
11849 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
11850
c1f75dc3
SP
118512013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11852
4eacded2
SP
11853 * include/sys/time.h: Fix indentation and add copyright header.
11854
fec799f8
SP
11855 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
11856 (do_test): Likewise.
11857 * string/test-memchr.c (do_one_test): Likewise.
11858 (do_test): Likewise.
11859 * string/test-memcmp.c (do_one_test): Likewise.
11860 (do_test): Likewise.
11861 * string/test-memcpy.c (do_one_test): Likewise.
11862 (do_test): Likewise.
11863 * string/test-memmem.c (do_one_test): Likewise.
11864 (do_test): Likewise.
11865 (do_random_tests): Likewise.
11866 * string/test-memmove.c (do_one_test): Likewise.
11867 (do_test): Likewise.
11868 * string/test-memset.c (do_one_test): Likewise.
11869 (do_test): Likewise.
11870 * string/test-rawmemchr.c (do_one_test): Likewise.
11871 (do_test): Likewise.
11872 * string/test-strcasecmp.c (do_one_test): Likewise.
11873 (do_test): Likewise.
11874 * string/test-strcasestr.c (do_one_test): Likewise.
11875 (do_test): Likewise.
11876 * string/test-strcat.c (do_one_test): Likewise.
11877 (do_test): Likewise.
11878 * string/test-strchr.c (do_one_test): Likewise.
11879 (do_test): Likewise.
11880 * string/test-strcmp.c (do_one_test): Likewise.
11881 (do_test): Likewise.
11882 * string/test-strcpy.c (do_one_test): Likewise.
11883 (do_test): Likewise.
11884 * string/test-string.h: Likewise.
11885 (test_init): Likewise.
11886 * string/test-strlen.c (do_one_test): Likewise.
11887 (do_test): Likewise.
11888 * string/test-strncasecmp.c (do_one_test): Likewise.
11889 (do_test): Likewise.
11890 * string/test-strncat.c (do_one_test): Likewise.
11891 (do_test): Likewise.
11892 * string/test-strncmp.c (do_one_test): Likewise.
11893 (do_test_limit): Likewise.
11894 (do_test): Likewise.
11895 * string/test-strncpy.c (do_one_test): Likewise.
11896 (do_test): Likewise.
11897 * string/test-strnlen.c (do_one_test): Likewise.
11898 (do_test): Likewise.
11899 * string/test-strpbrk.c (do_one_test): Likewise.
11900 (do_test): Likewise.
11901 * string/test-strrchr.c (do_one_test): Likewise.
11902 (do_test): Likewise.
11903 * string/test-strspn.c (do_one_test): Likewise.
11904 (do_test): Likewise.
11905 * string/test-strstr.c (do_one_test): Likewise.
11906 (do_test): Likewise.
11907
97020474
SP
11908 * benchtests/Makefile (string-bench): Add string benchmarks.
11909 * benchtests/bench-bcopy-ifunc.c: New file.
11910 * benchtests/bench-bcopy.c: New file.
11911 * benchtests/bench-bzero-ifunc.c: New file.
11912 * benchtests/bench-bzero.c: New file.
11913 * benchtests/bench-memccpy-ifunc.c: New file.
11914 * benchtests/bench-memccpy.c: New file.
11915 * benchtests/bench-memchr-ifunc.c: New file.
11916 * benchtests/bench-memchr.c: New file.
11917 * benchtests/bench-memcmp-ifunc.c: New file.
11918 * benchtests/bench-memcmp.c: New file.
11919 * benchtests/bench-memmem-ifunc.c: New file.
11920 * benchtests/bench-memmem.c: New file.
11921 * benchtests/bench-memmove-ifunc.c: New file.
11922 * benchtests/bench-memmove.c: New file.
11923 * benchtests/bench-mempcpy-ifunc.c: New file.
11924 * benchtests/bench-mempcpy.c: New file.
11925 * benchtests/bench-memset-ifunc.c: New file.
11926 * benchtests/bench-memset.c: New file.
11927 * benchtests/bench-rawmemchr-ifunc.c: New file.
11928 * benchtests/bench-rawmemchr.c: New file.
11929 * benchtests/bench-stpcpy-ifunc.c: New file.
11930 * benchtests/bench-stpcpy.c: New file.
11931 * benchtests/bench-stpncpy-ifunc.c: New file.
11932 * benchtests/bench-stpncpy.c: New file.
11933 * benchtests/bench-strcasecmp-ifunc.c: New file.
11934 * benchtests/bench-strcasecmp.c: New file.
11935 * benchtests/bench-strcasestr-ifunc.c: New file.
11936 * benchtests/bench-strcasestr.c: New file.
11937 * benchtests/bench-strcat-ifunc.c: New file.
11938 * benchtests/bench-strcat.c: New file.
11939 * benchtests/bench-strchr-ifunc.c: New file.
11940 * benchtests/bench-strchr.c: New file.
11941 * benchtests/bench-strchrnul-ifunc.c: New file.
11942 * benchtests/bench-strchrnul.c: New file.
11943 * benchtests/bench-strcmp-ifunc.c: New file.
11944 * benchtests/bench-strcmp.c: New file.
11945 * benchtests/bench-strcpy-ifunc.c: New file.
11946 * benchtests/bench-strcpy.c: New file.
11947 * benchtests/bench-strcspn-ifunc.c: New file.
11948 * benchtests/bench-strcspn.c: New file.
11949 * benchtests/bench-strlen-ifunc.c: New file.
11950 * benchtests/bench-strlen.c: New file.
11951 * benchtests/bench-strncasecmp-ifunc.c: New file.
11952 * benchtests/bench-strncasecmp.c: New file.
11953 * benchtests/bench-strncat-ifunc.c: New file.
11954 * benchtests/bench-strncat.c: New file.
11955 * benchtests/bench-strncmp-ifunc.c: New file.
11956 * benchtests/bench-strncmp.c: New file.
11957 * benchtests/bench-strncpy-ifunc.c: New file.
11958 * benchtests/bench-strncpy.c: New file.
11959 * benchtests/bench-strnlen-ifunc.c: New file.
11960 * benchtests/bench-strnlen.c: New file.
11961 * benchtests/bench-strpbrk-ifunc.c: New file.
11962 * benchtests/bench-strpbrk.c: New file.
11963 * benchtests/bench-strrchr-ifunc.c: New file.
11964 * benchtests/bench-strrchr.c: New file.
11965 * benchtests/bench-strspn-ifunc.c: New file.
11966 * benchtests/bench-strspn.c: New file.
11967 * benchtests/bench-strstr-ifunc.c: New file.
11968 * benchtests/bench-strstr.c: New file.
11969
c1f75dc3
SP
11970 * benchtests/Makefile: Disable parallel execution of targets.
11971 (string-bench): Add memcpy.
11972 (benchset): New variable to store a list of benchmark sets.
11973 (bench-func): Renamed from bench.
11974 (bench-set): New target.
11975 (bench): Depend on bench-func and bench-set.
11976 * benchtests/README: Add section on benchmark sets.
11977 * benchtests/bench-memcpy-ifunc.c: New file.
11978 * benchtests/bench-memcpy.c: New file.
11979 * benchtests/bench-string.h: New file.
11980
50fd745b
AS
119812013-06-11 Andreas Schwab <schwab@suse.de>
11982
11983 [BZ #15577]
11984 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
11985 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
11986 values in the triple.
11987 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
11988 terminator in the group key.
11989
3ee7e9fe
AJ
119902013-06-11 Andreas Jaeger <aj@suse.de>
11991
11992 * po/zh_TW.po: Update Chinese (traditional) translation from
11993 translation project.
11994
89fb6835
SP
119952013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
11996
11997 * include/time.h (__clock_gettime): Add libc_hidden_proto.
11998 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
11999 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
12000 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
12001 (clock_getcpuclockid): Likewise.
12002 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
12003 Add weak_alias and libc_hidden_def.
12004 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
12005 * rt/clock_gettime.c (clock_gettime): Rename to
12006 __clock_gettime. Add weak_alias and libc_hidden_def.
12007 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
12008 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
12009 __clock_nanosleep. Add weak_alias and libc_hidden_def.
12010 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
12011 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
12012 Likewise.
12013 * rt/clock_settime.c (clock_settime): Rename to
12014 __clock_settime. Add weak_alias and libc_hidden_def.
12015 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
12016
0efa6f8b
JM
120172013-06-10 Joseph Myers <joseph@codesourcery.com>
12018
b8c61b4b
JM
12019 * mach/err_boot.sub: Remove trailing whitespace.
12020 * mach/err_ipc.sub: Likewise.
12021 * mach/err_mach.sub: Likewise.
12022
0efa6f8b
JM
12023 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
12024 (ROUNDING_TESTS_double): Likewise.
12025 (ROUNDING_TESTS_long_double): Likewise.
12026 (ROUNDING_TESTS): Likewise.
12027 * math/libm-test.inc: Include <math-tests.h>.
12028 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
12029 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
12030 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
12031 (IF_ROUND_INIT_FE_UPWARD): Likewise.
12032
50b818bf
SP
120332013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
12034
12035 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
12036 of assigning.
12037
60d2f8f3
JM
120382013-06-08 Joseph Myers <joseph@codesourcery.com>
12039
4902d2c3
JM
12040 * sysdeps/gnu/errlist.awk: Do not generate space at end of
12041 otherwise empty TRANS lines.
12042 * sysdeps/gnu/errlist.c: Regenerated.
12043
60d2f8f3
JM
12044 * catgets/gencat.c (error_print): Use (void) in function
12045 definition.
12046 * crypt/crypt_util.c (__init_des): Likewise.
12047 * crypt/speeds.c (Stop): Likewise.
12048 (main): Likewise.
12049 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
12050 * inet/ruserpass.c (token): Likewise.
12051 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
12052 * intl/localealias.c (extend_alias_table): Likewise.
12053 * intl/plural-exp.c (init_germanic_plural): Likewise.
12054 * libio/fcloseall.c (__fcloseall): Likewise.
12055 * libio/genops.c (_IO_flush_all): Likewise.
12056 (_IO_flush_all_linebuffered): Likewise.
12057 (_IO_cleanup): Likewise.
12058 (_IO_iter_begin): Likewise.
12059 (_IO_iter_end): Likewise.
12060 (_IO_list_lock): Likewise.
12061 (_IO_list_unlock): Likewise.
12062 (_IO_list_resetlock): Likewise.
12063 * libio/getchar.c (getchar): Likewise.
12064 * libio/getchar_u.c (getchar_unlocked): Likewise.
12065 * libio/getwchar.c (getwchar): Likewise.
12066 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
12067 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
12068 * login/getpt.c (__getpt): Likewise.
12069 * login/tst-utmp.c (main): Likewise.
12070 * malloc/hooks.c (__malloc_check_init): Likewise.
12071 * malloc/malloc.c (__malloc_stats): Likewise.
12072 * malloc/mtrace.c (tr_break): Likewise.
12073 (mtrace): Likewise.
12074 (muntrace): Likewise.
12075 * misc/fstab.c (endfsent): Likewise.
12076 * misc/getclktck.c (__getclktck): Likewise.
12077 * misc/getdtsz.c (__getdtablesize): Likewise.
12078 * misc/gethostid.c (gethostid): Likewise.
12079 * misc/getpagesize.c (__getpagesize): Likewise.
12080 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
12081 (__get_nprocs): Likewise.
12082 (__get_phys_pages): Likewise.
12083 (__get_avphys_pages): Likewise.
12084 * misc/getttyent.c (getttyent): Likewise.
12085 (setttyent): Likewise.
12086 (endttyent): Likewise.
12087 * misc/getusershell.c (getusershell): Likewise.
12088 (endusershell): Likewise.
12089 (setusershell): Likewise.
12090 (initshells): Likewise.
12091 * misc/hsearch.c (__hdestroy): Likewise.
12092 * misc/sync.c (sync): Likewise.
12093 * misc/syslog.c (closelog_internal): Likewise.
12094 (closelog): Likewise.
12095 * misc/ttyslot.c (ttyslot): Likewise.
12096 * misc/vhangup.c (vhangup): Likewise.
12097 * posix/fork.c (__fork): Likewise.
12098 * posix/getegid.c (__getegid): Likewise.
12099 * posix/geteuid.c (__geteuid): Likewise.
12100 * posix/getgid.c (__getgid): Likewise.
12101 * posix/getpid.c (__getpid): Likewise.
12102 * posix/getppid.c (__getppid): Likewise.
12103 * posix/getuid.c (__getuid): Likewise.
12104 * posix/pause.c (pause): Likewise.
12105 * posix/setpgrp.c (setpgrp): Likewise.
12106 * posix/setsid.c (__setsid): Likewise.
12107 * posix/test-vfork.c (noop): Likewise.
12108 * resolv/gethnamaddr.c (_endhtent): Likewise.
12109 (_gethtent): Likewise.
12110 (ht_endhostent): Likewise.
12111 (gethostent): Likewise.
12112 (dns_service): Likewise.
12113 * stdlib/drand48.c (drand48): Likewise.
12114 * stdlib/lrand48.c (lrand48): Likewise.
12115 * stdlib/mrand48.c (mrand48): Likewise.
12116 * stdlib/rand.c (rand): Likewise.
12117 * stdlib/random.c (__random): Likewise.
12118 * stdlib/setenv.c (clearenv): Likewise.
12119 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
12120 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
12121 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
12122 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
12123 (__get_nprocs): Likewise.
12124 (__get_phys_pages): Likewise.
12125 (__get_avphys_pages): Likewise.
12126 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
12127 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
12128 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
12129 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
12130 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
12131 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
12132 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
12133 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
12134 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
12135 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
12136 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
12137 * sysdeps/mach/hurd/sync.c (sync): Likewise.
12138 * sysdeps/posix/clock.c (clock): Likewise.
12139 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
12140 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
12141 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
12142 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
12143 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
12144 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
12145 (__get_nprocs_conf): Likewise.
12146 (__get_phys_pages): Likewise.
12147 (__get_avphys_pages): Likewise.
12148 * time/clock.c (clock): Likewise.
12149 * time/tzset.c (__tzname_max): Likewise.
12150
2e09a79a
JM
121512013-06-07 Joseph Myers <joseph@codesourcery.com>
12152
12153 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
12154 (__bswap_32): Do not use "register".
12155 * crypt/crypt.c (_ufc_doit_r): Likewise.
12156 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
12157 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
12158 * gmon/gmon.c (__monstartup): Likewise.
12159 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
12160 * hurd/hurdmalloc.c (more_memory): Likewise.
12161 (malloc): Likewise.
12162 (free): Likewise.
12163 (realloc): Likewise.
12164 (malloc_fork_prepare): Likewise.
12165 (malloc_fork_parent): Likewise.
12166 (malloc_fork_child): Likewise.
12167 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
12168 (_svcauth_des): Likewise.
12169 * inet/inet_lnaof.c (inet_lnaof): Likewise.
12170 * inet/inet_net.c (inet_network): Likewise.
12171 * inet/inet_netof.c (inet_netof): Likewise.
12172 * inet/rcmd.c (__validuser2_sa): Likewise.
12173 * io/fts.c (fts_open): Likewise.
12174 (fts_load): Likewise.
12175 (fts_close): Likewise.
12176 (fts_read): Likewise.
12177 (fts_children): Likewise.
12178 (fts_build): Likewise.
12179 (fts_stat): Likewise.
12180 (fts_sort): Likewise.
12181 (fts_alloc): Likewise.
12182 (fts_lfree): Likewise.
12183 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
12184 (_IO_file_xsgetn): Likewise.
12185 (_IO_file_xsgetn_mmap): Likewise.
12186 * libio/iofopncook.c (_IO_cookie_read): Likewise.
12187 (_IO_cookie_write): Likewise.
12188 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
12189 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
12190 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
12191 * malloc/obstack.c (_obstack_begin): Likewise.
12192 (_obstack_begin_1): Likewise.
12193 (_obstack_newchunk): Likewise.
12194 (_obstack_allocated_p): Likewise.
12195 (obstack_free): Likewise.
12196 (_obstack_memory_used): Likewise.
12197 * misc/getttyent.c (getttynam): Likewise.
12198 (getttyent): Likewise.
12199 (skip): Likewise.
12200 (value): Likewise.
12201 * misc/getusershell.c (initshells): Likewise.
12202 * misc/syslog.c (__vsyslog_chk): Likewise.
12203 * misc/ttyslot.c (ttyslot): Likewise.
12204 * nis/nis_hash.c (__nis_hash): Likewise.
12205 * posix/fnmatch_loop.c (FCT): Likewise.
12206 * posix/getconf.c (print_all): Likewise.
12207 (main): Likewise.
12208 * posix/getopt.c (exchange): Likewise.
12209 * posix/glob.c (globfree): Likewise.
12210 (prefix_array): Likewise.
12211 (__glob_pattern_type): Likewise.
12212 * resolv/arpa/nameser.h (NS_GET16): Likewise.
12213 (NS_GET32): Likewise.
12214 (NS_PUT16): Likewise.
12215 (NS_PUT32): Likewise.
12216 * resolv/gethnamaddr.c (getanswer): Likewise.
12217 (gethostbyname2): Likewise.
12218 (gethostbyaddr): Likewise.
12219 (_gethtent): Likewise.
12220 (_gethtbyname2): Likewise.
12221 (_gethtbyaddr): Likewise.
12222 * resolv/ns_print.c (dst_s_get_int16): Likewise.
12223 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
12224 * resolv/res_init.c (__res_vinit): Likewise.
12225 (net_mask): Likewise.
12226 * resolv/res_mkquery.c (outchar): Likewise.
12227 (PRINT): Likewise.
12228 * stdio-common/printf_fp.c (outchar): Likewise.
12229 (PRINT): Likewise.
12230 * stdio-common/printf_fphex.c (outchar): Likewise.
12231 (PRINT): Likewise.
12232 * stdio-common/printf_size.c (outchar): Likewise.
12233 (PRINT): Likewise.
12234 * stdio-common/test_rdwr.c (main): Likewise.
12235 * stdio-common/tfformat.c (matches): Likewise.
12236 * stdio-common/vfprintf.c (outchar): Likewise.
12237 (printf_unknown): Likewise.
12238 (buffered_vfprintf): Likewise.
12239 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
12240 * stdio-common/xbug.c (AppendToBuffer): Likewise.
12241 (ReadFile): Likewise.
12242 * stdlib/qsort.c (SWAP): Likewise.
12243 (_quicksort): Likewise.
12244 * stdlib/setenv.c (__add_to_environ): Likewise.
12245 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12246 * stdlib/strtol_l.c (__strtol_l): Likewise.
12247 * stdlib/tst-strtod.c (main): Likewise.
12248 * stdlib/tst-strtol.c (main): Likewise.
12249 * stdlib/tst-strtoll.c (main): Likewise.
12250 * string/bits/string2.h (__strcmp_cc): Likewise.
12251 (__strcmp_cg): Likewise.
12252 (__strcspn_c1): Likewise.
12253 (__strcspn_c2): Likewise.
12254 (__strcspn_c3): Likewise.
12255 (__strspn_c1): Likewise.
12256 (__strspn_c2): Likewise.
12257 (__strspn_c3): Likewise.
12258 (__strsep_1c): Likewise.
12259 (__strsep_2c): Likewise.
12260 (__strsep_3c): Likewise.
12261 * string/memccpy.c (__memccpy): Likewise.
12262 * string/stpcpy.c (__stpcpy): Likewise.
12263 * string/strcmp.c (strcmp): Likewise.
12264 * string/strrchr.c (strrchr): Likewise.
12265 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
12266 Likewise.
12267 * sysdeps/mach/hurd/getcwd.c
12268 (_hurd_canonicalize_directory_name_internal): Likewise.
12269 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
12270 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
12271 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
12272 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
12273 Likewise, in both definitions.
12274 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
12275 definitions.
12276 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
12277 64] (__bswap_64): Likewise.
12278 * time/test_time.c (main): Likewise.
12279 * time/tzfile.c (__tzfile_read): Likewise.
12280 (__tzfile_compute): Likewise.
12281 * time/tzset.c (__tzset_parse_tz): Likewise.
12282 (tzset_internal): Likewise.
12283 (compute_change): Likewise.
12284 * wcsmbs/wcscat.c (__wcscat): Likewise.
12285 * wcsmbs/wcschr.c (wcschr): Likewise.
12286 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12287 * wcsmbs/wcscspn.c (wcscspn): Likewise.
12288 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12289 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
12290 * wcsmbs/wcsspn.c (wcsspn): Likewise.
12291 * wcsmbs/wcsstr.c (wcsstr): Likewise.
12292 * wcsmbs/wmemchr.c (wmemchr): Likewise.
12293 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12294 * wcsmbs/wmemset.c (wmemset): Likewise.
12295
9e54314b
JM
122962013-06-06 Joseph Myers <joseph@codesourcery.com>
12297
12298 * scripts/config.guess: Update to version 2013-05-16.
12299 * scripts/config.sub: Update to version 2013-04-24.
12300 * scripts/install-sh: Update to version 2011-11-20.07.
12301 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
12302 * scripts/move-if-change: Update to version 2012-01-06 07:23.
12303
350635a5
OB
123042013-06-06 Ondřej Bílka <neleai@seznam.cz>
12305
12306 * debug/fgetws_u_chk.c: Fix leading whitespaces.
12307 * elf/sln.c: Likewise.
12308 * hurd/hurd/ioctl.h: Likewise.
12309 * hurd/hurdmalloc.c: Likewise.
12310 * hurd/xattr.c: Likewise.
12311 * include/shlib-compat.h: Likewise.
12312 * inet/ruserpass.c: Likewise.
12313 * libio/iofgets_u.c: Likewise.
12314 * libio/iofgetws_u.c: Likewise.
12315 * locale/programs/ld-identification.c: Likewise.
12316 * locale/programs/ld-time.c: Likewise.
12317 * mach/msg-destroy.c: Likewise.
12318 * nss/nss_files/files-netgrp.c: Likewise.
12319 * resolv/res_data.c: Likewise.
12320 * soft-fp/op-1.h: Likewise.
12321 * soft-fp/op-2.h: Likewise.
12322 * soft-fp/op-4.h: Likewise.
12323 * soft-fp/op-common.h: Likewise.
12324 * stdio-common/printf_fphex.c: Likewise.
12325 * stdlib/strtod_l.c: Likewise.
12326 * sunrpc/rpc/clnt.h: Likewise.
12327 * sysdeps/generic/framestate.c: Likewise.
12328 * sysdeps/i386/bsd-_setjmp.S: Likewise.
12329 * sysdeps/i386/bsd-setjmp.S: Likewise.
12330 * sysdeps/i386/__longjmp.S: Likewise.
12331 * sysdeps/i386/setjmp.S: Likewise.
12332 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
12333 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
12334 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12335 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12336 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12337 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
12338 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
12339 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
12340 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
12341 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
12342 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
12343 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
12344 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
12345 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
12346 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
12347 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
12348 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
12349 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
12350 * sysdeps/ieee754/support.c: Likewise.
12351 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
12352 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
12353 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
12354 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
12355 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
12356 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
12357 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
12358 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
12359 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
12360 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
12361 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
12362 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
12363 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
12364 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
12365 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
12366 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
12367 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
12368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
12369
44a988af
OB
123702013-06-05 Ondřej Bílka <neleai@seznam.cz>
12371
25506f09 12372 * posix/transbug.c: Remove executable mode.
44a988af 12373
9c84384c
JM
123742013-06-05 Joseph Myers <joseph@codesourcery.com>
12375
12376 * crypt/speeds.c: Remove trailing whitespace.
12377 * dlfcn/default.c: Likewise.
12378 * elf/ifuncdep2.c: Likewise.
12379 * elf/ifuncmain1.c: Likewise.
12380 * elf/ifuncmain1vis.c: Likewise.
12381 * elf/testobj.h: Likewise.
12382 * elf/tst-stackguard1.c: Likewise.
12383 * gmon/sys/gmon.h: Likewise.
12384 * hurd/hurdmsg.c: Likewise.
12385 * hurd/new-fd.c: Likewise.
12386 * hurd/ports-get.c: Likewise.
12387 * iconvdata/ibm1008_420.c: Likewise.
12388 * inet/tst-getni1.c: Likewise.
12389 * inet/tst-getni2.c: Likewise.
12390 * libio/ioungetc.c: Likewise.
12391 * libio/wfiledoalloc.c: Likewise.
12392 * manual/libm-err-tab.pl: Likewise.
12393 * math/w_dremf.c: Likewise.
12394 * misc/ftruncate.c: Likewise.
12395 * posix/bug-glob2.c: Likewise.
12396 * posix/tst-pcre.c: Likewise.
12397 * posix/wait4.c: Likewise.
12398 * resolv/README: Likewise.
12399 * resolv/res_debug.h: Likewise.
12400 * resolv/tst-inet_ntop.c: Likewise.
12401 * setjmp/bug269-setjmp.c: Likewise.
12402 * soft-fp/extended.h: Likewise.
12403 * soft-fp/op-1.h: Likewise.
12404 * soft-fp/op-2.h: Likewise.
12405 * soft-fp/op-4.h: Likewise.
12406 * soft-fp/op-8.h: Likewise.
12407 * soft-fp/testit.c: Likewise.
12408 * stdio-common/bug16.c: Likewise.
12409 * stdlib/random.c: Likewise.
12410 * sunrpc/rpcsvc/rquota.x: Likewise.
12411 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
12412 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
12413 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
12414 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
12415 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
12416 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
12417 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
12418 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
12419 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
12420 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
12421 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
12422 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
12423 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
12424 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
12425 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
12426 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
12427 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
12428 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
12429 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
12430 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
12431 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
12432 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
12433 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
12434 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
12435 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
12436 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
12437 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
12438 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
12439 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
12440 * sysdeps/ieee754/s_lib_version.c: Likewise.
12441 * sysdeps/mach/hurd/check_fds.c: Likewise.
12442 * sysdeps/mach/hurd/getsockname.c: Likewise.
12443 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
12444 * sysdeps/mach/hurd/recvfrom.c: Likewise.
12445 * sysdeps/powerpc/bits/link.h: Likewise.
12446 * sysdeps/powerpc/dl-procinfo.c: Likewise.
12447 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
12448 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
12449 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
12450 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
12451 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
12452 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
12453 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
12454 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
12455 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
12456 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
12457 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
12458 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
12459 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
12460 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
12461 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
12462 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
12463 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
12464 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
12465 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
12466 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
12467 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
12468 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12469 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
12470 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
12471 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
12472 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
12473 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
12474 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
12475 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
12476 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
12477 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
12478 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12479 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
12480 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
12481 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
12482 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
12483 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
12484 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
12485 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
12486 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
12487 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
12488 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
12489 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
12490 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
12491 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
12492 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
12493 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
12494 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
12495 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
12496 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
12497 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
12498 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
12499 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
12500 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
12501 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
12502 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
12503 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12504 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
12505 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
12506 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
12507 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
12508 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
12509 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
12510 * sysdeps/powerpc/sysdep.h: Likewise.
12511 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
12512 * sysdeps/s390/s390-64/sub_n.S: Likewise.
12513 * sysdeps/sh/dl-trampoline.S: Likewise.
12514 * sysdeps/sh/memset.S: Likewise.
12515 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
12516 * sysdeps/sh/strlen.S: Likewise.
12517 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
12518 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
12519 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
12520 * sysdeps/sparc/sparc32/rem.S: Likewise.
12521 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
12522 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
12523 * sysdeps/sparc/sparc32/strchr.S: Likewise.
12524 * sysdeps/sparc/sparc32/udiv.S: Likewise.
12525 * sysdeps/sparc/sparc32/urem.S: Likewise.
12526 * sysdeps/sparc/sparc64/add_n.S: Likewise.
12527 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
12528 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
12529 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
12530 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
12531 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
12532 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
12533 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
12534 * sysdeps/unix/bsd/times.c: Likewise.
12535 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
12536 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
12537 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
12538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
12539 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12540 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
12541 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
12542 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
12543 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
12544 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
12545 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
12546 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
12547 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
12548 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
12549 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
12550 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
12551 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
12552 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
12553 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
12554 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
12555 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
12556 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
12557 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
12558 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
12559 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
12560 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
12561 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
12562 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
12563 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
12564 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
12565 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
12566 * sysdeps/x86_64/strcspn.S: Likewise.
12567
869378a5
RA
125682013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
12569
12570 * locale/C-translit.h: Revert #include <stdint.h> because this is a
12571 generated file. Regenerate properly from gen-translit.pl.
12572 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
12573 locale/C-translit.h.
12574
840e2943
AS
125752013-06-05 Andreas Schwab <schwab@suse.de>
12576
12577 [BZ #15100]
12578 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
12579 week as 6 instead of -1.
12580 * time/tst-strptime.c (day_tests): Add test case.
12581
4c60cb0c
SP
125822013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12583
12584 * sysdeps/generic/math_private.h
12585 (libc_feholdexcept_setround_53bit): Replace with
12586 libc_feholdsetround_53bit.
12587 (libc_feupdateenv_53bit): Replace with
12588 libc_feresetround_53bit.
12589 (SET_RESTORE_ROUND_53BIT): Adjust.
12590
d180203e
SP
125912013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
12592
96df079a
SP
12593 * string/test-strchrnul.c: Add copyright header.
12594
d180203e
SP
12595 * posix/tst-getaddrinfo4.c: Increase test timeout.
12596
8b0ccb2d
CD
125972013-06-03 Carlos O'Donell <carlos@redhat.com>
12598
12599 [BZ #15536]
12600 * math/libm-test.inc (MAX_EXP): Remove
12601 (MIN_EXP): Define.
12602 (ulp): Use MIN_EXP - MANT_DIG.
12603 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
12604
3b3c4d40
CD
126052013-05-31 Carlos O'Donell <carlos@redhat.com>
12606
12607 * po/be.po: Revert last change.
12608 * po/zh_CN.po: Likewise.
12609 * po/header.pot: Likewise.
12610
fab7ce3f
JM
126112013-05-31 Joseph Myers <joseph@codesourcery.com>
12612
12613 * Makefile ($(common-objpfx)linkobj/libc.so): Define
12614 link-libc-deps to empty as target-specific variable.
12615 * Makerules (link-libc-args): New variable.
12616 (libc-for-link): Likewise.
12617 (link-libc-deps): Likewise.
12618 (lib%.so): Depend on $(link-libc-deps). Link with
12619 $(link-libc-args).
12620 (build-module): Link with $(link-libc-args).
12621 (build-module-asneeded): Likewise.
12622 (build-module-helper-objlist): Filter out $(link-libc-deps) from
12623 list of objects.
12624 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
12625 target-specific variable.
12626 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
12627 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
12628 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
12629 libc.
12630 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
12631 libc and ld.so.
12632 ($(objpfx)libpcprofile.so): Likewise.
12633 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
12634 libc_nonshared.a.
12635 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
12636 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
12637 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
12638 $(link-libc-deps).
12639 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
12640 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
12641 * login/Makefile ($(objpfx)libutil.so): Likewise.
12642 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
12643 * math/Makefile ($(objpfx)libm.so): Likewise.
12644 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
12645 $(objpfx)libnsl.so): Define libc-for-link as target-specific
12646 variable instead of depending directly on libc.
12647 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
12648 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
12649 $(link-libc-deps).
12650 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
12651 libc.
12652 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
12653 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
12654 ($(objpfx)libanl.so): Likewise.
12655 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
12656 ld.so.
12657 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
12658 $(link-libc-deps).
12659 * sysdeps/i386/fpu/Makefile: Remove file.
12660 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
12661 ($(objpfx)libm.so): Remove dependency on ld.so.
12662
eca5920c
PF
126632013-05-30 Patsy Franklin <pfrankli@redhat.com>
12664
12665 [BZ # 15553]
12666 * nis/yp_xdr.c (XDRMAXNAME): Define.
12667 (XDRMAXRECORD): Define.
12668 (xdr_domainname): Use XDRMAXNAME.
12669 (xdr_mapname): Likewise.
12670 (xdr_peername): Likewise.
12671 (xdr_keydat): Use XDRMAXRECORD.
12672 (xdr_valdat): Likewise.
12673
126742013-05-30 Jeff Law <law@redhat.com>
96945714
JL
12675
12676 [BZ #14256]
12677 * manual/errno.texi (ESTALE): Update to account for more than
12678 just NFS file systems.
12679 * sysdeps/gnu/errlist.c: Regenerated.
12680
b9375348
SP
126812013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
12682
12683 [BZ #15465]
12684 * elf/Makefile (tests): Add tst-null-argv.
12685 (modules-names): Add tst-null-argv-lib.
12686 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
12687 (tst-null-argv-ENV): Set environment for tst-null-argv.
12688 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
12689 (RTLD_PROGNAME): New macro.
12690 * elf/tst-null-argv.c: New test case.
12691 * elf/tst-null-argv-lib.c: Library for test case.
12692 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
12693 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
12694 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
12695 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
12696 * elf/dl-init.c (call_init): Likewise.
12697 (_dl_init): Likewise.
12698 * elf/dl-load.c (print_search_path): Likewise.
12699 (_dl_map_object): Likewise.
12700 * elf/dl-lookup.c (do_lookup_x): Likewise.
12701 (add_dependency): Likewise.
12702 (_dl_lookup_symbol_x): Likewise.
12703 (_dl_debug_bindings): Likewise.
12704 * elf/dl-open.c (_dl_show_scope): Likewise.
12705 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
12706 * elf/dl-version.c (match_symbol): Likewise.
12707 (_dl_check_map_versions): Likewise.
12708 * elf/rtld.c (dl_main): Likewise.
12709 (print_unresolved): Use RTLD_PROGNAME.
12710 (print_missing_version): Likewise.
12711 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
12712 (elf_machine_rela): Likewise.
12713 * sysdeps/powerpc/powerpc32/dl-machine.c
12714 (__process_machine_rela): Likewise.
12715 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
12716 Likewise.
12717 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
12718 Likewise.
12719 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
12720 Likewise.
12721 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
12722 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
12723 Likewise.
12724 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
12725 Likewise.
12726 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
12727
8a9f20c8
CD
127282013-05-28 Carlos O'Donell <carlos@redhat.com>
12729
12730 * po/be.po: Add descriptive title.
12731 * po/zh_CN.po: Likewise.
12732 * po/header.pot: Likewise.
12733
0e60d68e
MF
127342013-05-28 Mike Frysinger <vapier@gentoo.org>
12735
12736 * locale/programs/locarchive.c (create_archive): Inlucde fname in
12737 error message.
12738 (enlarge_archive): Likewise.
12739
56b672e9
BN
127402013-05-28 Ben North <ben@redfrontdoor.org>
12741
12742 * manual/arith.texi (frexp): It is the magnitude of the return
12743 value which lies in [0.5, 1), not the return value itself.
12744
5e056687
AZ
127452013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12746
12747 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12748
2b66ef5d
TS
127492013-05-26 Thomas Schwinge <thomas@codesourcery.com>
12750
528c2405
TS
12751 * stdio-common/bug26.c (main): Correct fscanf template.
12752
07b4c13d
TS
12753 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
12754 declare _dl_skip_args.
12755
ec9dd97c
TS
12756 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
12757 Don't declare.
12758
2b66ef5d
TS
12759 * manual/platform.texi: Add missing @end deftypefun.
12760
4f8dfe27
JM
127612013-05-24 Joseph Myers <joseph@codesourcery.com>
12762
0323d086
JM
12763 [BZ #15529]
12764 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
12765 bit of mantissa of 2^16382.
12766 * math/libm-test.inc (hypot_test_data): Add more tests.
12767
dd4259b9
JM
12768 * math/libm-test.inc: Add drem and pow10 to list of tested
12769 functions.
12770 (pow10_test): New function.
12771 (drem_test): Likewise.
12772 (drem_test_tonearest): Likewise.
12773 (drem_test_towardzero): Likewise.
12774 (drem_test_downward): Likewise.
12775 (drem_test_upward): Likewise.
12776 (main): Call the new functions.
12777
4f8dfe27
JM
12778 * math/libm-test.inc (finite_test_data): Remove.
12779 (finite_test): Run tests from isfinite_test_data.
12780 (gamma_test_data): Remove.
12781 (gamma_test): Run tests from lgamma_test_data.
12782 * sysdeps/i386/fpu/libm-test-ulps: Update.
12783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12784
d116b7c4
AZ
127852013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
12786
12787 * manual/platform.texi: Add PowerPC PPR function set documentation.
12788 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
12789 implementation.
12790
e96e3767
CD
127912013-05-24 Carlos O'Donell <carlos@redhat.com>
12792
12793 * math/libm-test.inc (MAX_EXP): Define.
12794 (ULPDIFF): Define.
12795 (ulp): New function.
12796 (check_float_internal): Use ULPDIFF.
12797 (cpow_test): Disable failing test.
12798 (check_ulp): Test ulp() implemetnation.
12799 (main): Call check_ulp before starting tests.
12800
b679a606
JM
128012013-05-24 Joseph Myers <joseph@codesourcery.com>
12802
e8bdba36
JM
12803 * math/gen-libm-test.pl (generate_testfile): Do not handle
12804 START_DATA and END_DATA.
12805 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
12806 END_DATA.
12807 (acos_tonearest_test_data): Likewise.
12808 (acos_towardzero_test_data): Likewise.
12809 (acos_downward_test_data): Likewise.
12810 (acos_upward_test_data): Likewise.
12811 (acosh_test_data): Likewise.
12812 (asin_test_data): Likewise.
12813 (asin_tonearest_test_data): Likewise.
12814 (asin_towardzero_test_data): Likewise.
12815 (asin_downward_test_data): Likewise.
12816 (asin_upward_test_data): Likewise.
12817 (asinh_test_data): Likewise.
12818 (atan_test_data): Likewise.
12819 (atanh_test_data): Likewise.
12820 (atan2_test_data): Likewise.
12821 (cabs_test_data): Likewise.
12822 (cacos_test_data): Likewise.
12823 (cacosh_test_data): Likewise.
12824 (carg_test_data): Likewise.
12825 (casin_test_data): Likewise.
12826 (casinh_test_data): Likewise.
12827 (catan_test_data): Likewise.
12828 (catanh_test_data): Likewise.
12829 (cbrt_test_data): Likewise.
12830 (ccos_test_data): Likewise.
12831 (ccosh_test_data): Likewise.
12832 (ceil_test_data): Likewise.
12833 (cexp_test_data): Likewise.
12834 (cimag_test_data): Likewise.
12835 (clog_test_data): Likewise.
12836 (clog10_test_data): Likewise.
12837 (conj_test_data): Likewise.
12838 (copysign_test_data): Likewise.
12839 (cos_test_data): Likewise.
12840 (cos_tonearest_test_data): Likewise.
12841 (cos_towardzero_test_data): Likewise.
12842 (cos_downward_test_data): Likewise.
12843 (cos_upward_test_data): Likewise.
12844 (cosh_test_data): Likewise.
12845 (cosh_tonearest_test_data): Likewise.
12846 (cosh_towardzero_test_data): Likewise.
12847 (cosh_downward_test_data): Likewise.
12848 (cosh_upward_test_data): Likewise.
12849 (cpow_test_data): Likewise.
12850 (cproj_test_data): Likewise.
12851 (creal_test_data): Likewise.
12852 (csin_test_data): Likewise.
12853 (csinh_test_data): Likewise.
12854 (csqrt_test_data): Likewise.
12855 (ctan_test_data): Likewise.
12856 (ctan_tonearest_test_data): Likewise.
12857 (ctan_towardzero_test_data): Likewise.
12858 (ctan_downward_test_data): Likewise.
12859 (ctan_upward_test_data): Likewise.
12860 (ctanh_test_data): Likewise.
12861 (ctanh_tonearest_test_data): Likewise.
12862 (ctanh_towardzero_test_data): Likewise.
12863 (ctanh_downward_test_data): Likewise.
12864 (ctanh_upward_test_data): Likewise.
12865 (erf_test_data): Likewise.
12866 (erfc_test_data): Likewise.
12867 (exp_test_data): Likewise.
12868 (exp_tonearest_test_data): Likewise.
12869 (exp_towardzero_test_data): Likewise.
12870 (exp_downward_test_data): Likewise.
12871 (exp_upward_test_data): Likewise.
12872 (exp10_test_data): Likewise.
12873 (exp2_test_data): Likewise.
12874 (expm1_test_data): Likewise.
12875 (fabs_test_data): Likewise.
12876 (fdim_test_data): Likewise.
12877 (finite_test_data): Likewise.
12878 (floor_test_data): Likewise.
12879 (fma_test_data): Likewise.
12880 (fma_towardzero_test_data): Likewise.
12881 (fma_downward_test_data): Likewise.
12882 (fma_upward_test_data): Likewise.
12883 (fmax_test_data): Likewise.
12884 (fmin_test_data): Likewise.
12885 (fmod_test_data): Likewise.
12886 (fpclassify_test_data): Likewise.
12887 (frexp_test_data): Likewise.
12888 (gamma_test_data): Likewise.
12889 (hypot_test_data): Likewise.
12890 (ilogb_test_data): Likewise.
12891 (isfinite_test_data): Likewise.
12892 (isgreater_test_data): Likewise.
12893 (isgreaterequal_test_data): Likewise.
12894 (isinf_test_data): Likewise.
12895 (isless_test_data): Likewise.
12896 (islessequal_test_data): Likewise.
12897 (islessgreater_test_data): Likewise.
12898 (isnan_test_data): Likewise.
12899 (isnormal_test_data): Likewise.
12900 (issignaling_test_data): Likewise.
12901 (isunordered_test_data): Likewise.
12902 (j0_test_data): Likewise.
12903 (j1_test_data): Likewise.
12904 (jn_test_data): Likewise.
12905 (ldexp_test_data): Likewise.
12906 (lgamma_test_data): Likewise.
12907 (lrint_test_data): Likewise.
12908 (lrint_tonearest_test_data): Likewise.
12909 (lrint_towardzero_test_data): Likewise.
12910 (lrint_downward_test_data): Likewise.
12911 (lrint_upward_test_data): Likewise.
12912 (llrint_test_data): Likewise.
12913 (llrint_tonearest_test_data): Likewise.
12914 (llrint_towardzero_test_data): Likewise.
12915 (llrint_downward_test_data): Likewise.
12916 (llrint_upward_test_data): Likewise.
12917 (log_test_data): Likewise.
12918 (log10_test_data): Likewise.
12919 (log1p_test_data): Likewise.
12920 (log2_test_data): Likewise.
12921 (logb_test_data): Likewise.
12922 (logb_downward_test_data): Likewise.
12923 (lround_test_data): Likewise.
12924 (llround_test_data): Likewise.
12925 (modf_test_data): Likewise.
12926 (nearbyint_test_data): Likewise.
12927 (nextafter_test_data): Likewise.
12928 (nexttoward_test_data): Likewise.
12929 (pow_test_data): Likewise.
12930 (pow_tonearest_test_data): Likewise.
12931 (pow_towardzero_test_data): Likewise.
12932 (pow_downward_test_data): Likewise.
12933 (pow_upward_test_data): Likewise.
12934 (remainder_test_data): Likewise.
12935 (remainder_tonearest_test_data): Likewise.
12936 (remainder_towardzero_test_data): Likewise.
12937 (remainder_downward_test_data): Likewise.
12938 (remainder_upward_test_data): Likewise.
12939 (remquo_test_data): Likewise.
12940 (rint_test_data): Likewise.
12941 (rint_tonearest_test_data): Likewise.
12942 (rint_towardzero_test_data): Likewise.
12943 (rint_downward_test_data): Likewise.
12944 (rint_upward_test_data): Likewise.
12945 (round_test_data): Likewise.
12946 (scalb_test_data): Likewise.
12947 (scalbn_test_data): Likewise.
12948 (scalbln_test_data): Likewise.
12949 (signbit_test_data): Likewise.
12950 (sin_test_data): Likewise.
12951 (sin_tonearest_test_data): Likewise.
12952 (sin_towardzero_test_data): Likewise.
12953 (sin_downward_test_data): Likewise.
12954 (sin_upward_test_data): Likewise.
12955 (sincos_test_data): Likewise.
12956 (sinh_test_data): Likewise.
12957 (sinh_tonearest_test_data): Likewise.
12958 (sinh_towardzero_test_data): Likewise.
12959 (sinh_downward_test_data): Likewise.
12960 (sinh_upward_test_data): Likewise.
12961 (sqrt_test_data): Likewise.
12962 (tan_test_data): Likewise.
12963 (tan_tonearest_test_data): Likewise.
12964 (tan_towardzero_test_data): Likewise.
12965 (tan_downward_test_data): Likewise.
12966 (tan_upward_test_data): Likewise.
12967 (tanh_test_data): Likewise.
12968 (tgamma_test_data): Likewise.
12969 (trunc_test_data): Likewise.
12970 (y0_test_data): Likewise.
12971 (y1_test_data): Likewise.
12972 (yn_test_data): Likewise.
12973 (significand_test_data): Likewise.
12974
b679a606
JM
12975 * math/gen-libm-test.pl (@functions): Remove variable.
12976 (generate_testfile): Don't handle START and END lines.
12977 * math/libm-test.inc (START): New macro.
12978 (END): Likewise.
12979 (END_COMPLEX): Likewise.
12980 (acos_test): Use END macro without arguments.
12981 (acos_test_tonearest): Likewise.
12982 (acos_test_towardzero): Likewise.
12983 (acos_test_downward): Likewise.
12984 (acos_test_upward): Likewise.
12985 (acosh_test): Likewise.
12986 (asin_test): Likewise.
12987 (asin_test_tonearest): Likewise.
12988 (asin_test_towardzero): Likewise.
12989 (asin_test_downward): Likewise.
12990 (asin_test_upward): Likewise.
12991 (asinh_test): Likewise.
12992 (atan_test): Likewise.
12993 (atanh_test): Likewise.
12994 (atan2_test): Likewise.
12995 (cabs_test): Likewise.
12996 (cacos_test): Use END_COMPLEX macro without arguments.
12997 (cacosh_test): Likewise.
12998 (carg_test): Use END macro without arguments.
12999 (casin_test): Use END_COMPLEX macro without arguments.
13000 (casinh_test): Likewise.
13001 (catan_test): Likewise.
13002 (catanh_test): Likewise.
13003 (cbrt_test): Use END macro without arguments.
13004 (ccos_test): Use END_COMPLEX macro without arguments.
13005 (ccosh_test): Likewise.
13006 (ceil_test): Use END macro without arguments.
13007 (cexp_test): Use END_COMPLEX macro without arguments.
13008 (cimag_test): Use END macro without arguments.
13009 (clog_test): Use END_COMPLEX macro without arguments.
13010 (clog10_test): Likewise.
13011 (conj_test): Likewise.
13012 (copysign_test): Use END macro without arguments.
13013 (cos_test): Likewise.
13014 (cos_test_tonearest): Likewise.
13015 (cos_test_towardzero): Likewise.
13016 (cos_test_downward): Likewise.
13017 (cos_test_upward): Likewise.
13018 (cosh_test): Likewise.
13019 (cosh_test_tonearest): Likewise.
13020 (cosh_test_towardzero): Likewise.
13021 (cosh_test_downward): Likewise.
13022 (cosh_test_upward): Likewise.
13023 (cpow_test): Use END_COMPLEX macro without arguments.
13024 (cproj_test): Likewise.
13025 (creal_test): Use END macro without arguments.
13026 (csin_test): Use END_COMPLEX macro without arguments.
13027 (csinh_test): Likewise.
13028 (csqrt_test): Likewise.
13029 (ctan_test): Likewise.
13030 (ctan_test_tonearest): Likewise.
13031 (ctan_test_towardzero): Likewise.
13032 (ctan_test_downward): Likewise.
13033 (ctan_test_upward): Likewise.
13034 (ctanh_test): Likewise.
13035 (ctanh_test_tonearest): Likewise.
13036 (ctanh_test_towardzero): Likewise.
13037 (ctanh_test_downward): Likewise.
13038 (ctanh_test_upward): Likewise.
13039 (erf_test): Use END macro without arguments.
13040 (erfc_test): Likewise.
13041 (exp_test): Likewise.
13042 (exp_test_tonearest): Likewise.
13043 (exp_test_towardzero): Likewise.
13044 (exp_test_downward): Likewise.
13045 (exp_test_upward): Likewise.
13046 (exp10_test): Likewise.
13047 (exp2_test): Likewise.
13048 (expm1_test): Likewise.
13049 (fabs_test): Likewise.
13050 (fdim_test): Likewise.
13051 (finite_test): Likewise.
13052 (floor_test): Likewise.
13053 (fma_test): Likewise.
13054 (fma_test_towardzero): Likewise.
13055 (fma_test_downward): Likewise.
13056 (fma_test_upward): Likewise.
13057 (fmax_test): Likewise.
13058 (fmin_test): Likewise.
13059 (fmod_test): Likewise.
13060 (fpclassify_test): Likewise.
13061 (frexp_test): Likewise.
13062 (gamma_test): Likewise.
13063 (hypot_test): Likewise.
13064 (ilogb_test): Likewise.
13065 (isfinite_test): Likewise.
13066 (isgreater_test): Likewise.
13067 (isgreaterequal_test): Likewise.
13068 (isinf_test): Likewise.
13069 (isless_test): Likewise.
13070 (islessequal_test): Likewise.
13071 (islessgreater_test): Likewise.
13072 (isnan_test): Likewise.
13073 (isnormal_test): Likewise.
13074 (issignaling_test): Likewise.
13075 (isunordered_test): Likewise.
13076 (j0_test): Likewise.
13077 (j1_test): Likewise.
13078 (jn_test): Likewise.
13079 (ldexp_test): Likewise.
13080 (lgamma_test): Likewise.
13081 (lrint_test): Likewise.
13082 (lrint_test_tonearest): Likewise.
13083 (lrint_test_towardzero): Likewise.
13084 (lrint_test_downward): Likewise.
13085 (lrint_test_upward): Likewise.
13086 (llrint_test): Likewise.
13087 (llrint_test_tonearest): Likewise.
13088 (llrint_test_towardzero): Likewise.
13089 (llrint_test_downward): Likewise.
13090 (llrint_test_upward): Likewise.
13091 (log_test): Likewise.
13092 (log10_test): Likewise.
13093 (log1p_test): Likewise.
13094 (log2_test): Likewise.
13095 (logb_test): Likewise.
13096 (logb_test_downward): Likewise.
13097 (lround_test): Likewise.
13098 (llround_test): Likewise.
13099 (modf_test): Likewise.
13100 (nearbyint_test): Likewise.
13101 (nextafter_test): Likewise.
13102 (nexttoward_test): Likewise.
13103 (pow_test): Likewise.
13104 (pow_test_tonearest): Likewise.
13105 (pow_test_towardzero): Likewise.
13106 (pow_test_downward): Likewise.
13107 (pow_test_upward): Likewise.
13108 (remainder_test): Likewise.
13109 (remainder_test_tonearest): Likewise.
13110 (remainder_test_towardzero): Likewise.
13111 (remainder_test_downward): Likewise.
13112 (remainder_test_upward): Likewise.
13113 (remquo_test): Likewise.
13114 (rint_test): Likewise.
13115 (rint_test_tonearest): Likewise.
13116 (rint_test_towardzero): Likewise.
13117 (rint_test_downward): Likewise.
13118 (rint_test_upward): Likewise.
13119 (round_test): Likewise.
13120 (scalb_test): Likewise.
13121 (scalbn_test): Likewise.
13122 (scalbln_test): Likewise.
13123 (signbit_test): Likewise.
13124 (sin_test): Likewise.
13125 (sin_test_tonearest): Likewise.
13126 (sin_test_towardzero): Likewise.
13127 (sin_test_downward): Likewise.
13128 (sin_test_upward): Likewise.
13129 (sincos_test): Likewise.
13130 (sinh_test): Likewise.
13131 (sinh_test_tonearest): Likewise.
13132 (sinh_test_towardzero): Likewise.
13133 (sinh_test_downward): Likewise.
13134 (sinh_test_upward): Likewise.
13135 (sqrt_test): Likewise.
13136 (tan_test): Likewise.
13137 (tan_test_tonearest): Likewise.
13138 (tan_test_towardzero): Likewise.
13139 (tan_test_downward): Likewise.
13140 (tan_test_upward): Likewise.
13141 (tanh_test): Likewise.
13142 (tgamma_test): Likewise.
13143 (trunc_test): Likewise.
13144 (y0_test): Likewise.
13145 (y1_test): Likewise.
13146 (yn_test): Likewise.
13147 (significand_test): Likewise.
13148
bae143d2
OB
131492013-05-24 Ondřej Bílka <neleai@seznam.cz>
13150
13151 [BZ #15381]
13152 * libio/genops.c (_IO_no_init): Initialize wide struct info.
13153
9323d39b
EM
131542013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
13155
d4ea44a0 13156 [BZ #14894]
9323d39b
EM
13157 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
13158 __ppc_mdoio and __ppc_mdoom.
13159 * manual/platform.texi: Document new functions __ppc_yield,
13160 __ppc_mdoio and __ppc_mdoom.
13161
13e23af7
CD
131622013-05-22 Carlos O'Donell <carlos@redhat.com>
13163
13164 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
13165 (main): Mention "tls" pseudo-hwcap is legacy.
13166 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
13167
351fe550
JM
131682013-05-22 Joseph Myers <joseph@codesourcery.com>
13169
13170 * math/gen-libm-test.pl (parse_args): Output only string of
13171 arguments as text for test name, not full call or descriptions of
13172 tests for extra outputs.
13173 (generate_testfile): Do not pass function name to parse_args.
13174 Generate this_func variable from START.
13175 * math/libm-test.inc (struct test_f_f_data): Rename test_name
13176 field to arg_str.
13177 (struct test_ff_f_data): Likewise.
13178 (test_ff_f_data_nexttoward): Likewise.
13179 (struct test_fi_f_data): Likewise.
13180 (struct test_fl_f_data): Likewise.
13181 (struct test_if_f_data): Likewise.
13182 (struct test_fff_f_data): Likewise.
13183 (struct test_c_f_data): Likewise.
13184 (struct test_f_f1_data): Likewise. Remove field extra_name.
13185 (struct test_fF_f1_data): Likewise.
13186 (struct test_ffI_f1_data): Likewise.
13187 (struct test_c_c_data): Rename test_name field to arg_str.
13188 (struct test_cc_c_data): Likewise.
13189 (struct test_f_i_data): Likewise.
13190 (struct test_ff_i_data): Likewise.
13191 (struct test_f_l_data): Likewise.
13192 (struct test_f_L_data): Likewise.
13193 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
13194 and extra2_name.
13195 (COMMON_TEST_SETUP): New macro.
13196 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
13197 (COMMON_TEST_CLEANUP): Likewise.
13198 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
13199 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
13200 macros.
13201 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
13202 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
13203 macros.
13204 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
13205 (RUN_TEST_fff_f): Take argument string. Call new setup and
13206 cleanup macros.
13207 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
13208 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
13209 macros.
13210 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
13211 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
13212 macros.
13213 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13214 (RUN_TEST_fF_f1): Take argument string. Call new setup and
13215 cleanup macros.
13216 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13217 (RUN_TEST_fI_f1): Take argument string. Call new setup and
13218 cleanup macros.
13219 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13220 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
13221 cleanup macros.
13222 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13223 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
13224 macros.
13225 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
13226 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
13227 macros.
13228 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
13229 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
13230 macros.
13231 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
13232 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
13233 cleanup macros.
13234 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
13235 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
13236 cleanup macros.
13237 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
13238 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
13239 macros.
13240 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
13241 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
13242 cleanup macros.
13243 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
13244 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
13245 macros.
13246 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
13247 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
13248 macros.
13249 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
13250 (RUN_TEST_fFF_11): Take argument string. Call new setup and
13251 cleanup macros.
13252 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
13253
85118d4d
EBM
132542013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
13255
13256 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
13257 to _sifields.sigfault.
13258 (si_addr_lsb): Define new macro.
13259 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
13260 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
13261 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
13262
7a44c18f
CD
132632013-05-03 Carlos O'Donell <carlos at redhat.com>
13264
13265 [BZ #15441]
13266 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
13267 returns -1.
13268 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
13269 null return -1.
13270 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
13271 loading the domain.
13272
b50a7181
JM
132732013-05-22 Joseph Myers <joseph@codesourcery.com>
13274
13275 * math/gen-libm-test.pl (parse_args): Do not include expected
13276 result in test name.
13277 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
13278 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13279 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13280 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13281 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13282 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13283
051063c8
SP
132842013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
13285
3ce9e010
SP
13286 * benchtests/Makefile: Sort function entries.
13287
051063c8
SP
13288 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
13289 tanh, asinh, acosh, atanh.
13290 * benchtests/acos-inputs: New file.
13291 * benchtests/acosh-inputs: New file.
13292 * benchtests/asin-inputs: New file.
13293 * benchtests/asinh-inputs: New file.
13294 * benchtests/atanh-inputs: New file.
13295 * benchtests/cosh-inputs: New file.
13296 * benchtests/log-inputs: New file.
13297 * benchtests/sinh-inputs: New file.
13298 * benchtests/tanh-inputs: New file.
13299
47c22455
DL
133002013-05-21 Dmitry V. Levin <ldv@altlinux.org>
13301
13302 [BZ #15339]
13303 * posix/tst-getaddrinfo4.c: New test.
13304 * posix/Makefile (tests): Add it.
13305
3d04f5db
SP
133062013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13307
13308 [BZ #15339]
13309 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
13310 when no services were used.
13311 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
13312 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
13313
d5dd6189
AS
133142013-05-21 Andreas Schwab <schwab@suse.de>
13315
13316 [BZ #15014]
13317 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
13318 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
13319 successful.
13320 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
13321 redundant variable declarations and reallocation of buffer when
13322 parsing as IPv6 address. Always set NSS status when called from
13323 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
13324 buffer too small. Correct computation of needed size.
13325 * nss/Makefile (tests): Add test-digits-dots.
13326 * nss/test-digits-dots.c: New test.
13327
fef94eab
SP
133282013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
13329
13330 * benchtests/Makefile: Remove instructions for adding
13331 benchmark tests.
13332 * benchtests/README: New file to explain how to execute and
13333 enhance the benchmark tests.
13334
e39adf43
AS
133352013-05-21 Andreas Schwab <schwab@suse.de>
13336
13337 [BZ #15493]
13338 * setjmp/Makefile (tests): Add tst-sigsetjmp.
13339 * setjmp/tst-sigsetjmp.c: New test.
13340
b2b671b6
OB
133412013-05-20 Ondřej Bílka <neleai@seznam.cz>
13342
13343 * sysdeps/x86_64/memset.S (memset): New implementation.
13344 (__bzero): Likewise.
13345 (__memset_tail): New function.
13346
2d48b41c
OB
133472013-05-20 Ondřej Bílka <neleai@seznam.cz>
13348
13349 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
13350 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
13351 __memcpy_sse2_unaligned ifunc selection.
13352 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
13353 Add memcpy-sse2-unaligned.S.
13354 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
13355 Add: __memcpy_sse2_unaligned.
13356
f16cc3eb
JM
133572013-05-19 Joseph Myers <joseph@codesourcery.com>
13358
3e694268
JM
13359 [BZ #15490]
13360 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
13361 math_force_eval before restoring floating-point envrionment.
13362 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
13363 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
13364 Likewise.
13365 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
13366 <math_private.h>.
13367 (__nearbyintl): Use math_force_eval before restoring
13368 floating-point environment.
13369 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
13370
db62a907
JM
13371 * math/gen-libm-test.pl (special_functions): Remove.
13372 (parse_args): Don't handle TEST_extra. Handle functions with no
13373 return value.
13374 * math/libm-test.inc (struct test_sincos_data): Replace with
13375 struct test_fFF_11_data.
13376 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
13377 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
13378 (sincos_test_data): Change element type to struct
13379 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
13380 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
13381 RUN_TEST_LOOP_sincos.
13382 * math/README.libm-test: Don't mention special handling of
13383 individual functions.
13384 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
13385 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
13386 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
13387 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
13388 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
13389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13390
f16cc3eb
JM
13391 * math/gen-libm-test.pl (get_variable): Remove function.
13392 (parse_args): Don't show pointer parameters to call in test
13393 names. Use "extra output N" in test names for extra outputs
13394 rather than naming variables.
13395
3779b5b6
JM
133962013-05-18 Joseph Myers <joseph@codesourcery.com>
13397
2ee094ff
JM
13398 [BZ #15488]
13399 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
13400 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
13401 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
13402 double tests.
13403 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
13404 disable.
13405 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
13406 check_long_double.
13407
3779b5b6
JM
13408 * math/gen-libm-test.pl (@tests): Remove variable.
13409 ($count): Likewise.
13410 (new_test): Remove function.
13411 (show_exceptions): New function.
13412 (special_functions): Use show_exceptions instead of new_test.
13413 (parse_args): Likewise.
13414 (generate_testfile): Pass only function name in generated call to
13415 print_max_error or print_complex_max_error.
13416 (get_ulps): Do not handle complex tests specially.
13417 (output_test): Rename to ...
13418 (get_all_ulps_for_test): ... this. Return a string rather than
13419 printing to a file. Require ulps to be present.
13420 (output_ulps): Generate arrays rather than #defines.
13421 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
13422 (struct ulp_data): New type.
13423 (BUILD_COMPLEX_ULP): Remove macro.
13424 (compare_ulp_data): New function.
13425 (find_ulps): Likewise.
13426 (find_test_ulps): Likewise.
13427 (find_function_ulps): Likewise.
13428 (find_complex_function_ulps): Likewise.
13429 (print_max_error): Determine allowed ulps using
13430 find_function_ulps.
13431 (print_complex_max_error): Determine allowed ulps using
13432 find_complex_function_ulps.
13433 (check_float_internal): Determine max ulps using find_test_ulps.
13434 (check_float): Do not take max_ulp parameter. Update call to
13435 check_float_internal.
13436 (check_complex): Likewise.
13437 (check_int): Do not take max_ulp parameter.
13438 (check_long): Likewise.
13439 (check_bool): Likewise.
13440 (check_longlong): Likewise.
13441 (struct test_f_f_data): Remove max_ulp field.
13442 (struct test_ff_f_data): Likewise.
13443 (struct test_ff_f_data_nexttoward): Likewise.
13444 (struct test_fi_f_data): Likewise.
13445 (struct test_fl_f_data): Likewise.
13446 (struct test_if_f_data): Likewise.
13447 (struct test_fff_f_data): Likewise.
13448 (struct test_c_f_data): Likewise.
13449 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
13450 (struct test_fF_f1_data): Likewise.
13451 (struct test_ffI_f1_data): Likewise.
13452 (struct test_c_c_data): Remove max_ulp field.
13453 (struct test_cc_c_data): Likewise.
13454 (struct test_f_i_data): Likewise.
13455 (struct test_ff_i_data): Likewise.
13456 (struct test_f_l_data): Likewise.
13457 (struct test_f_L_data): Likewise.
13458 (struct test_sincos_data): Likewise.
13459 (RUN_TEST_f_f): Do not handle ulps.
13460 (RUN_TEST_LOOP_f_f): Likewise.
13461 (RUN_TEST_2_f): Likewise.
13462 (RUN_TEST_LOOP_2_f): Likewise.
13463 (RUN_TEST_fff_f): Likewise.
13464 (RUN_TEST_LOOP_fff_f): Likewise.
13465 (RUN_TEST_c_f): Likewise.
13466 (RUN_TEST_LOOP_c_f): Likewise.
13467 (RUN_TEST_f_f1): Likewise.
13468 (RUN_TEST_LOOP_f_f1): Likewise.
13469 (RUN_TEST_fF_f1): Likewise.
13470 (RUN_TEST_LOOP_fF_f1): Likewise.
13471 (RUN_TEST_fI_f1): Likewise.
13472 (RUN_TEST_LOOP_fI_f1): Likewise.
13473 (RUN_TEST_ffI_f1): Likewise.
13474 (RUN_TEST_LOOP_ffI_f1): Likewise.
13475 (RUN_TEST_c_c): Likewise.
13476 (RUN_TEST_LOOP_c_c): Likewise.
13477 (RUN_TEST_cc_c): Likewise.
13478 (RUN_TEST_LOOP_cc_c): Likewise.
13479 (RUN_TEST_f_i): Likewise.
13480 (RUN_TEST_LOOP_f_i): Likewise.
13481 (RUN_TEST_f_i_tg): Likewise.
13482 (RUN_TEST_LOOP_f_i_tg): Likewise.
13483 (RUN_TEST_ff_i_tg): Likewise.
13484 (RUN_TEST_LOOP_ff_i_tg): Likewise.
13485 (RUN_TEST_f_b): Likewise.
13486 (RUN_TEST_LOOP_f_b): Likewise.
13487 (RUN_TEST_f_b_tg): Likewise.
13488 (RUN_TEST_LOOP_f_b_tg): Likewise.
13489 (RUN_TEST_f_l): Likewise.
13490 (RUN_TEST_LOOP_f_l): Likewise.
13491 (RUN_TEST_f_L): Likewise.
13492 (RUN_TEST_LOOP_f_L): Likewise.
13493 (RUN_TEST_sincos): Likewise.
13494 (RUN_TEST_LOOP_sincos): Likewise.
13495
8269107f
JM
134962013-05-17 Joseph Myers <joseph@codesourcery.com>
13497
bb38759d
JM
13498 [BZ #15480]
13499 [BZ #15485]
13500 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
13501 main case of finite arguments, set rounding mode to FE_TONEAREST
13502 and discard exceptions.
13503 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
13504 exceptions.
13505 (remainder_tonearest_test_data): New variable.
13506 (remainder_test_tonearest): New function.
13507 (remainder_towardzero_test_data): New variable.
13508 (remainder_test_towardzero): New function.
13509 (remainder_downward_test_data): New variable.
13510 (remainder_test_downward): New function.
13511 (remainder_upward_test_data): New variable.
13512 (remainder_test_upward): New function.
13513 (main): Call the new test functions.
13514
a00bdcf0
JM
13515 * math/libm-test.inc (struct test_f_f1_data): Remove field
13516 extra_init.
13517 (struct test_fF_f1_data): Likewise.
13518 (struct test_ffI_f1_data): Likewise.
13519 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
13520 based on value of EXTRA_EXPECTED.
13521 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
13522 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
13523 EXTRA_VAR based on value of EXTRA_EXPECTED.
13524 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
13525 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
13526 EXTRA_VAR based on value of EXTRA_EXPECTED.
13527 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
13528 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
13529 EXTRA_VAR based on value of EXTRA_EXPECTED.
13530 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
13531 * math/gen-libm-test.pl (parse_args): Don't output initializers
13532 for extra output values.
13533
de407f79
JM
13534 * math/libm-test.inc (check_int): Expect result to be exactly
13535 equal to expected value and do not handle ulps.
13536 (check_long): Likewise.
13537 (check_longlong): Likewise.
13538
8269107f
JM
13539 * math/libm-test.inc (ceil_test_data): Test for "inexact"
13540 exceptions.
13541 (cimag_test_data): Likewise.
13542 (conj_test_data): Likewise.
13543 (copysign_test_data): Likewise.
13544 (cproj_test_data): Likewise.
13545 (creal_test_data): Likewise.
13546 (fabs_test_data): Likewise.
13547 (fdim_test_data): Likewise.
13548 (finite_test_data): Likewise.
13549 (floor_test_data): Likewise.
13550 (fmax_test_data): Likewise.
13551 (fmin_test_data): Likewise.
13552 (fmod_test_data): Likewise.
13553 (fpclassify_test_data): Likewise.
13554 (frexp_test_data): Likewise.
13555 (ilogb_test_data): Likewise.
13556 (isfinite_test_data): Likewise.
13557 (isgreater_test_data): Likewise.
13558 (isgreaterequal_test_data): Likewise.
13559 (isinf_test_data): Likewise.
13560 (isless_test_data): Likewise.
13561 (islessequal_test_data): Likewise.
13562 (islessgreater_test_data): Likewise.
13563 (isnan_test_data): Likewise.
13564 (isnormal_test_data): Likewise.
13565 (issignaling_test_data): Likewise.
13566 (isunordered_test_data): Likewise.
13567 (ldexp_test_data): Likewise.
13568 (lrint_test_data): Likewise.
13569 (lrint_test_data) [TEST_FLOAT]: Disable one test.
13570 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
13571 (lrint_tonearest_test_data): Test for "inexact" exceptions.
13572 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13573 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
13574 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13575 test input.
13576 (lrint_towardzero_test_data): Test for "inexact" exceptions.
13577 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13578 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
13579 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
13580 that test input.
13581 (lrint_downward_test_data): Test for "inexact" exceptions.
13582 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13583 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
13584 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
13585 test input.
13586 (lrint_upward_test_data): Test for "inexact" exceptions.
13587 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
13588 test input.
13589 (llrint_test_data): Test for "inexact" exceptions.
13590 (llrint_test_data) [TEST_FLOAT]: Disable one test.
13591 (llrint_tonearest_test_data): Test for "inexact" exceptions.
13592 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
13593 (llrint_towardzero_test_data): Test for "inexact" exceptions.
13594 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
13595 (llrint_downward_test_data): Test for "inexact" exceptions.
13596 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
13597 (llrint_upward_test_data): Test for "inexact" exceptions.
13598 (logb_test_data): Likewise.
13599 (logb_downward_test_data): Likewise.
13600 (nextafter_test_data): Likewise.
13601 (nexttoward_test_data): Likewise.
13602 (remainder_test_data): Likewise.
13603 (remquo_test_data): Likewise.
13604 (scalbn_test_data): Likewise.
13605 (scalbln_test_data): Likewise.
13606 (signbit_test_data): Likewise.
13607 (sqrt_test_data): Likewise.
13608 (significand_test_data): Likewise.
13609
48a18de1
SP
136102013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
13611
13612 [BZ #15424]
13613 * benchtests/bench-modf.c (struct args): Mark arg0 as
13614 volatile.
13615 * scripts/bench.pl: Mark members of struct args as volatile.
13616
13d3b41a
AZ
136172013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
13618
68191c1d 13619 [BZ # 15497]
13d3b41a
AZ
13620 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
13621 negative infinity on POWER6 or lower.
13622 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
13623
2848b105
MR
136242013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
13625
13626 [BZ #15442]
13627 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
13628 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
13629 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
13630 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
13631 (_FP_SETQNAN): New macro.
13632 (_FP_SETQNAN_SEMIRAW): Likewise.
13633 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
13634 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
13635 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
13636 (FP_EXTEND): Use _FP_FRAC_SNANP.
13637 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
13638 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
13639 into account.
13640 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13641 New macro.
13642 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
13643 Likewise.
13644
323e5cb7
JM
136452013-05-16 Joseph Myers <joseph@codesourcery.com>
13646
c58b274f
JM
13647 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
13648 with DIVIDE_BY_ZERO_EXCEPTION.
13649 (gamma_test_data): Likewise.
13650 (lgamma_test_data): Likewise.
13651 (log_test_data): Likewise.
13652 (log10_test_data): Likewise.
13653 (log2_test_data): Likewise.
13654 (tgamma_test_data): Likewise.
13655
0ab34904
JM
13656 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
13657 (acos_test_tonearest): Likewise.
13658 (acos_test_towardzero): Likewise.
13659 (acos_test_downward): Likewise.
13660 (acos_test_upward): Likewise.
13661 (acosh_test): Likewise.
13662 (asin_test): Likewise.
13663 (asin_test_tonearest): Likewise.
13664 (asin_test_towardzero): Likewise.
13665 (asin_test_downward): Likewise.
13666 (asin_test_upward): Likewise.
13667 (asinh_test): Likewise.
13668 (atan_test): Likewise.
13669 (atanh_test): Likewise.
13670 (atan2_test): Likewise.
13671 (cabs_test): Likewise.
13672 (cacos_test): Likewise.
13673 (cacosh_test): Likewise.
13674 (casin_test): Likewise.
13675 (casinh_test): Likewise.
13676 (catan_test): Likewise.
13677 (catanh_test): Likewise.
13678 (cbrt_test): Likewise.
13679 (ccos_test): Likewise.
13680 (ccosh_test): Likewise.
13681 (cexp_test): Likewise.
13682 (clog_test): Likewise.
13683 (clog10_test): Likewise.
13684 (cos_test): Likewise.
13685 (cos_test_tonearest): Likewise.
13686 (cos_test_towardzero): Likewise.
13687 (cos_test_downward): Likewise.
13688 (cos_test_upward): Likewise.
13689 (cosh_test): Likewise.
13690 (cosh_test_tonearest): Likewise.
13691 (cosh_test_towardzero): Likewise.
13692 (cosh_test_downward): Likewise.
13693 (cosh_test_upward): Likewise.
13694 (cpow_test): Likewise.
13695 (csin_test): Likewise.
13696 (csinh_test): Likewise.
13697 (csqrt_test): Likewise.
13698 (ctan_test): Likewise.
13699 (ctan_test_tonearest): Likewise.
13700 (ctan_test_towardzero): Likewise.
13701 (ctan_test_downward): Likewise.
13702 (ctan_test_upward): Likewise.
13703 (ctanh_test): Likewise.
13704 (ctanh_test_tonearest): Likewise.
13705 (ctanh_test_towardzero): Likewise.
13706 (ctanh_test_downward): Likewise.
13707 (ctanh_test_upward): Likewise.
13708 (erf_test): Likewise.
13709 (erfc_test): Likewise.
13710 (exp_test): Likewise.
13711 (exp_test_tonearest): Likewise.
13712 (exp_test_towardzero): Likewise.
13713 (exp_test_downward): Likewise.
13714 (exp_test_upward): Likewise.
13715 (exp10_test): Likewise.
13716 (exp2_test): Likewise.
13717 (expm1_test): Likewise.
13718 (fmod_test): Likewise.
13719 (gamma_test): Likewise.
13720 (hypot_test): Likewise.
13721 (j0_test): Likewise.
13722 (j1_test): Likewise.
13723 (jn_test): Likewise.
13724 (lgamma_test): Likewise.
13725 (log_test): Likewise.
13726 (log10_test): Likewise.
13727 (log1p_test): Likewise.
13728 (log2_test): Likewise.
13729 (logb_test_downward): Likewise.
13730 (pow_test): Likewise.
13731 (pow_test_tonearest): Likewise.
13732 (pow_test_towardzero): Likewise.
13733 (pow_test_downward): Likewise.
13734 (pow_test_upward): Likewise.
13735 (remainder_test): Likewise.
13736 (remquo_test): Likewise.
13737 (sin_test): Likewise.
13738 (sin_test_tonearest): Likewise.
13739 (sin_test_towardzero): Likewise.
13740 (sin_test_downward): Likewise.
13741 (sin_test_upward): Likewise.
13742 (sincos_test): Likewise.
13743 (sinh_test): Likewise.
13744 (sinh_test_tonearest): Likewise.
13745 (sinh_test_towardzero): Likewise.
13746 (sinh_test_downward): Likewise.
13747 (sinh_test_upward): Likewise.
13748 (sqrt_test): Likewise.
13749 (tan_test): Likewise.
13750 (tan_test_tonearest): Likewise.
13751 (tan_test_towardzero): Likewise.
13752 (tan_test_downward): Likewise.
13753 (tan_test_upward): Likewise.
13754 (tanh_test): Likewise.
13755 (tgamma_test): Likewise.
13756 (y0_test): Likewise.
13757 (y1_test): Likewise.
13758 (yn_test): Likewise.
13759
323e5cb7
JM
13760 * math/gen-libm-test.pl (adjust_arg): Remove function.
13761 (special_function): Remove argument $in_func. Only handle
13762 generating output for tables of tests, not inside functions.
13763 (parse_args): Likewise.
13764 (generate_testfile): Remove variable $in_func. Update call to
13765 parse_args.
13766 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
13767 (MINUS_ZERO_INIT): Rename macro to minus_zero.
13768 (PLUS_INFTY_INIT): Rename macro to plus_infty.
13769 (MINUS_INFTY_INIT): Rename macro to minus_infty.
13770 (QNAN_VALUE_INIT): Rename macro to qnan_value.
13771 (MAX_VALUE_INIT): Rename macro to max_value.
13772 (MIN_VALUE_INIT): Rename macro to min_value.
13773 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
13774 (plus_zero): Remove variable.
13775 (minus_zero): Likewise.
13776 (plus_infty): Likewise.
13777 (minus_infty): Likewise.
13778 (qnan_value): Likewise.
13779 (max_value): Likewise.
13780 (min_value): Likewise.
13781 (min_subnorm_value): Likewise.
13782
e054f494
RA
137832013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
13784
13785 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
13786 uint64_t or uint32_t usage.
13787 * crypt/sha256-block.c: Likewise.
13788 * crypt/sha256-crypt.c: Likewise.
13789 * crypt/sha256.c: Likewise.
13790 * crypt/sha512-block.c: Likewise.
13791 * crypt/sha512-crypt.c: Likewise.
13792 * crypt/sha512.c: Likewise.
13793 * debug/backtrace-tst.c: Likewise.
13794 * debug/pcprofiledump.c: Likewise.
13795 * elf/cache.c: Likewise.
13796 * elf/dl-cache.c: Likewise.
13797 * elf/dl-misc.c: Likewise.
13798 * elf/dl-profile.c: Likewise.
13799 * elf/dl-support.c: Likewise.
13800 * elf/ldconfig.c: Likewise.
13801 * elf/sprof.c: Likewise.
13802 * iconv/dummy-repertoire.c: Likewise.
13803 * iconv/iconv_charmap.c: Likewise.
13804 * iconv/skeleton.c: Likewise.
13805 * iconvdata/8bit-generic.c: Likewise.
13806 * iconvdata/cp737.h: Likewise.
13807 * iconvdata/cp775.h: Likewise.
13808 * iconvdata/ibm1008.h: Likewise.
13809 * iconvdata/ibm1025.h: Likewise.
13810 * iconvdata/ibm1046.h: Likewise.
13811 * iconvdata/ibm1097.h: Likewise.
13812 * iconvdata/ibm1112.h: Likewise.
13813 * iconvdata/ibm1122.h: Likewise.
13814 * iconvdata/ibm1123.h: Likewise.
13815 * iconvdata/ibm1124.h: Likewise.
13816 * iconvdata/ibm1129.h: Likewise.
13817 * iconvdata/ibm1130.h: Likewise.
13818 * iconvdata/ibm1132.h: Likewise.
13819 * iconvdata/ibm1133.h: Likewise.
13820 * iconvdata/ibm1137.h: Likewise.
13821 * iconvdata/ibm1140.h: Likewise.
13822 * iconvdata/ibm1141.h: Likewise.
13823 * iconvdata/ibm1142.h: Likewise.
13824 * iconvdata/ibm1143.h: Likewise.
13825 * iconvdata/ibm1144.h: Likewise.
13826 * iconvdata/ibm1145.h: Likewise.
13827 * iconvdata/ibm1146.h: Likewise.
13828 * iconvdata/ibm1147.h: Likewise.
13829 * iconvdata/ibm1148.h: Likewise.
13830 * iconvdata/ibm1149.h: Likewise.
13831 * iconvdata/ibm1153.h: Likewise.
13832 * iconvdata/ibm1154.h: Likewise.
13833 * iconvdata/ibm1155.h: Likewise.
13834 * iconvdata/ibm1156.h: Likewise.
13835 * iconvdata/ibm1157.h: Likewise.
13836 * iconvdata/ibm1158.h: Likewise.
13837 * iconvdata/ibm1160.h: Likewise.
13838 * iconvdata/ibm1161.h: Likewise.
13839 * iconvdata/ibm1162.h: Likewise.
13840 * iconvdata/ibm1163.h: Likewise.
13841 * iconvdata/ibm1164.h: Likewise.
13842 * iconvdata/ibm1166.h: Likewise.
13843 * iconvdata/ibm1167.h: Likewise.
13844 * iconvdata/ibm12712.h: Likewise.
13845 * iconvdata/ibm1390.h: Likewise.
13846 * iconvdata/ibm1399.h: Likewise.
13847 * iconvdata/ibm16804.h: Likewise.
13848 * iconvdata/ibm4517.h: Likewise.
13849 * iconvdata/ibm4899.h: Likewise.
13850 * iconvdata/ibm4909.h: Likewise.
13851 * iconvdata/ibm4971.h: Likewise.
13852 * iconvdata/ibm5347.h: Likewise.
13853 * iconvdata/ibm803.h: Likewise.
13854 * iconvdata/ibm856.h: Likewise.
13855 * iconvdata/ibm901.h: Likewise.
13856 * iconvdata/ibm902.h: Likewise.
13857 * iconvdata/ibm9030.h: Likewise.
13858 * iconvdata/ibm9066.h: Likewise.
13859 * iconvdata/ibm921.h: Likewise.
13860 * iconvdata/ibm922.h: Likewise.
13861 * iconvdata/ibm9448.h: Likewise.
13862 * iconvdata/isiri-3342.h: Likewise.
13863 * iconvdata/jis0201.h: Likewise.
13864 * include/link.h: Likewise.
13865 * include/netdb.h: Likewise.
13866 * inet/check_native.c: Likewise.
13867 * inet/check_pf.c: Likewise.
13868 * inet/getipv4sourcefilter.c: Likewise.
13869 * inet/getnameinfo.c: Likewise.
13870 * inet/getsourcefilter.c: Likewise.
13871 * inet/htonl.c: Likewise.
13872 * inet/setipv4sourcefilter.c: Likewise.
13873 * inet/setsourcefilter.c: Likewise.
13874 * inet/test-inet6_opt.c: Likewise.
13875 * inet/tst-network.c: Likewise.
13876 * locale/C-collate.c: Likewise.
13877 * locale/C-ctype.c: Likewise.
13878 * locale/C-time.c: Likewise.
13879 * locale/C-translit.h: Likewise.
13880 * locale/loadarchive.c: Likewise.
13881 * locale/programs/3level.h: Likewise.
13882 * locale/programs/charmap.c: Likewise.
13883 * locale/programs/charmap.h: Likewise.
13884 * locale/programs/ld-address.c: Likewise.
13885 * locale/programs/ld-collate.c: Likewise.
13886 * locale/programs/ld-ctype.c: Likewise.
13887 * locale/programs/ld-identification.c: Likewise.
13888 * locale/programs/ld-measurement.c: Likewise.
13889 * locale/programs/ld-messages.c: Likewise.
13890 * locale/programs/ld-monetary.c: Likewise.
13891 * locale/programs/ld-name.c: Likewise.
13892 * locale/programs/ld-numeric.c: Likewise.
13893 * locale/programs/ld-paper.c: Likewise.
13894 * locale/programs/ld-telephone.c: Likewise.
13895 * locale/programs/ld-time.c: Likewise.
13896 * locale/programs/linereader.c: Likewise.
13897 * locale/programs/locale.c: Likewise.
13898 * locale/programs/locarchive.c: Likewise.
13899 * locale/programs/locfile.h: Likewise.
13900 * locale/programs/repertoire.c: Likewise.
13901 * locale/programs/simple-hash.c: Likewise.
13902 * locale/programs/simple-hash.h: Likewise.
13903 * malloc/memusage.c: Likewise.
13904 * malloc/memusagestat.c: Likewise.
13905 * nis/nis_defaults.c: Likewise.
13906 * nis/nis_hash.c: Likewise.
13907 * nis/nis_print.c: Likewise.
13908 * nis/nis_xdr.c: Likewise.
13909 * nscd/connections.c: Likewise.
13910 * nscd/hstcache.c: Likewise.
13911 * nscd/nscd_gethst_r.c: Likewise.
13912 * nscd/nscd_getserv_r.c: Likewise.
13913 * nscd/nscd_helper.c: Likewise.
13914 * nscd/servicescache.c: Likewise.
13915 * nss/makedb.c: Likewise.
13916 * nss/nss_db/db-XXX.c: Likewise.
13917 * nss/nss_db/db-initgroups.c: Likewise.
13918 * nss/nss_db/db-netgrp.c: Likewise.
13919 * nss/nss_files/files-network.c: Likewise.
13920 * nss/nss_files/files-parse.c: Likewise.
13921 * posix/bug-regex5.c: Likewise.
13922 * posix/fnmatch_loop.c: Likewise.
13923 * posix/regcomp.c: Likewise.
13924 * posix/regexec.c: Likewise.
13925 * posix/tst-rfc3484-2.c: Likewise.
13926 * posix/tst-rfc3484-3.c: Likewise.
13927 * posix/tst-rfc3484.c: Likewise.
13928 * resolv/nss_dns/dns-canon.c: Likewise.
13929 * resolv/nss_dns/dns-network.c: Likewise.
13930 * resolv/res_init.c: Likewise.
13931 * resolv/res_mkquery.c: Likewise.
13932 * resolv/tst-aton.c: Likewise.
13933 * stdlib/cxa_atexit.c: Likewise.
13934 * stdlib/cxa_finalize.c: Likewise.
13935 * stdlib/gen-fpioconst.c: Likewise.
13936 * stdlib/strtol_l.c: Likewise.
13937 * string/tst-endian.c: Likewise.
13938 * sunrpc/auth_des.c: Likewise.
13939 * sunrpc/clnt_udp.c: Likewise.
13940 * sunrpc/rtime.c: Likewise.
13941 * sunrpc/svcauth_des.c: Likewise.
13942 * sunrpc/xdr.c: Likewise.
13943 * sunrpc/xdr_intXX_t.c: Likewise.
13944 * sunrpc/xdr_rec.c: Likewise.
13945 * sysdeps/generic/ldconfig.h: Likewise.
13946 * sysdeps/generic/ldsodefs.h: Likewise.
13947 * sysdeps/generic/memusage.h: Likewise.
13948 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
13949 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
13950 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
13951 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
13952 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
13953 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
13954 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
13955 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
13956 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
13957 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13958 * sysdeps/posix/getaddrinfo.c: Likewise.
13959 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
13960 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
13961 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
13962 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
13963 * sysdeps/powerpc/test-gettimebase.c: Likewise.
13964 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
13965 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
13966 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
13967 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
13968 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
13969 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
13970 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
13971 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
13972 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
13973 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
13974 * sysdeps/x86_64/dl-tls.h: Likewise.
13975 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
13976 * time/alt_digit.c: Likewise.
13977 * time/era.c: Likewise.
13978 * wcsmbs/tst-c16c32-1.c: Likewise.
13979
8c75f674
JM
139802013-05-16 Joseph Myers <joseph@codesourcery.com>
13981
13982 * math/libm-test.inc (struct test_sincos_data): New type.
13983 (RUN_TEST_LOOP_sincos): New macro.
13984 (sincos_test_data): New variable.
13985 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
13986
e6e49e59
RH
139872013-05-16 Richard Henderson <rth@redhat.com>
13988
13989 * math/atest-exp2.c (LIMB64): New macro.
13990 (CONSTSZ): New macro.
13991 (mp_exp1, mp_exp_m1, mp_log2): New variables.
13992 (hexdig): Move ...
13993 (print_mpn_fp): ... to function scope.
13994 (read_mpn_hex): Remove.
13995 (get_log2): Remove.
13996 (exp2_mpn): Use mp_log2.
13997 (main): Use mp_exp1.
13998
15c7c18d
JM
139992013-05-16 Joseph Myers <joseph@codesourcery.com>
14000
105a07df
JM
14001 * math/libm-test.inc: Remove comment about not testing "inexact"
14002 exceptions.
14003 (INEXACT_EXCEPTION): New macro.
14004 (NO_INEXACT_EXCEPTION): Likewise.
14005 (INVALID_EXCEPTION_OK): Update value.
14006 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
14007 (OVERFLOW_EXCEPTION_OK): Likewise.
14008 (UNDERFLOW_EXCEPTION_OK): Likewise.
14009 (IGNORE_ZERO_INF_SIGN): Likewise.
14010 (ERRNO_UNCHANGED): Likewise.
14011 (ERRNO_EDOM): Likewise.
14012 (ERRNO_ERANGE): Likewise.
14013 (test_exceptions): Handle testing "inexact" exceptions.
14014 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
14015 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
14016 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
14017 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
14018 INEXACT_EXCEPTION.
14019 (rint_towardzero_test_data): Likewise.
14020 (rint_downward_test_data): Likewise.
14021 (rint_upward_test_data): Likewise.
14022
e9eee333
JM
14023 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
14024 with OVERFLOW_EXCEPTION.
14025 (exp10_test_data): Likewise.
14026 (exp2_test_data): Likewise.
14027 (expm1_test_data): Likewise.
14028 (lgamma_test_data): Likewise.
14029 (pow_test_data): Likewise.
14030 (tgamma_test_data): Likewise.
14031 (yn_test_data): Remove duplicate test of overflow.
14032
1c38ff73
JM
14033 * math/libm-test.inc (struct test_cc_c_data): New type.
14034 (RUN_TEST_LOOP_cc_c): New macro.
14035 (cpow_test_data): New variable.
14036 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
14037
15c7c18d
JM
14038 * math/libm-test.inc (struct test_f_L_data): New type.
14039 (RUN_TEST_LOOP_f_L): New macro.
14040 (llrint_test_data): New variable.
14041 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
14042 (llrint_tonearest_test_data): New variable.
14043 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
14044 (llrint_towardzero_test_data): New variable.
14045 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
14046 (llrint_downward_test_data): New variable.
14047 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
14048 (llrint_upward_test_data): New variable.
14049 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
14050 (llround_test_data): New variable.
14051 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
14052
f137ff13
PC
140532013-05-13 Peter Collingbourne <pcc@google.com>
14054
14055 * math/atest-exp2.c (get_log2): Remove const attribute.
14056
3608cb24
JM
140572013-05-15 Joseph Myers <joseph@codesourcery.com>
14058
14059 * math/libm-test.inc (struct test_f_l_data): New type.
14060 (RUN_TEST_LOOP_f_l): New macro.
14061 (lrint_test_data): New variable.
14062 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
14063 (lrint_tonearest_test_data): New variable.
14064 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
14065 (lrint_towardzero_test_data): New variable.
14066 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
14067 (lrint_downward_test_data): New variable.
14068 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
14069 (lrint_upward_test_data): New variable.
14070 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
14071 (lround_test_data): New variable.
14072 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
14073
39b1f617
PC
140742013-05-15 Peter Collingbourne <pcc@google.com>
14075
1deff3dc
PC
14076 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
14077 (EXTRACT_WORDS64) Use where appropriate.
14078 (INSERT_WORDS64) Likewise.
14079
791f3ba0
PC
14080 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
14081 constraints with x constraints.
14082 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
14083
39b1f617
PC
14084 * malloc/obstack.c (_obstack_compat): Add initializer.
14085
12fba011
EM
140862013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
14087
14088 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
14089 si_trapno and add si_addr_lsb to _sifields.sigfault.
14090 (si_trapno): Remove macro.
14091 (si_addr_lsb): Define new macro.
14092 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14093
d369f531
JM
140942013-05-15 Joseph Myers <joseph@codesourcery.com>
14095
b861c6c4
JM
14096 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
14097 instead of TEST_f_l.
14098 (llrint_test_tonearest): Likewise.
14099 (llrint_test_towardzero): Likewise.
14100 (llrint_test_downward): Likewise.
14101 (llrint_test_upward): Likewise.
14102 (llround_test): Likewise.
14103
7abeee12
JM
14104 * math/libm-test.inc (struct test_f_i_data): Add comment.
14105 (RUN_TEST_LOOP_f_b): New macro.
14106 (RUN_TEST_LOOP_f_b_tg): Likewise.
14107 (finite_test_data): New variable.
14108 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
14109 (isfinite_test_data): New variable.
14110 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14111 (isinf_test_data): New variable.
14112 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14113 (isnan_test_data): New variable.
14114 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14115 (isnormal_test_data): New variable.
14116 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14117 (issignaling_test_data): New variable.
14118 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14119 (signbit_test_data): New variable.
14120 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
14121
cbe8c4d3
JM
14122 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
14123 with INVALID_EXCEPTION.
14124 (acosh_test_data): Likewise.
14125 (asin_test_data): Likewise.
14126 (atanh_test_data): Likewise.
14127 (fmod_test_data): Likewise.
14128 (log_test_data): Likewise.
14129 (log10_test_data): Likewise.
14130 (log2_test_data): Likewise.
14131 (pow_test_data): Likewise.
14132 (sqrt_test_data): Likewise.
14133 (y0_test_data): Likewise.
14134 (y1_test_data): Likewise.
14135 (yn_test_data): Likewise.
14136
5575c0e5
JM
14137 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
14138 function contents.
14139
d369f531
JM
14140 * math/libm-test.inc (struct test_ff_i_data): New type.
14141 (RUN_TEST_LOOP_ff_i_tg): New macro.
14142 (isgreater_test_data): New variable.
14143 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14144 (isgreaterequal_test_data): New variable.
14145 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14146 (isless_test_data): New variable.
14147 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14148 (islessequal_test_data): New variable.
14149 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14150 (islessgreater_test_data): New variable.
14151 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14152 (isunordered_test_data): New variable.
14153 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
14154
781fd748
DM
141552013-05-14 David S. Miller <davem@davemloft.net>
14156
14157 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14158
87aa21df
JM
141592013-05-14 Joseph Myers <joseph@codesourcery.com>
14160
5e908270
JM
14161 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
14162
f71172e5
JM
14163 * math/libm-test.inc (struct test_fF_f1_data): Change type of
14164 extra_test to int.
14165 (struct test_f_i_data): Change type of max_ulp to int.
14166
8cfa635a
JM
14167 * math/libm-test.inc (test_ffI_f1_data): New type.
14168 (RUN_TEST_LOOP_ffI_f1): New macro.
14169 (remquo_test_data): New variable.
14170 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
14171
2bcb36b2
JM
14172 * setjmp/tst-setjmp-fp.c: New file.
14173 * setjmp/Makefile (tests): Add tst-setjmp-fp.
14174 (link-libm): New variable.
14175 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
14176
acbd839a
JM
14177 * math/libm-test.inc (struct test_f_i_data): New type.
14178 (RUN_TEST_LOOP_f_i): New macro.
14179 (RUN_TEST_LOOP_f_i_tg): Likewise.
14180 (fpclassify_test_data): New variable.
14181 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
14182 (ilogb_test_data): New variable.
14183 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
14184
e414d745
JM
14185 * math/libm-test.inc (scalbln_test): Correct function name in END
14186 call.
14187
d9c2a0fd
JM
14188 * math/libm-test.inc (struct test_f_f1_data): Add comment.
14189 (RUN_TEST_LOOP_fI_f1): New macro.
14190 (frexp_test_data): New variable.
14191 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
14192
9dc9095d
JM
14193 * math/libm-test.inc (struct test_fF_f1_data): New type.
14194 (RUN_TEST_LOOP_fF_f1): New macro.
14195 (modf_test_data): New variable.
14196 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
14197
87aa21df
JM
14198 * math/libm-test.inc (struct test_f_f1_data): New type.
14199 (RUN_TEST_LOOP_f_f1): New macro.
14200 (gamma_test_data): New variable.
14201 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14202 (lgamma_test_data): New variable.
14203 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
14204
141af660
CD
142052013-05-13 Carlos O'Donell <carlos@redhat.com>
14206
14207 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
14208 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
14209 (main): Comment "tls" pseudo-hwcap.
14210
6d33265c
JM
142112013-05-13 Joseph Myers <joseph@codesourcery.com>
14212
68fc074c
JM
14213 * math/libm-test.inc (struct test_fl_f_data): New type.
14214 (RUN_TEST_LOOP_fl_f): New variable.
14215 (scalbln_test_data): New variable.
14216 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
14217
243216e1
JM
14218 * math/libm-test.inc (struct test_fi_f_data): New type.
14219 (RUN_TEST_LOOP_fi_f): New macro.
14220 (ldexp_test_data): New variable.
14221 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
14222 (scalbn_test_data): New variable.
14223 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
14224
6a1992e2
JM
14225 * math/libm-test.inc (struct test_c_f_data): New type.
14226 (RUN_TEST_LOOP_c_f): New macro.
14227 (cabs_test_data): New variable.
14228 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
14229 (carg_test_data): New variable.
14230 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
14231 (cimag_test_data): New variable.
14232 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
14233 (creal_test_data): New variable.
14234 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
14235
0e400df5
JM
14236 * math/libm-test.inc (struct test_if_f_data): New type.
14237 (RUN_TEST_LOOP_if_f): New macro.
14238 (jn_test_data): New variable.
14239 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
14240 (yn_test_data): New variable.
14241 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
14242
6d33265c
JM
14243 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
14244
f98ece5f
AZ
142452013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14246
14247 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
14248 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
14249
0f7d347b
SP
142502013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
14251
43fe811b
SP
14252 * benchtests/Makefile (CPPFLAGS-nonlib): Add
14253 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
14254 (bench-deps): Add bench-timing.h.
14255 * benchtests-bench-skeleton.c: Include bench-timing.h.
14256 (main): Use TIMING_* macros instead of clock_gettime.
14257 * benchtests/bench-timing.h: New file.
14258
0f7d347b
SP
14259 [BZ #14582]
14260 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
14261 Renamed from _LIB_VERSION.
14262 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
14263
601a3a5f
JM
142642013-05-12 Joseph Myers <joseph@codesourcery.com>
14265
4f184d30
JM
14266 * math/libm-test.inc (struct test_fff_f_data): New type.
14267 (RUN_TEST_LOOP_fff_f): New macro.
14268 (fma_test_data): New variable.
14269 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
14270 (fma_towardzero_test_data): New variable.
14271 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
14272 (fma_downward_test_data): New variable.
14273 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
14274 (fma_upward_test_data): New variable.
14275 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
14276
08198877
JM
14277 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
14278 (struct test_c_c_data): New type.
14279 (RUN_TEST_LOOP_c_c): New macro.
14280 (cacos_test_data): New variable.
14281 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
14282 (cacosh_test_data): New variable.
14283 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
14284 (casin_test_data): New variable.
14285 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
14286 (casinh_test_data): New variable.
14287 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
14288 (catan_test_data): New variable.
14289 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
14290 (catanh_test_data): New variable.
14291 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
14292 (ccos_test_data): New variable.
14293 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
14294 (ccosh_test_data): New variable.
14295 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
14296 (cexp_test_data): New variable.
14297 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
14298 (clog_test_data): New variable.
14299 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
14300 (clog10_test_data): New variable.
14301 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
14302 (conj_test_data): New variable.
14303 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
14304 (cproj_test_data): New variable.
14305 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
14306 (csin_test_data): New variable.
14307 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
14308 (csinh_test_data): New variable.
14309 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
14310 (csqrt_test_data): New variable.
14311 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
14312 (ctan_test_data): New variable.
14313 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
14314 (ctan_tonearest_test_data): New variable.
14315 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14316 (ctan_towardzero_test_data): New variable.
14317 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14318 (ctan_downward_test_data): New variable.
14319 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14320 (ctan_upward_test_data): New variable.
14321 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14322 (ctanh_test_data): New variable.
14323 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
14324 (ctanh_tonearest_test_data): New variable.
14325 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
14326 (ctanh_towardzero_test_data): New variable.
14327 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
14328 (ctanh_downward_test_data): New variable.
14329 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
14330 (ctanh_upward_test_data): New variable.
14331 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
14332 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
14333 of BUILD_COMPLEX.
14334
601a3a5f
JM
14335 * math/libm-test.inc (struct test_ff_f_data): New type.
14336 (struct test_ff_f_data_nexttoward): Likewise.
14337 (RUN_TEST_LOOP_2_f): New macro.
14338 (RUN_TEST_LOOP_ff_f): Likewise.
14339 (atan2_test_data): New variable.
14340 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
14341 (copysign_test_data): New variable.
14342 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
14343 (fdim_test_data): New variable.
14344 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
14345 (fmax_test_data): New variable.
14346 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
14347 (fmin_test_data): New variable.
14348 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
14349 (fmod_test_data): New variable.
14350 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
14351 (hypot_test_data): New variable.
14352 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
14353 (nextafter_test_data): New variable.
14354 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
14355 (nexttoward_test_data): New variable.
14356 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
14357 (pow_test_data): New variable.
14358 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
14359 (pow_tonearest_test_data): New variable.
14360 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
14361 (pow_towardzero_test_data): New variable.
14362 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
14363 (pow_downward_test_data): New variable.
14364 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
14365 (pow_upward_test_data): New variable.
14366 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
14367 (remainder_test_data): New variable.
14368 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
14369 (scalb_test_data): New variable.
14370 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
14371 * sysdeps/i386/fpu/libm-test-ulps: Update.
14372
74c57478
JM
143732013-05-11 Joseph Myers <joseph@codesourcery.com>
14374
8329e4da
JM
14375 * math/libm-test.inc (fma_test): Use max_value instead of local
14376 variable fltmax.
14377 (nextafter_test): Likewise.
14378
74c57478
JM
14379 * math/libm-test.inc (acos_towardzero_test_data): New variable.
14380 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14381 (acos_downward_test_data): New variable.
14382 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14383 (acos_upward_test_data): New variable.
14384 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14385 (acosh_test_data): New variable.
14386 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
14387 (asin_test_data): New variable.
14388 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
14389 (asin_tonearest_test_data): New variable.
14390 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14391 (asin_towardzero_test_data): New variable.
14392 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14393 (asin_downward_test_data): New variable.
14394 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14395 (asin_upward_test_data): New variable.
14396 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14397 (asinh_test_data): New variable.
14398 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
14399 (atan_test_data): New variable.
14400 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
14401 (atanh_test_data): New variable.
14402 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
14403 (cbrt_test_data): New variable.
14404 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
14405 (ceil_test_data): New variable.
14406 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
14407 (cos_test_data): New variable.
14408 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
14409 (cos_tonearest_test_data): New variable.
14410 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14411 (cos_towardzero_test_data): New variable.
14412 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14413 (cos_downward_test_data): New variable.
14414 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14415 (cos_upward_test_data): New variable.
14416 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14417 (cosh_test_data): New variable.
14418 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
14419 (cosh_tonearest_test_data): New variable.
14420 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14421 (cosh_towardzero_test_data): New variable.
14422 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14423 (cosh_downward_test_data): New variable.
14424 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14425 (cosh_upward_test_data): New variable.
14426 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14427 (erf_test_data): New variable.
14428 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
14429 (erfc_test_data): New variable.
14430 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
14431 (exp_test_data): New variable.
14432 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
14433 (exp_tonearest_test_data): New variable.
14434 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14435 (exp_towardzero_test_data): New variable.
14436 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14437 (exp_downward_test_data): New variable.
14438 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14439 (exp_upward_test_data): New variable.
14440 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14441 (exp10_test_data): New variable.
14442 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
14443 (exp2_test_data): New variable.
14444 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
14445 (expm1_test_data): New variable.
14446 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
14447 (fabs_test_data): New variable.
14448 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
14449 (floor_test_data): New variable.
14450 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
14451 (j0_test_data): New variable.
14452 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
14453 (j1_test_data): New variable.
14454 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
14455 (log_test_data): New variable.
14456 (log_test): Run tests with RUN_TEST_LOOP_f_f.
14457 (log10_test_data): New variable.
14458 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
14459 (log1p_test_data): New variable.
14460 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
14461 (log2_test_data): New variable.
14462 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
14463 (logb_test_data): New variable.
14464 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
14465 (logb_downward_test_data): New variable.
14466 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14467 (nearbyint_test_data): New variable.
14468 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
14469 (rint_test_data): New variable.
14470 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
14471 (rint_tonearest_test_data): New variable.
14472 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14473 (rint_towardzero_test_data): New variable.
14474 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14475 (rint_downward_test_data): New variable.
14476 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14477 (rint_upward_test_data): New variable.
14478 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14479 (round_test_data): New variable.
14480 (round_test): Run tests with RUN_TEST_LOOP_f_f.
14481 (sin_test_data): New variable.
14482 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
14483 (sin_tonearest_test_data): New variable.
14484 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14485 (sin_towardzero_test_data): New variable.
14486 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14487 (sin_downward_test_data): New variable.
14488 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14489 (sin_upward_test_data): New variable.
14490 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14491 (sinh_test_data): New variable.
14492 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
14493 (sinh_tonearest_test_data): New variable.
14494 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14495 (sinh_towardzero_test_data): New variable.
14496 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14497 (sinh_downward_test_data): New variable.
14498 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14499 (sinh_upward_test_data): New variable.
14500 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14501 (sqrt_test_data): New variable.
14502 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
14503 (tan_test_data): New variable.
14504 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
14505 (tan_tonearest_test_data): New variable.
14506 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14507 (tan_towardzero_test_data): New variable.
14508 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
14509 (tan_downward_test_data): New variable.
14510 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
14511 (tan_upward_test_data): New variable.
14512 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
14513 (tanh_test_data): New variable.
14514 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
14515 (tgamma_test_data): New variable.
14516 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
14517 (trunc_test_data): New variable.
14518 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
14519 (y0_test_data): New variable.
14520 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
14521 (y1_test_data): New variable.
14522 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
14523 (significand_test_data): New variable.
14524 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
14525
7187d844
CG
145262013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
14527
14528 [BZ #12387]
14529 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
14530
f63fae73
PT
145312013-05-10 Pino Toscano <toscano.pino@tiscali.it>
14532
14533 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
14534
8a67a4b3
AJ
145352013-05-10 Andreas Jaeger <aj@suse.de>
14536
14537 [BZ #15448]
14538 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
14539 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
14540
51df539d
JM
145412013-05-10 Joseph Myers <joseph@codesourcery.com>
14542
14543 * math/gen-libm-test.pl (adjust_arg): New function.
14544 (special_functions): Handle generating output in both functions
14545 and arrays.
14546 (parse_args): Likewise.
14547 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
14548 $in_func argument to parse_args.
14549 * math/libm-test.inc (struct test_f_f_data): New type.
14550 (IF_ROUND_INIT_): New macro.
14551 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
14552 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
14553 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
14554 (IF_ROUND_INIT_FE_UPWARD): Likewise.
14555 (ROUND_RESTORE_): Likewise.
14556 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
14557 (ROUND_RESTORE_FE_TONEAREST): Likewise.
14558 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
14559 (ROUND_RESTORE_FE_UPWARD): Likewise.
14560 (RUN_TEST_LOOP_f_f): New macro.
14561 (acos_test_data): New variable.
14562 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
14563 (acos_tonearest_test_data): New variable.
14564 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
14565
5c637fe5
SP
145662013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
14567
14568 * benchtests/bench-skeleton.c (startup): Fix coding style.
14569
ab2b9461
JM
145702013-05-10 Joseph Myers <joseph@codesourcery.com>
14571
14572 [BZ #6809]
14573 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
14574 negative infinity argument.
14575 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
14576 negative infinity argument.
14577 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
14578 negative infinity argument.
14579 * math/libm-test.inc (tgamma_test): Expect errno to be set for
14580 domain errors.
14581
4c0fe6fe
FW
145822013-05-10 Florian Weimer <fweimer@redhat.com>
14583
14584 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
14585 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
14586 * iconv/iconv_prog.c (main): Likewise.
14587 * locale/programs/charmap-dir.c (charmap_readdir)
14588 (fopen_uncompressed): Likewise.
14589 * locale/programs/locfile.c (siblings_uncached)
14590 (write_locale_data): Use lstat64 instead of lstat.
14591 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
14592 stat.
14593
a3375d29
AJ
145942013-05-10 Andreas Jaeger <aj@suse.de>
14595
14596 [BZ #15395]
14597 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
14598 localization.
14599 Include <locale.h>.
14600
36129722
CD
146012013-05-09 Carlos O'Donell <carlos@redhat.com>
14602
14603 * elf/dl-close.c (_dl_close_worker): Add comments.
14604
faa7f811
JM
146052013-05-09 Joseph Myers <joseph@codesourcery.com>
14606
ed41ffef
JM
14607 [BZ #15359]
14608 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
14609 high part of pi/2.
14610 (__ieee754_rem_pio2l): Update comments.
14611
d0213cd0
JM
14612 [BZ #15429]
14613 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
14614 high part of pi/2.
14615 (__ieee754_rem_pio2l): Update comments.
14616
0d3e777a
JM
14617 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
14618 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
14619
24f56066
JM
14620 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
14621 M_PI_4l.
14622
faa7f811
JM
14623 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
14624 (M_PI_34_LOG10El): Likewise.
14625 (M_PI2_LOG10El): Likewise.
14626 (M_PI4_LOG10El): Likewise.
14627 (M_PI_LOG10El): Likewise.
14628
e9a5e0fd
AZ
146292013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14630
14631 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14632
d8cd06db
JM
146332013-05-08 Joseph Myers <joseph@codesourcery.com>
14634
a0d9f9d7
JM
14635 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
14636 (MINUS_ZERO_INIT): Likewise.
14637 (PLUS_INFTY_INIT): Likewise.
14638 (MINUS_INFTY_INIT): Likewise.
14639 (QNAN_VALUE_INIT): Likewise.
14640 (MAX_VALUE_INIT): Likewise.
14641 (MIN_VALUE_INIT): Likewise.
14642 (MIN_SUBNORM_VALUE_INIT): Likewise.
14643 (plus_zero): Initialize with PLUS_ZERO_INIT.
14644 (minus_zero): Initialize with MINUS_ZERO_INIT.
14645 (plus_infty): Initialize with PLUS_INFTY_INIT.
14646 (minus_infty): Initialize with MINUS_INFTY_INIT.
14647 (qnan_value): Initialize with QNAN_VALUE_INIT.
14648 (max_value): Initialize with MAX_VALUE_INIT.
14649 (min_value): Initialize with MIN_VALUE_INIT.
14650 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
14651
ae08db3b
JM
14652 * math/libm-test.inc (RUN_TEST_if_f): New macro.
14653 (jn_test): Use TEST_if_f instead of TEST_ff_f.
14654 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
14655 (yn_test): Use TEST_if_f instead of TEST_ff_f.
14656
f44bf14a
JM
14657 * math/libm-test.inc (RUN_TEST_f_f): New macro.
14658 (RUN_TEST_2_f): Likewise.
14659 (RUN_TEST_ff_f): Likewise.
14660 (RUN_TEST_fi_f): Likewise.
14661 (RUN_TEST_fl_f): Likewise.
14662 (RUN_TEST_fff_f): Likewise.
14663 (RUN_TEST_c_f): Likewise.
14664 (RUN_TEST_f_f1): Likewise.
14665 (RUN_TEST_fF_f1): Likewise.
14666 (RUN_TEST_fI_f1): Likewise.
14667 (RUN_TEST_ffI_f1): Likewise.
14668 (RUN_TEST_c_c): Likewise.
14669 (RUN_TEST_cc_c): Likewise.
14670 (RUN_TEST_f_i): Likewise.
14671 (RUN_TEST_f_i_tg): Likewise.
14672 (RUN_TEST_ff_i_tg): Likewise.
14673 (RUN_TEST_f_b): Likewise.
14674 (RUN_TEST_f_b_tg): Likewise.
14675 (RUN_TEST_f_l): Likewise.
14676 (RUN_TEST_f_L): Likewise.
14677 (RUN_TEST_sincos): Likewise.
14678 * math/gen-libm-test.pl (new_test): Take new argument to indicate
14679 whether to show exceptions. Do not include ");\n" in return
14680 value.
14681 (special_functions): Output call to RUN_TEST_sincos instead of
14682 check_float calls. Update calls to new_test.
14683 (parse_args): Output call to single RUN_TEST_* macro instead of
14684 check_* calls and other assignments. Update calls to new_test.
14685
d8cd06db
JM
14686 [BZ #2546]
14687 [BZ #2560]
14688 [BZ #5159]
14689 [BZ #15426]
14690 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
14691 input to result for tgamma overflow.
14692 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
14693 (gamma_coeff): New variable.
14694 (NCOEFF): New macro.
14695 (gamma_positive): New function.
14696 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
14697 underflow here. Use gamma_positive instead of exp (lgamma) for
14698 other arguments.
14699 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
14700 (gamma_coeff): New variable.
14701 (NCOEFF): New macro.
14702 (gammaf_positive): New function.
14703 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
14704 underflow here. Use gamma_positive instead of exp (lgamma) for
14705 other arguments.
14706 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
14707 (gamma_coeff): New variable.
14708 (NCOEFF): New macro.
14709 (gammal_positive): New function.
14710 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
14711 underflow here. Use gamma_positive instead of exp (lgamma) for
14712 other arguments.
14713 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
14714 (gamma_coeff): New variable.
14715 (NCOEFF): New macro.
14716 (gammal_positive): New function.
14717 (__ieee754_gammal_r): Handle positive infinity, overflow and
14718 underflow here. Handle NaN the same as positive infinity. Remove
14719 check x < 0xffffffff for negative integers. Use gamma_positive
14720 instead of exp (lgamma) for other arguments.
14721 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
14722 (gamma_coeff): New variable.
14723 (NCOEFF): New macro.
14724 (gammal_positive): New function.
14725 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
14726 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
14727 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14728 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
14729 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
14730 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
14731 * sysdeps/generic/math_private.h (__gamma_productf): New
14732 prototype.
14733 (__gamma_product): Likewise.
14734 (__gamma_productl): Likewise.
14735 * math/Makefile (libm-calls): Add gamma_product.
14736 * math/libm-test.inc (tgamma_test): Add more tests.
14737 * sysdeps/i386/fpu/libm-test-ulps: Update.
14738 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14739
bb7cf681
OB
147402013-05-08 Ondřej Bílka <neleai@seznam.cz>
14741
14742 * benchtests/bench-skeleton.c (main): Preheat CPU.
14743
ba853947
AJ
147442013-05-07 Aurelien Jarno <aurelien@aurel32.net>
14745
14746 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
14747
8347c74c
RM
147482013-05-07 Roland McGrath <roland@hack.frob.com>
14749
14750 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
14751 and _dl_skip_args_internal.
14752
e8dd4791
CD
147532013-05-07 Carlos O'Donell <carlos@redhat.com>
14754
14755 * manual/message.texi (Message Translation): Talk about users.
14756 Message to key mapping impacts design.
14757
c7405830
RM
147582013-05-06 Roland McGrath <roland@hack.frob.com>
14759
a9173057
RM
14760 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
14761
976e2f03
RM
14762 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
14763
9723ffc5
RM
14764 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
14765 * sysdeps/wordsize-64/glob64.c: ... here.
14766
962e6658
RM
14767 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
14768 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
14769 New macros.
14770
ee586a6d
RM
14771 * debug/getlogin_r_chk.c: Moved to ...
14772 * login/getlogin_r_chk.c: ... here.
14773 * debug/Makefile (routines): Move getlogin_r_chk to ...
14774 * login/Makefile (routines): ... here.
14775 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
14776 * login/Versions (libc: GLIBC_2.4): ... here.
14777
355f9165
RM
14778 * io/poll.c (__poll): Renamed from poll.
14779 Add libc_hidden_def.
14780 (poll): Define as weak alias.
14781
bd9ffde6
RM
14782 * debug/ptsname_r_chk.c: Moved to ...
14783 * login/ptsname_r_chk.c: ... here.
14784 * debug/Makefile (routines): Move ptsname_r_chk to ...
14785 * login/Makefile (routines): ... here.
14786 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
14787 * login/Versions (libc: GLIBC_2.4): ... here.
14788
8fb16a04
RM
14789 * posix/getlogin.c: Moved to ...
14790 * login/getlogin.c: ... here.
14791 * posix/getlogin_r.c: Moved to ...
14792 * login/getlogin_r.c: ... here.
14793 * posix/getlogin_r.c: Moved to ...
14794 * login/getlogin_r.c: ... here.
14795 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
14796 * login/Makefile (routines): ... here.
14797 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
14798 * login/Versions (libc: GLIBC_2.0): ... here.
14799
b99b892f
RM
14800 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
14801 (setrlimit): Define as weak alias.
14802
c7405830
RM
14803 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
14804 Call __ names for open, ftruncate, and close.
14805 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
14806 (truncate): Define as weak alias.
14807
5bf96de5
JM
148082013-05-06 Joseph Myers <joseph@codesourcery.com>
14809
9ea3513c
JM
14810 * math/gen-libm-test.pl (parse_args): Initialize x before each
14811 test of frexp, modf and remquo.
14812
5bf96de5
JM
14813 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
14814 test signgam value.
14815
16e616a7
AZ
148162013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14817
14818 [BZ #15418]
14819 [BZ #15419]
14820 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
14821 internal tests.
14822 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
14823
d5e82754
RM
148242013-05-06 Roland McGrath <roland@hack.frob.com>
14825
14826 * elf/dl-writev.h: New file.
14827 * elf/dl-misc.c: Include it.
14828 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
14829 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
14830
a7548d41
JM
148312013-05-04 Joseph Myers <joseph@codesourcery.com>
14832
b7dab1e4
JM
14833 * math/libm-test.inc (noXFails): Remove variable.
14834 (noXPasses): Likewise.
14835 (BUILD_COMPLEX_INT): Remove macro.
14836 (print_screen): Remove xfail argument.
14837 (print_screen_max_error): Likewise.
14838 (update_stats): Likewise.
14839 (print_max_error): Likewise. Update calls to other affected
14840 functions.
14841 (print_complex_max_error): Likewise.
14842 (test_single_exception): Update calls to print_screen.
14843 (test_single_errno): Likewise.
14844 (check_float_internal): Remove xfail argument. Update calls to
14845 other affected functions.
14846 (check_float): Likewise.
14847 (check_complex): Likewise.
14848 (check_int): Likewise.
14849 (check_long): Likewise.
14850 (check_bool): Likewise.
14851 (check_longlong): Likewise.
14852 (main): Don't print noXFails and noXPasses.
14853 * math/gen-libm-test.pl (top level): Don't mention expected
14854 failure handling in comment.
14855 (new_test): Don't handle expected failures.
14856 (parse_args): Don't mention expected failure handling in comment.
14857 (generate_testfile): Don't handle expected failures.
14858 (parse_ulps): Likewise.
14859 (print_ulps_file): Likewise.
14860 (get_failure): Remove function.
14861 (output_test): Don't handle expected failures.
14862 * make/README.libm-test: Don't mention expected failure handling.
14863
a7548d41
JM
14864 * math/libm-test.inc (plus_zero): Make const. Add initializer.
14865 (minus_zero): Likewise.
14866 (plus_infty): Likewise.
14867 (minus_infty): Likewise.
14868 (qnan_value): Likewise.
14869 (max_value): Likewise.
14870 (min_value): Likewise.
14871 (min_subnorm_value): Likewise.
14872 (initialize): Do not initialize those variables dynamically.
14873
60bfd54c
RM
148742013-05-03 Roland McGrath <roland@hack.frob.com>
14875
cc0e6ed8
RM
14876 * io/open.c (__open_2): Moved to ...
14877 * io/open_2.c: ... this new file.
14878 * io/open64.c (__open64_2): Moved to ...
14879 * io/open64_2.c: ... this new file.
14880 * io/openat.c (__openat_2): Moved to ...
14881 * io/openat_2.c: ... this new file.
14882 * io/openat64.c (__openat64_2): Moved to ...
14883 * io/openat64_2.c: ... this new file.
14884 * io/Makefile (routines): Add them.
14885 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
14886 * sysdeps/unix/sysv/linux/open_2.c: File removed.
14887 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
14888 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
14889 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
14890 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
14891 (__openat64): Add hidden_ver.
14892 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
14893 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
14894
60bfd54c
RM
14895 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
14896 Separately conditionalize setting of GLRO(dl_sysinfo) so
14897 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
14898 as well, but the actual setting is only under [NEED_DL_SYSINFO].
14899
83e7640f
AZ
149002013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14901
14902 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
14903 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
14904 definition.
14905 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
14906 * sysdeps/unix/sysv/linux/powerpc/init-first.c
14907 (_libc_vdso_platform_setup): Add __vdso_time initialization.
14908 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
14909 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
14910
d5dc2af3
JM
149112013-05-03 Joseph Myers <joseph@codesourcery.com>
14912
c31a5b1e
JM
14913 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
14914 test signgam value.
14915
d5dc2af3
JM
14916 * math/libm-test.inc (hypot_test): Do not use
14917 IGNORE_ZERO_INF_SIGN.
14918
164fd39d
AJ
149192013-05-03 Andreas Jaeger <aj@suse.de>
14920
14921 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
14922 Linux 3.9.
14923 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
14924 (PF_MAX): Adjust for VSOCK change.
14925
8237f48c
AZ
149262013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14927
14928 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14929
9df02941
CD
149302013-05-02 Carlos O'Donell <carlos@redhat.com>
14931
14932 [BZ #15264]
14933 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
14934 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
14935 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
14936
d422395e
DM
149372013-05-02 David S. Miller <davem@davemloft.net>
14938
14939 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14940
a07c5731
OB
149412013-05-01 Ondřej Bílka <neleai@seznam.cz>
14942
14943 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
14944
1324e37f
RM
149452013-05-01 Roland McGrath <roland@hack.frob.com>
14946
14947 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
14948
0695940b
RS
149492013-05-01 Richard Smith <richard@metafoo.co.uk>
14950
bb5f27ad 14951 [BZ #14952]
0695940b
RS
14952 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
14953 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14954 Use __attribute__ ((__gnu_inline__)).
14955 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
14956 Don't use __attribute__ ((__gnu_inline__)).
14957
10de07f5
JM
149582013-05-01 Joseph Myers <joseph@codesourcery.com>
14959
14960 [BZ #15423]
14961 * math/s_catan.c (__catan): Handle small real or imaginary part of
14962 input specially to avoid spurious underflow.
14963 * math/s_catanf.c (__catanf): Likewise.
14964 * math/s_catanh.c (__catanh): Likewise.
14965 * math/s_catanhf.c (__catanhf): Likewise.
14966 * math/s_catanhl.c (__catanhl): Likewise.
14967 * math/s_catanl.c (__catanl): Likewise.
14968 * math/libm-test.inc (catan_test): Add more tests.
14969 (catanh_test): Likewise.
14970 * sysdeps/i386/fpu/libm-test-ulps: Update.
14971 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14972
cb4d5414
AZ
149732013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14974
14975 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14976
caf84319
JM
149772013-04-30 Joseph Myers <joseph@codesourcery.com>
14978
14979 [BZ #15416]
14980 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
14981 accurately for denominator in atan2.
14982 * math/s_catanf.c (__catanf): Likewise.
14983 * math/s_catanh.c (__catanh): Likewise.
14984 * math/s_catanhf.c (__catanhf): Likewise.
14985 * math/s_catanhl.c (__catanhl): Likewise.
14986 * math/s_catanl.c (__catanl): Likewise.
14987 * math/libm-test.inc (catan_test): Add more tests.
14988 (catanh_test): Likewise.
14989 * sysdeps/i386/fpu/libm-test-ulps: Update.
14990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14991
d569c6ee
SP
149922013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
14993
6dbe713d
SP
14994 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
14995
f0ee064b
SP
14996 * benchtests/Makefile (bench): Remove slow benchmarks.
14997 * benchtests/atan-inputs: Add slow benchmark inputs.
14998 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
14999 (BENCH_FUNC): Accept variant offset.
15000 (VARIANT): Define.
15001 * benchtests/bench-skeleton.c (main): Run benchmark for each
15002 variant.
15003 * benchtests/cos-inputs: Add slow benchmark inputs.
15004 * benchtests/exp-inputs: Likewise.
15005 * benchtests/pow-inputs: Likewise.
15006 * benchtests/sin-inputs: Likewise.
15007 * benchtests/slowatan-inputs: Remove.
15008 * benchtests/slowatan.c: Remove.
15009 * benchtests/slowcos-inputs: Remove.
15010 * benchtests/slowcos.c: Remove.
15011 * benchtests/slowexp-inputs: Remove.
15012 * benchtests/slowexp.c: Remove.
15013 * benchtests/slowpow-inputs: Remove.
15014 * benchtests/slowpow.c: Remove.
15015 * benchtests/slowsin-inputs: Remove.
15016 * benchtests/slowsin.c: Remove.
15017 * benchtests/slowtan-inputs: Remove.
15018 * benchtests/slowtan.c: Remove.
15019 * benchtests/tan-inputs: Add slow benchmark inputs.
15020 * scripts/bench.pl: Parse comments and directives.
15021
d569c6ee
SP
15022 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
15023 in CPPFLAGS.
15024 ($(objpfx)bench-%.c): Remove *-ITER.
15025 * benchtests/bench-modf.c: Remove definition of ITER.
15026 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
15027 (main): Loop for DURATION seconds instead of fixed number of
15028 iterations.
15029 * scripts/bench.pl: Don't expect iterations in parameters.
15030
a6a242fe
RM
150312013-04-29 Roland McGrath <roland@hack.frob.com>
15032
15033 * io/fchdir.c (__fchdir): Renamed from fchdir.
15034 (fchdir): Define as weak alias.
15035
f2da7793
JM
150362013-04-29 Joseph Myers <joseph@codesourcery.com>
15037
15038 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
15039 (ERRNO_EDOM): Likewise.
15040 (ERRNO_ERANGE): Likewise.
15041 (noErrnoTests): New variable.
15042 (init_max_error): Set errno to 0.
15043 (test_single_errno): New function.
15044 (test_errno): Likewise.
15045 (check_float_internal): Call test_errno. Set errno to 0.
15046 (check_complex): Refer to errno tests in comment.
15047 (check_int): Call test_errno. Set errno to 0.
15048 (check_long): Likewise.
15049 (check_bool): Likewise.
15050 (check_longlong): Likewise.
15051 (cos_test): Use ERRNO_* flags for errno tests instead of
15052 check_int.
15053 (expm1_test): Likewise.
15054 (fmod_test): Likewise.
15055 (ilogb_test): Likewise.
15056 (lgamma_test): Likewise.
15057 (pow_test): Likewise.
15058 (remainder_test): Likewise.
15059 (sin_test): Likewise.
15060 (tan_test): Likewise.
15061 (yn_test): Likewise.
15062 (initialize): Set errno to 0.
15063 (main): Print number of errno tests.
15064 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
15065
b1a36ceb
AJ
150662013-04-29 Andreas Jaeger <aj@suse.de>
15067
c3ed8088
AJ
15068 [BZ #15084]
15069 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
15070 and RES_USEVC.
15071
f1a24198
AJ
15072 [BZ #15085]
15073 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
15074 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
15075 unimplemented.
15076
9ce3b2cb
AJ
15077 [BZ #15380]
15078 * stdlib/random.c (__initstate): Return NULL if
15079 __initstate fails.
15080
f1a24198 15081 [BZ #15086]
b1a36ceb
AJ
15082 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
15083 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
15084 RES_SNGLKUPREOP.
15085
7e7b6f36
AZ
150862013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15087
15088 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15089
4d14f449
JM
150902013-04-29 Joseph Myers <joseph@codesourcery.com>
15091
15092 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
15093 of individual tests.
15094 (casin_test): Likewise.
15095 (casinh_test): Likewise.
15096
5b4217d7
JM
150972013-04-27 Joseph Myers <joseph@codesourcery.com>
15098
15099 [BZ #15409]
15100 * math/s_catan.c (__catan): Handle arguments with large real or
15101 imaginary part separately without squaring.
15102 * math/s_catanf.c (__catanf): Likewise.
15103 * math/s_catanh.c (__catanh): Likewise.
15104 * math/s_catanhf.c (__catanhf): Likewise.
15105 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15106 and redefine.
15107 (__catanhl): Handle arguments with large real or imaginary part
15108 separately without squaring.
15109 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
15110 and redefine.
15111 (__catanl): Handle arguments with large real or imaginary part
15112 separately without squaring.
15113 * math/libm-test.inc (catan_test): Add more tests.
15114 (catanh_test): Likewise.
15115 * sysdeps/i386/fpu/libm-test-ulps: Update.
15116 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15117
4220c3ef
AJ
151182013-04-27 Andreas Jaeger <aj@suse.de>
15119
15120 [BZ #15007]
15121 * stdlib/stdlib.h: Update guards for qecvt.
15122 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
15123 <stdlib.h>.
15124
4721b2d1
AM
151252013-04-27 Allan McRae <allan@archlinux.org>
15126
15127 * sysdeps/i386/fpu/libm-test-ulps: Update.
15128
f0302940
JM
151292013-04-26 Joseph Myers <joseph@codesourcery.com>
15130
9457fd95
JM
15131 [BZ #15406]
15132 * math/s_catan.c: Include <float.h>.
15133 (__catan): Ensure underflow exception occurs for underflowed
15134 result.
15135 * math/s_catanf.c: Include <float.h>.
15136 (__catanf): Ensure underflow exception occurs for underflowed
15137 result.
15138 * math/s_catanh.c: Include <float.h>.
15139 (__catanh): Ensure underflow exception occurs for underflowed
15140 result.
15141 * math/s_catanhf.c: Include <float.h>.
15142 (__catanhf): Ensure underflow exception occurs for underflowed
15143 result.
15144 * math/s_catanhl.c: Include <float.h>.
15145 (__catanhl): Ensure underflow exception occurs for underflowed
15146 result.
15147 * math/s_catanl.c: Include <float.h>.
15148 (__catanl): Ensure underflow exception occurs for underflowed
15149 result.
15150 * math/libm-test.inc (catan_test): Add more tests.
15151 (catanh_test): Likewise.
15152
f0302940
JM
15153 [BZ #15405]
15154 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
15155 underflowed result.
15156 * math/s_ccoshf.c (__ccoshf): Likewise.
15157 * math/s_ccoshl.c (__ccoshl): Likewise.
15158 * math/s_csin.c (__csin): Likewise.
15159 * math/s_csinf.c (__csinf): Likewise.
15160 * math/s_csinh.c (__csinh): Likewise.
15161 * math/s_csinhf.c (__csinhf): Likewise.
15162 * math/s_csinhl.c (__csinhl): Likewise.
15163 * math/s_csinl.c (__csinl): Likewise.
15164 * math/libm-test.inc (ccos_test): Add more tests.
15165 (ccosh_test): Likewise.
15166 (csin_test): Likewise.
15167 (csinh_test): Likewise.
15168
aa630f59
AZ
151692013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15170
15171 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
15172 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
15173 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
15174 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
15175 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
15176 powerpc/power5+/fpu folders.
15177 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
15178
15179
1b835983
MT
151802013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
15181
15182 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15183
73709b26
JM
151842013-04-25 Joseph Myers <joseph@codesourcery.com>
15185
15186 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
15187 additions to variable.
15188 [$(config-machine) = x86_64] (modules-names): Likewise.
15189 ($(objpfx)tst-audit3): Remove dependency.
15190 ($(objpfx)tst-audit3.out): Likewise.
15191 ($(objpfx)tst-audit4): Likewise.
15192 ($(objpfx)tst-audit4.out): Likewise.
15193 ($(objpfx)tst-audit5): Likewise.
15194 ($(objpfx)tst-audit5.out): Likewise.
15195 ($(objpfx)tst-audit6): Likewise.
15196 ($(objpfx)tst-audit6.out): Likewise.
15197 ($(objpfx)tst-audit7): Likewise.
15198 ($(objpfx)tst-audit7.out): Likewise.
15199 (tst-audit3-ENV): Remove variable.
15200 (tst-audit4-ENV): Likewise.
15201 (tst-audit5-ENV): Likewise.
15202 (tst-audit6-ENV): Likewise.
15203 (tst-audit7-ENV): Likewise.
15204 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
15205 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
15206 addition to variable.
15207 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
15208 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
15209 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
15210 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
15211 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
15212 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
15213 tst-audit3, tst-audit4 and tst-audit5.
15214 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
15215 tst-audit6 and tst-audit7.
15216 [$(subdir) = elf] (modules-names): Add audit modules for those
15217 tests.
15218 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
15219 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
15220 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
15221 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
15222 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
15223 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
15224 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
15225 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
15226 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
15227 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
15228 [$(subdir) = elf] (tst-audit3-ENV): New variable.
15229 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
15230 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
15231 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
15232 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
15233 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
15234 Likewise.
15235 [$(subdir) = elf && $(config-cflags-avx) = yes]
15236 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
15237 [$(subdir) = elf && $(config-cflags-avx) = yes]
15238 (CFLAGS-tst-auditmod4a.c): Likewise.
15239 [$(subdir) = elf && $(config-cflags-avx) = yes]
15240 (CFLAGS-tst-auditmod4b.c): Likewise.
15241 [$(subdir) = elf && $(config-cflags-avx) = yes]
15242 (CFLAGS-tst-auditmod6b.c): Likewise.
15243 [$(subdir) = elf && $(config-cflags-avx) = yes]
15244 (CFLAGS-tst-auditmod6c.c): Likewise.
15245 [$(subdir) = elf && $(config-cflags-avx) = yes]
15246 (CFLAGS-tst-auditmod7b.c): Likewise.
15247 * elf/tst-audit3.c: Move to ...
15248 * sysdeps/x86_64/tst-audit3.c: ... here.
15249 * elf/tst-audit4.c: Move to ...
15250 * sysdeps/x86_64/tst-audit4.c: ... here.
15251 * elf/tst-audit5.c: Move to ...
15252 * sysdeps/x86_64/tst-audit5.c: ... here.
15253 * elf/tst-audit6.c: Move to ...
15254 * sysdeps/x86_64/tst-audit6.c: ... here.
15255 * elf/tst-audit7.c: Move to ...
15256 * sysdeps/x86_64/tst-audit7.c: ... here.
15257 * elf/tst-auditmod3a.c: Move to ...
15258 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
15259 * elf/tst-auditmod3b.c: Move to ...
15260 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
15261 * elf/tst-auditmod4a.c: Move to ...
15262 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
15263 * elf/tst-auditmod4b.c: Move to ...
15264 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
15265 * elf/tst-auditmod5a.c: Move to ...
15266 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
15267 * elf/tst-auditmod5b.c: Move to ...
15268 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
15269 * elf/tst-auditmod6a.c: Move to ...
15270 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
15271 * elf/tst-auditmod6b.c: Move to ...
15272 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
15273 * elf/tst-auditmod6c.c: Move to ...
15274 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
15275 * elf/tst-auditmod7a.c: Move to ...
15276 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
15277 * elf/tst-auditmod7b.c: Move to ...
15278 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
15279
1ef74943
PP
152802013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
15281
15282 [BZ #15366]
15283 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
15284 define unconditionally.
15285 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
15286 define unconditionally.
15287 (INT8_C, INT16_C, etc.): Likewise.
15288
93fd48c5
MR
152892013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
15290
ae9552cf
MR
15291 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
15292 __ehdr_start with hidden visibility.
15293
93fd48c5
MR
15294 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
15295
418601aa
CD
152962013-04-24 Carlos O'Donell <carlos@redhat.com>
15297
15298 * math/libm-test.inc (cos_test): Use accurate hex constants.
15299 (sincost_test): Likewise.
15300
2f38fbfe
JM
153012013-04-24 Joseph Myers <joseph@codesourcery.com>
15302
5e221800
JM
15303 * math/libm-test.inc (catan_test): Add more tests.
15304 (catanh_test): Likewise.
15305
77f143fd
JM
15306 * math/s_catanf.c (__catanf): Use suffixed floating-point
15307 constants.
15308 * math/s_catanhf.c (__catanhf): Likewise.
15309 * math/s_catanhl.c (__catanhl): Likewise.
15310 * math/s_catanl.c (__catanl): Likewise.
15311
2f38fbfe
JM
15312 [BZ #15394]
15313 * math/s_catan.c (__catan): Calculate imaginary part of result
15314 with log1p not log unless computing log of number close to 0.
15315 * math/s_catanf.c (__catanf): Likewise.
15316 * math/s_catanl.c (__catanl): Likewise.
15317 * math/s_catanh.c (__catanh): Calculate real part of result with
15318 log1p not log unless computing log of number close to 0.
15319 * math/s_catanhf.c (__catanhf): Likewise.
15320 * math/s_catanhl.c (__catanhl): Likewise.
15321 * math/libm-test.inc (catan_test): Add more tests.
15322 (catanh_test): Likewise.
15323 * sysdeps/i386/fpu/libm-test-ulps: Update.
15324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15325
45d69176
SP
153262013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
15327
15328 * benchtests/Makefile: Mention files in which fast and slow
15329 paths of math functions are implemented.
15330
87f51853
RM
153312013-04-23 Roland McGrath <roland@hack.frob.com>
15332
15333 * sysdeps/posix/timespec_get.c: New file.
15334
3c026539
AZ
153352013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15336
15337 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
15338 POWER.
15339 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
15340 for POWER.
15341 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
15342 powerpc/power5/fpu folders.
15343 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
15344 * benchtests/Makefile: Add modf testcase.
15345 * benchtests/bench-modf.c: New file: Benchmark test for mo
15346
ff491d14
SP
153472013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
15348
15349 [BZ #14888]
15350 * time/Makefile (tests): Add tst-strptime-whitespace.
15351 * time/strptime_l.c (get_number): Use ISSPACE.
15352 (__strptime_internal): Likewise.
15353 * time/tst-strptime-whitespace.c: New test case.
15354
7ed3f4e8
AS
153552013-04-23 Andreas Schwab <schwab@linux-m68k.org>
15356
15357 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
15358 member.
15359 (_nss_files_init): Set it here.
15360
5c95f7b6
HC
153612013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
15362
15363 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
15364 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
15365 unsigned.
15366
d34c9158
JBG
153672013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
15368
15369 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
15370
2169712d
SP
153712013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
15372
15373 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
15374 size just once.
15375
29c5de99
DM
153762013-04-21 David S. Miller <davem@davemloft.net>
15377
15378 * po/ru.po: Update Russion translation from translation project.
15379
ccdad15d
AC
153802013-04-17 Adam Conrad <adconrad@0c3.net>
15381
15382 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
15383 and setfsgid.
15384
0f122b8d
CD
153852013-04-17 Carlos O'Donell <carlos@redhat.com>
15386
5c5b07da 15387 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 15388 * configure: Regenerate.
5c5b07da 15389 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
15390 Add example to error message.
15391 * sysdeps/i386/configure: Regenerate.
15392
037714dd
SP
153932013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
15394
15395 * benchtests/Makefile (bench): Add cos, tan, slowcos and
15396 slowtan.
15397 * benchtests/cos-inputs: New file.
15398 * benchtests/slowcos-inputs: New file.
15399 * benchtests/slowcos.c: New file.
15400 * benchtests/slowtan-inputs: New file.
15401 * benchtests/slowtan.c: New file.
15402 * benchtests/tan-inputs: New file.
15403
e913141d
RM
154042013-04-16 Roland McGrath <roland@hack.frob.com>
15405
15406 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
15407 considered kosher.
15408
a2964074
SP
154092013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
15410
4856bcd2
SP
15411 * benchtests/Makefile: Include cppflags-iterator.mk to add
15412 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
15413
a2964074
SP
15414 * Makefile.in (bench-clean): New target.
15415 * benchtests/Makefile (bench-clean): Likewise.
15416
9fbf9aca
DH
154172013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
15418
15419 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
15420
207d1e2a
TS
154212013-04-15 Thomas Schwinge <thomas@codesourcery.com>
15422
15423 * stdio-common/tstdiomisc.c: Fix coding-style violation.
15424
306dfba9
AS
154252013-04-15 Andreas Schwab <schwab@suse.de>
15426
15427 * nscd/grpcache.c (cache_addgr): Properly check for short write.
15428 * nscd/initgrcache.c (addinitgroupsX): Likewise.
15429 * nscd/pwdcache.c (cache_addpw): Likewise.
15430 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
15431 more than recsize.
15432
206a6699
SP
154332013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15434
15435 * benchtests/Makefile (bench): Write all output to
15436 bench-out.tmp together.
15437
0582f6b3
AS
154382013-04-15 Andreas Schwab <schwab@suse.de>
15439
15440 * nscd/nscd.c (main): Don't fork again after closing files.
15441
acb4325f
SP
154422013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
15443
5cb26d0a
SP
15444 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
15445
acb4325f
SP
15446 * benchtests/Rules (bench-deps): Collect dependencies into a
15447 single variable. Add Makefile to dependencies.
15448 ($(objpfx)bench-%.c): Depend on bench-deps.
15449
47792506
RM
154502013-04-12 Roland McGrath <roland@hack.frob.com>
15451 Xavier Roche <roche+kml2@exalead.com>
15452
15453 [BZ #15361]
15454 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
15455 just that it's a file descriptor.
15456 * manual/llio.texi (Synchronizing AIO Operations): Update description
15457 for EBADF error from aio_fsync.
15458
8fc1bee5
SP
154592013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
15460
15461 * Rules (bench): Move target definition...
15462 * benchtests/Makefile: ... here.
15463
aba5e333
CD
154642013-04-11 Carlos O'Donell <carlos@redhat.com>
15465
15466 * math/libm-test.inc (cos_test): Fix PI/2 test.
15467 (sincos_test): Likewise.
15468 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
15469 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15470
273cdee8
AS
154712013-04-11 Andreas Schwab <schwab@suse.de>
15472
6ecec3b6
AS
15473 [BZ #13988]
15474 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
15475 accept exponent character only when digits were seen.
15476 * stdio-common/Makefile (tests): Add bug26.
15477 * stdio-common/bug26.c: New file.
15478
273cdee8
AS
15479 [BZ #14293]
15480 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
15481 non-freeable.
15482
8da491f5
SP
154832013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
15484
01dc6df9
SP
15485 * Makeconfig (rtld-prefix): Define built linker prefix.
15486 * Rules (run-bench): Use it.
15487 * math/Makefile (run-regen-ulps): Likewise.
15488
8da491f5
SP
15489 * Rules (bench): Remove eval.
15490
abe7f530
SP
154912013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
15492 Roland McGrath <roland@hack.frob.com>
15493 Ondrej Bilka <neleai@seznam.cz>
15494
15495 [BZ #15346]
15496 * time/getdate.c: Include ctype.h and alloca.h.
15497 (__getdate_r): Trim leading and trailing spaces of input.
15498 * time/tst-getdate.c (tests): Add tests with leading and
15499 trailing spaces.
15500
61c23e62
RM
155012013-04-08 Roland McGrath <roland@hack.frob.com>
15502
15503 [BZ #14280]
15504 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
15505 when computing value.
15506
7208a313
CD
155072013-04-06 Carlos O'Donell <carlos@redhat.com>
15508
085b2d41
CD
15509 * math/README.libm-test (How can I generate "libm-test-ulps"?):
15510 Use testrun.sh to run libm tests.
15511
7208a313
CD
15512 [BZ #15309]
15513 * elf/dl-open.c (dl_open_worker): memset all of seen array.
15514
872c0acd
MM
155152013-04-06 Marko Myllynen <myllynen@redhat.com>
15516
15517 [BZ #15264]
15518 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
15519
26510bdd
CD
155202013-04-06 Carlos O'Donell <carlos@redhat.com>
15521
15522 * Makefile.in (regen-ulps): New target.
15523 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
15524 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
15525 [ifneq (no,$(PERL)] (regen-ulps): New target.
15526 [ifeq (no,$(PERL)] (regen-ulps): New target.
15527 * math/libm-test.inc (ulps_file_name): Define.
15528 (output_dir): New variable.
15529 (options): Add "output-dir" option.
15530 (parse_opt): Handle 'o' case.
15531 (main): If output_dir is non-NULL use it as a prefix
15532 otherwise use "".
15533 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
15534
a01f19c8
CD
155352013-04-06 Carlos O'Donell <carlos@redhat.com>
15536
15537 [BZ #10060, #10062]
15538 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
15539 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
15540 fail configure if __sync_val_compare_and_swap is not inlined.
15541 * sysdeps/i386/configure: Regenerate.
15542 * configure.in: Build for i686 when configured for i386.
15543 * configure: Regenerate.
15544 * README: Remove i386 reference.
15545
b7a329a5
CD
155462013-04-06 Carlos O'Donell <carlos@redhat.com>
15547
15548 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
15549 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15550
bf0f50df
TS
155512013-04-05 Thomas Schwinge <thomas@codesourcery.com>
15552
ee091edf
TS
15553 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
15554 (lmsnanval): New variables.
15555 (F): Add conversion tests.
15556 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
15557 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
15558
a8b792d6
TS
15559 * stdio-common/tstdiomisc.c (F): Properly collect individual
15560 tests' results.
15561
a1cbf437
TS
15562 [BZ #14686, #15336]
15563 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
15564 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
15565 Instead, use input NaN values or generate a qNaN by arithmetic
15566 operation. Also fix bugs to comply with the standard.
15567 * math/libm-test.inc (remainder_test): Add more tests.
15568
8b43a0c9
TS
15569 [BZ #15335, #15342]
15570 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
15571 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
15572 input NaN values or generate a qNaN by arithmetic operation.
15573
d91da4ce
TS
15574 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
15575 unreachable code.
15576
bf0f50df
TS
15577 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
15578 definitions.
15579
05e166c8
JM
155802013-04-03 Joseph Myers <joseph@codesourcery.com>
15581
15582 [BZ #14478]
15583 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
15584 underflowed result.
15585 * math/s_cexpf.c (__cexpf): Likewise.
15586 * math/s_cexpl.c (__cexpl): Likewise.
15587 * math/libm-test.inc (cexp_test): Add more tests.
15588
1cef1b19
AS
155892013-04-03 Andreas Schwab <schwab@suse.de>
15590
15591 [BZ #15330]
15592 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
15593 order arrays from heap if bigger than alloca cutoff.
15594
74d87055
TS
155952013-04-03 Thomas Schwinge <thomas@codesourcery.com>
15596
15597 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
15598 (SNAN_TESTS_double): Refer to GCC PR56831.
15599 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
15600 GCC PR56828.
15601
d755bba4
SP
156022013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
15603
90d5d5bb
SP
15604 * Rules (bench): Move bench.out after the run is complete.
15605
73e0cd5d
SP
15606 * Rules (bench): Echo currently running benchmark.
15607
64aabd4b
SP
15608 * benchtests/Makefile (bench): Add atan and slowatan.
15609 * benchtests/atan-inputs: New file.
15610 * benchtests/slowatan-inputs: New file.
15611 * benchtests/slowatan.c: New file.
15612
c871eccd
SP
15613 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
15614 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
15615 its value.
15616
d755bba4
SP
15617 [BZ #15305]
15618 * sysdeps/unix/sysv/linux/kernel-features.h
15619 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
15620 __ASSUME_XFS_RESTRICTED_CHOWN.
15621 * sysdeps/unix/sysv/linux/pathconf.c
15622 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
15623 Save and restore errno.
15624
52ce4860
JM
156252013-04-02 Joseph Myers <joseph@codesourcery.com>
15626
15627 [BZ #15327]
15628 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
15629 arguments using __kernel_casinh.
15630 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
15631 arguments using __kernel_casinhf.
15632 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
15633 arguments using __kernel_casinhl.
15634 * math/libm-test.inc (cacosh_test): Add more tests.
15635 * sysdeps/i386/fpu/libm-test-ulps: Update.
15636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15637
81f311c2
SP
156382013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
15639
e7906a47
SP
15640 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
15641 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
15642
92e3664b
SP
15643 * bench/Makefile (bench): Add sin and slowsin.
15644 * benchtests/sin-inputs: New file.
15645 * benchtests/slowsin-inputs: New file.
15646 * benchtests/slowsin.c: New file.
15647
81f311c2
SP
15648 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
15649 (bench): Add slowexp and slowpow.
15650 (exp-ITER): Increase iterations.
15651 (pow-ITER): Likewise.
15652 * benchtests/exp-inputs: Change input.
15653 * benchtests/pow-inputs: Likewise.
15654 * benchtests/slowexp-inputs: New file.
15655 * benchtests/slowexp.c: New file.
15656 * benchtests/slowpow-inputs: New file.
15657 * benchtests/slowpow.c: New file.
15658
ab0f1aa9
AZ
156592013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15660
15661 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
15662 instructions.
15663 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
15664 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
15665 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
15666 * benchtests/Makefile: Add rint benchtest.
15667 * benchtests/rint-inputs: Input for rint benchtest.
15668
57267616
TS
156692013-04-02 Thomas Schwinge <thomas@codesourcery.com>
15670
15671 * Versions.def (libm): Add GLIBC_2.18.
15672 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
15673 hidden libm prototypes.
15674 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
15675 * math/Makefile (libm-calls): Add s_issignaling.
15676 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
15677 __issignalingf, __issignalingl. Adjust all libm.abilist files.
15678 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
15679 declaration.
15680 * math/math.h [__USE_GNU] (issignaling): New macro.
15681 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
15682 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
15683 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
15684 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
15685 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
15686 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
15687 * manual/arith.texi (issignaling): New section.
15688 * manual/libm-err-tab.pl (@all_functions): Update comment.
15689 * math/gen-libm-test.pl (parse_args): Apply special handling for
15690 issignaling.
15691 * math/libm-test.inc (print_float, issignaling_test): New
15692 functions.
15693 (check_float_internal): Add issignaling checks.
15694 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
15695 default definition.
15696 * sysdeps/powerpc/math-tests.h: New file.
15697 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
15698 tests.
15699 * math/test-snan.c (TEST_FUNC): Likewise.
15700
6142896d
DM
157012013-03-30 David S. Miller <davem@davemloft.net>
15702
15703 * po/de.po: Update from translation team.
15704
ccc8cadf
JM
157052013-03-30 Joseph Myers <joseph@codesourcery.com>
15706
15707 [BZ #10357]
15708 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15709 imaginary part less than 1.0 and real part less than 0.5
15710 specially.
15711 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15712 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15713 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
15714 (cacos_test): Add more tests.
15715 (casin_test): Likewise.
15716 (casinh_test): Likewise.
15717 * sysdeps/i386/fpu/libm-test-ulps: Update.
15718 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15719
0f6a8d4b
SP
157202013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
15721
0d1029de
SP
15722 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
15723 ONE with its value.
15724
c2d94018
SP
15725 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
15726 (__pow_mp): Replace ONE and MONE with their values.
15727 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15728 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
15729 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15730 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
15731 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15732 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15733
27ec37f1
SP
15734 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
15735
a64d7e0e
SP
15736 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
15737 (__pow_mp): Replace ZERO and MZERO with their values.
15738 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15739 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15740 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
15741 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
15742 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15743 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
15744 (__sqr): Likewise.
15745
d26dd3eb
SP
15746 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
15747
0f6a8d4b
SP
15748 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
15749
e57b0c61
RM
157502013-03-28 Roland McGrath <roland@hack.frob.com>
15751
15752 * include/stdlib.h [!SHARED] (__call_tls_dtors):
15753 Declare with __attribute__ ((weak)).
15754 * stdlib/exit.c (__libc_atexit) [!SHARED]:
15755 Call __call_tls_dtors only if it's not NULL.
15756
356b3480
RM
157572013-03-28 Roland McGrath <roland@hack.frob.com>
15758
288f7d79
RM
15759 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
15760 didn't do it already, then set _dl_phdr and _dl_phnum based on the
15761 magic __ehdr_start linker symbol if it's defined.
15762 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
15763 them up here if it was already done.
15764
dc0a0263
RM
15765 * elf/dl-support.c (_dl_phdr): Make pointer to const.
15766 (_dl_aux_init): Use const in cast when setting it.
15767 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
15768 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
15769 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
15770
3d3436ae
RM
15771 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
15772 Declare them here.
15773 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
15774 * csu/libc-tls.c: Nor here.
15775 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
15776
356b3480
RM
15777 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
15778 (__libc_message): Never call vsyslog.
15779
b0f1246a
AM
157802013-03-28 Alan Modra <amodra@gmail.com>
15781
15782 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
15783 Define as empty.
15784 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
15785 Likewise.
15786
fbbe2b9a
AZ
157872013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15788
15789 [BZ #15214]
15790 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
15791 underflow.
15792 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15793
1728ab37
SP
157942013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
15795
7a86be6e
SP
15796 [BZ #15304]
15797 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15798 Don't add gid passed as argument.
15799
1728ab37
SP
15800 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
15801
3a7182a1
JM
158022013-03-27 Joseph Myers <joseph@codesourcery.com>
15803
15804 [BZ #15307]
15805 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15806 imaginary part between 1.0 and 1.5 and real part less than 0.5
15807 specially.
15808 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15809 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15810 * math/libm-test.inc (cacos_test): Add more tests.
15811 (casin_test): Likewise.
15812 (casinh_test): Likewise.
15813 * sysdeps/i386/fpu/libm-test-ulps: Update.
15814 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15815
6f2e90e7
SP
158162013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
15817
5739f705
SP
15818 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
15819 constants.
15820 (norm): Likewise.
15821 (denorm): Likewise.
15822 (__dbl_mp): Likewise.
15823 (add_magnitudes): Likewise.
15824 (sub_magnitudes): Likewise.
15825 (__add): Likewise.
15826 (__sub): Likewise.
15827 (__mul): Likewise.
15828 (__sqr): Likewise.
15829 (__inv): Likewise.
15830 (__dvd): Likewise.
15831
e375e83d
SP
15832 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
15833 commented code.
15834 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
15835 (__dubcos): Likewise.
15836 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
15837 (__ieee754_acos): Likewise.
15838 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
15839 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
15840 (__exp1): Likewise.
15841 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15842 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
15843 (log1): Likewise.
15844 (my_log2): Likewise.
15845 (checkint): Likewise.
15846 * sysdeps/ieee754/dbl-64/e_remainder.c
15847 (__ieee754_remainder): Likewise.
15848 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
15849 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15850 (bsloww): Likewise.
15851 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
15852
6f2e90e7
SP
15853 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
15854 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
15855 MANTISSA_STORE_T to store computations on mantissa. Use
15856 macros for rounding and division.
15857 (denorm): Likewise.
15858 (__dbl_mp): Likewise.
15859 (add_magnitudes): Likewise.
15860 (sub_magnitudes): Likewise.
15861 (__mul): Likewise.
15862 (__sqr): Likewise.
15863 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
15864 powers of two in terms of TWOPOW macro.
15865 (mp_no): Make type of mantissa as MANTISSA_T.
15866 [!RADIXI]: Define RADIXI.
15867 [!TWO52]: Define TWO52.
15868 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
15869
fce14d4e
AZ
158702013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15871
15872 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
15873 llroundl symbol when building for PPC32.
15874
9ad027fb
MW
158752013-03-24 Mark H Weaver <mhw@netris.org>
15876
15877 * manual/arith.texi (Normalization Functions): Fix prototypes for
15878 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
15879
e42a38dd
AZ
158802013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15881
15882 [BZ #13889]
15883 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
15884 high value to check if expl overflow.
15885 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
15886 to check for underflow and overflow.
15887 * math/libm-test.inc: Add exp test.
15888
2e0fb521
DL
158892013-03-21 Dmitry V. Levin <ldv@altlinux.org>
15890
15891 [BZ #11120]
15892 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
15893 with NOT_IN_libc.
15894
b5784d95
AZ
158952013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15896
15897 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
15898 symbol.
15899
5aa4a1a1
TS
159002013-03-21 Thomas Schwinge <thomas@codesourcery.com>
15901
bdef0be7
TS
15902 * math/gen-libm-test.pl (parse_args, special_functions): Properly
15903 wrap blocks consisting of several statements.
15904
5aa4a1a1
TS
15905 * sysdeps/generic/math-tests.h: New file.
15906 * sysdeps/i386/fpu/math-tests.h: Likewise.
15907 * math/test-snan.c: Include it.
15908 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
15909
98c48fe5
JM
159102013-03-21 Joseph Myers <joseph@codesourcery.com>
15911
15912 [BZ #15285]
15913 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
15914 (__ieee754_j0l): Do not improve calculations using cos of twice
15915 input for inputs above LDBL_MAX / 2.0L.
15916 (__ieee754_y0l): Likewise.
15917 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
15918 (__ieee754_j1l): Do not improve calculations using cos of twice
15919 input for inputs above LDBL_MAX / 2.0L.
15920 (__ieee754_y1l): Likewise.
15921 * math/libm-test.inc (j0_test): Add another test.
15922 (j1_test): Likewise.
15923 (y0_test): Likewise.
15924 (y1_test): Likewise.
15925 * sysdeps/i386/fpu/libm-test-ulps: Update.
15926
3775a8bc
SP
159272013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15928
15929 * Rules ($(objpfx)bench-%.c): Include code from a C source
15930 file.
15931
0a1b2ae6
JM
159322013-03-21 Joseph Myers <joseph@codesourcery.com>
15933
15934 [BZ #15287]
15935 * math/k_casinh.c (__kernel_casinh): Handle arguments with
15936 imaginary part 1.0 and real part less than 0.5 specially.
15937 * math/k_casinhf.c (__kernel_casinhf): Likewise.
15938 * math/k_casinhl.c (__kernel_casinhl): Likewise.
15939 * math/libm-test.inc (cacos_test): Add more tests.
15940 (casin_test): Likewise.
15941 (casinh_test): Likewise.
15942 * sysdeps/i386/fpu/libm-test-ulps: Update.
15943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15944
b33d4ce4
SP
159452013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
15946
15947 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
15948 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
15949
bef0b507
JM
159502013-03-20 Joseph Myers <joseph@codesourcery.com>
15951
15952 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
15953 * config.make.in (config-cflags-sse4): Remove variable.
15954 (config-cflags-avx): Likewise.
15955 (config-cflags-sse2avx): Likewise.
15956 (config-cflags-novzeroupper): Likewise.
15957 (config-asflags-i686): Likewise.
15958 (have-mfma4): Likewise.
15959 (have-as-vis3): Likewise.
15960 (MIG): Likewise.
15961 * configure.in (MIG): Do not AC_SUBST.
15962 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
15963 (libc_cv_cc_sse4): Do not AC_SUBST.
15964 (libc_cv_cc_avx): Likewise.
15965 (libc_cv_cc_sse2avx): Likewise.
15966 (libc_cv_cc_novzeroupper): Likewise.
15967 (libc_cv_cc_fma4): Likewise.
15968 (libc_cv_as_i686): Likewise.
15969 (libc_cv_sparc_as_vis3): Likewise.
15970 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
15971 LIBC_CONFIG_VAR.
15972 (config-asflags-i686): Likewise.
15973 (config-cflags-avx): Likewise.
15974 (config-cflags-sse2avx): Likewise.
15975 (have-mfma4): Likewise.
15976 (config-cflags-novzeroupper): Likewise.
15977 * sysdeps/mach/configure.in (MIG): Likewise.
15978 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
15979 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
15980 LIBC_CONFIG_VAR.
15981 (config-cflags-avx): Likewise.
15982 (config-cflags-sse2avx): Likewise.
15983 (have-mfma4): Likewise.
15984 (config-cflags-novzeroupper): Likewise.
15985 * configure: Regenerated.
15986 * sysdeps/i386/configure: Likewise.
15987 * sysdeps/mach/configure: Likewise.
15988 * sysdeps/sparc/configure: Likewise.
15989 * sysdeps/x86_64/configure: Likewise.
15990
912cc4b3
RM
159912013-03-20 Roland McGrath <roland@hack.frob.com>
15992
15993 [BZ #14812]
15994 * locale/programs/localedef.c (options): Put N_ translation marker
15995 on argument names, not just descriptions.
15996
04eed2b0
MS
159972013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
15998
15999 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
16000
a065ceff
OB
160012013-03-20 Ondřej Bílka <neleai@seznam.cz>
16002
9bb2a810 16003 [BZ #14176]
a065ceff
OB
16004 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
16005
a600e5ce
RM
160062013-03-19 Roland McGrath <roland@hack.frob.com>
16007
16008 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
16009 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
16010 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
16011 [!BEFORE_ABORT] (before_abort): New function.
16012 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
16013 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
16014 (writev_for_fatal): New function.
16015 (WRITEV_FOR_FATAL): New macro; call that.
16016 (backtrace_and_maps): New function.
16017 (BEFORE_ABORT): New macro; call that.
16018 (struct str_list): Type removed.
16019 (__libc_message, __libc_fatal): Functions removed.
16020 Include <sysdeps/posix/libc_fatal.c> instead.
16021
6b18bea6
JM
160222013-03-19 Joseph Myers <joseph@codesourcery.com>
16023
16024 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
16025 constants.
16026 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
16027 double constants.
16028
aaa8cb4b
AS
160292013-03-19 Andreas Schwab <schwab@suse.de>
16030
44673770
AS
16031 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
16032 * sysdeps/gnu/configure: Regenerate.
16033
aaa8cb4b
AS
16034 * configure.in: Substitute libc_cv_rtlddir.
16035 * configure: Regenerate.
16036 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
16037 * Makeconfig (rtlddir, inst_rtlddir): New variables.
16038 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
16039 * elf/Makefile (install-others, CFLAGS-interp.c)
16040 (ldso_install, common-ldd-rewrite): Likewise.
16041 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
16042 $(inst_slibdir)/$(rtld-installed-name).
16043 * scripts/rellns-sh: Add -p option.
16044 * Makerules (make-shlib-link): Use rellns-sh to get relative name
16045 for source.
16046
d3cfc668
SP
160472013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
16048
16049 * manual/nptl.texi: Renamed to ...
16050 * manual/threads.texi: ... this.
16051 * manual/Makefile (chapters): Update.
16052
0e2b9cdd
RM
160532013-03-18 Roland McGrath <roland@hack.frob.com>
16054
16055 [BZ #14812]
16056 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
16057 on argument names, not just descriptions.
0e2b9cdd
RM
16058 * malloc/memusagestat.c (options): Likewise.
16059 * nss/getent.c (options): Likewise.
63270c24
RM
16060
160612013-03-18 Benno Schulenberg <bensberg@justemail.net>
16062
16063 [BZ #14812]
16064 * iconv/iconv_prog.c (options): Put N_ translation marker
16065 on argument names, not just descriptions.
16066 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 16067
b2e1393c
OB
160682013-03-18 Ondrej Bilka <neleai@seznam.cz>
16069
16070 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
16071 implementation which is faster on all x86_64 architectures.
16072 Tested on AMD, Intel Nehalem, SNB, IVB.
16073 * sysdeps/x86_64/strnlen.S: Likewise.
16074
16075 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
16076 Remove all multiarch strlen and strnlen versions.
16077 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
16078 Remove strlen and strnlen related parts.
16079
16080 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
16081 Inline strlen part.
16082 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
16083
16084 * sysdeps/x86_64/multiarch/strlen.S: Remove.
16085 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
16086 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
16087 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
16088 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16089 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
16090
ec4ff04d
CD
160912013-03-17 Carlos O'Donell <carlos@redhat.com>
16092
16093 * manual/memory.texi (Malloc Tunable Parameters):
16094 Sort parameters alphabetically. Add comments for missing entries.
16095
cd18e90a
DM
160962013-03-17 David S. Miller <davem@davemloft.net>
16097
16098 * sysdeps/sparc/fpu/libm-test-ulps: Update.
16099
2a185d32
JM
161002013-03-16 Joseph Myers <joseph@codesourcery.com>
16101
d2f9799e
JM
16102 [BZ #15283]
16103 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
16104 for arguments at most half maximum finite value.
16105 * math/libm-test.inc (j0_test): Add more tests.
16106 (j1_test): Likewise.
16107 (y0_test): Likewise.
16108 (y1_test): Likewise.
16109 * sysdeps/i386/fpu/libm-test-ulps: Update.
16110 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16111
2a185d32
JM
16112 [BZ #14155]
16113 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
16114 1 / x and functions P and Q for arguments above 0x1p256L.
16115 (__ieee754_y0l): Likewise.
16116 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
16117 (__ieee754_y1l): Likewise.
16118 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
16119 (j1_test): Likewise.
16120 (y0_test): Likewise.
16121 (y1_test): Likewise.
16122
6cbec759
TS
161232013-03-16 Thomas Schwinge <thomas@codesourcery.com>
16124
16125 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
16126 variable.
16127
bc16e260
RM
161282013-03-15 Roland McGrath <roland@hack.frob.com>
16129
aefc9b8c
RM
16130 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
16131 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
16132 zero since it's initialized to EXEC_PAGESIZE.
16133
bc16e260
RM
16134 * sysdeps/unix/sysv/linux/ldsodefs.h
16135 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
16136 * sysdeps/generic/ldsodefs.h: ... here.
16137
a57da955
TS
161382013-03-15 Thomas Schwinge <thomas@codesourcery.com>
16139
af00a34d
TS
16140 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
16141
495ded2c
TS
16142 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
16143 math/test-snan.c.
16144 * math/test-snan.c: Renamed from
16145 sysdeps/powerpc/fpu/test-powerpc-snan.c.
16146 * math/Makefile (tests): Add test-snan.
16147 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
16148 test-powerpc-snan.
16149
777b0332
TS
16150 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
16151 SUFFIX. Initialize qNaN_var with __builtin_nan family of
16152 functions.
16153 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
16154 __builtin_nan family of functions.
16155 * math/libm-test.inc (initialize): Initialize qnan_value with
16156 __builtin_nan family of functions.
16157 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
16158 Remove variables.
16159 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
16160 Remove functions.
16161 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
16162 storage class. Initialize qNaN_var and sNaN_var with
16163 __builtin_nan and __builtin_nans families of functions,
16164 respectively.
16165
64d063b8
TS
16166 * math/libm-test.inc (acosh_test): Also test with qNaN input.
16167 (sqrt_test): Remove duplicate test with qNaN input.
16168 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
16169 (round_test, signbit_test, significand_test): Note missing +/-Inf
16170 as well as qNaN tests.
16171
67e971f1
TS
16172 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
16173 qNaN_var. Fix a few strings, too.
16174 * math/libm-test.inc (nan_value): Rename to qnan_value.
16175 * math/gen-libm-test.pl (%beautify): Adjust to that.
16176 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
16177 * math/test-misc.c (main): Likewise.
16178 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
16179 to __qnan_bytes, and __qnan_union, respectively.
16180 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
16181 Likewise.
16182 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
16183 and lqnanval, respectively.
16184 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
16185 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
16186 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
16187 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
16188
64487e12
TS
16189 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
16190 * math/test-misc.c (main) [__x86_64__]: Enable test for long
16191 doubles.
16192
e015e27b
TS
16193 * math/test-misc.c (main): Fix copy'n'pastos.
16194 * misc/tst-efgcvt.c (special): Likewise.
16195
a57da955
TS
16196 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
16197 Remove declarations.
16198
1e380345
SP
161992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16200
16201 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
16202 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
16203 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
16204 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
16205
ef26eece
AZ
162062013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16207
16208 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
16209 macro to return vdso values correctly in IFUNC implementations.
16210 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16211 Optimization by using IFUNC.
16212
8cfdb7e0
SP
162132013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16214 Richard Henderson <rth@redhat.com>
16215 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
16216
16217 * Makefile.in (bench): New target.
16218 * NEWS: Mention the benchmark framework.
16219 * Rules (bench): Likewise.
16220 (binaries-bench): Generate binaries for functions to
16221 benchmark.
16222 * benchtests/Makefile: New makefile for benchmark tests.
16223 * benchtests/bench-skeleton.c: New skeleton file for benchmark
16224 programs.
16225 * benchtests/exp-inputs: New input file for EXP function.
16226 * benchtests/pow-inputs: New input file for POW function.
16227 * scripts/bench.pl: New script to generate source files for
16228 benchmark programs.
16229
bcda9880
SP
162302013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
16231
d22ca8cd
SP
16232 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
16233 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
16234 computations on mantissa. Use macros for rounding and
16235 division.
16236 (denorm): Likewise.
16237 (__dbl_mp): Likewise.
16238 (add_magnitudes): Likewise.
16239 (sub_magnitudes): Likewise.
16240 (__mul): Likewise.
16241 (__sqr): Likewise.
16242 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
16243 powers of two in terms of TWOPOW macro.
16244 (mp_no): Make type of mantissa as MANTISSA_T.
16245 [!RADIXI]: Define RADIXI.
16246 [!TWO52]: Define TWO52.
16247 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
16248
bcda9880
SP
16249 * manual/nptl.texi (cindex): Modify threads to pthreads.
16250
06d5adfb
JM
162512013-03-15 Joseph Myers <joseph@codesourcery.com>
16252
16253 * sysdeps/x86_64/preconfigure: Regenerated.
16254
41c7328e
JM
162552013-03-14 Joseph Myers <joseph@codesourcery.com>
16256
16257 [BZ #14155]
16258 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
16259 0x1p28 and above.
16260 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
16261 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
16262 0x1p28 and above.
16263 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
16264 * math/libm-test.inc (j0_test): Do not allow one spurious
16265 underflow exception.
16266 (y1_test): Likewise.
16267
e25cfa60
SP
162682013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
16269
0409959c
SP
16270 * manual/Makefile (chapters): Add nptl.
16271 * manual/debug.texi (Debugging Support): Add link to Threads
16272 chapter.
16273 * manual/nptl.texi: New file.
16274
e25cfa60
SP
16275 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
16276
58a1335e
PB
162772013-03-14 Petr Baudis <pasky@ucw.cz>
16278
16279 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
16280 for non-NULL pointer before the memory validity test. Pointed
16281 out by Holger Brunck <holger.brunck@keymile.com>.
16282
9dc7c64f
AS
162832013-03-13 Andreas Schwab <schwab@suse.de>
16284
16285 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
16286 instead of .os.
16287
54206aa6
JM
162882013-03-13 Joseph Myers <joseph@codesourcery.com>
16289
16290 * timezone/zic.c: Update from tzcode 2013b.
16291
e98cdb38
CD
162922013-03-12 Carlos O'Donell <carlos@redhat.com>
16293
16294 * manual/install.texi (Configuring and compiling):
16295 Mention i686 and i586.
16296 * INSTALL: Regenerate.
16297
9967e003
RM
162982013-03-12 Roland McGrath <roland@hack.frob.com>
16299
16300 * sysdeps/init_array/elf-init.c: New file.
16301 * csu/elf-init.c
16302 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
16303 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
16304
16305 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
16306 __gmon_start__ as global, but as static with a .preinit_array pointer.
16307 * sysdeps/init_array/gmon-start.c: New file. Use that.
16308 * sysdeps/init_array/crti.S: New file, empty except for comments.
16309 * sysdeps/init_array/crtn.S: Likewise.
16310
e6b5a293 163112013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
16312
16313 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
16314 definining bcopy.
80f844c9
OB
16315 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
16316 Remove Prefer_SSE_for_memop.
16317 * sysdeps/x86_64/multiarch/init-arch.h: Remove
16318 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
16319 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
16320 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
16321 memset-x86-64.
80f844c9 16322 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 16323 Remove bzero, memset ifunc support.
80f844c9
OB
16324 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
16325 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
16326 * sysdeps/x86_64/multiarch/memset.S: Likewise.
16327 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16328
fb6b0fcb
AS
163292013-03-11 Andreas Schwab <schwab@suse.de>
16330
16331 [BZ #15234]
16332 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
16333 by SHLIB_COMPAT.
16334 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
16335 (GLIBC_2.16): Remove pthread_atfork.
16336
3e6bd4b1
PP
163372013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
16338
16339 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
16340 (ptestcases.h): Likewise.
16341
222d7f00
RM
163422013-03-08 Roland McGrath <roland@hack.frob.com>
16343
16344 * Makeconfig ($(common-objpfx)config.status): Depend on
16345 sysdeps/*/preconfigure{,.in} too.
16346
1ba4f030
JM
163472013-03-08 Joseph Myers <joseph@codesourcery.com>
16348
a222d91a
JM
16349 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
16350 (__free_hook): Use void * instead of __malloc_ptr_t.
16351 (__malloc_hook): Likewise.
16352 (__realloc_hook): Likewise.
16353 (__memalign_hook): Likewise.
16354 (__after_morecore_hook): Likewise.
16355 * malloc/arena.c (save_malloc_hook): Likewise.
16356 (save_free_hook): Likewise.
16357 * malloc/hooks.c (malloc_hook_ini): Likewise.
16358 (realloc_hook_ini): Likewise.
16359 (memalign_hook_ini): Likewise.
16360 * malloc/malloc.c (malloc_hook_ini): Likewise.
16361 (realloc_hook_ini): Likewise.
16362 (memalign_hook_ini): Likewise.
16363 (__free_hook): Likewise.
16364 (__malloc_hook): Likewise.
16365 (__realloc_hook): Likewise.
16366 (__memalign_hook): Likewise.
16367 (__libc_malloc): Likewise.
16368 (__libc_free): Likewise.
16369 (__libc_realloc): Likewise.
16370 (__libc_memalign): Likewise.
16371 (__libc_valloc): Likewise.
16372 (__libc_pvalloc): Likewise.
16373 (__libc_calloc): Likewise.
16374 (__posix_memalign): Likewise.
16375 * malloc/morecore.c (__sbrk): Likewise.
16376 (__default_morecore): Likewise.
16377
5cc45e10
JM
16378 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
16379
dd54b864
JM
16380 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
16381 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
16382 __malloc_ptrdiff_t.
16383
1ba4f030
JM
16384 * malloc/malloc.h (__malloc_size_t): Remove macro.
16385 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
16386 __malloc_size_t.
16387 (old_memalign_hook): Likewise.
16388 (old_realloc_hook): Likewise.
16389 (struct hdr): Likewise.
16390 (flood): Likewise.
16391 (mallochook): Likewise.
16392 (memalignhook): Likewise.
16393 (reallochook): Likewise.
16394 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
16395 (tr_old_realloc_hook): Likewise.
16396 (tr_old_memalign_hook): Likewise.
16397 (tr_mallochook): Likewise.
16398 (tr_reallochook): Likewise.
16399 (tr_memalignhook): Likewise.
16400
edf66e57
AZ
164012013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16402
16403 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
16404 default_ldbl_pack and using as default implementation.
16405 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
16406 implementation.
16407 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
16408 redundant definition.
16409 (ldbl_insert_mantissa): Likewise.
16410 (ldbl_canonicalize): Likewise.
16411 (ldbl_nearbyint): Likewise.
16412 (ldbl_pack): Rename to ldbl_pack_ppc.
16413 (ldbl_unpack): Rename to ldbl_unpack_ppc.
16414 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
16415 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
16416
6d9145d8
SP
164172013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
16418
16419 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
16420 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
16421 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
16422 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
16423 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
16424 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
16425 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
16426 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
16427
4dd4e157
AJ
164282013-03-07 Andreas Jaeger <aj@suse.de>
16429
16430 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16431 bits/mman-linux.h.
16432
adbb8027
SP
164332013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
16434
ce544b5b
SP
16435 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
16436 Include mpa.h and declare __MPEXP.
16437 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
16438 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16439 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16440 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
16441 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16442 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
16443 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
16444
4cc149fd
SP
16445 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
16446 (__slowpow): Use long double EXPL and LOGL functions to
16447 compute POW.
16448 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
16449 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16450 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
16451 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
16452 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
16453 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
16454
e6ebd4a7
SP
16455 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
16456 intermediate variable to calculate exponent.
16457 (__sqr): Likewise.
16458 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
16459 Likewise.
16460 (__sqr): Likewise.
16461
82a9811d
SP
16462 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
16463 [!NO__SQR]: Define __sqr.
16464 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
16465 and NO__SQR. Remove all code except __mul and __sqr. Include
16466 sysdeps/ieee754/dbl-64/mpa.c.
16467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
16468
adbb8027
SP
16469 [BZ #12723]
16470 * posix/Makefile (tests): Add tst-pathconf.
16471 * posix/tst-pathconf.c: New test case.
16472 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
16473 _PC_PIPE_BUF.
16474 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
16475
39120df9
PF
164762013-03-06 Patsy Franklin <pfrankli@redhat.com>
16477
16478 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
16479
67525cb8
AJ
164802013-03-06 Andreas Jaeger <aj@suse.de>
16481
664a9ce4
AJ
16482 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
16483 definition via __MAP_ANONYMOUS.
16484
8e39047d
AJ
16485 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
16486 it's not part of Linux headers.
16487
67525cb8
AJ
16488 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
16489 (MAP_HUGE_MASK): Define.
16490
16491 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16492 Define.
16493 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16494 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16495 Define.
16496 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16497 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
16498 Define.
16499 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16500 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
16501 Define.
16502 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
16503
16504 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
16505 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
16506 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
16507 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
16508 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
16509 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
16510
16511 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
16512 Handle f2fs.
16513
16514 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
16515 Handle f2fs and efivarfs.
16516
16517 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
16518 f2fs.
16519
16520 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
16521 (EFIVARFS_MAGIC): Add.
16522 (F2FS_LINK_MAX): Add.
16523
e1b42695
PP
165242013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
16525
16526 * stdio-common/vfprintf.c: Replace __builtin_expect with
16527 __glibc_unlikely.
16528
2d67d91a
JM
165292013-03-06 Joseph Myers <joseph@codesourcery.com>
16530
16531 [BZ #13550]
16532 * sysdeps/generic/bp-sym.h: Remove file.
16533 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
16534 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
16535 <bp-sym.h> and <bp-asm.h>.
16536 (__longjmp): Don't use BP_SYM.
16537 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
16538 and <bp-asm.h>.
16539 (memcpy): Don't use BP_SYM.
16540 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
16541 <bp-sym.h> and <bp-asm.h>.
16542 (memcpy): Don't use BP_SYM.
16543 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
16544 <bp-asm.h>.
16545 (memcpy): Don't use BP_SYM.
16546 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
16547 <bp-asm.h>.
16548 (memset): Don't use BP_SYM.
16549 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16550 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16551 (__bzero): Don't use BP_SYM.
16552 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16553 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16554 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
16555 <bp-sym.h> and <bp-asm.h>.
16556 (memcmp): Don't use BP_SYM. Remove comment about bounded
16557 pointers.
16558 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
16559 <bp-sym.h> and <bp-asm.h>.
16560 (memcpy): Don't use BP_SYM.
16561 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
16562 <bp-sym.h> and <bp-asm.h>.
16563 (memset): Don't use BP_SYM.
16564 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16565 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16566 (__bzero): Don't use BP_SYM.
16567 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16568 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16569 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
16570 <bp-sym.h> and <bp-asm.h>.
16571 (strncmp): Don't use BP_SYM. Remove comment about bounded
16572 pointers.
16573 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
16574 <bp-sym.h> and <bp-asm.h>.
16575 (memcpy): Don't use BP_SYM.
16576 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
16577 <bp-sym.h> and <bp-asm.h>.
16578 (memset): Don't use BP_SYM.
16579 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16580 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16581 (__bzero): Don't use BP_SYM.
16582 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16583 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16584 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
16585 <bp-sym.h> and <bp-asm.h>.
16586 (__memchr): Don't use BP_SYM.
16587 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
16588 <bp-sym.h> and <bp-asm.h>.
16589 (memcmp): Don't use BP_SYM. Remove comment about bounded
16590 pointers.
16591 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
16592 <bp-sym.h> and <bp-asm.h>.
16593 (memcpy): Don't use BP_SYM.
16594 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
16595 <bp-sym.h> and <bp-asm.h>.
16596 (__mempcpy): Don't use BP_SYM.
16597 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
16598 <bp-sym.h> and <bp-asm.h>.
16599 (__memrchr): Don't use BP_SYM.
16600 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
16601 <bp-sym.h> and <bp-asm.h>.
16602 (memset): Don't use BP_SYM.
16603 (__bzero): Likewise.
16604 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
16605 <bp-sym.h> and <bp-asm.h>.
16606 (__rawmemchr): Don't use BP_SYM.
16607 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
16608 <bp-sym.h> and <bp-asm.h>.
16609 (__STRCMP): Don't use BP_SYM.
16610 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
16611 <bp-sym.h> and <bp-asm.h>.
16612 (strchr): Don't use BP_SYM.
16613 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
16614 <bp-sym.h> and <bp-asm.h>.
16615 (__strchrnul): Don't use BP_SYM.
16616 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
16617 <bp-sym.h> and <bp-asm.h>.
16618 (strlen): Don't use BP_SYM.
16619 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
16620 <bp-sym.h> and <bp-asm.h>.
16621 (strncmp): Don't use BP_SYM. Remove comment about bounded
16622 pointers.
16623 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
16624 <bp-sym.h> and <bp-asm.h>.
16625 (__strnlen): Don't use BP_SYM.
16626 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
16627 <bp-sym.h> and <bp-asm.h>.
16628 (__GI__setjmp): Don't use BP_SYM.
16629 (_setjmp): Likewise.
16630 (__sigsetjmp): Likewise.
16631 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
16632 (L(start_addresses)): Don't use BP_SYM.
16633 (_start): Likewise.
16634 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
16635 <bp-asm.h>.
16636 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
16637 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
16638 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16639 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16640 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
16641 <bp-asm.h>.
16642 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
16643 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
16644 about bounded pointers.
16645 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16646 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16647 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
16648 <bp-asm.h>.
16649 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16650 about bounded pointers. Remove GKM FIXME comments.
16651 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16652 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
16653 <bp-asm.h>.
16654 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
16655 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
16656 Remove GKM FIXME comments.
16657 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16658 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16659 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
16660 <bp-asm.h>.
16661 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
16662 about bounded pointers. Remove GKM FIXME comment.
16663 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
16664 and <bp-asm.h>.
16665 (strncmp): Don't use BP_SYM. Remove comment about bounded
16666 pointers.
16667 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
16668 <bp-sym.h> and <bp-asm.h>.
16669 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
16671 <bp-sym.h> and <bp-asm.h>.
16672 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16673 comment.
16674
cdcf361f
PP
166752013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
16676
16677 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
16678 call free(NULL).
16679
3c4a2b15
DM
166802013-03-05 David S. Miller <davem@davemloft.net>
16681
16682 * po/es.po: Update from translation team.
16683
cdcf361f 166842013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
16685
16686 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
16687 <bits/mman-linux.h>.
16688 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16689 is fine.
16690 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
16691 <bits/mman-linux.h> to end of file.
16692 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16693 is fine.
16694 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
16695 <bits/mman-linux.h> to end of file.
16696 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
16697 is fine.
16698 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
16699 <bits/mman-linux.h> to end of file.
16700
16701 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
16702 (MCL_CURRENT, MCL_FUTURE): Define here.
16703
5f67c04f
AK
167042013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16705
8a4473cc 16706 [BZ #15232]
5f67c04f
AK
16707 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
16708 attribute_hidden.
16709 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
16710
c3e94a95
AK
167112013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16712
16713 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
16714 fourth parameter needed for rt_sigprocmask syscall.
16715 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
16716 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
16717 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16718 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
16719 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
16720 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
16721
cfb6382a
JM
167222013-03-04 Joseph Myers <joseph@codesourcery.com>
16723
16724 [BZ #13550]
16725 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
16726 comment about bounded pointers.
16727 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
16728 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
16729
539d8e01
AJ
167302013-03-04 Andreas Jaeger <aj@suse.de>
16731
16732 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
16733 common definitions.
16734
16735 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
16736 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
16737 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
16738 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
16739 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
16740 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
16741
2e167a70 167422013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
16743
16744 [BZ #15055]
16745 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
16746 __ieee754_sqrl instead of __sqrl.
16747
68508633
JM
167482013-03-01 Joseph Myers <joseph@codesourcery.com>
16749
16750 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
16751 * sysdeps/powerpc/fpu_control.h: ... here.
16752 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
16753 * sysdeps/powerpc/bits/fenvinline.h: ... here.
16754 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
16755 * sysdeps/powerpc/bits/mathinline.h: ... here.
16756
7775448e
RM
167572013-03-01 Roland McGrath <roland@hack.frob.com>
16758
16759 * elf/dl-hwcaps.c (_dl_important_hwcaps):
16760 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
16761 to just [NEED_DL_SYSINFO_DSO].
16762 * elf/dl-support.c: Likewise.
16763 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
16764 * elf/rtld.c (dl_main): Likewise.
16765 * elf/setup-vdso.h (setup_vdso): Likewise.
16766 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
16767 * sysdeps/unix/sysv/linux/dl-sysdep.c
16768 (_dl_discover_osversion): Likewise.
16769
4e9b5995
CD
167702013-03-01 Carlos O'Donell <carlos@redhat.com>
16771
16772 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
16773 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16774
e23872c8
SP
167752013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
16776
e5c74c63
SP
16777 * NEWS: Mention libm performance improvements and non-x86 PI
16778 futex support.
16779
e23872c8
SP
16780 * csu/libc-start.c (__pthread_initialize_minimal): Change
16781 function arguments.
16782 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
16783
b5510883
JM
167842013-02-28 Joseph Myers <joseph@codesourcery.com>
16785
16786 [BZ #13550]
16787 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
16788 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
16789 <bp-sym.h> and <bp-asm.h>.
16790 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16791 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
16792 and <bp-asm.h>.
16793 (memcpy): Don't use BP_SYM.
16794 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
16795 <bp-asm.h>.
16796 (__mpn_add_n): Don't use BP_SYM.
16797 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
16798 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
16799 and <bp-asm.h>.
16800 (__mpn_addmul_1): Don't use BP_SYM.
16801 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16802 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
16803 <bp-sym.h>.
16804 (_setjmp): Don't use BP_SYM.
16805 (__novmx_setjmp): Likewise.
16806 (__GI__setjmp): Likewise.
16807 (__vmx_setjmp): Likewise.
16808 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
16809 <bp-sym.h>.
16810 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
16811 (__bzero): Don't use BP_SYM.
16812 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
16813 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
16814 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
16815 <bp-sym.h> and <bp-asm.h>.
16816 (memcpy): Don't use BP_SYM.
16817 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
16818 <bp-sym.h> and <bp-asm.h>.
16819 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16820 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
16821 <bp-sym.h> and <bp-asm.h>.
16822 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
16823 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
16824 <bp-asm.h>.
16825 (__mpn_lshift): Don't use BP_SYM.
16826 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16827 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
16828 <bp-asm.h>.
16829 (memset): Don't use BP_SYM.
16830 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
16831 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
16832 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
16833 <bp-asm.h>.
16834 (__mpn_mul_1): Don't use BP_SYM.
16835 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16836 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
16837 <bp-sym.h> and <bp-asm.h>.
16838 (memcmp): Don't use BP_SYM.
16839 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
16840 <bp-sym.h> and <bp-asm.h>.
16841 (memcpy): Don't use BP_SYM.
16842 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
16843 <bp-sym.h> and <bp-asm.h>.
16844 (memset): Don't use BP_SYM.
16845 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
16846 <bp-sym.h> and <bp-asm.h>.
16847 (strncmp): Don't use BP_SYM.
16848 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
16849 <bp-sym.h> and <bp-asm.h>.
16850 (memcpy): Don't use BP_SYM.
16851 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
16852 <bp-sym.h> and <bp-asm.h>.
16853 (memset): Don't use BP_SYM.
16854 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
16855 <bp-sym.h> and <bp-asm.h>.
16856 (__memchr): Don't use BP_SYM.
16857 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
16858 <bp-sym.h> and <bp-asm.h>.
16859 (memcmp): Don't use BP_SYM.
16860 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
16861 <bp-sym.h> and <bp-asm.h>.
16862 (memcpy): Don't use BP_SYM.
16863 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
16864 <bp-sym.h> and <bp-asm.h>.
16865 (__mempcpy): Don't use BP_SYM.
16866 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
16867 <bp-sym.h> and <bp-asm.h>.
16868 (__memrchr): Don't use BP_SYM.
16869 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
16870 <bp-sym.h> and <bp-asm.h>.
16871 (memset): Don't use BP_SYM.
16872 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
16873 <bp-sym.h> and <bp-asm.h>.
16874 (__rawmemchr): Don't use BP_SYM.
16875 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
16876 <bp-sym.h> and <bp-asm.h>.
16877 (__STRCMP): Don't use BP_SYM.
16878 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
16879 <bp-sym.h> and <bp-asm.h>.
16880 (strchr): Don't use BP_SYM.
16881 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
16882 <bp-sym.h> and <bp-asm.h>.
16883 (__strchrnul): Don't use BP_SYM.
16884 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
16885 <bp-sym.h> and <bp-asm.h>.
16886 (strlen): Don't use BP_SYM.
16887 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
16888 <bp-sym.h> and <bp-asm.h>.
16889 (strncmp): Don't use BP_SYM.
16890 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
16891 <bp-sym.h> and <bp-asm.h>.
16892 (__strnlen): Don't use BP_SYM.
16893 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
16894 <bp-asm.h>.
16895 (__mpn_rshift): Don't use BP_SYM.
16896 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
16897 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
16898 <bp-sym.h> and <bp-asm.h>.
16899 (__sigsetjmp): Don't use BP_SYM.
16900 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
16901 (L(start_addresses)): Don't use BP_SYM.
16902 (_start): Likewise.
16903 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
16904 <bp-asm.h>.
16905 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
16906 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16907 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16908 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
16909 <bp-asm.h>.
16910 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
16911 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
16912 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
16913 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
16914 <bp-asm.h>.
16915 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16916 comments.
16917 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
16918 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
16919 <bp-asm.h>.
16920 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
16921 FIXME comments.
16922 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
16923 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
16924 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
16925 <bp-asm.h>.
16926 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
16927 comment.
16928 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
16929 and <bp-asm.h>.
16930 (strncmp): Don't use BP_SYM,
16931 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
16932 <bp-asm.h>.
16933 (__mpn_sub_n): Don't use BP_SYM.
16934 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
16935 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
16936 and <bp-asm.h>.
16937 (__mpn_submul_1): Don't use BP_SYM.
16938 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
16939 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
16940 <bp-sym.h> and <bp-asm.h>.
16941 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
16942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
16943 <bp-sym.h> and <bp-asm.h>.
16944 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
16945 comment.
16946
8d19fe64
SP
169472013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
16948
16949 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
16950 Use ZK to minimize writes to Z.
16951 (sub_magnitudes): Simplify code a bit.
16952 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
16953 Use ZK to minimize writes to Z.
16954 (sub_magnitudes): Simplify code a bit.
16955
85bd816a
RM
169562013-02-27 Roland McGrath <roland@hack.frob.com>
16957
16958 * csu/gmon-start.c: Add special exception to license text.
16959
b5977bf2
RH
169602013-02-27 Richard Henderson <rth@redhat.com>
16961
16962 * scripts/config.guess: Update from config.git.
16963 * scripts/config.sub: Likewise.
16964
11d6e2f2
SP
169652013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
16966
09c14ed2
SP
16967 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
16968
a688864e
SP
16969 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
16970
6295157a
SP
16971 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
16972
b8de2202
SP
16973 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
16974
11d6e2f2
SP
16975 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
16976
7e80ddb8
RM
169772013-02-26 Roland McGrath <roland@hack.frob.com>
16978
16979 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
16980 [$(build-shared = yes].
7e80ddb8 16981
7da6d9ed
SP
169822013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16983
45f05884
SP
16984 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
16985 (__mul): Reduce iterations for calculating mantissa.
16986
2236d359
SP
16987 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
16988 MPTWO.
16989 (__mpranred): Likewise.
16990
7da6d9ed
SP
16991 [BZ #15160]
16992 * malloc/memusagestat.c (main): Draw graphs for heap and stack
16993 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
16994
b7688c42
PE
169952013-02-26 Paul Eggert <eggert@cs.ucla.edu>
16996
16997 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
16998 Define __attribute__.
16999
53a5c423
SP
170002013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
17001
17002 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
17003 unused.
17004 * posix/regex_internal.h (__attribute): Remove.
17005 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
17006 (re_string_context_at): Likewise.
17007 (bitset_not): Use __attribute__ and mark function as possibly
17008 unused.
17009 (bitset_merge): Likewise.
17010 (bitset_mask): Likewise.
17011 (re_string_char_size_at): Likewise.
17012 (re_string_wchar_at): Likewise.
17013 (re_string_elem_size_at): Likewise.
17014
60f5a8b5
SP
170152013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
17016
2a983a2e
SP
17017 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
17018 code.
17019 (cc32): Likewise.
17020
e69804d1
SP
17021 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
17022 (__acr): Likewise.
17023 (__cpy): Likewise.
17024 (norm): Likewise.
17025 (denorm): Likewise.
17026 (__dbl_mp): Likewise.
17027 (add_magnitudes): Likewise.
17028 (sub_magnitudes): Likewise.
17029 (__mul): Likewise.
17030 (__inv): Likewise.
17031
2f22a1e8
SP
17032 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
17033 style.
17034
8930ddc7
SP
17035 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
17036 style.
17037
dc60cb11
SP
17038 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
17039 code.
17040
60f5a8b5
SP
17041 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
17042 up changes with default code.
17043 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
17044 Likewise.
17045
b4d1fd33
AM
170462013-02-24 Allan McRae <allan@archlinux.org>
17047
faf6f8bc
AM
17048 * manual/socket.texi (The Internet Namespace): Order menu items
17049 to match that in the file.
17050
b4d1fd33
AM
17051 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
17052 node listing of the info page menu.
17053
2366713d
JM
170542013-02-21 Joseph Myers <joseph@codesourcery.com>
17055
17056 [BZ #13550]
17057 * sysdeps/i386/bp-asm.h: Remove file.
17058 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17059 (PARMS): Do not use macros from bp-asm.h.
17060 (S1): Likewise.
17061 (S2): Likewise.
17062 (SIZE): Likewise.
17063 (__mpn_add_n): Do not use BP_SYM
17064 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
17065 "bp-asm.h".
17066 (PARMS): Do not use macros from bp-asm.h.
17067 (S1): Likewise.
17068 (SIZE): Likewise.
17069 (__mpn_addmul_1): Do not use BP_SYM
17070 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
17071 "bp-asm.h".
17072 (PARMS): Do not use macros from bp-asm.h.
17073 (SIGMSK): Likewise.
17074 (_setjmp): Likewise. Do not use BP_SYM.
17075 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
17076 "bp-asm.h".
17077 (PARMS): Do not use macros from bp-asm.h.
17078 (SIGMSK): Likewise.
17079 (setjmp): Likewise. Do not use BP_SYM.
17080 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
17081 "bp-asm.h".
17082 (PARMS): Do not use macros from bp-asm.h.
17083 (__frexp): Do not use BP_SYM.
17084 (frexp): Likewise.
17085 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
17086 "bp-asm.h".
17087 (PARMS): Do not use macros from bp-asm.h.
17088 (__frexpf): Do not use BP_SYM.
17089 (frexpf): Likewise.
17090 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
17091 "bp-asm.h".
17092 (PARMS): Do not use macros from bp-asm.h.
17093 (__frexpl): Do not use BP_SYM.
17094 (frexpl): Likewise.
17095 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
17096 "bp-asm.h".
17097 (PARMS): Do not use macros from bp-asm.h.
17098 (__remquo): Do not use BP_SYM.
17099 (remquo): Likewise.
17100 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
17101 "bp-asm.h".
17102 (PARMS): Do not use macros from bp-asm.h.
17103 (__remquof): Do not use BP_SYM.
17104 (remquof): Likewise.
17105 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
17106 "bp-asm.h".
17107 (PARMS): Do not use macros from bp-asm.h.
17108 (__remquol): Do not use BP_SYM.
17109 (remquol): Likewise.
17110 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
17111 "bp-asm.h".
17112 (PARMS): Do not use macros from bp-asm.h.
17113 (DEST): Likewise.
17114 (SRC): Likewise.
17115 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
17116 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
17117 "bp-asm.h".
17118 (PARMS): Do not use macros from bp-asm.h.
17119 (strlen): Do not use BP_SYM.
17120 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
17121 "bp-asm.h".
17122 (PARMS): Do not use macros from bp-asm.h.
17123 (S1): Likewise.
17124 (S2): Likewise.
17125 (SIZE): Likewise.
17126 (__mpn_add_n): Do not use BP_SYM.
17127 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
17128 "bp-asm.h".
17129 (PARMS): Do not use macros from bp-asm.h.
17130 (S1): Likewise.
17131 (SIZE): Likewise.
17132 (__mpn_addmul_1): Do not use BP_SYM.
17133 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
17134 weak_alias.
17135 (bzero): Likewise.
17136 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
17137 "bp-asm.h".
17138 (PARMS): Do not use macros from bp-asm.h.
17139 (S): Likewise.
17140 (SIZE): Likewise.
17141 (__mpn_lshift): Do not use BP_SYM.
17142 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
17143 "bp-asm.h".
17144 (PARMS): Do not use macros from bp-asm.h.
17145 (DEST): Likewise.
17146 (SRC): Likewise.
17147 (LEN): Likewise.
17148 (memcpy): Likewise. Do not use BP_SYM.
17149 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
17150 libc_hidden_def and weak_alias.
17151 (mempcpy): Do not use BP_SYM in weak_alias.
17152 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
17153 "bp-asm.h".
17154 (PARMS): Do not use macros from bp-asm.h.
17155 (DEST): Likewise.
17156 (LEN): Likewise.
17157 [!BZERO_P] (CHR): Likewise.
17158 (memset): Likewise. Do not use BP_SYM.
17159 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
17160 "bp-asm.h".
17161 (PARMS): Do not use macros from bp-asm.h.
17162 (S1): Likewise.
17163 (SIZE): Likewise.
17164 (__mpn_mul_1): Do not use BP_SYM.
17165 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
17166 "bp-asm.h".
17167 (PARMS): Do not use macros from bp-asm.h.
17168 (S): Likewise.
17169 (SIZE): Likewise.
17170 (__mpn_rshift): Do not use BP_SYM.
17171 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
17172 "bp-asm.h".
17173 (PARMS): Do not use macros from bp-asm.h.
17174 (STR): Likewise.
17175 (CHR): Likewise.
17176 (strchr): Likewise. Do not use BP_SYM.
17177 (index): Do not use BP_SYM in weak_alias.
17178 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
17179 "bp-asm.h".
17180 (PARMS): Do not use macros from bp-asm.h.
17181 (DEST): Likewise.
17182 (SRC): Likewise.
17183 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
17184 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
17185 "bp-asm.h".
17186 (PARMS): Do not use macros from bp-asm.h.
17187 (strlen): Do not use BP_SYM.
17188 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
17189 "bp-asm.h".
17190 (PARMS): Do not use macros from bp-asm.h.
17191 (S1): Likewise.
17192 (S2): Likewise.
17193 (SIZE): Likewise.
17194 (__mpn_sub_n): Do not use BP_SYM.
17195 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
17196 "bp-asm.h".
17197 (PARMS): Do not use macros from bp-asm.h.
17198 (S1): Likewise.
17199 (SIZE): Likewise.
17200 (__mpn_submul_1): Do not use BP_SYM.
17201 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
17202 "bp-asm.h".
17203 (PARMS): Do not use macros from bp-asm.h.
17204 (S1): Likewise.
17205 (S2): Likewise.
17206 (SIZE): Likewise.
17207 (__mpn_add_n): Do not use BP_SYM.
17208 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
17209 weak_alias.
17210 (bzero): Likewise.
17211 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
17212 "bp-asm.h".
17213 (PARMS): Do not use macros from bp-asm.h.
17214 (BLK2): Likewise.
17215 (LEN): Likewise.
17216 (memcmp): Do not use BP_SYM.
17217 (bcmp): Do not use BP_SYM in weak_alias.
17218 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
17219 "bp-asm.h".
17220 (PARMS): Do not use macros from bp-asm.h.
17221 (DEST): Likewise.
17222 (SRC): Likewise.
17223 (LEN): Likewise.
17224 (memcpy): Likewise. Do not use BP_SYM.
17225 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
17226 "bp-asm.h".
17227 (PARMS): Do not use macros from bp-asm.h.
17228 (DEST): Likewise.
17229 (SRC): Likewise.
17230 (LEN): Likewise.
17231 (memmove): Likewise. Do not use BP_SYM.
17232 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
17233 "bp-asm.h".
17234 (PARMS): Do not use macros from bp-asm.h.
17235 (DEST): Likewise.
17236 (SRC): Likewise.
17237 (LEN): Likewise.
17238 (__mempcpy): Likewise. Do not use BP_SYM.
17239 (mempcpy): Do not use BP_SYM in weak_alias.
17240 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
17241 "bp-asm.h".
17242 (PARMS): Do not use macros from bp-asm.h.
17243 (DEST): Likewise.
17244 (LEN): Likewise.
17245 [!BZERO_P] (CHR): Likewise.
17246 (memset): Likewise. Do not use BP_SYM.
17247 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
17248 "bp-asm.h".
17249 (PARMS): Do not use macros from bp-asm.h.
17250 (STR2): Likewise.
17251 (strcmp): Do not use BP_SYM.
17252 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
17253 "bp-asm.h".
17254 (PARMS): Do not use macros from bp-asm.h.
17255 (STR): Likewise.
17256 (DELIM): Likewise.
17257 [USE_AS_STRTOK_R] (SAVE): Likewise.
17258 (FUNCTION): Likewise. Do not use BP_SYM.
17259 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
17260 aliases.
17261 (strtok_r): Likewise.
17262 (__GI___strtok_r): Likewise.
17263 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17264 (PARMS): Do not use macros from bp-asm.h.
17265 (S): Likewise.
17266 (SIZE): Likewise.
17267 (__mpn_lshift): Do not use BP_SYM.
17268 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17269 (PARMS): Do not use macros from bp-asm.h.
17270 (STR): Likewise.
17271 (CHR): Likewise.
17272 (__memchr): Do not use BP_SYM.
17273 (memchr): Do not use BP_SYM in weak_alias.
17274 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17275 (PARMS): Do not use macros from bp-asm.h.
17276 (BLK2): Likewise.
17277 (LEN): Likewise.
17278 (memcmp): Do not use BP_SYM.
17279 (bcmp): Do not use BP_SYM in weak_alias.
17280 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
17281 (PARMS): Do not use macros from bp-asm.h.
17282 (S1): Likewise.
17283 (SIZE): Likewise.
17284 (__mpn_mul_1): Do not use BP_SYM.
17285 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
17286 "bp-asm.h".
17287 (PARMS): Do not use macros from bp-asm.h.
17288 (STR): Likewise.
17289 (CHR): Likewise.
17290 (__rawmemchr): Do not use BP_SYM.
17291 (rawmemchr): Do not use BP_SYM in weak_alias.
17292 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
17293 (PARMS): Do not use macros from bp-asm.h.
17294 (S): Likewise.
17295 (SIZE): Likewise.
17296 (__mpn_rshift): Do not use BP_SYM.
17297 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
17298 (PARMS): Do not use macros from bp-asm.h.
17299 (SIGMSK): Likewise.
17300 (__sigsetjmp): Likewise. Do not use BP_SYM.
17301 * sysdeps/i386/start.S: Do not include "bp-sym.h".
17302 (_start): Do not use BP_SYM.
17303 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
17304 (PARMS): Do not use macros from bp-asm.h.
17305 (DEST): Likewise.
17306 (SRC): Likewise.
17307 (__stpcpy): Likewise. Do not use BP_SYM.
17308 (stpcpy): Do not use BP_SYM in weak_alias.
17309 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
17310 "bp-asm.h".
17311 (PARMS): Do not use macros from bp-asm.h.
17312 (DEST): Likewise.
17313 (SRC): Likewise.
17314 (LEN): Likewise.
17315 (__stpncpy): Likewise. Do not use BP_SYM.
17316 (stpncpy): Do not use BP_SYM in weak_alias.
17317 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
17318 (PARMS): Do not use macros from bp-asm.h.
17319 (STR): Likewise.
17320 (CHR): Likewise.
17321 (strchr): Likewise. Do not use BP_SYM.
17322 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
17323 "bp-asm.h".
17324 (PARMS): Do not use macros from bp-asm.h.
17325 (STR): Likewise.
17326 (CHR): Likewise.
17327 (__strchrnul): Likewise. Do not use BP_SYM.
17328 (strchrnul): Do not use BP_SYM in weak_alias.
17329 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
17330 "bp-asm.h".
17331 (PARMS): Do not use macros from bp-asm.h.
17332 (STOP): Likewise.
17333 (strcspn): Do not use BP_SYM.
17334 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
17335 "bp-asm.h".
17336 (PARMS): Do not use macros from bp-asm.h.
17337 (STR): Likewise.
17338 (STOP): Likewise.
17339 (strpbrk): Likewise. Do not use BP_SYM.
17340 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
17341 "bp-asm.h".
17342 (PARMS): Do not use macros from bp-asm.h.
17343 (STR): Likewise.
17344 (CHR): Likewise.
17345 (strrchr): Likewise. Do not use BP_SYM.
17346 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
17347 (PARMS): Do not use macros from bp-asm.h.
17348 (SKIP): Likewise.
17349 (strspn): Do not use BP_SYM.
17350 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
17351 (PARMS): Do not use macros from bp-asm.h.
17352 (STR): Likewise.
17353 (DELIM): Likewise.
17354 (SAVE): Likewise.
17355 (FUNCTION): Likewise. Do not use BP_SYM.
17356 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
17357 aliases.
17358 (strtok_r): Likewise.
17359 (__GI___strtok_r): Likewise.
17360 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
17361 (PARMS): Do not use macros from bp-asm.h.
17362 (S1): Likewise.
17363 (S2): Likewise.
17364 (SIZE): Likewise.
17365 (__mpn_sub_n): Do not use BP_SYM.
17366 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
17367 "bp-asm.h".
17368 (PARMS): Do not use macros from bp-asm.h.
17369 (S1): Likewise.
17370 (SIZE): Likewise.
17371 (__mpn_submul_1): Do not use BP_SYM.
17372 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
17373 <bp-sym.h>.
17374 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
17375 and <bp-asm.h>.
17376 (PARMS): Do not use macros from bp-asm.h.
17377 (FLAGS): Likewise.
17378 (PTID): Likewise.
17379 (TLS): Likewise.
17380 (CTID): Likewise.
17381 (__clone): Do not use BP_SYM.
17382 (clone): Do not use BP_SYM in weak_alias.
17383 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
17384 and <bp-asm.h>.
17385 (PARMS): Do not use macros from bp-asm.h.
17386 (LEN): Likewise.
17387 (__mmap64): Do not use BP_SYM.
17388 (mmap64): Do not use BP_SYM in weak_alias.
17389 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
17390 <bp-sym.h> and <bp-asm.h>.
17391 (PARMS): Do not use macros from bp-asm.h.
17392 (__posix_fadvise64_l64): Do not use BP_SYM.
17393 * sysdeps/unix/sysv/linux/i386/semtimedop.S
17394 (PARMS): Do not use macros from bp-asm.h.
17395 (NSOPS): Likewise.
17396 (semtimedop): Do not use BP_SYM.
17397 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
17398 and <bp-asm.h>.
17399
582a3cff
AM
174002013-02-21 Allan McRae <allan@archlinux.org>
17401
17402 * manual/message.texi (Charset conversion in gettext):
17403 Move @end statement to beginning of line.
17404
bab8a695
SP
174052013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17406
80945231
SP
17407 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
17408 static.
17409 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
17410 Likewise.
17411
bab8a695
SP
17412 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
17413 (denorm): Likewise.
17414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
17415 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
17416
e21d7aa7
AK
174172013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17418
17419 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
17420 tail-call to the resolved function if pltexit isn't needed.
17421
4c7a4263
SP
174222013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
17423
17424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
17425 or Y being zero as being unlikely.
17426 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17427 Likewise.
17428
41f49342
CD
174292013-02-20 Carlos O'Donell <carlos@redhat.com>
17430
17431 * manual/nss.texi (System Databases and Name Service Switch):
17432 Remove frobnicate @pxref.
17433
50022a93
TS
174342013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17435
17436 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17437 __attribute__ ((unused)) to __attribute__ ((__unused__)).
17438
08cbd996
PM
174392013-02-20 Petr Machata <pmachata@redhat.com>
17440
17441 * elf/elf.h (R_ARM_TARGET1): New macro.
17442 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
17443 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
17444 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
17445 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
17446 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
17447 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
17448 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
17449 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
17450 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
17451 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
17452 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
17453 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
17454 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
17455 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
17456 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
17457 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
17458 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
17459 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
17460 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
17461 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
17462 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
17463 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
17464 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
17465 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
17466 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
17467 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
17468 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
17469 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
17470 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
17471 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
17472 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
17473 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
17474 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
17475 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
17476 (R_ARM_THM_GOT_BREL12): Likewise.
17477 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
17478 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
17479 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
17480 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
17481 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
17482 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
17483 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
17484 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
17485 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
17486
c7b275d6
TS
174872013-02-20 Thomas Schwinge <thomas@codesourcery.com>
17488
17489 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
17490 __attribute_used__ to __attribute__ ((unused)).
17491
20cd7fb3
SP
174922013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
17493
17494 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
17495 powerpc mpa.c.
17496 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
17497 comment formatting.
17498 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
17499
92945b52
JM
175002013-02-19 Joseph Myers <joseph@codesourcery.com>
17501
17502 [BZ #13550]
17503 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
17504 Remove macro.
17505 (ENTER): Remove both macro definitions.
17506 (LEAVE): Likewise.
17507 (CHECK_BOUNDS_LOW): Likewise.
17508 (CHECK_BOUNDS_HIGH): Likewise.
17509 (CHECK_BOUNDS_BOTH): Likewise.
17510 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
17511 (RETURN_BOUNDED_POINTER): Likewise.
17512 (RETURN_NULL_BOUNDED_POINTER): Likewise.
17513 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
17514 (POP_ERRNO_LOCATION_RETURN): Likewise.
17515 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
17516 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17517 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
17518 macros.
17519 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17520 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
17521 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
17522 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
17523 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
17524 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
17525 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
17526 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
17527 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
17528 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
17529 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
17530 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
17531 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17532 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
17533 removed macros.
17534 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17535 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
17536 macros.
17537 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17538 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
17539 * sysdeps/i386/i586/memset.S (memset): Likewise.
17540 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
17541 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17542 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
17543 macros.
17544 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17545 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
17546 Change uses of L(2) to L(out).
17547 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
17548 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
17549 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
17550 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17551 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
17552 removed macros.
17553 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17554 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
17555 macros.
17556 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17557 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
17558 (RETURN): Do not use macro LEAVE.
17559 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
17560 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
17561 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
17562 * sysdeps/i386/i686/memset.S (memset): Likewise.
17563 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
17564 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
17565 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
17566 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
17567 Likewise.
17568 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17569 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
17570 L(1_2) and L(1_3) into L(1).
17571 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17572 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
17573 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17574 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
17575 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
17576 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
17577 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
17578 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17579 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
17580 macros.
17581 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
17582 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
17583 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
17584 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
17585 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
17586 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
17587 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
17588 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
17589 * sysdeps/i386/strcspn.S (strcspn): Likewise.
17590 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
17591 * sysdeps/i386/strrchr.S (strrchr): Likewise.
17592 * sysdeps/i386/strspn.S (strspn): Likewise.
17593 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
17594 conditional code.
17595 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
17596 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
17597 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
17598 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
17599 L(1_3) into L(1_1).
17600 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
17601 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
17602 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
17603 macros.
17604 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
17605
2389741a
JJ
176062013-02-19 Jakub Jelinek <jakub@redhat.com>
17607
17608 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
17609 macro.
17610
2016b3cd
SP
176112013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
17612
e4f22324
SP
17613 * math/atest-exp.c (exp_mpn): Remove ROUND.
17614 * math/atest-exp2.c (exp_mpn): Likewise.
17615 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
17616
2016b3cd
SP
17617 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
17618 * stdlib/tst-tls-atexit-lib.c: Likewise.
17619 * stdlib/tst-tls-atexit.c: Likewise.
17620
4be9b544
MF
176212013-02-18 Mike Frysinger <vapier@gentoo.org>
17622
17623 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
17624 and __attribute_alloc_size__.
17625
2f62b9ee
MF
176262013-02-18 Mike Frysinger <vapier@gentoo.org>
17627
17628 * include/programs/xmalloc.h: Change __attribute_alloc_size to
17629 __attribute_alloc_size__.
17630 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
17631 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
17632
6ff444c4
MF
176332013-02-18 Mike Frysinger <vapier@gentoo.org>
17634
17635 * include/programs/xmalloc.h: New file.
17636 * catgets/gencat.c: Include it.
17637 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
17638 * elf/pldd.c: Likewise.
17639 * iconv/iconv_charmap.c: Likewise.
17640 * iconv/iconvconfig.c: Likewise.
17641 * iconv/strtab.c: Likewise.
17642 * locale/programs/locale.c: Likewise.
17643 * locale/programs/localedef.h: Likewise.
17644 * locale/programs/simple-hash.c: Likewise.
17645 * nscd/nscd.h: Likewise.
17646 * nss/makedb.c: Likewise.
17647 * sysdeps/generic/ldconfig.h: Likewise.
17648
be179c8a
SP
176492013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
17650
ba384f6e
SP
17651 * Versions.def: Add GLIBC_2.18.
17652 * include/link.h (struct link_map): New member l_tls_dtor_count.
17653 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
17654 (__call_tls_dtors): Likewise.
17655 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
17656 __cxa_thread_atexit_impl.
17657 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17658 Likewise.
17659 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
17660 Likewise.
17661 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
17662 Likewise.
17663 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
17664 Likewise.
17665 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
17666 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
17667 Likewise.
17668 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
17669 Likewise.
17670 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
17671 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
17672 Likewise.
17673 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
17674 (tests): Add test case tst-tls-atexit.
17675 (modules-names): Add shared library for tst-tls-atexit.
85891aca 17676 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
17677 (GLIBC_PRIVATE): Add __call_tls_dtors.
17678 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
17679 for libstdc++.
17680 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
17681 * stdlib/tst-tls-atexit.c: New test case.
17682 * stdlib/tst-tls-atexit-lib.c: New test case.
17683
ffaa74cf 17684 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 17685
be179c8a
SP
17686 * elf/Versions (ld): Add _dl_find_dso_for_object.
17687 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
17688 * elf/dl-open.c (_dl_find_dso_for_object): New function.
17689 (dl_open_worker): Use _dl_find_dso_for_object.
17690 * elf/dl-sym.c (do_sym): Likewise.
17691 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
17692
f78b5caa
AK
176932013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
17694
17695 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
17696 Syntactic changes only.
17697 (_dl_runtime_profile): Do a tail-call to the resolved function.
17698
29691210
JM
176992013-02-17 Joseph Myers <joseph@codesourcery.com>
17700
17701 [BZ #13550]
17702 * sysdeps/x86_64/bp-asm.h: Remove file.
17703 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
17704 <bp-sym.h> and <bp-asm.h>.
17705 (__clone): Do not use BP_SYM.
17706 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
17707 <bp-sym.h> and <bp-asm.h>.
17708 * sysdeps/unix/x86_64/sysdep.S: Likewise.
17709 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
17710 "bp-asm.h".
17711 (_setjmp): Do not use BP_SYM.
17712 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
17713 "bp-asm.h".
17714 (setjmp): Do not use BP_SYM.
17715 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
17716 libc_hidden_def.
17717 (mempcpy): Do not use BP_SYM in weak_alias.
17718 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
17719 "bp-asm.h".
17720 (strchr): Do not use BP_SYM.
17721 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
17722 "bp-asm.h".
17723 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
17724 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
17725 (_start): Do not use BP_SYM.
17726 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
17727 "bp-asm.h".
17728 (strcat): Do not use BP_SYM.
17729 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
17730 "bp-asm.h".
17731 (STRCMP): Do not use BP_SYM.
17732 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
17733 "bp-asm.h".
17734 (STRCPY): Do not use BP_SYM.
17735 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
17736 "bp-asm.h".
17737 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
17738 "bp-asm.h".
17739 (FUNCTION): Do not use BP_SYM.
17740 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
17741 weak_alias.
17742 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
17743
f238fd19
AJ
177442013-02-17 Andreas Jaeger <aj@suse.de>
17745
17746 * time/Versions: Sort entries.
17747 * string/Versions: Likewise.
17748 * resolv/Versions: Likewise.
17749 * posix/Versions: Likewise.
17750 * iconv/Versions: Likewise.
17751 * elf/Versions: Likewise.
17752 * wcsmbs/Versions: Likewise.
17753
bd07f23c 177542013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 17755
22af19f9
SP
17756 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
17757 loop termination condition.
17758
4709fe76
SP
17759 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
17760 variable to calculate EZ.
17761 (__sqr): Likewise.
2d0e0f29
SP
17762
17763 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
17764 the lower precision input.
17765
daaa7713
JM
177662013-02-15 Joseph Myers <joseph@codesourcery.com>
17767
17768 [BZ #13550]
17769 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
17770 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
17771 (run-via-rtld-prefix): Do not handle %-bp tests.
17772 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
17773 (all-object-suffixes): Remove .ob.
17774 (bppfx): Remove variable.
17775 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
17776 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
17777 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
17778 [$(build-bounded) = yes] (libtype.ob): Likewise.
17779 * Makerules (elide-routines.ob): Remove variable.
17780 (do-tests-clean): Do not handle *-bp.out.
17781 (common-mostlyclean): Do not handle *-bp and *-bp.out.
17782 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
17783 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
17784 (tests): Do not include $(tests-bp.out).
17785 (xtests): Do not include $(xtests-bp.out).
17786 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
17787 [$(build-bounded) = yes] ($(addprefix
17788 $(objpfx),$(binaries-bounded))): Remove rule.
17789 ($(objpfx)%-bp.out): Remove rule.
17790 * config.make.in (build-bounded): Remove variable.
17791 * crypt/Makefile [$(build-bounded) = yes]
17792 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
17793 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
17794 append to variable.
17795 [$(build-bounded) = yes] (install-lib): Likewise.
17796 [$(build-bounded) = yes] (generated): Likewise.
17797 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
17798 Remove rule.
17799 * intl/Makefile [$(build-bounded) = yes]
17800 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
17801 * math/Makefile [$(build-bounded) = yes]
17802 ($(tests:%=$(objpfx)%-bp): Likewise.
17803 * misc/Makefile [$(build-bounded) = yes]
17804 ($(objpfx)tst-tsearch-bp): Likewise.
17805 * nptl/Makeconfig (bounded-thread-library): Remove variable.
17806 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
17807 Remove dependency.
17808 * string/Makefile (o-objects.ob): Remove variable.
17809 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
17810 (CFLAGS-.ob): Remove variable.
17811 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
17812 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
17813 both definitions of variable.
17814 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
17815 (ASFLAGS-.ob): Remove variable.
17816
e97ed6dd
JM
178172013-02-14 Joseph Myers <joseph@codesourcery.com>
17818
2bdd4ca6
JM
17819 [BZ #13550]
17820 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
17821 Remove __BOUNDED_POINTERS__ from condition.
17822 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
17823 * string/bits/string2.h [!__NO_STRING_INLINES &&
17824 !__BOUNDED_POINTERS__]: Likewise.
17825 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
17826 Likewise.
17827 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
17828 Remove conditional code.
17829 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
17830 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
17831 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
17832 condition.
17833
e97ed6dd
JM
17834 [BZ #13550]
17835 * csu/libc-start.c: Do not include <bp-sym.h>.
17836 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
17837 * elf/dl-open.c: Do not include <bp-sym.h>.
17838 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
17839 * math/fegetenv.c: Do not include <bp-sym.h>.
17840 (fegetenv): Do not use BP_SYM in versioned symbols.
17841 * nptl/sysdeps/pthread/bits/libc-lockP.h
17842 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
17843 <bp-sym.h>.
17844 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17845 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
17846 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17847 (__pthread_mutex_destroy): Likewise.
17848 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17849 (__pthread_mutex_lock): Likewise.
17850 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17851 (__pthread_mutex_trylock): Likewise.
17852 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17853 (__pthread_mutex_unlock): Likewise.
17854 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17855 (__pthread_mutexattr_init): Likewise.
17856 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17857 (__pthread_mutexattr_destroy): Likewise.
17858 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17859 (__pthread_mutexattr_settype): Likewise.
17860 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17861 (__pthread_rwlock_init): Likewise.
17862 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17863 (__pthread_rwlock_destroy): Likewise.
17864 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17865 (__pthread_rwlock_rdlock): Likewise.
17866 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17867 (__pthread_rwlock_tryrdlock): Likewise.
17868 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17869 (__pthread_rwlock_wrlock): Likewise.
17870 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17871 (__pthread_rwlock_trywrlock): Likewise.
17872 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17873 (__pthread_rwlock_unlock): Likewise.
17874 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17875 (__pthread_key_create): Likewise.
17876 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17877 (__pthread_setspecific): Likewise.
17878 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17879 (__pthread_getspecific): Likewise.
17880 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
17881 Likewise.
17882 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17883 (_pthread_cleanup_push_defer): Likewise.
17884 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17885 (_pthread_cleanup_pop_restore): Likewise.
17886 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
17887 (pthread_setcancelstate): Likewise.
17888 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
17889 <bp-sym.h>.
17890 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
17891 (memchr): Do not use BP_SYM in weak_alias.
17892 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
17893 (fegetenv): Do not use BP_SYM in versioned symbols.
17894 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
17895 (fesetenv): Do not use BP_SYM in versioned symbols.
17896 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17897 (feupdateenv): Do not use BP_SYM in versioned symbols.
17898 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17899 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17900 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
17901 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
17902 (open64): Do not use BP_SYM in weak_alias.
17903 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
17904 (fegetenv): Do not use BP_SYM in versioned symbols.
17905 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
17906 (fesetenv): Do not use BP_SYM in versioned symbols.
17907 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
17908 (feupdateenv): Do not use BP_SYM in versioned symbols.
17909 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
17910 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
17911 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
17912 (feraiseexcept): Do not use BP_SYM in versioned symbols.
17913 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
17914 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
17915 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
17916 <bp-sym.h>.
17917 (__libc_start_main): Do not use BP_SYM.
17918
d6752ccd
SP
179192013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
17920
cb57ce60
SP
17921 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
17922 redundant return line.
17923 (norm): Likewise.
17924 (denorm): Likewise.
17925 (dbl_mp): Likewise.
17926 (sub_magnitudes): Likewise.
17927 (__add): Likewise.
17928 (__sub): Likewise.
17929 (__mul): Likewise.
17930 (__inv): Likewise.
17931 (__dvd): Likewise.
17932 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
17933 (norm): Likewise.
17934 (denorm): Likewise.
17935 (dbl_mp): Likewise.
17936 (sub_magnitudes): Likewise.
17937 (__add): Likewise.
17938 (__sub): Likewise.
17939 (__mul): Likewise.
17940 (__inv): Likewise.
17941 (__dvd): Likewise.
17942
f414520d
SP
17943 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
17944 instead of __mul.
17945 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
17946 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
17947 (cc32): Likewise.
17948
d6752ccd
SP
17949 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
17950 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
17951 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
17952 of __mul for squares.
17953 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
17954 function
17955 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
17956 Likewise.
17957 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
17958 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
17959
70d9946a
JM
179602013-02-13 Joseph Myers <joseph@codesourcery.com>
17961
17962 [BZ #13550]
17963 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
17964 code.
17965 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
17966 prototype or function definition. Rename ubp_* variables and
17967 parameters. Remove argv definitions conditional on
17968 [__BOUNDED_POINTERS__].
17969 * debug/backtrace.c (__backtrace): Do not use __unbounded.
17970 * elf/dl-runtime.c (_dl_fixup): Likewise.
17971 * include/set-hooks.h (RUN_HOOK): Likewise.
17972 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
17973 definition.
17974 * string/strcpy.c (strcpy): Do not use __unbounded.
17975 * sysdeps/generic/frame.h (struct layout): Likewise.
17976 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
17977 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
17978 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
17979 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
17980 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
17981 (__backtrace): Likewise.
17982 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
17983 use __ptrvalue.
17984 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
17985 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17986 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17987 Likewise.
17988 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
17989 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
17990 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17991 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17992 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
17993 Do not use __unbounded.
17994 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
17995 Rename __unboundedrlimits parameter to rlimits in prototype.
17996 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
17997 Do not use __unbounded.
17998 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
17999 not use __ptrvalue.
18000 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18001 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
18002 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18003 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
18004 __ptrvalue or __unbounded.
18005 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
18006 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
18007 use __unbounded.
18008 (__new_msgctl): Do not use __ptrvalue.
18009 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
18010 __unbounded.
18011 (__libc_msgrcv): Do not use __ptrvalue.
18012 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
18013 startup_info): Do not use __unbounded.
18014 (__libc_start_main): Likewise. Rename ubp_* variables and
18015 parameters. Remove argv definitions conditional on
18016 [__BOUNDED_POINTERS__].
18017 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
18018 __ptrvalue.
18019 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
18020 use __unbounded.
18021 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
18022 or __ptrvalue.
18023 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
18024 use __unbounded.
18025 (__new_shmctl): Do not use __ptrvalue.
18026 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18027 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18028 Likewise.
18029 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18030 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
18031 (__libc_sigaction): Likewise.
18032 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
18033 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
18034 Likewise.
18035 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18036
cc7834d6
OB
180372013-02-13 Ondřej Bílka <neleai@seznam.cz>
18038
ffb1ec7b 18039 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
18040
18041 * string/mempcpy.c: Implement by calling memcpy.
18042
bdf02814
SP
180432013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
18044
c2af38aa
SP
18045 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
18046
4e92d59e
SP
18047 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
18048 evaluation.
18049
909279a5
SP
18050 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
18051 values in the mantissa.
18052
bdf02814
SP
18053 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
18054 minimize writes to Z.
18055 (sub_magnitudes): Simplify code a bit.
18056
cd525923
RM
180572013-02-12 Roland McGrath <roland@hack.frob.com>
18058
18059 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
18060 from the message. The linker prefixes all warnings with that already.
18061
7e2f0d2d
AS
180622013-02-12 Andreas Schwab <schwab@suse.de>
18063
a445af0b
AS
18064 [BZ #15078]
18065 * posix/regexec.c (extend_buffers): Add parameter min_len.
18066 (check_matching): Pass minimum needed length.
18067 (clean_state_log_if_needed): Likewise.
18068 (get_subexp): Likewise.
18069 * posix/Makefile (tests): Add bug-regex34.
18070 (bug-regex34-ENV): Define.
18071 * posix/bug-regex34.c: New file.
18072
7e2f0d2d
AS
18073 [BZ #11561]
18074 * posix/regcomp.c (parse_bracket_exp): When looking up collating
18075 elements compare against the byte sequence of it, not its name.
18076 * posix/Makefile (tests): Add bug-regex35.
18077 (bug-regex35-ENV): Define.
18078 * posix/bug-regex35.c: New file.
18079
a175b684
TV
180802013-02-11 Tom de Vries <tom@codesourcery.com>
18081
18082 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
18083 comment.
18084 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
18085 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
18086 (CHECK_EOL): Add undef.
18087
310998fe 180882013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
18089
18090 * bits/stdlib-bsearch.h: New file.
18091 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 18092 * stdlib/stdlib.h: Likewise.
41eda41d 18093
8ded91fb
RM
180942013-02-11 Roland McGrath <roland@hack.frob.com>
18095
18096 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
18097 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
18098 declaration.
18099 * manual/search.texi (Array Search Function): Add missing const in
18100 lfind prototype.
18101 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
18102 declaration to use rlim_t.
18103 (Basic Scheduling Functions): Remove erroneous const from
18104 sched_getparam prototype. Remove erroneous * from
18105 sched_get_priority_max and sched_get_priority_min prototypes.
18106 (Resource Usage): Fix summary @comment on vtimes to refer to
18107 sys/vtimes.h rather than vtimes.h.
18108 Add missing *s in vtimes prototype.
18109 (Limits on Resources): Fix ulimit prototype to return long int.
18110 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
18111 prototypes to use long int rather than double.
18112 (BSD Random): Fix initstate and setstate to use char *, not void *.
18113 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
18114 prototype to make second argument 'struct aiocb64 *const[]'.
18115 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
18116 (Status of AIO Operations): Remove erroneous const in aio_return and
18117 aio_return64 prototypes.
18118 (Synchronizing I/O): Fix sync prototype to return void.
18119 * manual/startup.texi (Suboptions): Remove an erroneous const in
18120 getsubopt prototype.
18121 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
18122 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
18123 use size_t rather than int.
18124 (Scanning All Users): Likewise for getpwent_r.
18125 (Setting Groups): Add missing const to setgroups prototype.
18126 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
18127 * manual/socket.texi (Host Names): Fix gethostbyaddr and
18128 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
18129 'const void *' rather than 'const char *'.
18130 (Host Address Functions): Likewise for inet_ntop.
18131 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
18132 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
18133 ssize_t for return value.
18134 (Sending Data): Likewise for send, sendto, sendmsg.
18135 (Socket Option Functions): Add a missing const in setsockopt prototype.
18136 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
18137 use wchar_t for the argument.
18138 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
18139 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
18140 take no arguments.
18141 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
18142 double/float/long double for second argument.
18143 Fix return types of significand, significandf, significandl.
18144 * manual/filesys.texi (Setting Permissions): Use mode_t for second
18145 argument in fchmod prototype.
18146 (File Owner): Use uid_t and gid_t in fchown prototype.
18147 (File Times): Add const to utimes, futimes, and lutimes prototypes.
18148 (Making Special Files): Use mode_t and dev_t in mknod prototype.
18149 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
18150 use 'const struct dirent **' as argument types to CMP function pointer
18151 argument.
18152 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
18153 (File Times): Fix summary magic @comment for struct utimbuf and utime
18154 to refer to utime.h, not time.h.
18155 * manual/string.texi (Argz Functions): Add missing const in
18156 argz_extract and argz_next prototypes.
18157 (Finding Tokens in a String): Likewise for basename.
18158 (String/Array Comparison): Fix typo in wcscasecmp prototype.
18159 (Copying and Concatenation): Fix typo in wmemmove prototype.
18160 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
18161 (Signal Stack): Remove erroneous const in sigstack prototype.
18162 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
18163 prototype.
18164 (Simple Calendar Time): Likewise for stime.
18165 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
18166 prototype.
18167 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
18168 say sys/sysctl.h instead.
18169 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
18170 and vsyslog prototypes.
18171
fe77fe6d
TV
181722013-02-11 Tom de Vries <tom@codesourcery.com>
18173
18174 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
18175 Remove.
18176
3a09b620
RM
181772013-02-11 Roland McGrath <roland@hack.frob.com>
18178
18179 * misc/sys/mman.h: Fix typo in mremap comment.
18180
550a0b89
RM
181812013-02-08 Roland McGrath <roland@hack.frob.com>
18182
18183 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
18184 the '\0' terminator.
18185
a2da1673
JM
181862013-02-08 Joseph Myers <joseph@codesourcery.com>
18187
18188 [BZ #13550]
18189 * debug/segfault.c: Don't include <bp-checks.h>.
18190 * sysdeps/generic/bp-checks.h: Remove file.
18191 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
18192 (__GETDENTS): Don't use CHECK_N.
18193 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
18194 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
18195 (__getgroups): Don't use CHECK_N.
18196 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
18197 (setgroups): Don't use CHECK_N.
18198 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
18199 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
18200 (__libc_msgrcv): Don't use CHECK_N.
18201 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
18202 (__libc_msgsnd): Don't use CHECK_N.
18203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
18204 <bp-checks.h>.
18205 (__libc_pread): Don't use CHECK_N.
18206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
18207 include <bp-checks.h>.
18208 (__libc_pread64): Don't use CHECK_N.
18209 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
18210 include <bp-checks.h>.
18211 (__libc_pwrite): Don't use CHECK_N.
18212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
18213 include <bp-checks.h>.
18214 (__libc_pwrite64): Don't use CHECK_N.
18215 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
18216 <bp-checks.h>.
18217 (__libc_pread): Don't use CHECK_N.
18218 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
18219 include <bp-checks.h>.
18220 (__libc_pread64): Don't use CHECK_N.
18221 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
18222 include <bp-checks.h>.
18223 (__libc_pwrite): Don't use CHECK_N.
18224 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
18225 include <bp-checks.h>.
18226 (__libc_pwrite64): Don't use CHECK_N.
18227 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
18228 (do_pread): Don't use CHECK_N.
18229 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
18230 (do_pread64): Don't use CHECK_N.
18231 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
18232 (do_pwrite): Don't use CHECK_N.
18233 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
18234 (do_pwrite64): Don't use CHECK_N.
18235 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
18236 (__libc_readv): Don't use CHECK_N.
18237 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
18238 (semop): Don't use CHECK_N.
18239 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
18240 <bp-checks.h>.
18241 (semtimedop): Don't use CHECK_N.
18242 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
18243 (__libc_pread): Don't use CHECK_N.
18244 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
18245 <bp-checks.h>.
18246 (__libc_pread64): Don't use CHECK_N.
18247 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
18248 <bp-checks.h>.
18249 (__libc_pwrite): Don't use CHECK_N.
18250 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
18251 <bp-checks.h>.
18252 (__libc_pwrite64): Don't use CHECK_N.
18253 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
18254 <bp-checks.h>.
18255 (__libc_msgrcv): Don't use CHECK_N.
18256 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
18257 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
18258 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
18259 (__libc_writev): Don't use CHECK_N.
18260
b84660a8
RM
182612013-02-08 Roland McGrath <roland@hack.frob.com>
18262
7f3e75f8
RM
18263 * string/strcpy.c: Removed unused variable.
18264
b84660a8
RM
18265 * Makeconfig (+sysdep-includes): Define with := rather than =.
18266 Use an existing include/ subdir of each sysdeps dir before it.
18267
471514d3
CD
182682013-02-08 Carlos O'Donell <carlos@redhat.com>
18269
18270 * nscd/connection.c (register_traced_file): Comment function.
18271 [HAVE_INOTIFY] (union __inev): Define.
18272 [HAVE_INOTIFY] (inotify_check_files): New function.
18273 [HAVE_INOTIFY] (clear_db_cache): Likewise.
18274 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
18275 clear_db_cache.
18276 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
18277
b2d3c3be
CD
182782013-02-08 Carlos O'Donell <carlos@redhat.com>
18279
18280 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
18281 loaded if not already and that a failure is permanent.
18282
b39949d2
CD
182832013-02-08 Carlos O'Donell <carlos@redhat.com>
18284
ddacd1db 18285 [BZ #15006]
b39949d2
CD
18286 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
18287 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
18288
b2c9eff4
JM
182892013-02-08 Joseph Myers <joseph@codesourcery.com>
18290
f3aae3f3
JM
18291 [BZ #13550]
18292 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
18293 (CHECK_1_NULL_OK): Likewise.
18294 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
18295 (__fxstat): Do not use CHECK_1.
18296 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
18297 <bp-checks.h>.
18298 (___fxstat64): Do not use CHECK_1.
18299 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
18300 <bp-checks.h>.
18301 (__fxstatat): Do not use CHECK_1.
18302 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
18303 <bp-checks.h>.
18304 (__fxstatat64): Do not use CHECK_1.
18305 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
18306 <bp-checks.h>.
18307 (__fxstat): Do not use CHECK_1.
18308 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
18309 <bp-checks.h>.
18310 (__fxstatat): Do not use CHECK_1.
18311 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
18312 <bp-checks.h>.
18313 (__getresgid): Do not use CHECK_1.
18314 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
18315 <bp-checks.h>.
18316 (__getresuid): Do not use CHECK_1.
18317 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
18318 <bp-checks.h>.
18319 (__lxstat): Do not use CHECK_1.
18320 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
18321 <bp-checks.h>.
18322 (__old_msgctl): Do not use CHECK_1.
18323 (__new_msgctl): Likewise.
18324 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
18325 <bp-checks.h>.
18326 (__new_setrlimit): Do not use CHECK_1.
18327 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
18328 <bp-checks.h>.
18329 (__old_shmctl): Do not use CHECK_1.
18330 (__new_shmctl): Likewise.
18331 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
18332 <bp-checks.h>.
18333 (__xstat): Do not use CHECK_1.
18334 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
18335 (__lxstat): Do not use CHECK_1.
18336 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
18337 <bp-checks.h>.
18338 (___lxstat64): Do not use CHECK_1.
18339 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
18340 (__old_msgctl): Do not use CHECK_1.
18341 (__new_msgctl): Likewise.
18342 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
18343 <bp-checks.h>.
18344 (__gettimeofday): Do not use CHECK_1.
18345 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
18346 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
18347 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
18348 <bp-checks.h>.
18349 (__gettimeofday): Do not use CHECK_1.
18350 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
18351 (__old_shmctl): Do not use CHECK_1_NULL_OK.
18352 (__new_shmctl): Do not use CHECK_1.
18353 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
18354 <bp-checks.h>.
18355 (do_sigtimedwait): Do not use CHECK_1.
18356 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
18357 <bp-checks.h>.
18358 (do_sigwaitinfo): Do not use CHECK_1.
18359 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
18360 <bp-checks.h>.
18361 (msgctl): Do not use CHECK_1.
18362 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
18363 <bp-checks.h>.
18364 (shmctl): Do not use CHECK_1.
18365 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
18366 (ustat): Do not use CHECK_1.
18367 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
18368 <bp-checks.h>.
18369 (__fxstat): Do not use CHECK_1.
18370 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
18371 <bp-checks.h>.
18372 (__fxstatat): Do not use CHECK_1.
18373 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
18374 <bp-checks.h>.
18375 (__lxstat): Do not use CHECK_1.
18376 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
18377 <bp-checks.h>.
18378 (__xstat): Do not use CHECK_1.
18379 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
18380 (__xstat): Do not use CHECK_1.
18381 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
18382 (___xstat64): Do not use CHECK_1.
18383
b2c9eff4
JM
18384 [BZ #13550]
18385 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
18386 definitions.
18387 (CHECK_BOUNDS_HIGH): Likewise.
18388 * string/strcpy.c: Do not include <bp-checks.h>.
18389 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
18390
f1d70dad
RM
183912013-02-07 Roland McGrath <roland@hack.frob.com>
18392
18393 * nscd/nscd-client.h (__nscd_drop_map_ref):
18394 Add __attribute__ ((unused)).
18395 * nis/nss-nisplus.h (niserr2nss): Likewise.
18396
18397 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
18398 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
18399
18400 * csu/libc-tls.c (init_static_tls, init_slotinfo):
18401 Remove inline keyword.
18402 * include/rounding-mode.h (round_away): Likewise.
18403 * libio/wfileops.c (adjust_wide_data): Likewise.
18404 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
18405 (__m128i_strloadu_tolower): Likewise.
18406 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
18407 (__m128i_strloadu_tolower): Likewise.
18408 * time/mktime.c (ydhms_diff): Likewise.
18409 * locale/elem-hash.h (elem_hash): Likewise.
18410 * locale/setlocale.c (setdata): Likewise.
18411 * posix/regex_internal.h (re_string_char_size_at): Likewise.
18412 (re_string_wchar_at): Likewise.
18413 (bitset_not, bitset_merge, bitset_mask): Likewise.
18414 [!(__GNUC__ > 3)] (inline): Remove macro.
18415 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
18416 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
18417 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
18418 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
18419 * string/memcmp.c (memcmp_bytes): Likewise.
18420 * locale/programs/locarchive.c (compute_hashval): Likewise.
18421 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
18422 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
18423 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
18424 * nss/getent.c (print_rpc, print_protocols): Likewise.
18425 (print_passwd, print_group, print_aliases): Likewise.
18426 * nis/nss-nisplus.h (niserr2nss): Likewise.
18427 * nscd/connections.c (restart_p): Likewise.
18428 Change return type to bool.
18429
eab55bfb
RM
184302013-02-05 Roland McGrath <roland@hack.frob.com>
18431
7bd642f5
RM
18432 * Makeconfig (all-Depend-files): Add existing
18433 $(sorted-subdirs:=/Depend) files.
18434 (all-subdirs): Remove nss.
18435 * sysdeps/unix/inet/Subdirs: Add it here instead.
18436 * hesiod/Depend: New file.
18437
573c29b2
RM
18438 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
18439 instead of calling alloca.
18440
b2e25af0
RM
18441 * io/lseek.c (__lseek): Rename to __libc_lseek.
18442 Define __lseek as an alias.
18443
eab55bfb
RM
18444 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
18445
9a0d1941
CD
184462013-02-04 Carlos O'Donell <carlos@redhat.com>
18447
18448 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
18449 else clause and remove check for non-standard endianness.
18450
b83bbec4
DM
184512013-02-04 David S. Miller <davem@davemloft.net>
18452
18453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18454
6277fdab
JM
184552013-02-04 Joseph Myers <joseph@codesourcery.com>
18456
18457 [BZ #13550]
18458 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
18459 (__ubp_memchr): Remove prototype.
18460 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
18461 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18462 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
18463 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
18464 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
18465 Remove alias.
18466 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
18467 (__ubp_memchr): Likewise.
18468 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
18469 (__ubp_memchr): Likewise.
18470 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
18471 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
18472 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
18473 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
18474 CHECK_STRING.
18475 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18476 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
18477 (__getcwd): Do not use CHECK_STRING.
18478 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
18479 <bp-checks.h>.
18480 (__real_chown): Do not use CHECK_STRING.
18481 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
18482 <bp-checks.h>.
18483 (fchownat): Do not use CHECK_STRING.
18484 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
18485 CHECK_STRING.
18486 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
18487 <bp-checks.h>.
18488 (__lchown): Do not use CHECK_STRING.
18489 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
18490 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
18491 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
18492 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
18493 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
18494 include <bp-checks.h>.
18495 (truncate64): Do not use CHECK_STRING.
18496 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
18497 <bp-checks.h>.
18498 (__real_chown): Do not use CHECK_STRING.
18499 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
18500 <bp-checks.h>.
18501 (__lchown): Do not use CHECK_STRING.
18502 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
18503 <bp-checks.h>.
18504 (__chown): Do not use CHECK_STRING.
18505 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
18506 <bp-checks.h>.
18507 (truncate64): Do not use CHECK_STRING.
18508 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
18509 Likewise.
18510 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
18511 (__xmknod): Do not use CHECK_STRING.
18512 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
18513 <bp-checks.h>.
18514 (__xmknodat): Do not use CHECK_STRING.
18515 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
18516 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
18517
903ae060
AS
185182013-02-04 Andreas Schwab <schwab@suse.de>
18519
18520 [BZ #14142]
18521 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
18522 * include/netdb.h: Likewise for h_errno.
18523 * elf/tst-stackguard1.c: Include <tls.h>.
18524
542f9466
JK
185252013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
18526
18527 * elf/link.h (struct link_map): Extend the l_addr comment.
18528 * include/link.h (struct link_map): Likewise.
18529
e782a927
JM
185302013-02-01 Joseph Myers <joseph@codesourcery.com>
18531
18532 [BZ #13550]
18533 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
18534 (BOUNDED_1): Remove macro.
18535 * debug/backtrace.c: Don't include <bp-checks.h>.
18536 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
18537 (__backtrace): Likewise.
18538 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
18539 <bp-checks.h>.
18540 (__backtrace): Don't use BOUNDED_1.
18541 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
18542 <bp-checks.h>.
18543 (__backtrace): Don't use BOUNDED_1.
18544 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
18545 (__backtrace): Don't use BOUNDED_1.
18546 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
18547 (shmat): Don't use BOUNDED_N.
18548
8cf28c5e
JM
185492013-01-31 Joseph Myers <joseph@codesourcery.com>
18550
3a7ac8a0
JM
18551 [BZ #13550]
18552 * sysdeps/generic/bp-start.h: Remove file.
18553 * csu/libc-start.c: Don't include <bp-start.h>.
18554 (LIBC_START_MAIN): Set up __environ directly instead of using
18555 INIT_ARGV_and_ENVIRON.
18556 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
18557 <bp-start.h>.
18558
f3499f95
JM
18559 [BZ #13550]
18560 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
18561 definitions.
18562 (CHECK_FCNTL): Likewise.
18563 (CHECK_N_PAGES): Likewise.
18564
32a45bea
JM
18565 [BZ #13550]
18566 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
18567 definitions.
18568 (CHECK_SIGSET_NULL_OK): Likewise.
18569 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
18570 <bp-checks.h>.
18571 (sigpending): Don't use CHECK_SIGSET.
18572 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
18573 <bp-checks.h>.
18574 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18575 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
18576 <bp-checks.h>.
18577 (do_sigsuspend): Don't use CHECK_SIGSET.
18578 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
18579 use CHECK_SIGSET.
18580 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
18581 (do_sigwait): Don't use CHECK_SIGSET.
18582 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
18583 use CHECK_SIGSET.
18584 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
18585 include <bp-checks.h>.
18586 (sigpending): Don't use CHECK_SIGSET.
18587 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
18588 include <bp-checks.h>.
18589 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18590 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
18591 <bp-checks.h>.
18592 (sigpending): Don't use CHECK_SIGSET.
18593 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
18594 <bp-checks.h>.
18595 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
18596
2e8a5c8c
JM
18597 [BZ #13550]
18598 * sysdeps/generic/bp-semctl.h: Remove file.
18599 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
18600 <bp-checks.h> and <bp-semctl.h>.
18601 (__old_semctl): Don't use CHECK_SEMCTL.
18602 (__new_semctl): Likewise.
18603 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
18604 and <bp-semctl.h>.
18605 (__old_semctl): Don't use CHECK_SEMCTL.
18606 (__new_semctl): Likewise.
18607 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
18608 <bp-checks.h> and <bp-semctl.h>.
18609 (__old_semctl): Don't use CHECK_SEMCTL.
18610 (__new_semctl): Likewise.
18611 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
18612 <bp-checks.h> and <bp-semctl.h>.
18613 (semctl): Don't use CHECK_SEMCTL.
18614
c2d54929
JM
18615 [BZ #13550]
18616 * Makerules (elide-bp-thunks): Remove variable.
18617 (elide-routines.oS): Don't use $(elide-bp-thunks).
18618 (elide-routines.os): Likewise.
18619 (elide-routines.o): Likewise.
18620 (elide-routines.op): Likewise.
18621 (elide-routines.og): Likewise.
18622 (objects): Don't use $(bp-thunks).
18623 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
18624 include.
18625 (common-generated): Do not add s-proto-bp.d.
18626 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
18627 (int): Likewise.
18628 (typ): Likewise.
18629 Do not generate makefile rules for bounded-pointer thunks.
18630 * sysdeps/generic/bp-thunks.h: Remove file.
18631 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
18632 * sysdeps/unix/s-proto-bp.S: Likewise.
18633
8cf28c5e
JM
18634 [BZ #15062]
18635 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
18636 parts of result separately when argument is not close to line from
18637 -i to i and one part of argument is small.
18638 * math/k_casinhf.c (__kernel_casinhf): Likewise.
18639 * math/k_casinhl.c (__kernel_casinhl): Likewise.
18640 * math/libm-test.inc (cacos_test): Add more tests.
18641 (casin_test): Likewise.
18642 (casinh_test): Likewise.
18643 * sysdeps/i386/fpu/libm-test-ulps: Update.
18644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18645
c4e33b8d
DM
186462013-01-31 David S. Miller <davem@davemloft.net>
18647
18648 * po/de.po: Update from translation team.
18649
3b60b421
MK
186502013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
18651
18652 * time/tzfile.c: Include stdint.h for SIZE_MAX.
18653
bb931195
TS
186542013-01-25 Thomas Schwinge <thomas@codesourcery.com>
18655
b5a5da23
TS
18656 * configure.in (_AC_PROG_CC_C89): New definition.
18657 * configure: Regenerate.
18658
bb931195
TS
18659 * configure.in (AC_PROG_CPP): New definition.
18660 * configure: Regenerate.
18661
8c53a12c
JM
186622013-01-23 Joseph Myers <joseph@codesourcery.com>
18663
18664 * debug/tst-backtrace.h: New file.
18665 * debug/tst-backtrace2.c: Include tst-backtrace.h.
18666 (ret): Remove variable.
18667 (x): Likewise.
18668 (FAIL): Remove macro.
18669 (NO_INLINE): Likewise.
18670 (fn1): Use match function instead of strstr.
18671 * debug/tst-backtrace3.c: Include tst-backtrace.h.
18672 (ret): Remove variable.
18673 (x): Likewise.
18674 (FAIL): Remove macro.
18675 (NO_INLINE): Likewise.
18676 (fn): Use match function instead of strstr.
18677 * debug/tst-backtrace4.c: Include tst-backtrace.h.
18678 (ret): Remove variable.
18679 (x): Likewise.
18680 (FAIL): Remove macro.
18681 (NO_INLINE): Likewise.
18682 (handle_signal): Use match function instead of strstr.
18683 * debug/tst-backtrace5.c: Include tst-backtrace.h.
18684 (ret): Remove variable.
18685 (x): Likewise.
18686 (FAIL): Remove macro.
18687 (NO_INLINE): Likewise.
18688 (handle_signal): Use match function instead of strstr.
18689
4858fa2a
RM
186902013-01-23 Roland McGrath <roland@hack.frob.com>
18691
18692 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
18693
bae8e7f5
DM
186942013-01-23 David S. Miller <davem@davemloft.net>
18695
18696 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
18697 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
18698 argument of CAS if possible.
18699 * sysdeps/sparc/sparc64/bits/atomic.h
18700 (__arch_compare_and_exchange_val_32_acq): Likewise.
18701 (__arch_compare_and_exchange_val_64_acq): Likewise.
18702
9cbbc4ae
PT
187032013-01-23 Pino Toscano <toscano.pino@tiscali.it>
18704
18705 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
18706 * sysdeps/posix/ulimit.c: ... this.
92a601b8 18707 Include <limits.h>.
67b3f58c 18708 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 18709
5655a0b5
AC
187102013-01-23 Adam Conrad <adconrad@0c3.net>
18711
18712 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
18713 (LDFLAGS-tst-array5): Likewise.
18714
052aff95
JM
187152013-01-23 Joseph Myers <joseph@codesourcery.com>
18716
18717 [BZ #15036]
18718 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
18719 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
18720 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
18721 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
18722
7c1e01aa
DM
187232013-01-21 David S. Miller <davem@davemloft.net>
18724
18725 * sysdeps/sparc/backtrace.c: New file.
18726 * sysdeps/sparc/sparc32/backtrace.h: New file.
18727 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
18728 * sysdeps/sparc/sparc64/backtrace.h: New file.
18729 * sysdeps/sparc/sparc64/backtrace.c: Delete.
18730 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
18731 -funwind-tables.
18732
ab087e0a
AS
187332013-01-21 Andreas Schwab <schwab@suse.de>
18734
18735 [BZ #15020]
18736 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
18737 closed its stdout.
18738
ed689c2f
AS
187392013-01-20 Andreas Schwab <schwab@linux-m68k.org>
18740
18741 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
18742 "mpa2.h".
18743 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18744
31d470ac
JM
187452013-01-18 Joseph Myers <joseph@codesourcery.com>
18746 Mark Mitchell <mark@codesourcery.com>
18747 Tom de Vries <tom@codesourcery.com>
18748 Paul Pluzhnikov <ppluzhnikov@google.com>
18749
18750 * debug/tst-backtrace2.c: New file.
18751 * debug/tst-backtrace3.c: Likewise.
18752 * debug/tst-backtrace4.c: Likewise.
18753 * debug/tst-backtrace5.c: Likewise.
18754 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
18755 (CFLAGS-tst-backtrace3.c): Likewise.
18756 (CFLAGS-tst-backtrace4.c): Likewise.
18757 (CFLAGS-tst-backtrace5.c): Likewise.
18758 (LDFLAGS-tst-backtrace2): Likewise.
18759 (LDFLAGS-tst-backtrace3): Likewise.
18760 (LDFLAGS-tst-backtrace4): Likewise.
18761 (LDFLAGS-tst-backtrace5): Likewise.
18762 (tests): Add new tests tst-backtrace2, tst-backtrace3,
18763 tst-backtrace4 and tst-backtrace5.
18764
90567f30 187652013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
18766 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
18767
18768 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
18769 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
18770 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
18771 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
18772 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
18773 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
18774 "+r" and remove output regs list as redundant. Add explicit inline
18775 asm to specify register of return val to work around compiler codegen
18776 bug. Remove (int) cast on return value. Add return type parameter to
18777 use in macro so that this macro does not truncate return value for
18778 64-bit values.
18779 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
18780 pass to INTERNAL_VSYSCALL_NCS.
18781 (INLINE_VSYSCALL): Add 'long int' as return type to
18782 INTERNAL_VSYSCALL_NCS macro invocation.
18783 (INTERNAL_VSYSCALL): Add 'long int' as return type to
18784 INTERNAL_VSYSCALL_NCS macro invocation.
18785 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
18786
d3b9ea61
SP
187872013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
18788
0b57daeb
SP
18789 [BZ #14496]
18790 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
18791 Fix application of SIMD FP exception mask.
18792
caa99d06
SP
18793 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
18794 mp_no from a power of two.
18795 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
18796 __mpexp_twomm1. Use __pow_mp.
18797
d3b9ea61
SP
18798 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
18799 multiplication.
18800
1dbaee3c
DM
188012013-01-17 David S. Miller <davem@davemloft.net>
18802
18803 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18804
728d7b43
JM
188052013-01-17 Joseph Myers <joseph@codesourcery.com>
18806
18807 [BZ #15023]
18808 * include/complex.h: Condition contents on [!_COMPLEX_H].
18809 (__kernel_casinhf): New prototype.
18810 (__kernel_casinh): Likewise.
18811 (__kernel_casinhl): Likewise.
18812 * math/Makefile (libm_calls): Add k_casinh.
18813 * math/k_casinh.c: New file.
18814 * math/k_casinhf.c: Likewise.
18815 * math/k_casinhl.c: Likewise.
18816 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
18817 finite nonzero arguments.
18818 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
18819 finite nonzero arguments.
18820 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
18821 finite nonzero arguments.
18822 * math/s_casinh.c: Do not include <float.h>.
18823 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
18824 * math/s_casinhf.c: Do not include <float.h>.
18825 (__casinhf): Move code for finite nonzero arguments to
18826 k_casinhf.c.
18827 * math/s_casinhl.c: Do not include <float.h>.
18828 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
18829 redefine.
18830 (__casinhl): Move code for finite nonzero arguments to
18831 k_casinhl.c.
18832 * math/libm-test.inc (cacos_test): Add more tests.
18833 * sysdeps/i386/fpu/libm-test-ulps: Update.
18834 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18835
2a26ef3a
PT
188362013-01-17 Pino Toscano <toscano.pino@tiscali.it>
18837
18838 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
18839 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
18840 [!HAVE_MREMAP]: Remove [defined linux] case.
18841 * malloc/arena.c: Do not include <malloc-sysdep.h>.
18842
a897655d
SP
188432013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
18844
18845 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
18846
881ebe89 188472013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
18848
18849 * elf/elf.h (R_386_SIZE32): New relocation.
18850 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
18851 R_386_SIZE32.
18852 (elf_machine_rela): Likewise.
18853 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18854 R_X86_64_SIZE64 and R_X86_64_SIZE32.
18855
59981e9b
JM
188562013-01-17 Joseph Myers <joseph@codesourcery.com>
18857
18858 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
18859 (FP_FAST_FMA): Do not define.
18860 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
18861 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
18862 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
18863 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
18864 !_SOFT_FLOAT]: Likewise.
18865 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
18866 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
18867 value.
18868 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
18869 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
18870 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
18871 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
18872 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
18873 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
18874 file.
18875
cfa8054f
AS
188762013-01-16 Andreas Schwab <schwab@suse.de>
18877
18878 [BZ #14327]
18879 * include/stdlib.h (__mktemp): Add declaration.
18880 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
18881 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
18882
dd930cc5
SP
188832013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
18884
881ebe89
SP
18885 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
18886 definitions.
18887 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
18888 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
18889 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
18890 definitions here.
18891 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
18892 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
18893 definitions.
18894 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
18895 and ONE.
18896 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
18897 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
18898 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
18899 definitions.
18900 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
18901 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
18902 definitions.
18903 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 18904
dd930cc5
SP
18905 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
18906
c19a9f89
DM
189072013-01-15 David S. Miller <davem@davemloft.net>
18908
1aa61767
DM
18909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18910 trunc{,f} to libm-sysdep_routes.
18911 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
18913 file.
18914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
18915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
18916 file.
18917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
18918 file.
18919 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
18920 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
18921 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
18922 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
18923 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
18924 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
18925 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
18926 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
18927
c42d5e98
DM
18928 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
18929 nearbyint{,f} to libm-sysdep_routes.
18930 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
18932 New file.
18933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
18934 file.
18935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
18936 New file.
18937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
18938 file.
18939 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
18940 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
18941 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
18942 file.
18943 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
18944 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
18945 file.
18946 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
18947 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
18948 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
18949
c19a9f89
DM
18950 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
18951 libc_feholdexcept and libc_fesetenv.
18952
357679d2
MF
189532013-01-15 Mike Frysinger <vapier@gentoo.org>
18954
18955 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
18956
65a82e3d
DM
189572013-01-14 David S. Miller <davem@davemloft.net>
18958
8b954ab9
DM
18959 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
18960 (SPARC_ASM_VIS2_IFUNC): Likewise.
18961 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
18962 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
18963 use of 'siam' instruction.
18964 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
18965 Likewise.
18966 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
18967 Likewise.
18968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
18969 Likewise.
18970 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18971 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18972 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18973 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
18975 file.
18976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
18977 file.
18978 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
18979 file.
18980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
18981 file.
18982 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
18983 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
18984 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
18985 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
18986 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
18987 new VIS2 routines.
18988 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18990 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
18991 Likewise.
18992 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18993 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18994 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18995 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
18997 routines to libm-sysdep_routines.
18998 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18999
65a82e3d
DM
19000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
19001 fdim/fdimf to libm-sysdep_routines.
19002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
19003 file.
19004 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
19005 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
19006 file.
19007 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
19008 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
19009 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
19010 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
19011 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
19012 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
19013 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
19014
e34ab705
SP
190152013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
19016
2a91b573
SP
19017 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
19018 to optimize copies.
19019
1066a534
SP
19020 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
19021 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19022 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19023
e34ab705
SP
19024 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
19025 local variable MPTWO.
19026 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19027 Likewise.
19028
aba5e596
MF
190292013-01-13 Mike Frysinger <vapier@gentoo.org>
19030
19031 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
19032 GLOB_NOESCAPE.
19033
e557e9e5
MF
190342013-01-13 Mike Frysinger <vapier@gentoo.org>
19035
19036 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
19037
0428cec9
MF
190382013-01-13 Mike Frysinger <vapier@gentoo.org>
19039
19040 * manual/pattern.texi (glob_t): Document gl_flags.
19041 (glob64_t): Likewise.
19042
8794a964
DM
190432013-01-11 David S. Miller <davem@davemloft.net>
19044
66438c3f
RM
19045 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
19046 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
19047 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
19048 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
19049 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
19050 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
19051 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
19052 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
19053 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
19054 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
19055 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
19056 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
19057 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
19058
4ae4244d
DM
19059 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19060 sparc V9 rather than using V8 code.
19061 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19062 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19063
8794a964
DM
19064 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
19065 Move to...
19066 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
19067 Here.
19068
6270516e
RM
190692013-01-11 Roland McGrath <roland@hack.frob.com>
19070
19071 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
19072 not in the main loop.
19073 * configure: Regenerated.
19074
6a57d931
JM
190752013-01-11 Joseph Myers <joseph@codesourcery.com>
19076
19077 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
19078 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
19079 to just #else.
19080 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
19081 [!__GLIBC_HAVE_LONG_LONG] case.
19082 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
19083 condition to just #else.
19084 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
19085 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
19086 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
19087 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
19088 unconditional.
19089 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
19090 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19091 #elif condition to just #else.
19092 * sysdeps/unix/sysv/linux/sys/sysmacros.h
19093 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
19094 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
19095 #elif condition to just #else.
19096
0e8529e9
SE
190972013-01-11 Steve Ellcey <sellcey@mips.com>
19098
19099 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
19100 (EF_MIPS_ARCH_64): Fix value.
19101 (EF_MIPS_ARCH_32R2): New.
19102 (EF_MIPS_ARCH_64R2): New.
19103
740b3dbe
L
191042013-01-11 H.J. Lu <hongjiu.lu@intel.com>
19105
19106 * Makeconfig (+link-pie-before-libc): New.
19107 (+link-pie-after-libc): Likewise.
19108 (+link-pie-tests): Likewise.
19109 (+link-pie): Rewritten.
19110 (link-before-libc): Remove $(config-LDFLAGS).
19111 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
19112 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
19113 (config-LDFLAGS): Renamed to ...
19114 (rtld-LDFLAGS): This.
19115 (rtld-tests-LDFLAGS): New macro.
19116 (link-libc-rpath-link): Likewise.
19117 (link-libc-tests-rpath-link): Likewise.
19118 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
19119 (link-libc): Prepand $(link-libc-rpath-link).
19120 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
19121 (test-program-prefix): New macro.
19122 (test-via-rtld-prefix): Likewise.
19123 (test-program-cmd): Likewise.
19124 (host-test-program-cmd): Likewise.
19125 * Makefile ($(common-objpfx)testrun.sh): Replace
19126 $(run-program-prefix) with $(test-program-prefix).
19127 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
19128 $(rtld-LDFLAGS).
19129 ($(common-objpfx)shlib.lds): Likewise.
19130 (build-module-helper): Likewise.
19131 ($(common-objpfx)format.lds): Likewise.
19132 * Rules (binaries-pie-tests): New.
19133 (binaries-pie-notests): Likewise.
19134 (binaries-pie): Rewritten.
19135 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
19136 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
19137 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
19138 (make-test-out): Replace $(host-built-program-cmd) with
19139 $(host-test-program-cmd).
19140 * config.make.in (build-hardcoded-path-in-tests): New variable.
19141 * configure.in (--enable-hardcoded-path-in-tests): New configure
19142 option.
19143 (hardcoded_path_in_tests): New AC_SUBST.
19144 * configure: Regenerated.
19145 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
19146 $(built-program-cmd) with $(test-program-cmd).
19147 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
19148 (test_program_cmd): This.
19149 * elf/Makefile ($(objpfx)order.out): Run test with
19150 $(test-program-prefix).
19151 ($(objpfx)order2.out): Likewise.
19152 ($(objpfx)tst-initorder.out): Likewise.
19153 ($(objpfx)tst-initorder2.out): Likewise.
19154 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
19155 $(test-program-cmd).
19156 ($(objpfx)tst-array1-static.out): Likewise.
19157 ($(objpfx)tst-array2.out): Likewise.
19158 ($(objpfx)tst-array3.out): Likewise.
19159 ($(objpfx)tst-array4.out): Likewise.
19160 ($(objpfx)tst-array5.out): Likewise.
19161 ($(objpfx)tst-array5-static.out): Likewise.
19162 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
19163 $(test-program-cmd).
19164 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
19165 $(run-program-prefix) with $(test-program-prefix).
19166 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
19167 (test_program_prefix): This.
19168 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
19169 $(run-program-prefix) with $(test-program-prefix).
19170 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
19171 (test_program_prefix): This.
19172 * iconvdata/tst-tables.sh: Likewise.
19173 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
19174 $(run-program-prefix) with $(test-program-prefix).
19175 ($(objpfx)tst-translit.out): Likewise.
19176 ($(objpfx)tst-gettext2.out): Likewise.
19177 ($(objpfx)tst-gettext4.out): Likewise.
19178 ($(objpfx)tst-gettext6.out): Likewise.
19179 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
19180 (test_program_prefix): This.
19181 * intl/tst-gettext2.sh: Likewise.
19182 * intl/tst-gettext4.sh Likewise.
19183 * intl/tst-gettext6.sh: Likewise.
19184 * intl/tst-translit.sh: Likewise.
19185 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
19186 with $(test-program-cmd).
19187 * libio/Makefile ($(objpfx)test-freopen.out): Replace
19188 $(run-program-prefix) with $(test-program-prefix).
19189 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
19190 (test_program_prefix): This.
19191 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
19192 $(run-program-prefix) with $(test-program-prefix).
19193 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
19194 (test_program_prefix): This.
19195 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
19196 * posix/Makefile ($(objpfx)globtest.out): Replace
19197 $(run-via-rtld-prefix) and $(test-wrapper) with
19198 $(test-program-prefix) and $(test-via-rtld-prefix).
19199 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
19200 $(test-program-prefix).
19201 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
19202 $(host-test-program-cmd).
19203 (tst-spawn-ARGS): Likewise.
19204 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
19205 $(test-program-prefix).
19206 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
19207 (test_via_rtld_prefix): This.
19208 (test_wrapper): Renamed to ...
19209 (test_program_prefix): This.
19210 (run_program_prefix): Replaced by test_program_prefix.
19211 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
19212 (test_program_prefix): This.
19213 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
19214 with $(host-test-program-cmd).
19215 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
19216 $(run-program-prefix) with $(test-program-prefix).
19217 ($(objpfx)tst-printf.out): Likewise.
19218 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
19219 $(test-program-cmd).
19220 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
19221 (test_program_prefix): This.
19222 * stdio-common/tst-unbputc.sh: Likewise.
19223 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
19224 $(run-program-prefix) with $(test-program-prefix).
19225 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
19226 (test_program_prefix): This.
19227 * string/Makefile ($(objpfx)tst-svc.out): Replace
19228 $(built-program-cmd) with $(test-program-cmd).
19229
c6fe55cf
AJ
192302013-01-11 Andreas Jaeger <aj@suse.de>
19231
19232 [BZ #15003]
19233 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
19234 value. Sync with Linux 3.7.
19235
9e6919c8
DM
192362013-01-10 David S. Miller <davem@davemloft.net>
19237
19238 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
19239 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19240 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19241
1c9f1a02
RM
192422013-01-10 Roland McGrath <roland@hack.frob.com>
19243
19244 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
19245 never set.
19246 * configure: Regenerated.
19247
b9de2dde
DM
192482013-01-10 David S. Miller <davem@davemloft.net>
19249
19250 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
19251 sparc V9 rather than using V8 code.
19252 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
19253 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
19254
e7f68ef4
RM
192552013-01-10 Roland McGrath <roland@hack.frob.com>
19256
19257 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
19258 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
19259 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
19260 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
19261 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
19262 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
19263 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
19264 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
19265 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
19266 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
19267 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
19268 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
19269 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
19270 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
19271 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
19272 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
19273 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
19274 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
19275 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
19276 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
19277 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
19278 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
19279 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
19280 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
19281 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
19282 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
19283 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
19284
5a47cc9c
DM
192852013-01-10 David S. Miller <davem@davemloft.net>
19286
19287 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19288
4cf8f209
L
192892013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19290
19291 * posix/Makefile (tests-static): New variable.
19292 (tests): Add $(tests-static).
19293 (tst-exec-static-ARGS): New variable.
19294 (tst-spawn-static-ARGS): Likewise.
19295 * posix/tst-exec-static.c: New file.
19296 * posix/tst-spawn-static.c: Likewise.
19297 * posix/tst-exec.c: Support run directly.
19298 * posix/tst-spawn.c: Likewise.
19299
fed0faa1
JM
193002013-01-10 Joseph Myers <joseph@codesourcery.com>
19301
828beb13
JM
19302 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
19303 long.
19304 * math/bits/mathcalls.h (llrint): Likewise.
19305 (llround): Likewise.
19306 * stdlib/stdlib.h (struct drand48_data): Likewise.
19307 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
19308 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
19309 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
19310 Likewise.
19311 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
19312 Likewise.
19313 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
19314 (elf_greg_t): Likewise.
19315 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
19316 (__jmp_buf): Likewise.
19317 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
19318 definitions.
19319 (llrint): Likewise, for all definitions.
19320 (llrintl): Likewise.
19321
fed0faa1
JM
19322 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
19323 Remove [__GNUC__] condition.
19324 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
19325 condition to just [__USE_ISOC99].
19326 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
19327
1a20cb20
L
193282013-01-10 H.J. Lu <hongjiu.lu@intel.com>
19329
19330 [BZ #14200]
19331 * sysdeps/unix/sysv/linux/x86/bits/environments.h
19332 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
19333 defined.
19334 (_POSIX_V6_ILP32_OFF32): Likewise.
19335 (_XBS5_ILP32_OFF32): Likewise.
19336 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
19337 (__ILP32_OFFBIG_LDFLAGS): Likewise.
19338
751b85f7
SP
193392013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
19340
7490eb81
SP
19341 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
19342
751b85f7
SP
19343 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
19344 doubles __mpexp_twomm1. Adjust usage.
19345 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
19346 Remove.
19347
988197f0
AS
193482013-01-10 Andreas Schwab <schwab@suse.de>
19349
19350 [BZ #14964]
19351 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
19352 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
19353
e83d7298
DM
193542013-01-09 David S. Miller <davem@davemloft.net>
19355
034ed64b 19356 [BZ #15003]
e83d7298
DM
19357 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
19358 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
19359 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
19360 TCP_FASTOPEN): Define.
19361 (tcp_repair_opt): New structure.
19362 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
19363 enum values.
19364 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
19365 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
19366 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
19367 (tcp_cookie_transactions): New structure.
19368
d5e0b9bd
AB
193692013-01-09 Anton Blanchard <anton@samba.org>
19370
19371 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
19372 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
19373 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
19374 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
19375
0c07e3ea
JM
193762013-01-09 Joseph Myers <joseph@codesourcery.com>
19377
19378 * include/features.h (__USE_ANSI): Remove.
19379
232f7002
RM
193802013-01-09 Roland McGrath <roland@hack.frob.com>
19381
ad98e30c
RM
19382 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
19383
232f7002
RM
19384 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
19385
950c99ca
SP
193862013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
19387
b5792741
SP
19388 * sysdeps/s390/fpu/libm-test-ulps: Update.
19389
47cf2278
SP
19390 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19391
950c99ca
SP
19392 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
19393 (__acr): Likewise.
19394 (__cpy): Likewise.
19395 (norm): Likewise.
19396 (denorm): Likewise.
19397 (__mp_dbl): Likewise.
19398 (__dbl_mp): Likewise.
19399 (add_magnitudes): Likewise.
19400 (sub_magnitudes): Likewise.
19401 (__add): Likewise.
19402 (__sub): Likewise.
19403 (__mul): Likewise.
19404 (__inv): Likewise.
19405 (__dvd): Likewise.
19406 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
19407 (__acr): Likewise.
19408 (__cpy): Likewise.
19409 (norm): Likewise.
19410 (denorm): Likewise.
19411 (__mp_dbl): Likewise.
19412 (__dbl_mp): Likewise.
19413 (add_magnitudes): Likewise.
19414 (sub_magnitudes): Likewise.
19415 (__add): Likewise.
19416 (__sub): Likewise.
19417 (__mul): Likewise.
19418 (__inv): Likewise.
19419 (__dvd): Likewise.
19420 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
19421 (__acr): Likewise.
19422 (__cpy): Likewise.
19423 (norm): Likewise.
19424 (denorm): Likewise.
19425 (__mp_dbl): Likewise.
19426 (__dbl_mp): Likewise.
19427 (add_magnitudes): Likewise.
19428 (sub_magnitudes): Likewise.
19429 (__add): Likewise.
19430 (__sub): Likewise.
19431 (__mul): Likewise.
19432 (__inv): Likewise.
19433 (__dvd): Likewise.
19434
eede9df9
JM
194352013-01-08 Joseph Myers <joseph@codesourcery.com>
19436
19437 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
19438 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
19439 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
19440 2 && __USE_EXTERN_INLINES]: Likewise.
19441
c40ea3d9
AJ
194422013-01-08 Andreas Jaeger <aj@suse.de>
19443
19444 [BZ# 14985]
19445 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
19446 Remove.
19447 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19448 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
19449
2ccdea26
AB
194502013-01-07 Anton Blanchard <anton@samba.org>
19451
19452 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
19453 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
19454 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
19455 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
19456 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
19457 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
19458 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
19459 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19460 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19461 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19462 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
19463 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
19464 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
19465 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
19466 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
19467 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
19468 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
19469 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
19470 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
19471 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
19472 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
19473 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
19474 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
19475 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
19476 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
19477 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
19478 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
19479 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
19480 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
19481 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
19482 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
19483 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19484 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19485 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
19486 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
19487 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
19488 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
19489 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
19490 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
19491 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19492 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
19493 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
19494 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
19495
a9708fed
JM
194962013-01-07 Joseph Myers <joseph@codesourcery.com>
19497
375607b9
JM
19498 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
19499 (__MALLOC_PMT): Likewise.
19500 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
19501 [__GNUC__], only on [_LIBC].
19502 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19503 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
19504 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
19505 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
19506 forward declaration.
19507 (realloc_hook_ini): Likewise.
19508 (memalign_hook_ini): Likewise.
19509 (__libc_memalign): Do not use __MALLOC_PMT in variable
19510 declaration.
19511 (__libc_valloc): Likewise.
19512 (__libc_pvalloc): Likewise.
19513 (__libc_calloc): Likewise.
19514 (__posix_memalign): Likewise.
19515
a9708fed
JM
19516 [BZ #14996]
19517 * math/s_casinh.c: Include <float.h>.
19518 (__casinh): Do not do computation with squaring and square root
19519 for large arguments.
19520 * math/s_casinhf.c: Include <float.h>.
19521 (__casinhf): Do not do computation with squaring and square root
19522 for large arguments.
19523 * math/s_casinhl.c: Include <float.h>.
19524 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
19525 (__casinhl): Do not do computation with squaring and square root
19526 for large arguments.
19527 * math/libm-test.inc (casin_test): Add more tests.
19528 (casinh_test): Likewise.
19529 * sysdeps/i386/fpu/libm-test-ulps: Update.
19530 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19531
afec409a
L
195322013-01-04 H.J. Lu <hongjiu.lu@intel.com>
19533
19534 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
19535 (__x86_64_raw_data_cache_size): Likewise.
19536 (__x86_64_data_cache_size_half): Likewise.
19537 (__x86_64_raw_data_cache_size_half): Likewise.
19538 (__x86_64_shared_cache_size): Likewise.
19539 (__x86_64_raw_shared_cache_size): Likewise.
19540 (__x86_64_shared_cache_size_half): Likewise.
19541 (__x86_64_raw_shared_cache_size_half): Likewise.
19542 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
19543 to ...
19544 (__x86_data_cache_size): This.
19545 (__x86_64_raw_data_cache_size): Renamed to ...
19546 (__x86_raw_data_cache_size): This.
19547 (__x86_64_data_cache_size_half): Renamed to ...
19548 (__x86_data_cache_size_half): This.
19549 (__x86_64_raw_data_cache_size_half): Renamed to ...
19550 (__x86_raw_data_cache_size_half): This.
19551 (__x86_64_shared_cache_size): Renamed to ...
19552 (__x86_shared_cache_size): This.
19553 (__x86_64_raw_shared_cache_size): Renamed to ...
19554 (__x86_raw_shared_cache_size): This.
19555 (__x86_64_shared_cache_size_half): Renamed to ...
19556 (__x86_shared_cache_size_half): This.
19557 (__x86_64_raw_shared_cache_size_half): Renamed to ...
19558 (__x86_raw_shared_cache_size_half): This.
19559 * sysdeps/x86_64/memcpy.S: Updated.
19560 * sysdeps/x86_64/memset.S: Likewise.
19561 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
19562 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
19563 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
19564
0b3986d0
DM
195652013-01-04 David S. Miller <davem@davemloft.net>
19566
19567 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19568
e47686e9
AS
195692013-01-04 Andreas Schwab <schwab@linux-m68k.org>
19570
d643bac1
AS
19571 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
19572 1 to avoid redefinition warning.
19573 (__USE_GNU): Don't define.
19574 (init_signaling_nan): Protoize.
19575
e47686e9
AS
19576 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19577
b18decba
SP
195782013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19579
fffb407f
SP
19580 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
19581 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
19582 (__cpymn): Likewise.
19583 (norm): Remove commented code.
19584 (denorm): Likewise.
19585 (__mp_dbl): Likewise.
19586 (__inv): Likewise.
19587 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
19588 (__cpymn): Likewise.
19589 (norm): Remove commented code.
19590 (denorm): Likewise.
19591 (__mp_dbl): Likewise.
19592 (__inv): Likewise.
19593
b18decba
SP
19594 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
19595 mp_no value for 1.0 and 2.0.
19596 (norm): Use RADIXI instead of radixi.d.
19597 (denorm): Likewise.
19598 (__mul): Use 0.0 instead of zero.d.
19599 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
19600 mp_no value for 1.0 and 2.0.
19601 (norm): Use RADIXI instead of radixi.d.
19602 (denorm): Likewise.
19603 (__mul): Use 0.0 instead of zero.d.
19604
cdc1c96f
JM
196052013-01-04 Joseph Myers <joseph@codesourcery.com>
19606
19607 [BZ #14994]
19608 * math/s_casinh.c (__casinh): Reduce finite argument to first
19609 quadrant then set signs of results at the end.
19610 * math/s_casinhf.c (__casinhf): Likewise.
19611 * math/s_casinhl.c (__casinhl): Likewise.
19612 * math/libm-test.inc (casin_test): Add more tests.
19613 (casinh_test): Likewise.
19614 * sysdeps/i386/fpu/libm-test-ulps: Update.
19615 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19616
302913e1
SP
196172013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
19618
6420d207
SP
19619 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
19620
a9e48ab4
SP
19621 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
19622
b7837264
SP
19623 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
19624 declarations.
19625 (denorm): Likewise.
19626 (__mp_dbl): Likewise.
19627 (__inv): Likewise.
19628
f8af25d2
SP
19629 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
19630 and adjust the header comment.
19631
302913e1
SP
19632 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
19633 variable name from declaration.
19634
5d7dd1ca
L
196352013-01-03 H.J. Lu <hongjiu.lu@intel.com>
19636
19637 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19638 Initialize COMMON_CPUID_INDEX_7 element.
19639 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
19640 (CPUID_RTM): Likewise.
19641 (HAS_RTM): Likewise.
19642 (COMMON_CPUID_INDEX_7): New enum.
19643
2f5f40f4
AS
196442013-01-03 Andreas Schwab <schwab@linux-m68k.org>
19645
19646 [BZ #14981]
19647 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
19648 size is zero, record memory as freed.
19649
4056f4a0
AJ
196502013-01-03 Andreas Jaeger <aj@suse.de>
19651
19652 * po/ia.po: Add new Interlingua translation.
19653
ab15736f 196542012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
19655
19656 * locale/programs/localedef.c: Fix description of '--posix' flag.
19657
568035b7
JM
196582013-01-02 Joseph Myers <joseph@codesourcery.com>
19659
e6898b8d
JM
19660 * NEWS: Update dates in second copyright notice.
19661 * README: Update copyright dates in example.
19662 * manual/libc.texinfo: Update copyright dates.
19663 * scripts/test-installation.pl: Update copyright date in --version
19664 output.
19665
0e2f9562
JM
19666 * hurd/ctty-input.c: Fix copyright notice formatting.
19667 * hurd/ctty-output.c: Likewise.
19668 * hurd/dtable.c: Likewise.
19669 * hurd/hurd-raise.c: Likewise.
19670 * hurd/hurdprio.c: Likewise.
19671 * hurd/msgportdemux.c: Likewise.
19672 * misc/sys/file.h: Likewise.
19673 * misc/sys/ioctl.h: Likewise.
19674 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19675 * sysdeps/mach/hurd/chdir.c: Likewise.
19676 * sysdeps/mach/hurd/fchdir.c: Likewise.
19677 * sysdeps/mach/hurd/rename.c: Likewise.
19678 * sysdeps/mach/hurd/rmdir.c: Likewise.
19679 * sysdeps/mach/hurd/seekdir.c: Likewise.
19680 * sysdeps/mach/hurd/setsid.c: Likewise.
19681 * sysdeps/posix/wait3.c: Likewise.
19682
568035b7
JM
19683 * All files with FSF copyright notices: Update copyright dates
19684 using scripts/update-copyrights.
19685 * intl/plural.c: Regenerated.
19686 * locale/programs/charmap-kw.h: Likewise.
19687 * locale/programs/locfile-kw.h: Likewise.
19688
da08f647
SP
196892013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
19690
0f5477af
SP
19691 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
19692 four values.
19693
44e0d4c2
SP
19694 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
19695 calculation loop and add branch prediction.
19696
4d55b4e5
SP
19697 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
19698 check access beyond bounds of m1np.
19699
da08f647
SP
19700 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19701 MPTWO.
19702 (__inv): Remove local variable MPTWO to use the global
19703 constant.
19704 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
19705 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19706 variable MPTWO.
19707 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
19708 MP3HALFS static const.
19709
8e051029
DM
197102013-01-01 David S. Miller <davem@davemloft.net>
19711
19712 * po/ca.po: Update from translation team.
19713
f4cf5f2d
JM
197142013-01-01 Joseph Myers <joseph@codesourcery.com>
19715
19716 * scripts/update-copyrights: New file.
19717 * Makeconfig: Reformat copyright notice.
19718 * ctype/ctype.h: Likewise.
19719 * debug/swprintf_chk.c: Likewise.
19720 * elf/dl-cache.c: Likewise.
19721 * elf/dl-debug.c: Likewise.
19722 * elf/dl-object.c: Likewise.
19723 * grp/initgroups.c: Likewise.
19724 * hurd/Makefile: Likewise.
19725 * hurd/hurd/signal.h: Likewise.
19726 * hurd/hurdfault.c: Likewise.
19727 * hurd/hurdioctl.c: Likewise.
19728 * hurd/hurdlookup.c: Likewise.
19729 * hurd/intr-msg.c: Likewise.
19730 * iconv/gconv_open.c: Likewise.
19731 * libio/swprintf.c: Likewise.
19732 * locale/lc-ctype.c: Likewise.
19733 * locale/nl_langinfo.c: Likewise.
19734 * mach/Machrules: Likewise.
19735 * mach/Makefile: Likewise.
19736 * malloc/obstack.h: Likewise.
19737 * manual/Makefile: Likewise.
19738 * manual/tsort.awk: Likewise.
19739 * misc/bits/stab.def: Likewise.
19740 * nis/nis_print_group_entry.c: Likewise.
19741 * nis/nis_table.c: Likewise.
19742 * nis/nss_compat/compat-pwd.c: Likewise.
19743 * nis/nss_compat/compat-spwd.c: Likewise.
19744 * po/Makefile: Likewise.
19745 * posix/fnmatch.c: Likewise.
19746 * posix/regex.h: Likewise.
19747 * resolv/Makefile: Likewise.
19748 * resolv/nss_dns/dns-network.c: Likewise.
19749 * resolv/res_hconf.c: Likewise.
19750 * scripts/gen-sorted.awk: Likewise.
19751 * soft-fp/soft-fp.h: Likewise.
19752 * stdio-common/printf.h: Likewise.
19753 * stdlib/monetary.h: Likewise.
19754 * stdlib/random.c: Likewise.
19755 * stdlib/random_r.c: Likewise.
19756 * sysdeps/generic/Makefile: Likewise.
19757 * sysdeps/gnu/Makefile: Likewise.
19758 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
19759 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
19760 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
19761 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
19762 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19763 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
19764 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19765 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
19766 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
19767 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
19768 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
19769 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
19770 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
19771 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
19772 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
19773 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
19774 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
19775 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
19776 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
19777 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
19778 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
19779 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
19780 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
19781 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
19782 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
19783 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
19784 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
19785 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
19786 * sysdeps/mach/hurd/errnos.awk: Likewise.
19787 * sysdeps/mach/hurd/fork.c: Likewise.
19788 * sysdeps/mach/hurd/getcwd.c: Likewise.
19789 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
19790 * sysdeps/mach/hurd/mmap.c: Likewise.
19791 * sysdeps/mach/hurd/utimes.c: Likewise.
19792 * sysdeps/mach/hurd/xmknod.c: Likewise.
19793 * sysdeps/posix/profil.c: Likewise.
19794 * sysdeps/posix/readdir_r.c: Likewise.
19795 * sysdeps/powerpc/bits/mathdef.h: Likewise.
19796 * sysdeps/powerpc/bits/setjmp.h: Likewise.
19797 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
19798 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
19799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
19800 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
19801 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
19802 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
19803 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
19804 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
19805 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
19806 * sysdeps/pthread/lio_listio.c: Likewise.
19807 * sysdeps/sparc/dl-procinfo.h: Likewise.
19808 * sysdeps/unix/i386/sysdep.S: Likewise.
19809 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
19810 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
19811 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
19812 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
19813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19814 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
19815 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
19816 * sysdeps/unix/sysv/linux/speed.c: Likewise.
19817 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
19818 * sysdeps/wordsize-32/divdi3.c: Likewise.
19819 * time/sys/time.h: Likewise.
19820 * wcsmbs/Makefile: Likewise.
19821
0549fbba
DM
198222013-01-01 David S. Miller <davem@davemloft.net>
19823
a141f1a7
DM
19824 * po/fr.po: Update from translation team.
19825
0549fbba
DM
19826 * catgets/gencat.c: Update copyright year.
19827 * csu/version.c: Likewise.
19828 * debug/catchsegv.sh: Likewise.
19829 * debug/pcprofiledump.c: Likewise.
19830 * debug/xtrace.sh: Likewise.
19831 * elf/ldconfig.c: Likewise.
19832 * elf/ldd.bash.in: Likewise.
19833 * elf/pldd.c: Likewise.
19834 * elf/sotruss.ksh: Likewise.
19835 * elf/sprof.c: Likewise.
19836 * iconv/iconv_prog.c: Likewise.
19837 * iconv/iconvconfig.c: Likewise.
19838 * locale/programs/locale.c: Likewise.
19839 * locale/programs/localedef.c: Likewise.
19840 * login/programs/pt_chown.c: Likewise.
19841 * malloc/memusage.sh: Likewise.
19842 * malloc/memusagestat.c: Likewise.
19843 * malloc/mtrace.pl: Likewise.
19844 * nscd/nscd.c: Likewise.
19845 * nss/getent.c: Likewise.
19846 * nss/makedb.c: Likewise.
19847 * posix/getconf.c: Likewise.
19848
18ea052c
SP
198492012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
19850
19851 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
19852 numbers.
19853
9c89fca6
MF
198542012-12-30 Mike Frysinger <vapier@gentoo.org>
19855
19856 * math/bits/mathcalls.h (modf): Use __nonnull.
19857
085ec079
SP
198582012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
19859
19860 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
19861 (split): Use macro CN instead of the bare value.
19862 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
19863 could be used.
19864 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
19865 instead of the bare value.
19866 (power1): Likewise.
19867
6d9f97e1
SP
198682012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19869
d63f73be
SP
19870 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
19871 __ATAN_TWOM.
19872 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19873
6d9f97e1
SP
19874 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
19875 their values.
19876 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
19877 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
19878 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
19879 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
19880
4c4febf5
AJ
198812012-12-28 Andreas Jaeger <aj@suse.de>
19882
af5843ef
AJ
19883 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
19884 values are from Linux 3.7.
19885
4c4febf5
AJ
19886 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
19887 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
19888
99136f82
SP
198892012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
19890
2f216c3c 19891 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
19892 TRUE case.
19893
99136f82
SP
19894 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
19895 (norm): Likewise.
19896 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
19897 variables with preprocessor constants.
19898 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
19899 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
19900 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
19901
7fffbdff
BH
199022012-12-27 Bruno Haible <bruno@clisp.org>
19903
19904 [BZ #14317]
19905 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
19906 only if needed.
19907
b76eb5f0
SP
199082012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
19909
31a7fe5c
SP
19910 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
19911 and use variable directly.
19912 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
19913
b76eb5f0
SP
19914 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
19915 MPONE.
19916 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
19917 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
19918 variable MPONE.
19919 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
19920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
19921 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
19922 include directive. Remove local variable MPONE.
19923 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
19924 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
19925 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19926
2c8bfe7d
DM
199272012-12-25 David S. Miller <davem@davemloft.net>
19928
19929 * version.h (RELEASE): Set to "development".
19930 (VERSION): Set to "2.17.90".
19931 * NEWS: Add 2.18 section.
19932
147d03b0
DM
199332012-12-21 David S. Miller <davem@davemloft.net>
19934
19935 * po/hr.po: Update from translation team.
19936
a8ebb2b9
AK
199372012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19938
19939 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
19940
95b4f1b6
SE
199412012-12-19 Steve Ellcey <sellcey@mips.com>
19942
b2d94007 19943 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 19944
cedb2a90
MS
199452012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
19946
19947 * manual/contrib.texi (Contributors): Spelling correction.
19948
bbf527d6
DM
199492012-12-15 David S. Miller <davem@davemloft.net>
19950
19951 * po/ru.po: Update from translation team.
19952
bc38c906
DM
199532012-12-13 David S. Miller <davem@davemloft.net>
19954
85429b1a
DM
19955 * NEWS: Mention IFUNC testsuite enhancements.
19956
d283e353
DM
19957 * po/pl.po: Update from translation team.
19958 * po/bg.po: Likewise.
19959
bc38c906
DM
19960 * manual/contrib.texi (Contributors): Update entries for Hongjiu
19961 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
19962
a181b0d7
DM
199632012-12-11 David S. Miller <davem@davemloft.net>
19964
4641d57e
DM
19965 * po/sv.po: Update from translation team.
19966
f7bc6495
DM
19967 * po/vi.po: Update from translation team.
19968
6fc9048f
DM
19969 * po/cs.po: Update from translation team.
19970
a181b0d7
DM
19971 * po/de.po: Update from translation team.
19972 * po/eo.po: Likewise.
19973 * po/nl.po: Likewise.
19974
f70bfe80
SP
199752012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
19976
3c8b4190
SP
19977 [BZ #14246]
19978 * manual/argp.texi (Argp Helper Functions): Move node to follow
19979 Argp Parsing State.
19980
f70bfe80
SP
19981 [BZ #14872]
19982 * manual/conf.texi (Limits on File System Capacity): Mention if
19983 terminating null is included in the max size.
19984
188f0adf
AJ
199852012-12-10 Andreas Jaeger <aj@suse.de>
19986
19987 * po/cs.po: Update from translation team.
19988
56e7d3ad
SP
199892012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
19990
19991 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
19992 void pointer and cast to uintptr_t.
19993 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
19994 path.
19995 * sysdeps/s390/s390-64/memcpy.S: Likewise.
19996 * sysdeps/s390/s390-64/memset.S: Likewise.
19997
76f2d2ea 199982012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
19999
20000 [BZ #14833]
20001 * menual/message.texi (Message Translation): Fix typos.
20002 (Helper programs for gettext): Likewise.
20003
67cbf9a2
AS
200042012-12-07 Andreas Schwab <schwab@linux-m68k.org>
20005
20006 [BZ #14898]
20007 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
20008 Change to -1.
20009
682d0e9a
DM
200102012-12-07 David S. Miller <davem@davemloft.net>
20011
20012 * po/libc.pot: Update.
20013
573cd484
RH
200142012-12-07 Richard Henderson <rth@redhat.com>
20015
7e9da188 20016 [BZ #10114]
573cd484
RH
20017 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
20018 normal/normal case to before the switch.
20019 (_FP_DIV): Likewise.
20020
e933a943
MF
200212012-12-06 Carlos O'Donell <carlos@systemhalted.org>
20022 Mike Frysinger <vapier@gentoo.org>
20023
20024 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
20025 check for __NR_fadvise64_64.
20026
82123268
CM
200272012-12-06 Chris Metcalf <cmetcalf@tilera.com>
20028
20029 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
20030 0, not just to plain "0" as a statement.
20031 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
20032 with cw.
20033
d9814526
JM
200342012-12-06 Joseph Myers <joseph@codesourcery.com>
20035
20036 * NEWS: Use sourceware.org in Bugzilla URL.
20037
7728c574
SP
200382012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
20039
f16946dd
SP
20040 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20041 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20042
5704bbcb
SP
20043 * stdio-common/tst-put-error.c (do_test): Add newline to the
20044 padded test to ensure flush.
20045
17aa0516
JL
200462012-12-05 Jeff Law <law@redhat.com>
20047
20048 * sunrpc/etc.rpc (fedfs_admin): Add entry.
20049
363313b5
JM
200502012-12-05 Joseph Myers <joseph@codesourcery.com>
20051
effbd42a
JM
20052 * README: Don't refer to ports add-on as distributed separately.
20053 Mention AArch64 in list of systems supported in the ports add-on.
20054
87600365
JM
20055 * LICENSES: Add more non-FSF copyright and license notices.
20056
a0d7066a
JM
20057 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
20058 ((unused)).
20059
66ca5a5b
JM
20060 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
20061
363313b5
JM
20062 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
20063 10000 as width of padded output.
20064
b37984ad
JM
200652012-12-04 Joseph Myers <joseph@codesourcery.com>
20066
9003570a
JM
20067 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
20068
b37984ad
JM
20069 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
20070 variable LX with __attribute__ ((unused)).
20071 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
20072 Likewise.
20073 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
20074 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
20075 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
20076 with __attribute__ ((unused)).
20077
c8df52ec
DM
200782012-12-04 David S. Miller <davem@abraco.davemloft.net>
20079
20080 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
20081
b3b099af
JM
200822012-12-04 Joseph Myers <joseph@codesourcery.com>
20083
c33aa6e3
JM
20084 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
20085 (CFLAGS-nldbl-acos.c): New variable.
20086 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
20087 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
20088 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
20089 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
20090 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
20091 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
20092 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
20093 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
20094 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
20095 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
20096 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
20097 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
20098 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
20099 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
20100 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
20101 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
20102 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
20103 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
20104 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
20105 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
20106 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
20107 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
20108 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
20109 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
20110 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
20111 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
20112 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
20113 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
20114 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
20115 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
20116 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
20117 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
20118 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
20119 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
20120 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
20121 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
20122 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
20123 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
20124 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
20125 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
20126 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
20127 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
20128 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
20129 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
20130 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
20131 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
20132 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
20133 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
20134 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
20135 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
20136 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
20137 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
20138 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
20139 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
20140 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
20141 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
20142 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
20143 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
20144 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
20145 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
20146 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
20147 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
20148 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
20149 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
20150 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
20151 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
20152 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
20153 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
20154 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
20155 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
20156 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
20157 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
20158 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
20159 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
20160 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
20161 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
20162 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
20163 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
20164 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
20165 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
20166 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
20167 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
20168 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
20169 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
20170 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
20171 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
20172 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
20173 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
20174 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
20175 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
20176 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
20177 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
20178 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
20179 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
20180 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
20181 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
20182 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
20183
20f0018d
JM
20184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20185 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
20186
b3b099af
JM
20187 [BZ #14914]
20188 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
20189 whole low double instead of just low 47 bits when splitting values
20190 into two parts.
20191
029264d1
AM
201922012-12-03 Allan McRae <allan@archlinux.org>
20193
20194 * manual/stdio.texi (Predefined Printf Handlers): Remove
20195 @hsep and @vsep usage.
20196
c9d6789e
MF
201972012-12-03 Mike Frysinger <vapier@gentoo.org>
20198
20199 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
20200 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
20201
4b7634a5
JL
202022012-12-03 Jeff Law <law@redhat.com>
20203
20204 * time/sys/time.h (settimeofday): Do not mark TV argument
20205 as __nonnull.
20206
eb6cbd24
MF
202072012-12-01 Mike Frysinger <vapier@gentoo.org>
20208
20209 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
20210 when currently writing and seek to current position when not.
20211 * libio/Makefile (tests): Remove bug-fclose1.
20212 * libio/bug-fclose1.c: Delete.
20213
f638872a
JM
202142012-12-01 Joseph Myers <joseph@codesourcery.com>
20215
20216 * manual/arith.texi (feenableexcept): Fix typo.
20217 (fedisableexcept): Likewise.
20218
48085d14
RM
202192012-11-30 Roland McGrath <roland@hack.frob.com>
20220
20221 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
20222 second, differently-typed declaration, rather than a cast.
20223
1a538b9f
SP
202242012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20225
20226 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
20227 * include/rpc/svc.h: ... here.
20228
d07f2ff1 202292012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
20230
20231 [BZ #13013]
20232 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
20233 depending n and resplen2 to catch cases where answer
20234 equals answerp2.
20235
c93ec1f0
CD
202362012-11-29 Carlos O'Donell <carlos@systemhalted.org>
20237
20238 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
20239 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
20240
37db69de
MF
202412012-11-29 Mike Frysinger <vapier@gentoo.org>
20242
20243 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
20244
e10c4e4f
RM
202452012-11-29 Roland McGrath <roland@hack.frob.com>
20246
20247 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
20248
2af1b328
JL
202492012-11-28 Jeff Law <law@redhat.com>
20250
20251 [BZ #13761]
20252 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
20253 dataset_temporary. Track alloca usage into alloca_used.
20254 If dataset is large allocate and release it via malloc/free.
20255
111db5b1
FW
202562012-06-04 Florian Weimer <fweimer@redhat.com>
20257
f06cc227 20258 [BZ #14197]
111db5b1
FW
20259 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
20260
dd694abd
DM
202612012-11-28 David S. Miller <davem@davemloft.net>
20262
20263 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20264
9984dd01
JM
202652012-11-28 Joseph Myers <joseph@codesourcery.com>
20266
20267 [BZ #14803]
20268 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
20269 of pi/2 rounded to nearest to 64 bits.
20270 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
20271 nearest to 64 bits.
20272 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
20273 bits.
20274
14bc93a9
JL
202752012-11-28 Jeff Law <law@redhat.com>
20276 Martin Osvald <mosvald@redhat.com>
20277
20278 [BZ #14889]
20279 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
20280 * sunrpc/svc.c: Include time.h.
20281 (__svc_accept_failed): New function.
20282 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
20283 any reason other than EINTR, call __svc_accept_failed.
20284 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
20285 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
20286
e3c6aa3a
AS
202872012-11-28 Andreas Schwab <schwab@suse.de>
20288
20289 * scripts/abilist.awk: Also handle indirect functions in .opd
20290 section.
20291
1bead169
JM
202922012-11-28 Joseph Myers <joseph@codesourcery.com>
20293
20294 [BZ #13881]
20295 * sysdeps/x86/fpu/powl_helper.c: New file.
20296 * sysdeps/x86/fpu/Makefile: Likewise.
20297 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
20298 (p3): New object.
20299 (__ieee754_powl): Use __powl_helper for finite arguments except
20300 integer exponents below 8.
20301 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
20302 (p3): New object.
20303 (__ieee754_powl): Use __powl_helper for finite arguments except
20304 integer exponents below 8.
20305 * math/libm-test.inc (pow_test): Add more tests and enable some
20306 previously disabled tests.
20307 * sysdeps/i386/fpu/libm-test-ulps: Update.
20308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20309
0817d63d
SP
203102012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20311 Carlos O'Donell <carlos_odonell@mentor.com>
20312
20313 * nss/makedb.c (is_prime): Assert that input is odd and greater
20314 than 4. Note that fact in a comment too.
20315 (next_prime): Add 4 to input.
20316
de2fd463
SP
203172012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
20318
20319 [BZ #11741]
20320 * libio/Makefile (tests): Add test case tst-fwrite-error.
20321 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
20322 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
20323 * libio/tst-fwrite-error.c: New test case.
20324
c515fb51
L
203252012-11-26 H.J. Lu <hongjiu.lu@intel.com>
20326
20327 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
20328 before casting to void *.
20329 * include/libc-internal.h (__pointer_type): New macro.
20330 (__integer_if_pointer_type_sub): Likewise.
20331 (__integer_if_pointer_type): Likewise.
20332 (cast_to_integer): Likewise.
20333 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
20334 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
20335 before casting to atomic64_t.
20336 (atomic_exchange_acq): Likewise.
20337 (__arch_exchange_and_add_body): Likewise.
20338 (__arch_add_body): Likewise.
20339 (atomic_add_negative): Likewise.
20340 (atomic_add_zero): Likewise.
20341
4cf77aa9
JM
203422012-11-26 Joseph Myers <joseph@codesourcery.com>
20343
20344 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
20345 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
20346 (add_fdes): Likewise.
20347 (linear_search_fdes): Likewise.
20348 (binary_search_unencoded_fdes): Likewise.
20349
d260b3b4
AS
203502012-11-26 Andreas Schwab <schwab@linux-m68k.org>
20351
20352 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
20353
67060746
AC
203542012-11-24 Adam Conrad <adconrad@0c3.net>
20355
20356 * configure.in: Autodetect C++ header directories.
20357 * configure: Regenerated.
20358
800938a1
MF
203592012-11-23 Mike Frysinger <vapier@gentoo.org>
20360
20361 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
20362
4e6e34e6
AS
203632012-11-23 Andreas Schwab <schwab@linux-m68k.org>
20364
20365 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20366
7c7feb47
JM
203672012-11-22 Joseph Myers <joseph@codesourcery.com>
20368
7184dcdf
JM
20369 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
20370 LDBL_MANT_DIG == 106]: Disable some tests.
20371 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20372 Likewise.
20373 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
20374 Likewise.
20375
0a42601f
JM
20376 [BZ #14871]
20377 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
20378 input for small inputs. Return +/- pi/2 for large inputs.
20379 * math/libm-test.inc (atan_test): Add more tests.
20380
79c9b9fe
JM
20381 * sysdeps/generic/unwind-dw2-fde-glibc.c
20382 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
20383 __attribute__ ((unused)).
20384
c60d3bf2
JM
20385 [BZ #14645]
20386 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
20387 x * y if x and y are nonzero and z is zero.
20388
ef1e0867
JM
20389 [BZ #14811]
20390 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
20391 nonzero exponents with absolute value below 0x1p-117 to +/-
20392 0x1p-117.
20393
1468ded3
JM
20394 [BZ #14869]
20395 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
20396 up arguments below 2**-450, not just those below 2**-500.
20397 * math/libm-test.inc (hypot_test): Add another test.
20398
8e27e3cc
JM
20399 [BZ #14868]
20400 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20401 Return a+b for ratio over 2**120, not 2**60.
20402 * math/libm-test.inc (hypot_test): Add another test.
20403
c9c0279b
JM
20404 * math/libm-test.inc (clog_test): Use
20405 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
20406 (clog10_test): Likewise.
20407
7c7feb47
JM
20408 [BZ #6778]
20409 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
20410
fff1530e
AS
204112012-11-22 Andreas Schwab <schwab@suse.de>
20412
20413 * sysdeps/i386/fpu/libm-test-ulps: Update.
20414
94558d30
PT
204152012-11-22 Pino Toscano <toscano.pino@tiscali.it>
20416
20417 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
20418 printf output with newline.
20419
7e1be741
L
204202012-11-21 H.J. Lu <hongjiu.lu@intel.com>
20421
6bfea974
L
20422 [BZ #14865]
20423 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
20424 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
20425 -z nodlopen, -z initfirst and -z execstack support.
20426 * configure: Regenerated.
20427
7e1be741
L
20428 * elf/elf.h (DF_1_NODIRECT): New macro.
20429 (DF_1_IGNMULDEF): Likewise.
20430 (DF_1_NOKSYMS): Likewise.
20431 (DF_1_NOHDR): Likewise.
20432 (DF_1_EDITED): Likewise.
20433 (DF_1_NORELOC): Likewise.
20434 (DF_1_SYMINTPOSE): Likewise.
20435 (DF_1_GLOBAUDIT): Likewise.
20436 (DF_1_SINGLETON): Likewise.
20437 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
20438 DT_1_SUPPORTED_MASK bits.
20439 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
20440
105ce2ce
CD
204412012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
20442
20443 * sysdeps/unix/make-syscalls.sh: Document prefixes.
20444
123be9de
TS
204452012-11-20 Thomas Schwinge <thomas@codesourcery.com>
20446
d072f3f7
TS
20447 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
20448 macro.
20449
123be9de
TS
20450 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
20451 (sendmmsg): Move declarations...
20452 * socket/sys/socket.h: ... here.
20453 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
20454 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
20455 include it from...
20456 * socket/recvmmsg.c: ... this new file.
20457 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
20458 (sendmmsg): Rename to __sendmmsg, create weak alias and make
20459 definition of __sendmmsg hidden.
20460 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
20461 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
20462 Move ENOSYS stub into and include it from...
20463 * socket/sendmmsg.c: ... this new file.
20464 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
20465 (sysdep_routines): Move recvmmsg and sendmmsg...
20466 * socket/Makefile (routines): ... here.
20467 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
20468 (GLIBC_PRIVATE): Add __sendmmsg.
20469 * include/sys/socket.h (__sendmmsg): Add declarations.
20470 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
20471 sendmmsg.
20472
cf9a5d18
JM
204732012-11-20 Joseph Myers <joseph@codesourcery.com>
20474
20475 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
20476 variable I1 with __attribute__ ((unused)).
20477 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
20478
ecd4caf9
JM
204792012-11-19 Joseph Myers <joseph@codesourcery.com>
20480
be14d48f
JM
20481 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
20482 DUMMY variables with __attribute__ ((unused)).
20483
ecd4caf9
JM
20484 * bits/byteswap.h: Include <bits/types.h>.
20485 (__bswap_64): Use __uint64_t instead of unsigned long long int.
20486
986cab95
PT
204872012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20488
20489 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
20490 string_t. Do not manually set errno.
20491 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
20492 length with __strnlen. Make sure to both set errno and return it on
20493 failure.
20494
6d33cc9d
DM
204952012-11-19 David S. Miller <davem@davemloft.net>
20496
20497 With help from Joseph Myers.
20498 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
20499 very large arguments properly.
20500 * math/libm-test.inc (atan_test): New tests.
20501 (atan2_test): New tests.
20502 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20503 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20504
ee663277
JM
205052012-11-19 Joseph Myers <joseph@codesourcery.com>
20506
877f2d8e
JM
20507 [BZ #14856]
20508 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
20509 Define to 3.
20510
116fc08a
JM
20511 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
20512 [POSIX] (EADDRNOTAVAIL): Likewise.
20513 [POSIX] (EAFNOSUPPORT): Likewise.
20514 [POSIX] (EALREADY): Likewise.
20515 [POSIX] (ECONNABORTED): Likewise.
20516 [POSIX] (ECONNREFUSED): Likewise.
20517 [POSIX] (ECONNRESET): Likewise.
20518 [POSIX] (EDESTADDRREQ): Likewise.
20519 [POSIX] (EDQUOT): Likewise.
20520 [POSIX] (EHOSTUNREACH): Likewise.
20521 [POSIX] (EIDRM): Likewise.
20522 [POSIX] (EISCONN): Likewise.
20523 [POSIX] (ELOOP): Likewise.
20524 [POSIX] (EMULTIHOP): Likewise.
20525 [POSIX] (ENETDOWN): Likewise.
20526 [POSIX] (ENETUNREACH): Likewise.
20527 [POSIX] (ENOBUFS): Likewise.
20528 [POSIX] (ENODATA): Likewise.
20529 [POSIX] (ENOLINK): Likewise.
20530 [POSIX] (ENOMSG): Likewise.
20531 [POSIX] (ENOPROTOOPT): Likewise.
20532 [POSIX] (ENOSR): Likewise.
20533 [POSIX] (ENOSTR): Likewise.
20534 [POSIX] (ENOTCONN): Likewise.
20535 [POSIX] (ENOTSOCK): Likewise.
20536 [POSIX] (EOPNOTSUPP): Likewise.
20537 [POSIX] (EOVERFLOW): Likewise.
20538 [POSIX] (EPROTO): Likewise.
20539 [POSIX] (EPROTONOSUPPORT): Likewise.
20540 [POSIX] (EPROTOTYPE): Likewise.
20541 [POSIX] (ESTALE): Likewise.
20542 [POSIX] (ETIME): Likewise.
20543 [POSIX] (ETXTBSY): Likewise.
20544 [POSIX] (EWOULDBLOCK): Likewise.
20545 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
20546 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
20547 [POSIX] (SEEK_CUR): Likewise.
20548 [POSIX] (SEEK_END): Likewise.
20549 [POSIX || UNIX98] (mode_t): Do not require.
20550 [POSIX] (off_t): Likewise.
20551 [POSIX] (pid_t): Likewise.
20552 [POSIX] (sys/stat.h): Do not allow header.
20553 [POSIX] (unistd.h): Likewise.
20554 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
20555 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
20556 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
20557 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
20558 require.
20559 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
20560 sigevent): Specify elements.
20561 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
20562 entry.
20563 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
20564 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
20565
a483863f
JM
20566 * conform/data/cpio.h-data [POSIX]: Disable whole file.
20567 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
20568 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
20569 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
20570 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
20571 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
20572 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
20573 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
20574 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
20575 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
20576 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
20577 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
20578 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
20579 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
20580 Likewise.
20581 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
20582 Likewise.
20583 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
20584 Likewise.
20585 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
20586 Likewise.
20587 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
20588 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
20589 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
20590 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
20591 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
20592 Specify lower bound on value.
20593 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
20594 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
20595 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
20596 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
20597 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
20598 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
20599 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
20600 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
20601 value.
20602 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
20603 as optional.
20604 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
20605 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
20606 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
20607 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
20608 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
20609 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
20610 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
20611 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
20612 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
20613 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
20614 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
20615 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
20616 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
20617 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
20618 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
20619 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
20620 entry.
20621 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
20622 optional.
20623 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
20624 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
20625 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
20626 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
20627 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
20628 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
20629 Likewise.
20630 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
20631 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
20632 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
20633 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
20634 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
20635 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
20636 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
20637 as optional.
20638 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
20639 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
20640 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
20641 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
20642 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
20643 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
20644 specify as optional.
20645 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
20646 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
20647 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
20648 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
20649 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
20650 [XPG3] (NL_LANGMAX): Likewise.
20651 [POSIX || XPG3] (NL_MSGMAX): Likewise.
20652 [POSIX || XPG3] (NL_NMAX): Likewise.
20653 [POSIX || XPG3] (NL_SETMAX): Likewise.
20654 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
20655 [XPG3] (NZERO): Likewise.
20656 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
20657 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
20658 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
20659 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
20660 (REG_ERANGE): Expect.
20661 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
20662 optional-constant.
20663 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
20664 Use (void) in prototype.
20665 [POSIX] (*_t): Allow.
20666 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
20667 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
20668 (WRDE_BADVAL): Expect.
20669
5ba924e3
JM
20670 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
20671 expect.
20672 [XPG3 || XPG4] (O_RSYNC): Likewise.
20673 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
20674 Likewise.
20675 [XPG3 || XPG4] (pthread_sigmask): Likewise.
20676 [XPG3 || XPG4] (sigqueue): Likewise.
20677 [XPG3 || XPG4] (sigtimedwait): Likewise.
20678 [XPG3 || XPG4] (sigwaitinfo): Likewise.
20679 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
20680 [XPG3 || XPG4] (vsnprintf): Likewise.
20681 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
20682 Likewise.
20683 [XPG3 || XPG4] (blksize_t): Likewise.
20684 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
20685 Likewise.
20686 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
20687 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
20688 [XPG3 || XPG4] (struct itimerspec): Likewise.
20689 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
20690 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
20691 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
20692 [XPG3 || XPG4] (clockid_t): Likewise.
20693 [XPG3 || XPG4] (timer_t): Likewise.
20694 [XPG3 || XPG4] (clock_getres): Likewise.
20695 [XPG3 || XPG4] (clock_gettime): Likewise.
20696 [XPG3 || XPG4] (clock_settime): Likewise.
20697 [XPG3 || XPG4] (nanosleep): Likewise.
20698 [XPG3 || XPG4] (timer_create): Likewise.
20699 [XPG3 || XPG4] (timer_delete): Likewise.
20700 [XPG3 || XPG4] (timer_gettime): Likewise.
20701 [XPG3 || XPG4] (timer_getoverrun): Likewise.
20702 [XPG3 || XPG4] (timer_settime): Likewise.
20703 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
20704 [XPG3 || XPG4] (getlogin_r): Likewise.
20705 [XPG3 || XPG4] (pread): Likewise.
20706 [XPG3 || XPG4] (pthread_atfork): Likewise.
20707 [XPG3 || XPG4] (pwrite): Likewise.
20708
ee663277
JM
20709 [BZ #14835]
20710 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
20711 <bits/siginfo.h>.
20712
942caa16
PT
207132012-11-19 Pino Toscano <toscano.pino@tiscali.it>
20714
e19af380
PT
20715 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
20716 finalizing MALLSTREAM.
20717
942caa16
PT
20718 * sysdeps/mach/hurd/syncfs.c: New file.
20719
cfde9b46
SP
207202012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
20721
20722 [BZ #14719]
20723 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
20724 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
20725 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
20726 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
20727 (_nss_dns_gethostbyname4_r): Likewise.
20728 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
20729 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
20730
f6da27e5
PH
207312012-11-19 Peng Haitao <penght@cn.fujitsu.com>
20732
20733 [BZ #13763]
20734 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
20735
6665d4a2
SM
207362012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
20737
1f51ee92
SM
20738 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
20739 * elf/cache.c (print_entry): Print ",AArch64" for
20740 FLAG_AARCH64_LIB64
20741
6665d4a2
SM
20742 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
20743 * elf/cache.c (print_entry): Print ",hard-float" for
20744 FLAG_ARM_LIBHF.
20745
05b227bd
DM
207462012-11-18 David S. Miller <davem@davemloft.net>
20747
20748 With help from Joseph Myers.
20749 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
20750 cutoff to 2**-13.
20751 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
20752 cutoff to 2**-25.
20753 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
20754 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
20755 small.
20756 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
20757 * math/libm-test.inc (y0_test): New tests.
20758 (y1_test): New tests.
20759 * sysdeps/i386/fpu/libm-test-ulps: Update.
20760 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20761 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20762
786b0b67
AS
207632012-11-18 Andreas Schwab <schwab@linux-m68k.org>
20764
20765 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
20766 64-bit targets.
20767 * configure: Regenerated.
20768
8e18b86d
DM
207692012-11-17 David S. Miller <davem@davemloft.net>
20770
20771 [BZ #14811]
20772 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
20773 nonzero exponents with absolute value below 0x1p-128 to +/-
20774 0x1p-128.
20775
531f1ae0
JM
207762012-11-17 Joseph Myers <joseph@codesourcery.com>
20777
12df29e2
JM
20778 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
20779
150dc1a0
JM
20780 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
20781
531f1ae0
JM
20782 * posix/getconf-speclist.c: New file.
20783 * posix/posix-envs.def: Likewise.
20784 * posix/confstr.c (START_ENV_GROUP): New macro.
20785 (END_ENV_GROUP): Likewise.
20786 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20787 (KNOWN_PRESENT_ENV_STRING): Likewise.
20788 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20789 (UNKNOWN_ENVIRONMENT): Likewise.
20790 (confstr): Include posix-envs.def instead of handling
20791 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
20792 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
20793 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
20794 (END_ENV_GROUP): Likewise.
20795 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
20796 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
20797 (UNKNOWN_ENVIRONMENT): Likewise.
20798 (__sysconf): Include posix-envs.def instead of handling associated
20799 cases directly here.
20800 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
20801 preprocessing getconf-speclist.c rather than running getconf or
20802 generating empty file.
20803
a93f9cbc
PT
208042012-11-16 Pino Toscano <toscano.pino@tiscali.it>
20805
20806 * scripts/check-local-headers.sh: Ignore 'mach' headers.
20807
d64d9f87
AL
208082012-11-16 Andrej Lajovic <natrij@gmail.com>
20809
20810 [BZ #14672]
20811 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
20812
447885eb
DM
208132012-11-16 David S. Miller <davem@davemloft.net>
20814
20815 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
20816 smaller than LDBL_EPSILON/2.0L, just return xm1.
20817
bcbf9830
L
208182012-11-16 H.J. Lu <hongjiu.lu@intel.com>
20819
20820 * elf/tst-array1.c (init): Set constructor priority to 1000.
20821 (fini): Set destructor priority to 1000.
20822 * elf/tst-array2dep.c: Likewise.
20823
2b766585
SP
208242012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20825
20826 [BZ #11741]
20827 * libio/fileops.c (_IO_new_file_write): Correctly return error.
20828 (_IO_new_file_xsputn): Also return EOF if none of the input
20829 data was written when overflow failed.
20830 * libio/iopadn.c (_IO_padn): Likewise.
20831 * libio/iowpadn.c (_IO_wpadn): Likewise.
20832 * stdio-common/tst-put-error.c: Add copyright notice.
20833 (do_test): Add case for printing padded string.
20834 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
20835 _IO_padn returned error.
20836 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
20837 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
20838 return EOF.
20839
b1848fde
SP
208402012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
20841
20842 * libio/libioP.h: Add comment note that the references to C++
20843 bits are now obsolete.
20844
2fd89785
MS
208452012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20846
20847 * math/libm-test.inc (check_complex): Use asprintf.
20848
e3ea5409
JM
208492012-11-14 Joseph Myers <joseph@codesourcery.com>
20850
20851 * debug/pcprofiledump.c (print_version): Update copyright year.
20852 * malloc/memusagestat.c (print_version): Likewise.
20853
2e64d265
L
208542012-11-14 H.J. Lu <hongjiu.lu@intel.com>
20855
20856 [BZ #14831]
20857 * elf/Makefile (tests): Add tst-audit8.
20858 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
20859 ($(objpfx)tst-audit8.out): New target.
20860 (tst-audit8-ENV): New variable.
20861 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
20862 audit if l_reloc_result is NULL.
20863 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
20864 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
20865 * elf/tst-audit8.c: New file.
20866
c485e4d2
MS
208672012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20868
20869 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
20870 * misc/Makefile (CFLAGS-select.c): Define.
20871 * posix/Makefile (CFLAGS-pause.c): Define.
20872
3a0d900a
DM
208732012-11-13 David S. Miller <davem@davemloft.net>
20874
20875 * crypt/Makefile: Move test targets after toplevel Rules
20876 inclusion. Grab any necessary sysdep routines when linking.
20877 * crypt/md5.c (md5_process_block): Remove define, we will always
20878 name it __md5_process_block.
20879 (md5_finish_ctx): Update md5_process_block call.
20880 (md5_stream): Likewise.
20881 (md5_process_bytes): Likewise.
20882 (md5_process_block): Rename to __md5_process_block and move to ...
20883 * crypt/md5-block.c: ... here.
20884 * crypt/sha256.c (sha256_process_block): Move to ...
20885 * crypt/sha256-block.c: ... here.
20886 * crypt/sha512.c (sha512_process_block): Move to ...
20887 * crypt/sha512-block.c: ... here.
20888 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
20889 path.
20890 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
20891 * sysdeps/sparc/sparc64/multiarch/Makefile
20892 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
20893 crypt subdir.
20894 (localedef-aux): Add md5 crypto assembler when in locale subdir.
20895 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
20896 multiarch changes.
20897 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
20898 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
20899 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
20900 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
20901 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
20902 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
20903 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
20904 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
20905 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
20906 file.
20907 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
20908 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
20909 file.
20910 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
20911
8ca89318
JM
209122012-11-13 Joseph Myers <joseph@codesourcery.com>
20913
e27d476a
JM
20914 * timezone/tzselect.ksh: Update from tzcode git revision
20915 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
20916 * timezone/zdump.c: Likewise.
20917 * timezone/zic.c: Likewise.
20918 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
20919 in TZVERSION setting, not $(PKGVERSION).
20920 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
20921 REPORT_BUGS_TO settings.
20922
8ca89318
JM
20923 [BZ #14838]
20924 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
20925 macro.
20926
47594329
MS
209272012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
20928
20929 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
20930 detection to immediately after _FP_ROUND().
20931 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
20932 bits are 0.
20933
640ac3f1
DM
209342012-11-11 David S. Miller <davem@davemloft.net>
20935
20936 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
20937 inttypes.h
20938 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
20939 __close rather than their public counterparts.
20940
3d2577bb
JM
209412012-11-10 Joseph Myers <joseph@codesourcery.com>
20942
20943 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
20944 file.
20945 [UNIX98] (sem_timedwait): Do not expect.
20946 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
20947 [XPG4 || UNIX98] (sockatmark): Do not expect.
20948 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
20949 (clock_getcpuclockid): Do not expect.
20950 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
20951 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
20952 Do not expect.
20953 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
20954 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
20955 [UNIX98] (vwscanf): Likewise.
20956 [UNIX98] (vswscanf): Likewise.
20957
fb1ae1ee
JM
209582012-11-09 Joseph Myers <joseph@codesourcery.com>
20959
9ec6f8bd
JM
20960 * timezone/version.h: Remove file.
20961 * timezone/README: Do not refer to version.h.
20962 * timezone/Makefile ($(objpfx)zic.o): New dependency on
20963 $(objpfx)version.h.
20964 ($(objpfx)zdump.o): Likewise.
c3f81911 20965 ($(objpfx)version.h): New target.
9ec6f8bd 20966
0aa8f8a1
JM
20967 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
20968 2012i.
20969 * timezone/README: Don't mention modification to tzselect.ksh.
20970 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
20971 work on unmodified tzselect.ksh. Substitute version numbers in
20972 tzselect.ksh.
20973
4e87147f
JM
20974 * Makefile (format-me): Remove.
20975 (INSTALL): Adjust indentation. Use commands directly instead of
20976 using $(format-me).
20977
8b748aed
JM
20978 * aclocal.m4 (ACX_PKGVERSION): New macro.
20979 (ACX_BUGURL): Likewise.
20980 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
20981 (PKGVERSION): New AC_DEFINE_UNQUOTED.
20982 (REPORT_BUGS_TO): Likewise.
20983 * configure: Regenerated.
20984 * config.h.in (PKGVERSION): New macro.
20985 (REPORT_BUGS_TO): Likewise.
20986 * config.make.in (PKGVERSION): New variable.
20987 (PKGVERSION_TEXI): Likewise.
20988 (REPORT_BUGS_TO): Likewise.
20989 (REPORT_BUGS_TEXI): Likewise.
20990 * Makefile (format-me): Use -I$(common-objpfx)manual.
20991 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
20992 ($(common-objpfx)manual/%): New target.
20993 (manual/%): Remove target.
20994 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
20995 (print_version): Use PKGVERSION.
20996 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
20997 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
20998 and REPORT_BUGS_TO.
20999 ($(objpfx)xtrace): Likewise.
21000 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
21001 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
21002 (print_version): Use PKGVERSION.
21003 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
21004 (do_version): Use PKGVERSION.
21005 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
21006 REPORT_BUGS_TO.
21007 (common-ldd-rewrite): Likewise.
21008 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
21009 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
21010 (print_version): Use PKGVERSION.
21011 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
21012 * elf/pldd.c (argp_program_bug_address): Remove variable.
21013 (more_help): New function.
21014 (argp): Use more_help.
21015 (print_version): Use PKGVERSION.
21016 * elf/sln.c (main): Use PKGVERSION.
21017 (usage): Use REPORT_BUGS_TO.
21018 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
21019 (top level): Use PKGVERSION.
21020 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
21021 (print_version): Use PKGVERSION.
21022 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
21023 (print_version): Use PKGVERSION.
21024 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
21025 (print_version): Use PKGVERSION.
21026 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
21027 (print_version): Use PKGVERSION.
21028 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
21029 (print_version): Use PKGVERSION.
21030 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
21031 (print_version): Use PKGVERSION.
21032 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
21033 and BUGURL.
21034 ($(objpfx)memusage): Likewise.
21035 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
21036 (do_version): Use PKGVERSION.
21037 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
21038 (print_version): Use PKGVERSION.
21039 * malloc/mtrace.pl ($PACKAGE): Remove variable.
21040 ($PKGVERSION): New variable.
21041 ($REPORT_BUGS_TO): Likewise.
21042 (usage): Use $REPORT_BUGS_TO.
21043 (top level): Use $PKGVERSION.
21044 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
21045 ($(objpfx)pkgvers.texi): New rule.
21046 ($(objpfx)stamp-pkgvers): Likewise.
21047 * manual/install.texi: Include pkgvers.texi.
21048 (--with-pkgversion): Document new configure option.
21049 (--with-bugurl): Likewise.
21050 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
21051 than necessarily for this particular distribution. Use
21052 REPORT_BUGS_TO for where to report bugs.
21053 * INSTALL: Regenerated.
21054 * manual/libc.texinfo: Include pkgvers.texi.
21055 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
21056 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
21057 (print_version): Use PKGVERSION.
21058 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
21059 (print_version): Use PKGVERSION.
21060 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
21061 (print_version): Use PKGVERSION.
21062 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
21063 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
21064 macro.
21065 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
21066 (print_version): Use PKGVERSION.
21067 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
21068 (print_version): Use PKGVERSION.
21069 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
21070 and PKGVERSION.
21071
92e4b6a9
JM
21072 * timezone/checktab.awk: Update from tzcode 2012i.
21073 * timezone/ialloc.c: Likewise.
21074 * timezone/private.h: Likewise.
21075 * timezone/scheck.c: Likewise.
21076 * timezone/tzfile.h: Likewise.
21077 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
21078 (TZVERSION): Hardcode tzcode version number.
21079 * timezone/zdump.c: Update from tzcode 2012i.
21080 * timezone/zic.c: Likewise.
21081 * timezone/version.h: New file.
21082 * timezone/README: Describe version.h. Update upstream location.
21083
9bde902c
JM
21084 [BZ #14824]
21085 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
21086 (mktemp): Enable declaration.
21087 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
21088 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
21089 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
21090 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
21091 Likewise.
21092 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
21093 Likewise.
21094 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
21095 Likewise.
21096 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
21097 Likewise.
21098 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
21099 Likewise.
21100 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
21101 Likewise.
21102
fb1ae1ee
JM
21103 [BZ #14821]
21104 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
21105 offset in buffer as u_int32_t not u_long. Consistently use memcpy
21106 for copies of such integer values.
21107 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
21108 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
21109
2c1adbcb
AJ
211102012-11-09 Andreas Jaeger <aj@suse.de>
21111
21112 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
21113 definitions and declarations that are provided by
21114 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
21115
d0f8457e
AK
211162012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21117
3a235abb 21118 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
21119 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
21120 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
21121 definition.
21122
57241e26
MS
211232012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21124
21125 * elf/elf.h: Update comment before AArch64 relocations.
21126
60e8270d
DM
211272012-11-07 David S. Miller <davem@davemloft.net>
21128
21129 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
21130 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
21131 (__start_context): Declare.
21132 (__makecontext_ret): Delete.
21133 (__makecontext): Hook up __start_context instead of
21134 __makecontext_ret.
21135 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
21136 (sysdep_routines): Add __start_context when in stdlib.
21137
0fbb0fbc
JM
211382012-11-07 Joseph Myers <joseph@codesourcery.com>
21139
21140 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
21141 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
21142 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
21143 hardcoded "nm".
21144 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
21145 (READELF): New variable. Use it instead of hardcoded "readelf".
21146
eb48db7e
L
211472012-11-07 H.J. Lu <hongjiu.lu@intel.com>
21148
21149 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
21150 * sysdeps/x86/Makefile: Here.
21151 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
21152 * sysdeps/x86/tst-xmmymm.sh: This.
21153
05bcf62a
JM
211542012-11-07 Joseph Myers <joseph@codesourcery.com>
21155
c4b6cf53
JM
21156 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
21157 expectations.
21158 [UNIX98] (pthread_barrier_t): Do not expect.
21159 [UNIX98] (pthread_barrierattr_t): Likewise.
21160 [UNIX98] (pthread_spinlock_t): Likewise.
21161 [UNIX98] (pthread_barrier_destroy): Likewise.
21162 [UNIX98] (pthread_barrier_init): Likewise.
21163 [UNIX98] (pthread_barrier_wait): Likewise.
21164 [UNIX98] (pthread_barrierattr_destroy): Likewise.
21165 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
21166 [UNIX98] (pthread_barrierattr_init): Likewise.
21167 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
21168 [UNIX98] (pthread_getcpuclockid): Likewise.
21169 [UNIX98] (pthread_mutex_timedlock): Likewise.
21170 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
21171 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
21172 [UNIX98] (pthread_sigmask): Likewise.
21173 [UNIX98] (pthread_spin_destroy): Likewise.
21174 [UNIX98] (pthread_spin_init): Likewise.
21175 [UNIX98] (pthread_spin_lock): Likewise.
21176 [UNIX98] (pthread_spin_trylock): Likewise.
21177 [UNIX98] (pthread_spin_unlock): Likewise.
21178 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
21179 Do not expect.
21180 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
21181 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
21182 [XPG3 || XPG4] (pthread_cond_t): Likewise.
21183 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
21184 [XPG3 || XPG4] (pthread_key_t): Likewise.
21185 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
21186 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
21187 [XPG3 || XPG4] (pthread_once_t): Likewise.
21188 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
21189 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
21190 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
21191 [XPG3 || XPG4] (pthread_t): Likewise.
21192
cbe6e120
JM
21193 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
21194 not expect.
21195 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
21196
1b126443
JM
21197 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
21198 Change function return type to int.
21199
b961a573
JM
21200 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
21201 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
21202 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
21203 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
21204 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
21205 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
21206 [!POSIX] (posix_madvise): Likewise.
21207 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
21208 && !UNIX98].
21209 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
21210 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
21211 (mode_t): Likewise.
21212 (posix_mem_offset): Likewise.
21213 (posix_typed_mem_get_info): Likewise.
21214 (posix_typed_mem_open): Likewise.
21215
9e188909
JM
21216 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
21217 Change condition to [XOPEN2K8].
21218
05bcf62a
JM
21219 * conform/conformtest.pl: Preprocess allow-header data with -x c
21220 instead of from stdin.
21221 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
21222 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
21223 [C99-based standards] (cerfc): Likewise.
21224 [C99-based standards] (cexp2): Likewise.
21225 [C99-based standards] (cexpm1): Likewise.
21226 [C99-based standards] (clog10): Likewise.
21227 [C99-based standards] (clog1p): Likewise.
21228 [C99-based standards] (clog2): Likewise.
21229 [C99-based standards] (clgamma): Likewise.
21230 [C99-based standards] (ctgamma): Likewise.
21231 [C99-based standards] (cerff): Likewise.
21232 [C99-based standards] (cerfcf): Likewise.
21233 [C99-based standards] (cexp2f): Likewise.
21234 [C99-based standards] (cexpm1f): Likewise.
21235 [C99-based standards] (clog10f): Likewise.
21236 [C99-based standards] (clog1pf): Likewise.
21237 [C99-based standards] (clog2f): Likewise.
21238 [C99-based standards] (clgammaf): Likewise.
21239 [C99-based standards] (ctgammaf): Likewise.
21240 [C99-based standards] (cerfl): Likewise.
21241 [C99-based standards] (cerfcl): Likewise.
21242 [C99-based standards] (cexp2l): Likewise.
21243 [C99-based standards] (cexpm1l): Likewise.
21244 [C99-based standards] (clog10l): Likewise.
21245 [C99-based standards] (clog1pl): Likewise.
21246 [C99-based standards] (clog2l): Likewise.
21247 [C99-based standards] (clgammal): Likewise.
21248 [C99-based standards] (ctgammal): Likewise.
21249 * conform/data/inttypes.h-data [C99-based standards]: Include
21250 stdint.h-data. Remove all expectations for stdint.h contents.
21251 [C99-based standards] (PRI*): Do not allow.
21252 [C99-based standards] (SCN*): Likewise.
21253 [C99-based standards] (*_t): Likewise.
21254 [C99-based-standards] (PRId8): Expect macro.
21255 [C99-based-standards] (PRIi8): Likewise.
21256 [C99-based-standards] (PRIo8): Likewise.
21257 [C99-based-standards] (PRIu8): Likewise.
21258 [C99-based-standards] (PRIx8): Likewise.
21259 [C99-based-standards] (PRIX8): Likewise.
21260 [C99-based-standards] (SCNd8): Likewise.
21261 [C99-based-standards] (SCNi8): Likewise.
21262 [C99-based-standards] (SCNo8): Likewise.
21263 [C99-based-standards] (SCNu8): Likewise.
21264 [C99-based-standards] (SCNx8): Likewise.
21265 [C99-based-standards] (PRIdLEAST8): Likewise.
21266 [C99-based-standards] (PRIiLEAST8): Likewise.
21267 [C99-based-standards] (PRIoLEAST8): Likewise.
21268 [C99-based-standards] (PRIuLEAST8): Likewise.
21269 [C99-based-standards] (PRIxLEAST8): Likewise.
21270 [C99-based-standards] (PRIXLEAST8): Likewise.
21271 [C99-based-standards] (SCNdLEAST8): Likewise.
21272 [C99-based-standards] (SCNiLEAST8): Likewise.
21273 [C99-based-standards] (SCNoLEAST8): Likewise.
21274 [C99-based-standards] (SCNuLEAST8): Likewise.
21275 [C99-based-standards] (SCNxLEAST8): Likewise.
21276 [C99-based-standards] (PRIdFAST8): Likewise.
21277 [C99-based-standards] (PRIiFAST8): Likewise.
21278 [C99-based-standards] (PRIoFAST8): Likewise.
21279 [C99-based-standards] (PRIuFAST8): Likewise.
21280 [C99-based-standards] (PRIxFAST8): Likewise.
21281 [C99-based-standards] (PRIXFAST8): Likewise.
21282 [C99-based-standards] (SCNdFAST8): Likewise.
21283 [C99-based-standards] (SCNiFAST8): Likewise.
21284 [C99-based-standards] (SCNoFAST8): Likewise.
21285 [C99-based-standards] (SCNuFAST8): Likewise.
21286 [C99-based-standards] (SCNxFAST8): Likewise.
21287 [C99-based-standards] (PRId16): Likewise.
21288 [C99-based-standards] (PRIi16): Likewise.
21289 [C99-based-standards] (PRIo16): Likewise.
21290 [C99-based-standards] (PRIu16): Likewise.
21291 [C99-based-standards] (PRIx16): Likewise.
21292 [C99-based-standards] (PRIX16): Likewise.
21293 [C99-based-standards] (SCNd16): Likewise.
21294 [C99-based-standards] (SCNi16): Likewise.
21295 [C99-based-standards] (SCNo16): Likewise.
21296 [C99-based-standards] (SCNu16): Likewise.
21297 [C99-based-standards] (SCNx16): Likewise.
21298 [C99-based-standards] (PRIdLEAST16): Likewise.
21299 [C99-based-standards] (PRIiLEAST16): Likewise.
21300 [C99-based-standards] (PRIoLEAST16): Likewise.
21301 [C99-based-standards] (PRIuLEAST16): Likewise.
21302 [C99-based-standards] (PRIxLEAST16): Likewise.
21303 [C99-based-standards] (PRIXLEAST16): Likewise.
21304 [C99-based-standards] (SCNdLEAST16): Likewise.
21305 [C99-based-standards] (SCNiLEAST16): Likewise.
21306 [C99-based-standards] (SCNoLEAST16): Likewise.
21307 [C99-based-standards] (SCNuLEAST16): Likewise.
21308 [C99-based-standards] (SCNxLEAST16): Likewise.
21309 [C99-based-standards] (PRIdFAST16): Likewise.
21310 [C99-based-standards] (PRIiFAST16): Likewise.
21311 [C99-based-standards] (PRIoFAST16): Likewise.
21312 [C99-based-standards] (PRIuFAST16): Likewise.
21313 [C99-based-standards] (PRIxFAST16): Likewise.
21314 [C99-based-standards] (PRIXFAST16): Likewise.
21315 [C99-based-standards] (SCNdFAST16): Likewise.
21316 [C99-based-standards] (SCNiFAST16): Likewise.
21317 [C99-based-standards] (SCNoFAST16): Likewise.
21318 [C99-based-standards] (SCNuFAST16): Likewise.
21319 [C99-based-standards] (SCNxFAST16): Likewise.
21320 [C99-based-standards] (PRId32): Likewise.
21321 [C99-based-standards] (PRIi32): Likewise.
21322 [C99-based-standards] (PRIo32): Likewise.
21323 [C99-based-standards] (PRIu32): Likewise.
21324 [C99-based-standards] (PRIx32): Likewise.
21325 [C99-based-standards] (PRIX32): Likewise.
21326 [C99-based-standards] (SCNd32): Likewise.
21327 [C99-based-standards] (SCNi32): Likewise.
21328 [C99-based-standards] (SCNo32): Likewise.
21329 [C99-based-standards] (SCNu32): Likewise.
21330 [C99-based-standards] (SCNx32): Likewise.
21331 [C99-based-standards] (PRIdLEAST32): Likewise.
21332 [C99-based-standards] (PRIiLEAST32): Likewise.
21333 [C99-based-standards] (PRIoLEAST32): Likewise.
21334 [C99-based-standards] (PRIuLEAST32): Likewise.
21335 [C99-based-standards] (PRIxLEAST32): Likewise.
21336 [C99-based-standards] (PRIXLEAST32): Likewise.
21337 [C99-based-standards] (SCNdLEAST32): Likewise.
21338 [C99-based-standards] (SCNiLEAST32): Likewise.
21339 [C99-based-standards] (SCNoLEAST32): Likewise.
21340 [C99-based-standards] (SCNuLEAST32): Likewise.
21341 [C99-based-standards] (SCNxLEAST32): Likewise.
21342 [C99-based-standards] (PRIdFAST32): Likewise.
21343 [C99-based-standards] (PRIiFAST32): Likewise.
21344 [C99-based-standards] (PRIoFAST32): Likewise.
21345 [C99-based-standards] (PRIuFAST32): Likewise.
21346 [C99-based-standards] (PRIxFAST32): Likewise.
21347 [C99-based-standards] (PRIXFAST32): Likewise.
21348 [C99-based-standards] (SCNdFAST32): Likewise.
21349 [C99-based-standards] (SCNiFAST32): Likewise.
21350 [C99-based-standards] (SCNoFAST32): Likewise.
21351 [C99-based-standards] (SCNuFAST32): Likewise.
21352 [C99-based-standards] (SCNxFAST32): Likewise.
21353 [C99-based-standards] (PRId64): Likewise.
21354 [C99-based-standards] (PRIi64): Likewise.
21355 [C99-based-standards] (PRIo64): Likewise.
21356 [C99-based-standards] (PRIu64): Likewise.
21357 [C99-based-standards] (PRIx64): Likewise.
21358 [C99-based-standards] (PRIX64): Likewise.
21359 [C99-based-standards] (SCNd64): Likewise.
21360 [C99-based-standards] (SCNi64): Likewise.
21361 [C99-based-standards] (SCNo64): Likewise.
21362 [C99-based-standards] (SCNu64): Likewise.
21363 [C99-based-standards] (SCNx64): Likewise.
21364 [C99-based-standards] (PRIdLEAST64): Likewise.
21365 [C99-based-standards] (PRIiLEAST64): Likewise.
21366 [C99-based-standards] (PRIoLEAST64): Likewise.
21367 [C99-based-standards] (PRIuLEAST64): Likewise.
21368 [C99-based-standards] (PRIxLEAST64): Likewise.
21369 [C99-based-standards] (PRIXLEAST64): Likewise.
21370 [C99-based-standards] (SCNdLEAST64): Likewise.
21371 [C99-based-standards] (SCNiLEAST64): Likewise.
21372 [C99-based-standards] (SCNoLEAST64): Likewise.
21373 [C99-based-standards] (SCNuLEAST64): Likewise.
21374 [C99-based-standards] (SCNxLEAST64): Likewise.
21375 [C99-based-standards] (PRIdFAST64): Likewise.
21376 [C99-based-standards] (PRIiFAST64): Likewise.
21377 [C99-based-standards] (PRIoFAST64): Likewise.
21378 [C99-based-standards] (PRIuFAST64): Likewise.
21379 [C99-based-standards] (PRIxFAST64): Likewise.
21380 [C99-based-standards] (PRIXFAST64): Likewise.
21381 [C99-based-standards] (SCNdFAST64): Likewise.
21382 [C99-based-standards] (SCNiFAST64): Likewise.
21383 [C99-based-standards] (SCNoFAST64): Likewise.
21384 [C99-based-standards] (SCNuFAST64): Likewise.
21385 [C99-based-standards] (SCNxFAST64): Likewise.
21386 [C99-based-standards] (PRIdMAX): Likewise.
21387 [C99-based-standards] (PRIiMAX): Likewise.
21388 [C99-based-standards] (PRIoMAX): Likewise.
21389 [C99-based-standards] (PRIuMAX): Likewise.
21390 [C99-based-standards] (PRIxMAX): Likewise.
21391 [C99-based-standards] (PRIXMAX): Likewise.
21392 [C99-based-standards] (SCNdMAX): Likewise.
21393 [C99-based-standards] (SCNiMAX): Likewise.
21394 [C99-based-standards] (SCNoMAX): Likewise.
21395 [C99-based-standards] (SCNuMAX): Likewise.
21396 [C99-based-standards] (SCNxMAX): Likewise.
21397 [C99-based-standards] (PRIdPTR): Likewise.
21398 [C99-based-standards] (PRIiPTR): Likewise.
21399 [C99-based-standards] (PRIoPTR): Likewise.
21400 [C99-based-standards] (PRIuPTR): Likewise.
21401 [C99-based-standards] (PRIxPTR): Likewise.
21402 [C99-based-standards] (PRIXPTR): Likewise.
21403 [C99-based-standards] (SCNdPTR): Likewise.
21404 [C99-based-standards] (SCNiPTR): Likewise.
21405 [C99-based-standards] (SCNoPTR): Likewise.
21406 [C99-based-standards] (SCNuPTR): Likewise.
21407 [C99-based-standards] (SCNxPTR): Likewise.
21408 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
21409 allow.
21410 * conform/data/stdint.h-data: Update comments to clarify
21411 requirements.
21412 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
21413 type.
21414 [C99-based standards] (INT8_MAX): Likewise.
21415 [C99-based standards] (INT16_MIN): Likewise.
21416 [C99-based standards] (INT16_MAX): Likewise.
21417 [C99-based standards] (INT32_MIN): Likewise.
21418 [C99-based standards] (INT32_MAX): Likewise.
21419 [C99-based standards] (INT64_MIN): Likewise.
21420 [C99-based standards] (INT64_MAX): Likewise.
21421 [C99-based standards] (UINT8_MAX): Likewise.
21422 [C99-based standards] (UINT16_MAX): Likewise.
21423 [C99-based standards] (UINT32_MAX): Likewise.
21424 [C99-based standards] (UINT64_MAX): Likewise.
21425 [C99-based standards] (INT_LEAST8_MIN): Likewise.
21426 [C99-based standards] (INT_LEAST8_MAX): Likewise.
21427 [C99-based standards] (INT_LEAST16_MIN): Likewise.
21428 [C99-based standards] (INT_LEAST16_MAX): Likewise.
21429 [C99-based standards] (INT_LEAST32_MIN): Likewise.
21430 [C99-based standards] (INT_LEAST32_MAX): Likewise.
21431 [C99-based standards] (INT_LEAST64_MIN): Likewise.
21432 [C99-based standards] (INT_LEAST64_MAX): Likewise.
21433 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
21434 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
21435 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
21436 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
21437 [C99-based standards] (INT_FAST8_MIN): Likewise.
21438 [C99-based standards] (INT_FAST8_MAX): Likewise.
21439 [C99-based standards] (INT_FAST16_MIN): Likewise.
21440 [C99-based standards] (INT_FAST16_MAX): Likewise.
21441 [C99-based standards] (INT_FAST32_MIN): Likewise.
21442 [C99-based standards] (INT_FAST32_MAX): Likewise.
21443 [C99-based standards] (INT_FAST64_MIN): Likewise.
21444 [C99-based standards] (INT_FAST64_MAX): Likewise.
21445 [C99-based standards] (UINT_FAST8_MAX): Likewise.
21446 [C99-based standards] (UINT_FAST16_MAX): Likewise.
21447 [C99-based standards] (UINT_FAST32_MAX): Likewise.
21448 [C99-based standards] (UINT_FAST64_MAX): Likewise.
21449 [C99-based standards] (INTPTR_MIN): Likewise.
21450 [C99-based standards] (INTPTR_MAX): Likewise.
21451 [C99-based standards] (UINTPTR_MAX): Likewise.
21452 [C99-based standards] (INTMAX_MIN): Likewise.
21453 [C99-based standards] (INTMAX_MAX): Likewise.
21454 [C99-based standards] (UINTMAX_MAX): Likewise.
21455 [C99-based standards] (PTRDIFF_MIN): Likewise.
21456 [C99-based standards] (PTRDIFF_MAX): Likewise.
21457 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
21458 [C99-based standards] (SIZE_MAX): Likewise.
21459 [C99-based standards] (WCHAR_MAX): Likewise.
21460 [C99-based standards] (WINT_MAX): Likewise.
21461 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
21462 constraint on value.
21463 [C99-based standards] (WCHAR_MIN): Likewise.
21464 [C99-based standards] (WINT_MIN): Likewise.
21465 [C99-based standards] (*_t): Allow.
21466 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
21467 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
21468 Include math.h-data and complex.h-data. Remove all expectations
21469 of math.h and complex.h contents.
21470 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
21471 at end of line.
21472 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
21473 (struct tm): Expect tag.
21474 [C99-based-standards] (wcstof): Expect function.
21475 [C99-based-standards] (wcstold): Likewise.
21476 [C99-based-standards] (wcstoll): Likewise.
21477 [C99-based-standards] (wcstoull): Likewise.
21478 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
21479 macro-int-constant. Specify type.
21480 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
21481 constraint on value.
21482 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21483 Specify type.
21484 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
21485 Specify value.
21486 [ISO C standards]: Do not allow headers.
21487 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
21488 wcs[abcdefghijklmnopqrstuvwxyz]*.
21489 [ISO C standards] (*_t): Do not allow.
21490 * conform/data/wctype.h-data [C99-based standards] (iswblank):
21491 Expect function.
21492 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
21493 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
21494 Specify type.
21495 [ISO C standards]: Do not allow headers.
21496 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
21497 is[abcdefghijklmnopqrstuvwxyz]*.
21498 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
21499 to[abcdefghijklmnopqrstuvwxyz]*.
21500 [ISO C standards] (*_t): Do not allow.
21501 * conform/data/stdalign.h-data: New file.
21502 * conform/data/stdbool.h-data: Likewise.
21503 * conform/data/stdnoreturn.h-data: Likewise.
21504
7514feb8
RM
215052012-11-07 Roland McGrath <roland@hack.frob.com>
21506
21507 [BZ #14815]
21508 * manual/filesys.texi (Directory Entries): Typo fix.
21509 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
21510
19b2ecfc
MS
215112012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
21512
21513 * elf/elf.h (EM_AARCH64): New macro.
21514 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
21515 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
21516 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
21517 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
21518 (R_AARCH64_TLSDESC): Likewise.
21519 (NT_ARM_TLS): Likewise.
21520 (NT_ARM_HW_BREAK): Likewise.
21521 (NT_ARM_HW_WATCH): Likewise.
21522
60e235ee
JM
215232012-11-07 Joseph Myers <joseph@codesourcery.com>
21524
21525 [BZ #14811]
21526 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
21527 (__ieee754_powl): Saturate nonzero exponents with absolute value
21528 below 0x1p-79 to +/- 0x1p-79.
21529 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
21530 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
21531 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
21532 nonzero exponents with absolute value below 0x1p-32 to +/-
21533 0x1p-32.
21534 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
21535 (__ieee754_powl): Saturate nonzero exponents with absolute value
21536 below 0x1p-79 to +/- 0x1p-79.
21537 * math/libm-test.inc (pow_test): Add more tests.
21538
0ab234b7
AK
215392012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
21540
21541 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
21542 _dl_s390_cap_flags with kernel. Increase string length.
21543 (_dl_s390_platforms): Add z196 and zEC12.
21544
45832f74
JM
215452012-11-07 Joseph Myers <joseph@codesourcery.com>
21546
21547 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
21548 Change XOPEN21K to XOPEN2K.
21549
19218757
MK
215502012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
21551
21552 * string/memmove.c: Use memcpy when possible.
21553
c5f45721
AJ
215542012-11-06 Andreas Jaeger <aj@suse.de>
21555
21556 * po/eo.po: Update from translation team.
21557
82477c28
JM
215582012-11-06 Joseph Myers <joseph@codesourcery.com>
21559
21560 [BZ #14793]
21561 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
21562 exponent and small x and y exponents, scale x or y up. Increase
21563 by 2 the exponent used in scaling up.
21564 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21565 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21566 * math/libm-test.inc (fma_test): Add more tests.
21567 (fma_test_towardzero): Likewise.
21568 (fma_test_downward): Likewise.
21569 (fma_test_upward): Likewise.
21570
99252c8c
JM
215712012-11-05 Joseph Myers <joseph@codesourcery.com>
21572
acfa885f
JM
21573 [BZ #14805]
21574 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
21575 fenv_t *.
21576
99252c8c
JM
21577 [BZ #14801]
21578 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
21579 namespace for names of struct fields.
21580 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
21581 fenv_t fields.
21582 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
21583 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
21584
d6d98dea
ST
215852012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
21586
21587 [BZ #3665]
21588 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
21589
e10bb107
TS
215902012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21591
21592 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
21593 PTR_DEMANGLE.
21594
21595 [BZ #5246]
21596 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
21597 PTR_DEMANGLE.
21598
a0c2940d
JM
215992012-11-04 Joseph Myers <joseph@codesourcery.com>
21600
21601 [BZ #14797]
21602 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
21603 definitely overflow as x * y not x * y + z.
21604 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21605 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21606 * math/libm-test.inc (fma_test): Add more tests.
21607 (fma_test_towardzero): Likewise.
21608 (fma_test_downward): Likewise.
21609 (fma_test_upward): Likewise.
21610
b830319d
TS
216112012-11-04 Thomas Schwinge <thomas@codesourcery.com>
21612
21613 [BZ #157]
21614
21615 * include/stub-tag.h: Remove file.
21616 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
21617 '#include' of it.
21618 * manual/maint.texi (Porting): Don't reference it.
21619 * Makerules ($(objpfx)stubs): Likewise.
21620 * dirent/closedir.c: Don't include <stub-tag.h>.
21621 * dirent/dirfd.c: Likewise.
21622 * dirent/fdopendir.c: Likewise.
21623 * dirent/getdents.c: Likewise.
21624 * dirent/getdents64.c: Likewise.
21625 * dirent/opendir.c: Likewise.
21626 * dirent/readdir.c: Likewise.
21627 * dirent/readdir64.c: Likewise.
21628 * dirent/readdir64_r.c: Likewise.
21629 * dirent/readdir_r.c: Likewise.
21630 * dirent/rewinddir.c: Likewise.
21631 * dirent/seekdir.c: Likewise.
21632 * dirent/telldir.c: Likewise.
21633 * gmon/profil.c: Likewise.
21634 * grp/setgroups.c: Likewise.
21635 * inet/if_index.c: Likewise.
21636 * io/access.c: Likewise.
21637 * io/chdir.c: Likewise.
21638 * io/chmod.c: Likewise.
21639 * io/chown.c: Likewise.
21640 * io/close.c: Likewise.
21641 * io/dup.c: Likewise.
21642 * io/dup2.c: Likewise.
21643 * io/dup3.c: Likewise.
21644 * io/euidaccess.c: Likewise.
21645 * io/faccessat.c: Likewise.
21646 * io/fchdir.c: Likewise.
21647 * io/fchmod.c: Likewise.
21648 * io/fchmodat.c: Likewise.
21649 * io/fchown.c: Likewise.
21650 * io/fchownat.c: Likewise.
21651 * io/fcntl.c: Likewise.
21652 * io/flock.c: Likewise.
21653 * io/fstatfs.c: Likewise.
21654 * io/fstatfs64.c: Likewise.
21655 * io/fstatvfs.c: Likewise.
21656 * io/fstatvfs64.c: Likewise.
21657 * io/futimens.c: Likewise.
21658 * io/fxstat.c: Likewise.
21659 * io/fxstat64.c: Likewise.
21660 * io/fxstatat.c: Likewise.
21661 * io/fxstatat64.c: Likewise.
21662 * io/getcwd.c: Likewise.
21663 * io/isatty.c: Likewise.
21664 * io/lchmod.c: Likewise.
21665 * io/lchown.c: Likewise.
21666 * io/link.c: Likewise.
21667 * io/linkat.c: Likewise.
21668 * io/lseek.c: Likewise.
21669 * io/lseek64.c: Likewise.
21670 * io/lxstat64.c: Likewise.
21671 * io/mkdir.c: Likewise.
21672 * io/mkdirat.c: Likewise.
21673 * io/mkfifo.c: Likewise.
21674 * io/mkfifoat.c: Likewise.
21675 * io/open.c: Likewise.
21676 * io/open64.c: Likewise.
21677 * io/openat.c: Likewise.
21678 * io/openat64.c: Likewise.
21679 * io/pipe.c: Likewise.
21680 * io/pipe2.c: Likewise.
21681 * io/poll.c: Likewise.
21682 * io/posix_fadvise.c: Likewise.
21683 * io/posix_fadvise64.c: Likewise.
21684 * io/posix_fallocate.c: Likewise.
21685 * io/posix_fallocate64.c: Likewise.
21686 * io/read.c: Likewise.
21687 * io/readlink.c: Likewise.
21688 * io/readlinkat.c: Likewise.
21689 * io/rmdir.c: Likewise.
21690 * io/sendfile.c: Likewise.
21691 * io/sendfile64.c: Likewise.
21692 * io/statfs.c: Likewise.
21693 * io/statfs64.c: Likewise.
21694 * io/statvfs.c: Likewise.
21695 * io/statvfs64.c: Likewise.
21696 * io/symlink.c: Likewise.
21697 * io/symlinkat.c: Likewise.
21698 * io/ttyname.c: Likewise.
21699 * io/ttyname_r.c: Likewise.
21700 * io/umask.c: Likewise.
21701 * io/unlink.c: Likewise.
21702 * io/unlinkat.c: Likewise.
21703 * io/utime.c: Likewise.
21704 * io/utimensat.c: Likewise.
21705 * io/write.c: Likewise.
21706 * io/xmknod.c: Likewise.
21707 * io/xmknodat.c: Likewise.
21708 * io/xstat.c: Likewise.
21709 * io/xstat64.c: Likewise.
21710 * login/getpt.c: Likewise.
21711 * login/grantpt.c: Likewise.
21712 * login/unlockpt.c: Likewise.
21713 * math/e_acoshl.c: Likewise.
21714 * math/e_acosl.c: Likewise.
21715 * math/e_asinl.c: Likewise.
21716 * math/e_atan2l.c: Likewise.
21717 * math/e_atanhl.c: Likewise.
21718 * math/e_coshl.c: Likewise.
21719 * math/e_expl.c: Likewise.
21720 * math/e_fmodl.c: Likewise.
21721 * math/e_gammal_r.c: Likewise.
21722 * math/e_hypotl.c: Likewise.
21723 * math/e_j0l.c: Likewise.
21724 * math/e_j1l.c: Likewise.
21725 * math/e_jnl.c: Likewise.
21726 * math/e_lgammal_r.c: Likewise.
21727 * math/e_log10l.c: Likewise.
21728 * math/e_log2l.c: Likewise.
21729 * math/e_logl.c: Likewise.
21730 * math/e_powl.c: Likewise.
21731 * math/e_rem_pio2l.c: Likewise.
21732 * math/e_sinhl.c: Likewise.
21733 * math/e_sqrtl.c: Likewise.
21734 * math/fclrexcpt.c: Likewise.
21735 * math/fedisblxcpt.c: Likewise.
21736 * math/feenablxcpt.c: Likewise.
21737 * math/fegetenv.c: Likewise.
21738 * math/fegetexcept.c: Likewise.
21739 * math/fegetround.c: Likewise.
21740 * math/feholdexcpt.c: Likewise.
21741 * math/fesetenv.c: Likewise.
21742 * math/fesetround.c: Likewise.
21743 * math/feupdateenv.c: Likewise.
21744 * math/fgetexcptflg.c: Likewise.
21745 * math/fraiseexcpt.c: Likewise.
21746 * math/fsetexcptflg.c: Likewise.
21747 * math/ftestexcept.c: Likewise.
21748 * math/k_cosl.c: Likewise.
21749 * math/k_rem_pio2l.c: Likewise.
21750 * math/k_sinl.c: Likewise.
21751 * math/k_tanl.c: Likewise.
21752 * math/s_asinhl.c: Likewise.
21753 * math/s_atanl.c: Likewise.
21754 * math/s_cbrtl.c: Likewise.
21755 * math/s_erfl.c: Likewise.
21756 * math/s_expm1l.c: Likewise.
21757 * math/s_log1pl.c: Likewise.
21758 * math/s_tanhl.c: Likewise.
21759 * misc/acct.c: Likewise.
21760 * misc/brk.c: Likewise.
21761 * misc/chflags.c: Likewise.
21762 * misc/chroot.c: Likewise.
21763 * misc/fchflags.c: Likewise.
21764 * misc/fgetxattr.c: Likewise.
21765 * misc/flistxattr.c: Likewise.
21766 * misc/fremovexattr.c: Likewise.
21767 * misc/fsetxattr.c: Likewise.
21768 * misc/fsync.c: Likewise.
21769 * misc/ftruncate.c: Likewise.
21770 * misc/futimes.c: Likewise.
21771 * misc/futimesat.c: Likewise.
21772 * misc/getdomain.c: Likewise.
21773 * misc/getdtsz.c: Likewise.
21774 * misc/gethostid.c: Likewise.
21775 * misc/gethostname.c: Likewise.
21776 * misc/getloadavg.c: Likewise.
21777 * misc/getpagesize.c: Likewise.
21778 * misc/getsysstats.c: Likewise.
21779 * misc/getxattr.c: Likewise.
21780 * misc/gtty.c: Likewise.
21781 * misc/ioctl.c: Likewise.
21782 * misc/lgetxattr.c: Likewise.
21783 * misc/listxattr.c: Likewise.
21784 * misc/llistxattr.c: Likewise.
21785 * misc/lremovexattr.c: Likewise.
21786 * misc/lsetxattr.c: Likewise.
21787 * misc/lutimes.c: Likewise.
21788 * misc/madvise.c: Likewise.
21789 * misc/mincore.c: Likewise.
21790 * misc/mlock.c: Likewise.
21791 * misc/mlockall.c: Likewise.
21792 * misc/mmap.c: Likewise.
21793 * misc/mprotect.c: Likewise.
21794 * misc/msync.c: Likewise.
21795 * misc/munlock.c: Likewise.
21796 * misc/munlockall.c: Likewise.
21797 * misc/munmap.c: Likewise.
21798 * misc/preadv.c: Likewise.
21799 * misc/preadv64.c: Likewise.
21800 * misc/ptrace.c: Likewise.
21801 * misc/pwritev.c: Likewise.
21802 * misc/pwritev64.c: Likewise.
21803 * misc/readv.c: Likewise.
21804 * misc/reboot.c: Likewise.
21805 * misc/remap_file_pages.c: Likewise.
21806 * misc/removexattr.c: Likewise.
21807 * misc/revoke.c: Likewise.
21808 * misc/select.c: Likewise.
21809 * misc/setdomain.c: Likewise.
21810 * misc/setegid.c: Likewise.
21811 * misc/seteuid.c: Likewise.
21812 * misc/sethostid.c: Likewise.
21813 * misc/sethostname.c: Likewise.
21814 * misc/setregid.c: Likewise.
21815 * misc/setreuid.c: Likewise.
21816 * misc/setxattr.c: Likewise.
21817 * misc/sstk.c: Likewise.
21818 * misc/stty.c: Likewise.
21819 * misc/swapoff.c: Likewise.
21820 * misc/swapon.c: Likewise.
21821 * misc/sync.c: Likewise.
21822 * misc/syncfs.c: Likewise.
21823 * misc/syscall.c: Likewise.
21824 * misc/truncate.c: Likewise.
21825 * misc/ualarm.c: Likewise.
21826 * misc/usleep.c: Likewise.
21827 * misc/ustat.c: Likewise.
21828 * misc/utimes.c: Likewise.
21829 * misc/vhangup.c: Likewise.
21830 * misc/writev.c: Likewise.
21831 * posix/_exit.c: Likewise.
21832 * posix/alarm.c: Likewise.
21833 * posix/execve.c: Likewise.
21834 * posix/fexecve.c: Likewise.
21835 * posix/fork.c: Likewise.
21836 * posix/fpathconf.c: Likewise.
21837 * posix/getaddrinfo.c: Likewise.
21838 * posix/getegid.c: Likewise.
21839 * posix/geteuid.c: Likewise.
21840 * posix/getgid.c: Likewise.
21841 * posix/getgroups.c: Likewise.
21842 * posix/getlogin.c: Likewise.
21843 * posix/getlogin_r.c: Likewise.
21844 * posix/getpgid.c: Likewise.
21845 * posix/getpid.c: Likewise.
21846 * posix/getppid.c: Likewise.
21847 * posix/getresgid.c: Likewise.
21848 * posix/getresuid.c: Likewise.
21849 * posix/getsid.c: Likewise.
21850 * posix/getuid.c: Likewise.
21851 * posix/glob64.c: Likewise.
21852 * posix/nanosleep.c: Likewise.
21853 * posix/pathconf.c: Likewise.
21854 * posix/pause.c: Likewise.
21855 * posix/posix_madvise.c: Likewise.
21856 * posix/pread.c: Likewise.
21857 * posix/pread64.c: Likewise.
21858 * posix/pwrite.c: Likewise.
21859 * posix/pwrite64.c: Likewise.
21860 * posix/sched_getaffinity.c: Likewise.
21861 * posix/sched_getp.c: Likewise.
21862 * posix/sched_gets.c: Likewise.
21863 * posix/sched_primax.c: Likewise.
21864 * posix/sched_primin.c: Likewise.
21865 * posix/sched_rr_gi.c: Likewise.
21866 * posix/sched_setaffinity.c: Likewise.
21867 * posix/sched_setp.c: Likewise.
21868 * posix/sched_sets.c: Likewise.
21869 * posix/sched_yield.c: Likewise.
21870 * posix/setgid.c: Likewise.
21871 * posix/setlogin.c: Likewise.
21872 * posix/setpgid.c: Likewise.
21873 * posix/setresgid.c: Likewise.
21874 * posix/setresuid.c: Likewise.
21875 * posix/setsid.c: Likewise.
21876 * posix/setuid.c: Likewise.
21877 * posix/sleep.c: Likewise.
21878 * posix/spawni.c: Likewise.
21879 * posix/sysconf.c: Likewise.
21880 * posix/times.c: Likewise.
21881 * posix/wait.c: Likewise.
21882 * posix/wait3.c: Likewise.
21883 * posix/wait4.c: Likewise.
21884 * posix/waitpid.c: Likewise.
21885 * resolv/gai_sigqueue.c: Likewise.
21886 * resource/getpriority.c: Likewise.
21887 * resource/getrlimit.c: Likewise.
21888 * resource/getrusage.c: Likewise.
21889 * resource/nice.c: Likewise.
21890 * resource/setpriority.c: Likewise.
21891 * resource/setrlimit.c: Likewise.
21892 * resource/ulimit.c: Likewise.
21893 * rt/aio_cancel.c: Likewise.
21894 * rt/aio_fsync.c: Likewise.
21895 * rt/aio_read.c: Likewise.
21896 * rt/aio_sigqueue.c: Likewise.
21897 * rt/aio_suspend.c: Likewise.
21898 * rt/aio_write.c: Likewise.
21899 * rt/clock_getres.c: Likewise.
21900 * rt/clock_gettime.c: Likewise.
21901 * rt/clock_nanosleep.c: Likewise.
21902 * rt/clock_settime.c: Likewise.
21903 * rt/lio_listio.c: Likewise.
21904 * rt/mq_close.c: Likewise.
21905 * rt/mq_getattr.c: Likewise.
21906 * rt/mq_notify.c: Likewise.
21907 * rt/mq_open.c: Likewise.
21908 * rt/mq_receive.c: Likewise.
21909 * rt/mq_send.c: Likewise.
21910 * rt/mq_setattr.c: Likewise.
21911 * rt/mq_timedreceive.c: Likewise.
21912 * rt/mq_timedsend.c: Likewise.
21913 * rt/mq_unlink.c: Likewise.
21914 * rt/shm_open.c: Likewise.
21915 * rt/shm_unlink.c: Likewise.
21916 * rt/timer_create.c: Likewise.
21917 * rt/timer_delete.c: Likewise.
21918 * rt/timer_getoverr.c: Likewise.
21919 * rt/timer_gettime.c: Likewise.
21920 * rt/timer_settime.c: Likewise.
21921 * setjmp/__longjmp.c: Likewise.
21922 * setjmp/setjmp.c: Likewise.
21923 * signal/kill.c: Likewise.
21924 * signal/killpg.c: Likewise.
21925 * signal/raise.c: Likewise.
21926 * signal/sigaction.c: Likewise.
21927 * signal/sigaltstack.c: Likewise.
21928 * signal/sigblock.c: Likewise.
21929 * signal/sigignore.c: Likewise.
21930 * signal/sigintr.c: Likewise.
21931 * signal/signal.c: Likewise.
21932 * signal/sigpause.c: Likewise.
21933 * signal/sigpending.c: Likewise.
21934 * signal/sigqueue.c: Likewise.
21935 * signal/sigreturn.c: Likewise.
21936 * signal/sigset.c: Likewise.
21937 * signal/sigsetmask.c: Likewise.
21938 * signal/sigstack.c: Likewise.
21939 * signal/sigsuspend.c: Likewise.
21940 * signal/sigtimedwait.c: Likewise.
21941 * signal/sigvec.c: Likewise.
21942 * signal/sigwait.c: Likewise.
21943 * signal/sigwaitinfo.c: Likewise.
21944 * signal/sysv_signal.c: Likewise.
21945 * socket/accept.c: Likewise.
21946 * socket/accept4.c: Likewise.
21947 * socket/bind.c: Likewise.
21948 * socket/connect.c: Likewise.
21949 * socket/getpeername.c: Likewise.
21950 * socket/getsockname.c: Likewise.
21951 * socket/getsockopt.c: Likewise.
21952 * socket/isfdtype.c: Likewise.
21953 * socket/listen.c: Likewise.
21954 * socket/recv.c: Likewise.
21955 * socket/recvfrom.c: Likewise.
21956 * socket/recvmsg.c: Likewise.
21957 * socket/send.c: Likewise.
21958 * socket/sendmsg.c: Likewise.
21959 * socket/sendto.c: Likewise.
21960 * socket/setsockopt.c: Likewise.
21961 * socket/shutdown.c: Likewise.
21962 * socket/sockatmark.c: Likewise.
21963 * socket/socket.c: Likewise.
21964 * socket/socketpair.c: Likewise.
21965 * stdio-common/ctermid.c: Likewise.
21966 * stdio-common/cuserid.c: Likewise.
21967 * stdio-common/remove.c: Likewise.
21968 * stdio-common/rename.c: Likewise.
21969 * stdio-common/renameat.c: Likewise.
21970 * stdio-common/tempname.c: Likewise.
21971 * stdlib/getcontext.c: Likewise.
21972 * stdlib/makecontext.c: Likewise.
21973 * stdlib/setcontext.c: Likewise.
21974 * stdlib/swapcontext.c: Likewise.
21975 * stdlib/system.c: Likewise.
21976 * streams/fattach.c: Likewise.
21977 * streams/fdetach.c: Likewise.
21978 * streams/getmsg.c: Likewise.
21979 * streams/getpmsg.c: Likewise.
21980 * streams/putmsg.c: Likewise.
21981 * streams/putpmsg.c: Likewise.
21982 * sysdeps/unix/bsd/getpt.c: Likewise.
21983 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
21984 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
21985 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
21986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
21987 Likewise.
21988 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
21989 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
21990 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
21991 * sysvipc/msgctl.c: Likewise.
21992 * sysvipc/msgget.c: Likewise.
21993 * sysvipc/msgrcv.c: Likewise.
21994 * sysvipc/msgsnd.c: Likewise.
21995 * sysvipc/semctl.c: Likewise.
21996 * sysvipc/semget.c: Likewise.
21997 * sysvipc/semop.c: Likewise.
21998 * sysvipc/semtimedop.c: Likewise.
21999 * sysvipc/shmat.c: Likewise.
22000 * sysvipc/shmctl.c: Likewise.
22001 * sysvipc/shmdt.c: Likewise.
22002 * sysvipc/shmget.c: Likewise.
22003 * termios/tcdrain.c: Likewise.
22004 * termios/tcflow.c: Likewise.
22005 * termios/tcflush.c: Likewise.
22006 * termios/tcgetattr.c: Likewise.
22007 * termios/tcgetpgrp.c: Likewise.
22008 * termios/tcsendbrk.c: Likewise.
22009 * termios/tcsetattr.c: Likewise.
22010 * termios/tcsetpgrp.c: Likewise.
22011 * time/adjtime.c: Likewise.
22012 * time/clock.c: Likewise.
22013 * time/getitimer.c: Likewise.
22014 * time/gettimeofday.c: Likewise.
22015 * time/setitimer.c: Likewise.
22016 * time/settimeofday.c: Likewise.
22017 * time/stime.c: Likewise.
22018 * time/time.c: Likewise.
22019
220202012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 22021
a20492cf
PT
22022 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
22023 /usr/old/bin.
22024
72e182e3
PT
22025 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
22026 instead of spaces.
22027 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
22028
fbeafede
JM
220292012-11-03 Joseph Myers <joseph@codesourcery.com>
22030
5b5b04d6
JM
22031 [BZ #14796]
22032 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
22033 FE_TONEAREST before applying Dekker multiplication and Knuth
22034 addition. Clear inexact exceptions and check for exact zero
22035 results afterwards.
22036 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22037 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
22038 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22039 * math/libm-test.inc (fma_test): Add more tests.
22040 (fma_test_towardzero): Likewise.
22041 (fma_test_downward): Likewise.
22042 (fma_test_upward): Likewise.
22043 * sysdeps/generic/math_private.h (default_libc_fesetround): New
22044 function.
22045 (libc_fesetround): New macro.
22046 (libc_fesetroundf): Likewise.
22047 (libc_fesetroundl): Likewise.
22048 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
22049 function.
22050 (libc_fesetround_387): Likewise.
22051 (libc_fesetroundf): New macro.
22052 (libc_fesetround): Likewise.
22053 (libc_fesetroundl): Likewise.
22054 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
22055 function.
22056 (libc_fesetroundf): New macro.
22057 (libc_fesetround): Likewise.
22058 (libc_fesetroundl): Likewise.
22059 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
22060 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
22061 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
22062 libm_hidden_ver.
22063 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
22064 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
22065 libm_hidden_def.
22066 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
22067 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
22068 libm_hidden_ver.
22069 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
22070 libm_hidden_def.
22071
fbeafede
JM
22072 [BZ #3439]
22073 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
22074 integer constant usable in #if and use that to give value to enum
22075 constant.
22076 (FE_DIVBYZERO): Likewise.
22077 (FE_UNDERFLOW): Likewise.
22078 (FE_OVERFLOW): Likewise.
22079 (FE_INVALID): Likewise.
22080 (FE_INVALID_SNAN): Likewise.
22081 (FE_INVALID_ISI): Likewise.
22082 (FE_INVALID_IDI): Likewise.
22083 (FE_INVALID_ZDZ): Likewise.
22084 (FE_INVALID_IMZ): Likewise.
22085 (FE_INVALID_COMPARE): Likewise.
22086 (FE_INVALID_SOFTWARE): Likewise.
22087 (FE_INVALID_SQRT): Likewise.
22088 (FE_INVALID_INTEGER_CONVERSION): Likewise.
22089 (FE_TONEAREST): Likewise.
22090 (FE_TOWARDZERO): Likewise.
22091 (FE_UPWARD): Likewise.
22092 (FE_DOWNWARD): Likewise.
22093 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
22094 (FE_DIVBYZERO): Likewise.
22095 (FE_OVERFLOW): Likewise.
22096 (FE_UNDERFLOW): Likewise.
22097 (FE_INEXACT): Likewise.
22098 (FE_TONEAREST): Likewise.
22099 (FE_DOWNWARD): Likewise.
22100 (FE_UPWARD): Likewise.
22101 (FE_TOWARDZERO): Likewise.
22102 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
22103 (FE_UNDERFLOW): Likewise.
22104 (FE_OVERFLOW): Likewise.
22105 (FE_DIVBYZERO): Likewise.
22106 (FE_INVALID): Likewise.
22107 (FE_TONEAREST): Likewise.
22108 (FE_TOWARDZERO): Likewise.
22109 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
22110 (FE_OVERFLOW): Likewise.
22111 (FE_UNDERFLOW): Likewise.
22112 (FE_DIVBYZERO): Likewise.
22113 (FE_INEXACT): Likewise.
22114 (FE_TONEAREST): Likewise.
22115 (FE_TOWARDZERO): Likewise.
22116 (FE_UPWARD): Likewise.
22117 (FE_DOWNWARD): Likewise.
22118 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
22119 (FE_DIVBYZERO): Likewise.
22120 (FE_OVERFLOW): Likewise.
22121 (FE_UNDERFLOW): Likewise.
22122 (FE_INEXACT): Likewise.
22123 (FE_TONEAREST): Likewise.
22124 (FE_DOWNWARD): Likewise.
22125 (FE_UPWARD): Likewise.
22126 (FE_TOWARDZERO): Likewise.
22127
105ca950
CM
221282012-11-02 Chris Metcalf <cmetcalf@tilera.com>
22129
22130 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
22131
a542b389
AS
221322012-11-03 Andreas Schwab <schwab@linux-m68k.org>
22133
22134 * scripts/cross-test-ssh.sh (command): Use newlines to separate
22135 commands. Quote $PWD.
22136 (blacklist_exports): Don't use remove_newlines. Replace "declare
22137 -x" by "export".
22138 (remove_newlines): Remove.
22139
f62c8abc
L
221402012-11-02 H.J. Lu <hongjiu.lu@intel.com>
22141
22142 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
22143 * stdlib/stdlib.h (atof): Moved to ...
22144 * include/bits/stdlib-float.h: Here. New file.
22145 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
22146 * stdlib/bits/stdlib-float.h: New file.
22147 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
22148 -mno-sse -mno-mmx.
22149 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
22150 <xmmintrin.h>.
22151
0155d5b2
JM
221522012-11-02 Joseph Myers <joseph@codesourcery.com>
22153
a68d0680
JM
22154 * conform/conformtest.pl (@headers): Add fenv.h.
22155 * conform/data/fenv.h-data: New file.
22156 * include/fenv.h [_ISOMAC]: Disable all contents of file except
22157 include of <math/fenv.h>.
22158
caf7f573
JM
22159 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
22160 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
22161 && !UNIX98]. Enables tests for XOPEN2K8.
22162 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
22163 POSIX2008]: Likewise.
22164
6c073ad6
JM
22165 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
22166 (struct rusage): Do not expect type or its members.
22167
0155d5b2
JM
22168 [BZ #3439]
22169 * math/math.h (FP_NAN): Define macro to integer constant usable in
22170 #if and use that to give value to enum constant.
22171 (FP_INFINITE): Likewise.
22172 (FP_ZERO): Likewise.
22173 (FP_SUBNORMAL): Likewise.
22174 (FP_NORMAL): Likewise.
22175
b5dcacb4
AS
221762012-11-02 Andreas Schwab <schwab@linux-m68k.org>
22177
22178 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
22179 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
22180 arguments.
22181
f7934be8
RM
221822012-11-02 Roland McGrath <roland@hack.frob.com>
22183
22184 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
22185 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
22186 autoconf-time if not.
22187 * configure.in: Remove AC_PREREQ.
22188
d7d08bde
TMQMF
221892012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22190
22191 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
22192 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
22193 of the internal implementation.
22194
dcdae19a
JM
221952012-11-02 Joseph Myers <joseph@codesourcery.com>
22196
22197 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
22198 except include of <misc/sys/syslog.h>.
22199
d6cffd3e
AS
222002012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22201
22202 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
22203 function returns with a NULL context exit with zero.
22204
b3563932
TMQMF
222052012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22206
22207 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
22208
b288a93d
L
222092012-11-01 H.J. Lu <hongjiu.lu@intel.com>
22210
22211 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
22212 (run_program_cmd): This.
22213 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
22214 (tst_langinfo): New variable. Use it.
22215
a2421a68
SAS
222162012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
22217
22218 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
22219 floating point opcodes.
22220
6f796e1b
TS
222212012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22222
7402596b
TS
22223 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
22224 variable.
22225
d0d4f868
TS
22226 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
22227
6f796e1b
TS
22228 * sysdeps/mach/hurd/powerpc: Remove directory.
22229 * sysdeps/mach/powerpc: Likewise.
22230
4da224a2
AS
222312012-11-01 Andreas Schwab <schwab@linux-m68k.org>
22232
22233 * scripts/check-local-headers.sh: Ignore c++ headers.
22234
341dd673
TS
222352012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22236
22237 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
22238 __libc_cleanup_region_start argument.
22239
473611b2
JM
222402012-11-01 Joseph Myers <joseph@codesourcery.com>
22241
22242 [BZ #14784]
22243 [BZ #14785]
22244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
22245 x * y using scaling, not as x * y + z.
22246 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22247 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22248 * math/libm-test.inc (fma_test): Add more tests.
22249 (fma_test_towardzero): Likewise.
22250 (fma_test_downward): Likewise.
22251 (fma_test_upward): Likewise.
22252
4078da3d
TS
222532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
22254
22255 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
22256
903252aa
JM
222572012-10-31 Joseph Myers <joseph@codesourcery.com>
22258
22259 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
22260 New variable.
22261
cbc818d0
TS
222622012-10-31 Thomas Schwinge <thomas@codesourcery.com>
22263
22264 * rt/tst-shm.c (worker): Correct checking for mmap failure.
22265
5a03cb1e
AS
222662012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22267
22268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22269 Fix sort order.
22270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22271 Likewise.
22272
90aff2ff
TMQMF
222732012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
22274
22275 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22276 Fix the order of the list for glibc 2.17.
22277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22278 Likewise.
22279
1818fcb7
AS
222802012-10-31 Andreas Schwab <schwab@linux-m68k.org>
22281
22282 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22283
ef82f4da
JM
222842012-10-31 Joseph Myers <joseph@codesourcery.com>
22285
16a0e2ec
JM
22286 [BZ #14610]
22287 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
22288 for low part of x being zero before using __atanl (y).
22289 * math/libm-test.inc (atan2_test): Add another test.
22290
0eb69512
JM
22291 * manual/install.texi (Configuring and compiling): Document
22292 general use of test-wrapper and test-wrapper-env.
22293 * INSTALL: Regenerated.
22294
ef82f4da
JM
22295 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
22296 (__fma): Do not extract and scale down low bits on after-rounding
22297 systems when result rounded to normal precision would have normal
22298 exponent.
22299 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
22300 (__fmal): Do not extract and scale down low bits on after-rounding
22301 systems when result rounded to normal precision would have normal
22302 exponent.
22303 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
22304 (__fmal): Do not extract and scale down low bits on after-rounding
22305 systems when result rounded to normal precision would have normal
22306 exponent.
22307 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
22308 macro.
22309 (fma_test): Add more tests.
22310 (fma_test_towardzero): Likewise.
22311 (fma_test_downward): Likewise.
22312 (fma_test_upward): Likewise.
22313
954ef0d9
L
223142012-10-30 H.J. Lu <hongjiu.lu@intel.com>
22315
22316 * sysdeps/i386/tininess.h: Renamed to ...
22317 * sysdeps/x86/tininess.h: This.
22318 * sysdeps/x86_64/tininess.h: Removed.
22319
df61ffb2
JM
223202012-10-30 Joseph Myers <joseph@codesourcery.com>
22321
22322 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
22323 input. Use $(build-program-cmd).
22324 ($(objpfx)tst-array1-static.out): Likewise.
22325 ($(objpfx)tst-array2.out): Likewise.
22326 ($(objpfx)tst-array3.out): Likewise.
22327 ($(objpfx)tst-array4.out): Likewise.
22328 ($(objpfx)tst-array5.out): Likewise.
22329 ($(objpfx)tst-array5-static.out): Likewise.
22330
01767843
CM
223312012-10-30 Chris Metcalf <cmetcalf@tilera.com>
22332
47cc1490
CM
22333 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
22334 if defined.
22335
01767843
CM
22336 * nss/nsswitch.h (nss_interface_function): Provide new
22337 macro for use with NSS functions.
22338 * grp/initgroups.c: Use new macro.
22339 * nss/getXXbyYY.c: Likewise.
22340 * nss/getXXbyYY_r.c: Likewise.
22341 * nss/getXXent.c: Likewise.
22342 * nss/getXXent_r.c: Likewise.
22343 * sysdeps/posix/getaddrinfo.c: Likewise.
22344
8321aa97
AJ
223452012-10-30 Andreas Jaeger <aj@suse.de>
22346
22347 * po/ru.po: Update Russion translation from translation project.
22348
2a27fd6d
JM
223492012-10-30 Joseph Myers <joseph@codesourcery.com>
22350
8627a232
JM
22351 [BZ #14152]
22352 [BZ #14783]
22353 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
22354 result and shift together with sticky bit instead of replicating
22355 round-to-nearest rounding.
22356 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22357 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22358 * math/libm-test.inc (fma_test): Add more tests. Do not permit
22359 missing underflow exceptions.
22360 (fma_test_towardzero): Add more tests.
22361 (fma_test_downward): Likewise.
22362 (fma_test_upward): Likewise.
22363
2a27fd6d
JM
22364 [BZ #14047]
22365 * sysdeps/generic/tininess.h: New file.
22366 * sysdeps/i386/tininess.h: Likewise.
22367 * sysdeps/sh/tininess.h: Likewise.
22368 * sysdeps/x86_64/tininess.h: Likewise.
22369 * stdlib/tst-strtod-underflow.c: Likewise.
22370 * stdlib/tst-tininess.c: Likewise.
22371 * stdlib/strtod_l.c: Include <tininess.h>.
22372 (round_and_return): Do not set errno for exact underflow cases.
22373 Force an underflow exception when setting errno for underflow.
22374 Determine underflow based on rounding to normal precision if
22375 TININESS_AFTER_ROUNDING.
22376 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
22377 ERANGE for exact underflow cases.
22378 * stdlib/Makefile (tests): Add tst-tininess and
22379 tst-strtod-underflow.
22380 ($(objpfx)tst-tininess): Use $(link-libm).
22381 ($(objpfx)tst-strtod-underflow): Likewise.
22382
e7170363
AJ
223832012-10-30 Andreas Jaeger <aj@suse.de>
22384
e5088dc6
AJ
22385 [BZ#14767]
22386 * elf/Makefile (tests): Remove conditional for have-initfini-array
22387 since this is now always required and the variable does not exist
22388 anymore.
22389 (tests-static): Likewise.
22390 (modules-names): Likewise.
22391
e7170363 22392 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
22393
22394 * elf/tst-array1.c (fini_array): Make writeable so that it can be
22395 merged with constructor/destructor.
22396 (init_array): Likewise.
22397 * elf/tst-array2dep.c (fini_array): Likewise.
22398 (init_array): Likewise.
22399
60457d8a
MF
224002012-10-29 Mike Frysinger <vapier@gentoo.org>
22401
22402 * manual/message.texi: Delete @cartouche tags.
22403
8bece752
PT
224042012-10-29 Pino Toscano <toscano.pino@tiscali.it>
22405
94ce799f
PT
22406 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
22407 EOPNOTSUPP.
22408 * sysdeps/mach/hurd/fsync.c: Likewise.
22409
8bece752
PT
22410 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
22411 [_POSIX_REALTIME_SIGNALS]: Change condition to
22412 [_POSIX_REALTIME_SIGNALS > 0].
22413
86ebe6b1
AJ
224142012-10-27 Andreas Jaeger <aj@suse.de>
22415
22416 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
22417 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
22418 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
22419 [__WORDSIZE != 64]: Likewise.
22420
54399c08
L
224212012-10-26 H.J. Lu <hongjiu.lu@intel.com>
22422
22423 * iconvdata/tst-table.sh: Remove ${SHELL}.
22424 * iconvdata/tst-tables.sh: Likewise.
22425
e2211bed
DM
224262012-10-25 David S. Miller <davem@davemloft.net>
22427
22428 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22429 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
22430 of strtoull.
22431
f303f97c
DM
22432 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
22433 ifunc-impl-list.c
22434 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22435 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
22436 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
22437 file.
22438
1e9d84cd
RM
224392012-10-25 Roland McGrath <roland@hack.frob.com>
22440
22441 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22442 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
22443 __getdirentries.
22444
df381762
JM
224452012-10-25 Joseph Myers <joseph@codesourcery.com>
22446 Jim Blandy <jimb@codesourcery.com>
22447
22448 * scripts/cross-test-ssh.sh: New file.
22449 * manual/install.texi (Configuring and compiling): Document use of
22450 cross-test-ssh.sh.
22451 * INSTALL: Regenerated.
22452
bff64913
PT
224532012-10-25 Pino Toscano <toscano.pino@tiscali.it>
22454
22455 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
22456 EOPNOTSUPP.
22457
25fe8932
JM
224582012-10-25 Joseph Myers <joseph@codesourcery.com>
22459
22460 * Makeconfig (run-program-prefix): Fix comment.
22461
cc1290d0
JM
224622012-10-24 Joseph Myers <joseph@codesourcery.com>
22463 Jim Blandy <jimb@codesourcery.com>
22464
22465 * Makeconfig (test-wrapper): New variable,
22466 (test-wrapper-env): Likewise.
22467 [$(cross-compiling) = yes && $(test-wrapper) != ""]
22468 (run-built-tests): Define to yes.
22469 (run-program-prefix): Use $(test-wrapper).
22470 (built-program-cmd): Likewise.
22471 * Rules (make-test-out): Use $(test-wrapper-env) and
22472 $(host-built-program-cmd).
22473 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
22474 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
22475 tst-pathopt.sh.
22476 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
22477 $(test-wrapper-env) to tst-rtld-load-self.sh.
22478 ($(objpfx)order2.out): Use $(test-wrapper).
22479 ($(objpfx)tst-initorder.out): Likewise.
22480 ($(objpfx)tst-initorder2.out): Likewise.
22481 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
22482 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
22483 (test_wrapper_env): New variable. Use it to run ld.so.
22484 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
22485 Use it to run ld.so.
22486 (test_wrapper_env): Likewise.
22487 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
22488 $(test-wrapper) to run-iconv-test.sh.
22489 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
22490 (ICONV): Use $test_wrapper.
22491 * posix/Makefile ($(objpfx)globtest.out): Pass
22492 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
22493 globtest.sh, not $(run-program-prefix).
22494 * posix/globtest.sh (run_via_rtld_prefix): New variable.
22495 (test_wrapper): Likewise.
22496 (test_wrapper_env): Likewise. Use it to run globtest with HOME
22497 set together with run_via_rtld_prefix.
22498 (run_program_prefix): Define in terms of test_wrapper and
22499 run_via_rtld_prefix.
22500
6e6249d0
RM
225012012-10-24 Roland McGrath <roland@hack.frob.com>
22502
22503 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
22504 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
22505 Targets removed.
22506
22507 [BZ #14743]
22508 * include/time.h: Remove librt_hidden_proto (clock_gettime).
22509 Declare __clock_getres, __clock_gettime, __clock_settime,
22510 __clock_nanosleep, and __clock_getcpuclockid.
22511 * rt/clock_gettime.c: Define __clock_gettime as an alias.
22512 Remove librt_hidden_def (clock_gettime).
22513 * sysdeps/unix/clock_gettime.c: Likewise.
22514 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
22515 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
22516 * rt/clock_getres.c: Define __clock_getres as an alias.
22517 * sysdeps/posix/clock_getres.c: Likewise.
22518 * rt/clock_settime.c: Define __clock_settime as an alias.
22519 * sysdeps/unix/clock_settime.c: Likewise.
22520 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
22521 * sysdeps/unix/clock_nanosleep.c: Likewise.
22522 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
22523 * rt/clock-compat.c: New file.
22524 * rt/Makefile (librt-routines): Add clock-compat and move
22525 $(clock-routines) to ...
22526 (routines): ... here, new variable.
22527 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
22528 Don't add get_clockfreq here.
22529 * rt/Versions (libc: GLIBC_2.17): New version set.
22530 Add clock_* symbols here.
22531 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
22532 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
22533 (GLIBC_2.17): Add clock_* symbols.
22534 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
22535 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
22536 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
22537 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
22538 Likewise.
22539 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22540 Likewise.
22541 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
22542 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
22543 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
22544 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
22545 * NEWS: Mention the move.
22546
22547 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
22548 Use __open, __read, __close rather than their public counterparts.
22549 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22550 (__get_clockfreq_via_cpuinfo): Likewise.
22551 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
22552 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
22553
22554 * config.h.in (HAVE_IFUNC): New #undef.
22555 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
22556 was successful.
22557 * configure: Regenerated.
22558
0cae3f4b
MF
225592012-10-24 Mike Frysinger <vapier@gentoo.org>
22560
22561 * configure.in: Move READELF check to start of file.
22562 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
22563 libc_cv_asm_gnu_indirect_function in the process.
22564 * configure: Regenerated.
22565
8175a253
MF
225662012-10-24 Mike Frysinger <vapier@gentoo.org>
22567
22568 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
22569 send the output to /dev/null.
22570 (libc_cv_cc_with_libunwind): Likewise.
22571 (libc_cv_as_noexecstack): Likewise.
22572 * configure: Regenerate.
22573
0708a7d1
JM
225742012-10-24 Joseph Myers <joseph@codesourcery.com>
22575
10b40d85
JM
22576 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
22577
0708a7d1
JM
22578 * posix/globtest.sh (TMPDIR): Do not set.
22579 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
22580 (testout): Likewise.
22581
9fddec1a
AJ
225822012-10-24 Andreas Jaeger <aj@suse.de>
22583
3a8db22f
AJ
22584 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
22585 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
22586 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
22587 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
22588 posix_fadvise64, posix_fallocate64.
22589
9fddec1a
AJ
22590 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
22591 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
22592 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
22593 Likewise.
22594 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
22595 Likewise.
22596 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
22597
22598 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
22599 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
22600 <bits/fcntl-linux.h>.
22601 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
22602
22603 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
22604 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
22605 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
22606 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
22607 [__WORDSIZE != 64]: Likewise.
22608
ebfd1bbd
JM
226092012-10-23 Joseph Myers <joseph@codesourcery.com>
22610
03ac099f
JM
22611 * Makeconfig (run-built-tests): New variable.
22612 * Rules [$(cross-compiling) = yes]: Change condition to
22613 [$(run-built-tests) = no].
22614 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
22615 to [$(run-built-tests) = yes].
22616 * elf/Makefile [$(cross-compiling) = no]: Likewise
22617 * grp/Makefile [$(cross-compiling) = no]: Likewise.
22618 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
22619 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
22620 * intl/Makefile [$(cross-compiling) = no]: Likewise.
22621 * io/Makefile [$(cross-compiling) = no]: Likewise.
22622 * libio/Makefile [$(cross-compiling) = no]: Likewise.
22623 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
22624 * misc/Makefile [$(cross-compiling) = no]: Likewise.
22625 * posix/Makefile [$(cross-compiling) = no]: Likewise.
22626 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
22627 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
22628 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
22629 * string/Makefile [$(cross-compiling) = no]: Likewise.
22630
ebfd1bbd
JM
22631 * posix/Makefile ($(objpfx)globtest.out): Pass
22632 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
22633 $(rtld-installed-name).
22634 * posix/globtest.sh (elf_objpfx): Remove variable.
22635 (rtld_installed_name): Likewise.
22636 (library_path): Likewise.
22637 (run_program_prefix): New variable. Use for running globtest
22638 binary.
22639
166bca24
JB
226402012-10-23 Jim Blandy <jimb@codesourcery.com>
22641 Joseph Myers <joseph@codesourcery.com>
22642
22643 * Makeconfig (host-built-program-cmd): New variable.
22644 * elf/Makefile (tst-stackguard1-ARGS): Use
22645 $(host-built-program-cmd).
22646 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
22647 (tst-spawn-ARGS): Likewise.
22648 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
22649
88866099
JM
226502012-10-23 Joseph Myers <joseph@codesourcery.com>
22651 Jim Blandy <jimb@codesourcery.com>
22652
22653 * Makeconfig (run-via-rtld-prefix): New variable.
22654 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
22655 (built-program-cmd): Likewise.
22656
b4b4c296
AJ
226572012-10-22 Andreas Jaeger <aj@suse.de>
22658
22659 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
22660 __O_RSYNC if it exists, otherwise to O_SYNC.
22661
6fb54a22
JB
226622012-10-22 Jim Blandy <jimb@codesourcery.com>
22663 Joseph Myers <joseph@codesourcery.com>
22664
22665 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
22666 /dev/null.
22667 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
22668 from /dev/null
22669 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
22670 /dev/null.
22671
481b90b9
AJ
226722012-10-22 Andreas Jaeger <aj@suse.de>
22673
2a0e2669
AJ
22674 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
22675 Define always.
22676 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
22677
76e38f9a
AJ
22678 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22679 bits/fcntl-linux.h.
22680
7cd37b43
AJ
22681 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
22682 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
22683
481b90b9
AJ
22684 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
22685 to __O_LARGEFILE.
22686 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
22687 to __O_LARGEFILE.
22688
aba75984
JB
226892012-10-21 Jim Blandy <jimb@codesourcery.com>
22690 Joseph Myers <joseph@codesourcery.com>
22691
22692 * config.make.in (NM): New variable.
22693
88d4247f
AJ
226942012-10-21 Andreas Jaeger <aj@suse.de>
22695
22696 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
22697 definitions and declarations that are provided by
22698 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22699
f2eed205
L
227002012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22701
22702 [BZ #14683]
22703 * elf/Makefile (tests-static): Add tst-leaks1-static.
22704 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
22705 ($(objpfx)tst-leaks1-static): New rule.
22706 ($(objpfx)tst-leaks1-static-mem): Likewise.
22707 (tst-leaks1-static-ENV): New macro.
22708 * elf/dl-open.c (dl_open_worker): Check the main application
22709 only if SHARED is defined.
22710 * elf/tst-leaks1-static.c: New file.
22711
335e6931
AJ
227122012-10-20 Andreas Jaeger <aj@suse.de>
22713
22714 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
22715 generic values for Linux.
22716 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
22717 and declarations that are provided by <bits/fcntl-linux.h> and
22718 include <bits/fcntl-linux.h>.
22719 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
22720 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
22721
ac5c94d3
RM
227222012-10-20 Roland McGrath <roland@hack.frob.com>
22723
22724 * io/fcntl.h: Move include of <bits/types.h> to the top and
22725 include it unconditionally.
22726
de54b33a
L
227272012-10-20 H.J. Lu <hongjiu.lu@intel.com>
22728
228cfb01
L
22729 * wcsmbs/Makefile (tests-ifunc): New variable.
22730 (tests): Add $(tests-ifunc).
22731 * wcsmbs/test-wcschr-ifunc.c: New file.
22732 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
22733 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
22734 * wcsmbs/test-wcslen-ifunc.c: Likewise.
22735 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
22736 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
22737
69f07e5f
L
22738 * string/Makefile (tests-ifunc): New variable.
22739 (tests): Add $(tests-ifunc).
22740 * string/test-memccpy.c (TEST_NAME): New macro.
22741 * string/test-memchr.c (TEST_NAME): Likewise.
22742 * string/test-memcmp.c (TEST_NAME): Likewise.
22743 * string/test-memcpy.c (TEST_NAME): Likewise.
22744 * string/test-memmem.c (TEST_NAME): Likewise.
22745 * string/test-memmove.c (TEST_NAME): Likewise.
22746 * string/test-memset.c (TEST_NAME): Likewise.
22747 * string/test-rawmemchr.c (TEST_NAME): Likewise.
22748 * string/test-stpcpy.c (TEST_NAME): Likewise.
22749 * string/test-stpncpy.c (TEST_NAME): Likewise.
22750 * string/test-strcasecmp.c (TEST_NAME): Likewise.
22751 * string/test-strcasestr.c (TEST_NAME): Likewise.
22752 * string/test-strcat.c (TEST_NAME): Likewise.
22753 * string/test-strchr.c (TEST_NAME): Likewise.
22754 * string/test-strcmp.c(TEST_NAME): Likewise.
22755 * string/test-strcpy.c (TEST_NAME): Likewise.
22756 * string/test-strcspn.c (TEST_NAME): Likewise.
22757 * string/test-strlen.c (TEST_NAME): Likewise.
22758 * string/test-strncasecmp.c (TEST_NAME): Likewise.
22759 * string/test-strncmp.c (TEST_NAME): Likewise.
22760 * string/test-strncpy.c (TEST_NAME): Likewise.
22761 * string/test-strnlen.c (TEST_NAME): Likewise.
22762 * string/test-strpbrk.c (TEST_NAME): Likewise.
22763 * string/test-strrchr.c (TEST_NAME): Likewise.
22764 * string/test-strspn.c (TEST_NAME): Likewise.
22765 * string/test-strstr.c (TEST_NAME): Likewise.
22766 * string/test-bcopy-ifunc.c: New file.
22767 * string/test-bzero-ifunc.c: Likewise.
22768 * string/test-memccpy-ifunc.c: Likewise.
22769 * string/test-memchr-ifunc.c: Likewise.
22770 * string/test-memcmp-ifunc.c: Likewise.
22771 * string/test-memcpy-ifunc.c: Likewise.
22772 * string/test-memmem-ifunc.c: Likewise.
22773 * string/test-memmove-ifunc.c: Likewise.
22774 * string/test-mempcpy-ifunc.c: Likewise.
22775 * string/test-memset-ifunc.c: Likewise.
22776 * string/test-rawmemchr-ifunc.c: Likewise.
22777 * string/test-stpcpy-ifunc.c: Likewise.
22778 * string/test-stpncpy-ifunc.c: Likewise.
22779 * string/test-strcasecmp-ifunc.c: Likewise.
22780 * string/test-strcasestr-ifunc.c: Likewise.
22781 * string/test-strcat-ifunc.c: Likewise.
22782 * string/test-strchr-ifunc.c: Likewise.
22783 * string/test-strchrnul-ifunc.c: Likewise.
22784 * string/test-strcmp-ifunc.c: Likewise.
22785 * string/test-strcpy-ifunc.c: Likewise.
22786 * string/test-strcspn-ifunc.c: Likewise.
22787 * string/test-strlen-ifunc.c: Likewise.
22788 * string/test-strncasecmp-ifunc.c: Likewise.
22789 * string/test-strncat-ifunc.c: Likewise.
22790 * string/test-strncmp-ifunc.c: Likewise.
22791 * string/test-strncpy-ifunc.c: Likewise.
22792 * string/test-strnlen-ifunc.c: Likewise.
22793 * string/test-strpbrk-ifunc.c: Likewise.
22794 * string/test-strrchr-ifunc.c: Likewise.
22795 * string/test-strspn-ifunc.c: Likewise.
22796 * string/test-strstr-ifunc.c: Likewise.
22797
de54b33a
L
22798 * debug/Makefile (tests-ifunc): New variable.
22799 (tests): Add $(tests-ifunc).
22800 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
22801 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
22802 * debug/test-stpcpy_chk-ifunc.c: New file.
22803 * debug/test-strcpy_chk-ifunc.c: Likewise.
22804
88481c16
SP
228052012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
22806
22807 [BZ #13601]
22808 * elf/dl-load.c (open_verify): Retry read if the entire ELF
22809 header is not read in.
22810
135948bd
JM
228112012-10-19 Joseph Myers <joseph@codesourcery.com>
22812
89f1c388
JM
22813 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
22814 script to $(SHELL) as $<. Pass $(common-objpfx) to script
22815 directly. Pass built executable to script as
22816 $(built-program-cmd).
22817 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
22818 $testprogram without using LD_LIBRARY_PATH and $ldso.
22819
e40a0d21
JM
22820 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
22821 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
22822 $(rtld-installed-name).
22823 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
22824 (rtld_installed_name): Likewise.
22825 (library_path): Likewise.
22826 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
22827 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
22828 $(run-program-prefix) to tst-tables.sh.
22829 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
22830 it to run tst-table-from and tst-table-to.
22831 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
22832 Pass it to tst-table.sh.
22833 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
22834 $(run-program-prefix) to tst-gettext.sh.
22835 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
22836 tst-translit.sh.
22837 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
22838 tst-gettext2.sh.
22839 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
22840 to run tst-gettext.
22841 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
22842 to run tst-gettext2.
22843 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
22844 to run tst-translit.
22845 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
22846 $(run-program-prefix) to tst-mtrace.sh.
22847 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
22848 to run tst-mtrace.
22849 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
22850 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
22851 $(rtld-installed-name).
22852 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
22853 (rtld_installed_name): Likewise.
22854 (run_program_prefix): New variable. Use it to run wordexp-test.
22855
728e272a
JM
22856 * Makeconfig (ARCH): Remove all definitions.
22857 (machine): Likewise.
22858 [ARCH]: Remove conditional code.
22859 [!objdir]: Give error.
22860 [!objdir] (objpfx): Remove.
22861 [!objdir] (common-objpfx): Likewise.
22862 [!objdir] (common-objdir): Likewise.
22863 * configure.in (config_makefile): Remove. Hardcode Makefile in
22864 AC_CONFIG_FILES call.
22865 * configure: Regenerated.
22866
d528cdcf
JM
22867 [BZ #13888]
22868 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
22869 or TMPDIR.
22870 (testout): Likewise.
22871
135948bd
JM
22872 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
22873 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
22874 $(rtld-installed-name).
22875 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
22876 (rtld_installed_name): Likwise.
22877 (runit): Remove function.
22878 (run_getconf): New variable, Use it for running getconf binary.
22879
38c78296
L
228802012-10-18 H.J. Lu <hongjiu.lu@intel.com>
22881
22882 [BZ #14716]
22883 * string/test-memmem.c (check_result): New function.
22884 (do_one_test): Use it.
22885 (check1): New function.
22886 (test_main): Use it.
22887
d077f65f
MT
228882012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
22889
22890 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
22891
ced52c71
JM
228922012-10-18 Joseph Myers <joseph@codesourcery.com>
22893
22894 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
22895 (_G_LSEEK64): Likewise.
22896 (_G_MMAP64): Likewise.
22897 (_G_FSTAT64): Likewise.
22898 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
22899 (_G_LSEEK64): Likewise.
22900 (_G_MMAP64): Likewise.
22901 (_G_FSTAT64): Likewise.
22902 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
22903 unconditional. Call __mmap64 directly.
22904 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
22905 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
22906 __lseek64 directly.
22907 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
22908 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
22909 __mmap64 directly.
22910 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
22911 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
22912 __lseek64 directly.
22913 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
22914 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
22915 __lseek64 directly.
22916 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
22917 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
22918 __lseek64 directly.
22919 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
22920 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
22921 __fxstat64 directly.
22922 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
22923 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
22924 unconditional.
22925 (freopen64) [!_G_OPEN64]: Remove conditional code.
22926 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
22927 unconditional.
22928 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
22929 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
22930 unconditional.
22931 (ftello64) [!_G_LSEEK64]: Remove conditional code.
22932 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
22933 unconditional.
22934 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22935 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
22936 unconditional.
22937 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
22938 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
22939 unconditional.
22940 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22941 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
22942 unconditional.
22943 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
22944 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
22945 unconditional.
22946 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
22947
b741de23
SP
229482012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
22949
22950 [BZ #12140]
22951 * manual/memory.texi (Malloc Tunable Parameters): Add note
22952 about free list pointers overwriting some perturb bytes.
22953 Wording suggested by Roland McGrath.
22954
f9b9d9c9
JM
229552012-10-17 Joseph Myers <joseph@codesourcery.com>
22956
22957 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
22958 (lgamma_test): Likewise.
22959 (tgamma_test): Likewise.
22960
172a631a
FW
229612012-10-16 Florian Weimer <fweimer@redhat.com>
22962
22963 [BZ #14700]
22964 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
22965 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
22966
e9f37252
MK
229672012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
22968
22969 * NEWS: Mention BZ #14716.
22970 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
22971 when removing AVAILABLE1_USES_J macro.
22972
d394eb74
L
229732012-10-12 H.J. Lu <hongjiu.lu@intel.com>
22974
22975 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
22976 (__bswap_64): __uint64_t for unsigned 64-bit int.
22977
ca38dc17
AS
229782012-10-12 Andreas Schwab <schwab@linux-m68k.org>
22979
22980 * include/string.h (memmem): Declare libc hidden alias.
22981 * string/memmem.c (memmem): Define libc hidden alias.
22982 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
22983 __read, __close instead of open, read, close.
22984
9a387d1f
L
229852012-10-11 H.J. Lu <hongjiu.lu@intel.com>
22986
ac49ecaf
L
22987 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
22988 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
22989 global and hidden.
22990 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
22991 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
22992 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
22993 Likewise.
22994 (__rawmemchr_sse2): Likewise.
22995 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
22996 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
22997 (__strchr_sse2): Likewise.
22998 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
22999 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
23000 (__strcasecmp_sse2): Likewise.
23001 (__strncasecmp_sse2): Likewise.
23002 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
23003 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
23004 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
23005 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
23006 (__strrchr_sse2): Likewise.
23007 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
23008 ifunc-impl-list.c.
23009 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23010 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23011 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
23012 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
23013 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23014 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23015 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23016 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23017 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
23018 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
23019 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
23020 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
23021 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
23022 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23023 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23024 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23025 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23026 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23027 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
23028 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
23029 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
23030 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
23031 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
23032 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
23033 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
23034 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23035 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23036 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
23037 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23038 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23039
b090e8ea
L
23040 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
23041 global and hidden.
23042 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
23043 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
23044 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
23045 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
23046 Likewise.
23047 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
23048 Likewise.
23049 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
23050 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
23051 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
23052 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
23053 ifunc-impl-list.c.
23054 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
23055 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
23056 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
23057 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
23058 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
23059 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
23060 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
23061 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
23062 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
23063 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
23064 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
23065 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
23066 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
23067 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
23068 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
23069 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
23070 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
23071 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
23072 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
23073 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
23074 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
23075 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
23076 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
23077 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
23078 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
23079 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
23080 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
23081 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
23082 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
23083 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
23084 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
23085 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
23086 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
23087 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
23088 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
23089 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
23090 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
23091 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
23092 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
23093 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
23094 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
23095
11dd4af6
L
23096 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
23097 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
23098 * include/ifunc-impl-list.h: New file.
23099 * misc/ifunc-impl-list.c: Likewise.
23100 * misc/Makefile (routines): Add ifunc-impl-list.
23101 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
23102 * string/test-string.h: Include <ifunc-impl-list.h>.
23103 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
23104 impl_array): New variables.
23105 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
23106 are defined.
23107 (test_init): Call __libc_ifunc_impl_list to initialize
23108 func_list if TEST_IFUNC and TEST_NAME are defined.
23109
9a387d1f
L
23110 * string/Makefile (strop-tests): Add bcopy and bzero.
23111 * string/test-bcopy.c: New file.
23112 * string/test-bzero.c: Likewise.
23113 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
23114 defined.
23115 * string/test-memset.c: Support bzero test if TEST_BZERO is
23116 defined.
23117 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
23118 __libc_memmove.
23119 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
23120 __libc_memset.
23121 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
23122 of memset.
23123
472371b9
JM
231242012-10-10 Joseph Myers <joseph@codesourcery.com>
23125
1e4a9536
JM
23126 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
23127 * configure: Regenerated.
23128
d173d12e
JM
23129 * Makeconfig (+link-static-before-libc): Don't include
23130 $(link-static-libc).
23131
472371b9
JM
23132 * libio/libio.h (_IO_pos_t): Remove.
23133
89a3ad0b
AO
231342012-10-10 Alexandre Oliva <aoliva@redhat.com>
23135
23136 * NEWS: Add note about FIPS mode. Wording suggested by Roland
23137 McGrath.
23138
e7451425
AO
231392012-10-10 Alexandre Oliva <aoliva@redhat.com>
23140
23141 * crypt/crypt-entry.c: Include fips-private.h.
23142 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
23143 * crypt/md5c-test.c (main): Tolerate disabled MD5.
23144 * sysdeps/unix/sysv/linux/fips-private.h: New file.
23145 * sysdeps/generic/fips-private.h: New file, dummy fallback.
23146
4ba74a35
AO
231472012-10-10 Alexandre Oliva <aoliva@redhat.com>
23148
23149 * crypt/crypt-private.h: Include stdbool.h.
23150 (_ufc_setup_salt_r): Return bool.
23151 * crypt/crypt-entry.c: Include errno.h.
23152 (__crypt_r): Return NULL with EINVAL for bad salt.
23153 * crypt/crypt_util.c (bad_for_salt): New.
23154 (_ufc_setup_salt_r): Check that salt is long enough and within
23155 the specified alphabet.
23156 * crypt/badsalttest.c: New file.
23157 * crypt/Makefile (tests): Add it.
23158 ($(objpfx)badsalttest): New.
23159
f96f1242
MK
231602012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
23161
23162 * NEWS: Add entry for BZ #14602.
23163
0e8e0c1c
JM
231642012-10-09 Joseph Myers <joseph@codesourcery.com>
23165
23166 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
23167 type-generic.
23168 * math/libm-test.inc: Update comment listing what functions and
23169 macros are tested.
23170 (isgreater_test): New function.
23171 (isgreaterequal_test): Likewise.
23172 (isless_test): Likewise.
23173 (islessequal_test): Likewise.
23174 (islessgreater_test): Likewise.
23175 (isunordered_test): Likewise.
23176 (main): Call the new functions.
23177
273edc5e
RM
231782012-10-09 Roland McGrath <roland@hack.frob.com>
23179
b8493de0
RM
23180 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
23181 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
23182 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
23183 * sysdeps/i386/configure: Regenerated.
23184 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
23185 * sysdeps/mach/configure: Regenerated.
23186 * sysdeps/mach/hurd/configure: Regenerated.
23187 * sysdeps/powerpc/configure: Regenerated.
23188 * sysdeps/powerpc/powerpc32/configure: Regenerated.
23189 * sysdeps/powerpc/powerpc64/configure: Regenerated.
23190 * sysdeps/s390/s390-32/configure: Regenerated.
23191 * sysdeps/s390/s390-64/configure: Regenerated.
23192 * sysdeps/sh/configure: Regenerated.
23193 * sysdeps/sparc/configure: Regenerated.
23194 * sysdeps/unix/sysv/linux/configure: Regenerated.
23195 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
23196 * sysdeps/x86_64/configure: Regenerated.
23197
273edc5e
RM
23198 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
23199 defined. Don't check if MAP is NULL.
23200
c8450f70
JM
232012012-10-09 Joseph Myers <joseph@codesourcery.com>
23202
23203 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
23204 (_G_stat64): Likewise.
23205 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
23206 (_G_stat64): Likewise.
23207 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
23208 instead of struct _G_stat64.
23209 * libio/fileops.c (mmap_remap_check): Likewise.
23210 (decide_maybe_mmap): Likewise.
23211 (_IO_new_file_seekoff): Likewise.
23212 (_IO_file_stat): Likewise.
23213 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
23214 _G_off64_t.
23215 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
23216 instead of struct _G_stat64.
23217 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23218
57e605ba
MK
232192012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
23220
23221 [BZ #14602]
23222 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23223 Replace with ...
23224 (CHECK_EOL): New macro.
23225 (two_way_short_needle): Check beginning of haystack for EOL. Use
23226 CHECK_EOL.
23227 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23228 Replace with CHECK_EOL.
23229 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
23230 Replace with CHECK_EOL.
23231
ef1bb361
JM
232322012-10-08 Joseph Myers <joseph@codesourcery.com>
23233
23234 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
23235 type-generic.
23236 * math/libm-test.inc: Update comment listing what functions and
23237 macros are tested.
23238 (finite_test): New function.
23239 (isinf_test): Likewise.
23240 (isnan_test): Likewise.
23241 (fpclassify_test): Test subnormal input.
23242 (isfinite_test): Likewise.
23243 (isnormal_test): Likewise.
23244 (main): Call the new functions.
23245
55f11534
JN
232462012-10-08 Jonathan Nieder <jrnieder@gmail.com>
23247
23248 [BZ #14660]
23249 * Makerules (%.dynsym): Force C locale when running
23250 $(OBJDUMP) --dynamic-syms.
23251
1ab29350
AS
232522012-10-08 Andreas Schwab <schwab@linux-m68k.org>
23253
23254 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
23255 <stdint.h>.
23256
f1ecb7ef
DM
232572012-10-06 David S. Miller <davem@davemloft.net>
23258
23259 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
23260 upper 32-bits of the length value in %o2 since we use branch-on-register
23261 tests which consider the entire 64-bit register.
23262
5d41d91a
L
232632012-10-06 H.J. Lu <hongjiu.lu@intel.com>
23264
23265 * string/test-strstr.c (check2): Add a test for page boundary.
23266
3baddb72
DM
232672012-10-05 David S. Miller <davem@davemloft.net>
23268
23269 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
23270 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
23271 file.
23272 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23273 sysdep_routines.
23274 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23275 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
23276 and bzero when HWCAP_SPARC_CRYPTO is present.
23277
9cee5585
L
232782012-10-05 H.J. Lu <hongjiu.lu@intel.com>
23279
d7e0dab9
L
23280 [BZ #14602]
23281 * string/test-strstr.c (check2): New function.
23282 (test_main): Call check2.
23283
03759f47
L
23284 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
23285 and bug-strchr1.
23286 * string/bug-strcasestr1.c (do_test): Moved to ...
23287 * string/test-strcasestr.c (check1): Here. New function.
23288 (do_one_test): Break out result checking code into ...
23289 (check_result): This. New function.
23290 (do_one_test): Call check_result.
23291 (test_main): Call check1.
23292 * string/bug-strchr1.c (do_test): Moved to ...
23293 * string/test-strchr.c (check1): Here. New function.
23294 (do_one_test): Break out result checking code into ...
23295 (check_result): This. New function.
23296 (do_one_test): Call check_result.
23297 (test_main): Call check1.
23298 * string/bug-strstr1.c (main): Moved to ...
046f153e 23299 * string/test-strstr.c (check1): Here. New function.
03759f47
L
23300 (do_one_test): Break out result checking code into ...
23301 (check_result): This. New function.
23302 (do_one_test): Call check_result.
23303 (test_main): Call check1.
23304 * string/bug-strcasestr1.c: Removed.
23305 * string/bug-strchr1.c: Likewise.
23306 * string/bug-strstr1.c: Likewise.
23307
53cea63e
L
23308 * elf/Makefile (dl-routines): Add hwcaps.
23309 * elf/dl-support.c (_dl_important_hwcaps): Removed.
23310 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
23311 (_dl_important_hwcaps): Moved to ...
23312 * elf/dl-hwcaps.c: Here. New file.
23313 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
23314
9cee5585 23315 [BZ #14557]
bb859b06
L
23316 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
23317 if IS_IN_rtld isn't defined.
23318
9cee5585
L
23319 * elf/dl-support.c (_dl_sysinfo_map): New.
23320 Include "get-dynamic-info.h" and "setup-vdso.h".
23321 (_dl_non_dynamic_init): Call setup_vdso.
23322 * elf/dynamic-link.h: Don't include <assert.h>.
23323 (elf_get_dynamic_info): Moved to ...
23324 * elf/get-dynamic-info.h: Here. New file.
23325 * elf/dynamic-link.h: Include "get-dynamic-info.h".
23326 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
23327 * elf/setup-vdso.h: Here. New file.
23328 * elf/rtld.c: Include "setup-vdso.h".
23329 (dl_main): Call setup_vdso.
23330
23c31b76
JM
233312012-10-05 Joseph Myers <joseph@codesourcery.com>
23332
28234b07
JM
23333 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
23334 creal in comment listing functions tested. List finite, isinf,
23335 isnan, isless, islessequal, isgreater, isgreaterequal,
23336 islessgreater, isunordered, lgamma_r and pow10 as functions and
23337 macros not tested. Mention which functions not tested are aliases
23338 for other functions. Fix typo. Note that signs of NaNs are not
23339 tested.
23340
23c31b76
JM
23341 * scripts/config.guess: Update from config.git.
23342 * scripts/config.sub: Likewise.
23343
9043e228
RM
233442012-10-04 Roland McGrath <roland@hack.frob.com>
23345
23346 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
23347 * misc/madvise.c (madvise): Renamed to __madvise.
23348 Make madvise a weak alias.
23349 * include/sys/mman.h: Declare __madvise.
23350 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
23351 * sysdeps/unix/syscalls.list
23352 (madvise): Make __madvise the strong name, and madvise a weak alias.
23353 * sysdeps/unix/sysv/linux/syscalls.list
23354 (madvise, mmap): Remove redundant entries.
23355 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
23356 * malloc/malloc.c (mtrim): Likewise.
23357 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
23358
f57f8055
RM
233592012-10-03 Roland McGrath <roland@hack.frob.com>
23360
23361 * sysdeps/mach/hurd/dl-cache.c: File removed.
23362 * config.h.in (USE_LDCONFIG): New #undef.
23363 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
23364 * configure: Regenerated.
23365 * elf/Makefile (dl-routines): Add dl-cache only under
23366 [$(use-ldconfig) = yes].
23367 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
23368 cache on [USE_LDCONFIG].
23369 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
23370 [USE_LDCONFIG].
23371 * elf/rtld.c (dl_main): Likewise.
23372
5bb0c10a
PT
233732012-10-03 Pino Toscano <toscano.pino@tiscali.it>
23374
23375 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
23376 _SC_LEVEL4_CACHE_LINESIZE.
23377
010188c6
RM
233782012-10-03 Roland McGrath <roland@hack.frob.com>
23379
23380 * sysdeps/unix/bsd/confstr.h: File removed.
23381
b6c5ec07
AO
233822012-10-02 Alexandre Oliva <aoliva@redhat.com>
23383
23384 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
23385 sys/sdt-config.h.
23386
408223d4
RM
233872012-10-02 Roland McGrath <roland@hack.frob.com>
23388
23389 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
23390 Make 'mapoff' field ElfW(Off) rather than off_t.
23391
bb9510dc
DL
233922012-10-02 Dmitry V. Levin <ldv@altlinux.org>
23393
fc997c6e
DL
23394 * nscd/Makefile: Remove nscd-cflags and all its users.
23395 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
23396 (CFLAGS-nonlib): Add compiler flags for nscd modules.
23397
bb9510dc
DL
23398 [BZ #10631]
23399 * malloc.c (malloc_printerr): Clarify error message.
23400
05699367
L
234012012-10-02 H.J. Lu <hongjiu.lu@intel.com>
23402
23403 [BZ #14648]
23404 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23405 Set bit_FMA_Usable if FMA is supported.
23406 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
23407 macro.
23408 (bit_FMA4_Usable): Updated.
23409 (index_FMA_Usable): New macro.
23410 (CPUID_FMA): Likewise
23411 (HAS_FMA): Defined with bit_FMA_Usable.
23412
51367701
RM
234132012-10-01 Roland McGrath <roland@hack.frob.com>
23414
23415 * bits/types.h (__swblk_t): Type removed.
23416 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
23417 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
23418 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
23419 (__SWBLK_T_TYPE): Likewise.
23420 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
23421 (__SWBLK_T_TYPE): Likewise.
23422 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
23423 (__SWBLK_T_TYPE): Likewise.
23424 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
23425 (__SWBLK_T_TYPE): Likewise.
23426
4d57bf63 234272012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 23428 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
23429
23430 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
23431 (xdr_mapname): Use YPMAXMAP as maxsize.
23432 (xdr_peername): Use YPMAXPEER as maxsize.
23433 (xdr_keydat): Use YPAXRECORD as maxsize.
23434 (xdr_valdat): Use YPMAXRECORD as maxsize.
23435
93c65d43
RM
234362012-10-01 Roland McGrath <roland@hack.frob.com>
23437
497a03d6
RM
23438 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
23439
93c65d43
RM
23440 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
23441 * csu/init-first.c: ... here.
23442 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
23443 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23444 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23445 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23446 * sysdeps/i386/init-first.c: File removed.
23447 * sysdeps/sh/init-first.c: File removed.
23448
bec749fd
JM
234492012-10-01 Joseph Myers <joseph@codesourcery.com>
23450
23451 [BZ #14645]
23452 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
23453 if x * y might underflow to zero and z is zero.
23454 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23455 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23456 * math/libm-test.inc (min_subnorm_value): New variable.
23457 (fma_test): Add more tests.
23458 (fma_test_towardzero): Likewise.
23459 (fma_test_downward): Likewise
23460 (fma_test_upward): Likewise.
23461 (initialize): Set min_subnorm_value.
23462
8ec5b013
JM
234632012-09-29 Joseph Myers <joseph@codesourcery.com>
23464
23465 [BZ #14638]
23466 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
23467 0 + 0.
23468 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
23469 mode for addition resulting in exact zero.
23470 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
23471 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
23472 exact 0 + 0.
23473 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23474 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23475 * math/libm-test.inc (fma_test): Add more tests.
23476 (fma_test_towardzero): New function.
23477 (fma_test_downward): Likewise.
23478 (fma_test_upward): Likewise.
23479 (main): Call the new functions.
23480
b1fa802e
DM
234812012-09-28 David S. Miller <davem@davemloft.net>
23482
23483 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
23484
d3b9fd9e
RM
234852012-09-28 Roland McGrath <roland@hack.frob.com>
23486
ea4d37b3
RM
23487 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
23488 instead of SIGALRM.
23489
ac51c949
RM
23490 * sysdeps/gnu/_G_config.h: Moved to ...
23491 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
23492 * sysdeps/mach/hurd/_G_config.h: Moved to ...
23493 * sysdeps/generic/_G_config.h: ... here.
23494
28c195f7
RM
23495 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
23496
848917f9
RM
23497 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
23498
6bacf05b
RM
23499 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
23500 Conditionalize target on [libnss_test1.so-version].
23501
91363dbb
RM
23502 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
23503
cc87f7d8
RM
23504 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
23505 (elfobjdir): Move out of conditionals.
23506
b1c608fe
RM
23507 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
23508 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
23509 (__nss_lookup_function): Conditionalize label remove_from_tree on
23510 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 23511
1d9a6d96
DM
235122012-09-28 David S. Miller <davem@davemloft.net>
23513
23514 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
23515 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
23516 file.
23517 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
23518 sysdep_routines.
23519 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
23520 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
23521 when HWCAP_SPARC_CRYPTO is present.
23522
72581615
PT
235232012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23524
23525 * io/tst-mknodat.c: Create a FIFO instead of a socket.
23526
715a900c
JL
235272012-09-28 Andreas Schwab <schwab@linux-m68k.org>
23528
23529 [BZ #6530]
23530 * stdio-common/vfprintf.c (process_string_arg): Revert
23531 2000-07-22 change.
23532
235332011-09-28 Jonathan Nieder <jrnieder@gmail.com>
23534
23535 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
23536 for testcase.
23537 * stdio-common/tst-sprintf.c: Include <locale.h>
23538 (main): Test sprintf's handling of incomplete multibyte
23539 characters.
23540
9bac1d86
L
235412012-09-28 H.J. Lu <hongjiu.lu@intel.com>
23542
23543 * elf/dl-runtime.c (VERSYMIDX): Removed.
23544 * elf/dl-version.c (VERSYMIDX): Likewise.
23545 * elf/do-rel.h (VERSYMIDX): Likewise.
23546 (VALIDX): Likewise.
23547 * elf/dynamic-link.h (VERSYMIDX): Likewise.
23548 * elf/rtld.c (VALIDX): Likewise.
23549 (ADDRIDX): Likewise.
9bac1d86
L
23550 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
23551 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
23552 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
23553 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
23554 (VALIDX): Likewise.
23555 (ADDRIDX): Likewise.
9bac1d86 23556
b31606c0
PT
235572012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23558
23559 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
23560
11541177
JL
235612012-09-28 Dmitry V. Levin <ldv@altlinux.org>
23562
23563 [BZ #11438]
23564 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
23565 to global scope.
23566 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
23567 addresses are in the same scope as 192.0.2/24.
23568 * posix/gai.conf: Document new scope table defaults.
23569
adb26fae
SP
235702012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23571
23572 [BZ #5298]
23573 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
23574 for ftell. Compute offsets from write pointers instead.
23575 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
23576
4573c6b0
SP
235772012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
23578
23579 [BZ #14543]
23580 * libio/Makefile (tests): New test case tst-fseek.
23581 * libio/tst-fseek.c: New test case to verify that fseek/ftell
23582 combination works in wide mode.
23583 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
23584 state when the external buffer state changes.
23585
aa9bbfe6
DM
235862012-09-27 David S. Miller <davem@davemloft.net>
23587
23588 [BZ #14376]
23589 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
23590 pass reloc->r_addend in as the 'high' argument to
23591 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
23592
784421e7
DM
23593 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23594
c39bc8b8
PT
235952012-09-28 Pino Toscano <toscano.pino@tiscali.it>
23596
23597 * rt/tst-aio2.c: Include <pthread.h>.
23598 * rt/tst-aio3.c: Likewise.
23599
1ccc2399
SE
236002012-09-27 Steve Ellcey <sellcey@mips.com>
23601
23602 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
23603
31ed4153
L
236042012-09-27 H.J. Lu <hongjiu.lu@intel.com>
23605
25f5f885
L
23606 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
23607 contents on [SHARED].
31ed4153 23608
b7bfe116
MP
236092012-09-26 Marek Polacek <polacek@redhat.com>
23610
23611 [BZ #14530]
23612 [BZ #13741]
23613 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
23614 for C++ and GCC <4.3 as well as for non GCC compilers.
23615
43c4edba
MT
236162012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
23617
23618 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23619
6a1bf82f
RM
236202012-09-25 Roland McGrath <roland@hack.frob.com>
23621
23622 * Makefile.in (all, install): Declare with .PHONY.
23623 Reported by Michael Hope <michael.hope@linaro.org>.
23624
8ad11b9a
TMQMF
236252012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
23626
23627 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
23628 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
23629 system header.
23630 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
23631 Likewise.
23632 (sydep_routines): Add the new and the internal functions.
23633 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
23634 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
23635 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
23636 (GLIBC_2.17): Add the new function.
23637 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
23638 (GLIBC_2.17): Likewise.
23639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
23640 (GLIBC_2.17): Likewise.
23641 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
23642 (GLIBC_2.17): Likewise.
23643 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
23644
7e2fca8d
AM
236452012-09-25 Alan Modra <amodra@gmail.com>
23646
23647 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
23648 Add release barrier before setting once_control to say
23649 initialisation is done. Add hints on lwarx. Use macro in
23650 place of isync.
23651 (clear_once_control): Add release barrier.
23652
b87c4b24
JM
236532012-09-25 Joseph Myers <joseph@codesourcery.com>
23654
d032e0d2
JM
23655 [BZ #13629]
23656 * math/s_clog.c (__clog): Handle more values close to |z| = 1
23657 specially.
23658 * math/s_clog10.c (__clog10): Likewise.
23659 * math/s_clog10f.c (__clog10f): Likewise.
23660 * math/s_clog10l.c (__clog10l): Likewise.
23661 * math/s_clogf.c (__clogf): Likewise.
23662 * math/s_clogl.c (__clogl): Likewise.
23663 * math/Makefile (libm-calls): Add x2y2m1.
23664 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
23665 (__x2y2m1): Likewise.
23666 (__x2y2m1l): Likewise.
23667 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
23668 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
23669 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
23670 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23671 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
23672 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
23673 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
23674 * sysdeps/i386/fpu/libm-test-ulps: Update.
23675 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23676
b87c4b24
JM
23677 [BZ #14621]
23678 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
23679 int as type of variable DEPTH.
23680 (glob): Use size_t instead of int as type of variables NEWCOUNT
23681 and OLD_PATHC.
23682
6d3bf199
LD
236832012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
23684
22bf5c17
LD
23685 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
23686 Add s_sincosf-sse2.
23687 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
23688 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
23689 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
23690 macros for using routine as __sincosf_ia32.
23691 Use macro for function declaration and weak_alias.
23692 * sysdeps/i386/fpu/libm-test-ulps: Update.
23693
23694 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
23695 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23696
23697 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
23698 subnormal argument.
23699 * math/s_cexpf.c (__cexpf): Likewise.
23700 * math/s_csinf.c (__csinf): Likewise.
23701 * math/s_csinhf.c (__csinhf): Likewise.
23702 * math/s_ctanf.c (__ctanf): Likewise.
23703 * math/s_ctanhf.c (__ctanhf): Likewise.
23704 * math/s_ccosh.c (__ccoshf): Likewise.
23705 * math/s_cexp.c (__cexpl): Likewise.
23706 * math/s_csin.c (__csin): Likewise.
23707 * math/s_csinh.c (__csinh): Likewise.
23708 * math/s_ctan.c (__ctan): Likewise.
23709 * math/s_ctanh.c (ctanh): Likewise.
23710 * math/s_ccoshl.c (__ccoshl): Likewise.
23711 * math/s_cexpl.c (__cexpl): Likewise.
23712 * math/s_csinl.c (__csinl): Likewise.
23713 * math/s_csinhl.c (__csinhl): Likewise.
23714 * math/s_ctanl.c (__ctanl): Likewise.
23715 * math/s_ctanhl.c (__ctanhl): Likewise.
23716
203e5603
JM
237172012-09-25 Joseph Myers <joseph@codesourcery.com>
23718
23719 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
23720 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
23721 (_IO_off_t): Define to __off_t, not _G_off_t.
23722 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
23723 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
23724 (_IO_wint_t): Define to wint_t, not _G_wint_t.
23725 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
23726 type of __dummy and __dummy2 fields.
23727 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
23728 (_G_ssize_t): Likewise.
23729 (_G_off_t): Likewise.
23730 (_G_pid_t): Likewise.
23731 (_G_uid_t): Likewise.
23732 (_G_wchar_t): Likewise.
23733 (_G_wint_t): Likewise.
23734 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
23735 (_G_ssize_t): Likewise.
23736 (_G_off_t): Likewise.
23737 (_G_pid_t): Likewise.
23738 (_G_uid_t): Likewise.
23739 (_G_wchar_t): Likewise.
23740 (_G_wint_t): Likewise.
23741 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
23742 (_G_ssize_t): Likewise.
23743 (_G_off_t): Likewise.
23744 (_G_pid_t): Likewise.
23745 (_G_uid_t): Likewise.
23746 (_G_wchar_t): Likewise.
23747 (_G_wint_t): Likewise.
23748
9fab36eb
SP
237492012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23750
23751 * malloc/arena.c: Include malloc-sysdep.h.
23752 (shrink_heap): Use check_may_shrink_heap to decide if madvise
23753 is sufficient to shrink the heap or an unmap is needed.
23754 * sysdeps/generic/malloc-sysdep.h: New file. Define
23755 new function check_may_shrink_heap.
23756 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
23757 new function check_may_shrink_heap.
23758
2b4f00d1
SP
237592012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
23760
23761 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
23762 comments.
23763
9a9028b1
DL
237642012-09-24 Dmitry V. Levin <ldv@altlinux.org>
23765
57c69bef
DL
23766 * catgets/test-gencat.sh: Add "set -e".
23767 * elf/tst-pathopt.sh: Likewise.
23768 * grp/tst_fgetgrent.sh: Likewise.
23769 * iconvdata/run-iconv-test.sh: Likewise.
23770 * intl/tst-gettext.sh: Likewise.
23771 * intl/tst-gettext2.sh: Likewise.
23772 * intl/tst-gettext4.sh: Likewise.
23773 * intl/tst-gettext6.sh: Likewise.
23774 * intl/tst-translit.sh: Likewise.
23775 * io/ftwtest-sh: Likewise.
23776 * libio/test-freopen.sh: Likewise.
23777 * malloc/tst-mtrace.sh: Likewise.
23778 * posix/globtest.sh: Likewise.
23779 * posix/tst-getconf.sh: Likewise.
23780 * posix/wordexp-tst.sh: Likewise.
23781 * stdio-common/tst-printf.sh: Likewise.
23782 * stdio-common/tst-unbputc.sh: Likewise.
23783 * stdlib/tst-fmtmsg.sh: Likewise.
23784 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23785 * catgets/Makefile: Do not specify -e option when running
23786 testsuite shell scripts.
23787 * elf/Makefile: Likewise.
23788 * grp/Makefile: Likewise.
23789 * iconvdata/Makefile: Likewise.
23790 * intl/Makefile: Likewise.
23791 * io/Makefile: Likewise.
23792 * libio/Makefile: Likewise.
23793 * malloc/Makefile: Likewise.
23794 * posix/Makefile: Likewise.
23795 * stdio-common/Makefile: Likewise.
23796 * stdlib/Makefile: Likewise.
23797 * sysdeps/x86_64/Makefile: Likewise.
23798
9a9028b1
DL
23799 * io/ftwtest-sh: Add copyright header.
23800 * posix/globtest.sh: Likewise.
23801 * posix/tst-getconf.sh: Likewise.
23802 * posix/wordexp-tst.sh: Likewise.
23803 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
23804
ced6f16e
L
238052012-09-24 H.J. Lu <hongjiu.lu@intel.com>
23806
94b32c39
L
23807 [BZ #13679]
23808 * Makeconfig (+link): Defined as $(+link-static) if
23809 $(build-shared) isn't yes.
23810 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
23811 isn't yes.
23812 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
23813
189e935b
L
23814 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
23815
ced6f16e
L
23816 [BZ #14562]
23817 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
23818 new chunk size with MALLOC_ALIGN_MASK.
23819
a9f8e53a
JM
238202012-09-24 Joseph Myers <joseph@codesourcery.com>
23821
23822 [BZ #5044]
23823 * stdio-common/printf_fphex.c: Include <stdbool.h> and
23824 <rounding-mode.h>.
23825 (__printf_fphex): Determine rounding using get_rounding_mode and
23826 round_away.
23827 * stdio-common/tst-printf-round.c (struct hex_test): New
23828 structure.
23829 (hex_tests): New variable.
23830 (test_hex_in_one_mode): New function.
23831 (do_test): Also run tests for hex float output.
23832
43153109
JM
238332012-09-21 Joseph Myers <joseph@codesourcery.com>
23834
23835 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23836 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23837 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
23838 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
23839 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
23840 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
23841 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23842 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
23843
8a26625d
JM
238442012-09-20 Joseph Myers <joseph@codesourcery.com>
23845
23846 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
23847 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
23848 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
23849 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
23850
f3fd569c
DL
238512012-09-19 Dmitry V. Levin <ldv@altlinux.org>
23852
23853 [BZ #14579]
23854 * elf/rtld.c (dl_main): Limit the check for self loading to normal
23855 mode only.
23856 * elf/tst-rtld-load-self.sh: New test.
23857 * elf/Makefile: Run it.
23858
63bbedd4
JM
238592012-09-18 Joseph Myers <joseph@codesourcery.com>
23860
23861 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
23862 (tst-writev-ENV): Remove.
23863 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
23864
626f8b6a
CM
238652012-09-17 Chris Metcalf <cmetcalf@tilera.com>
23866
23867 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
23868
b7aaa4d6
JM
238692012-09-17 Joseph Myers <joseph@codesourcery.com>
23870
23871 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
23872 unconditional.
23873 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
23874 Likewise.
23875 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
23876 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
23877 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
23878 Likewise.
23879
65513990
L
238802012-09-14 H.J. Lu <hongjiu.lu@intel.com>
23881
23882 [BZ #14587]
23883 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
23884 * config.make.in (have-cpp-asm-debuginfo): Removed.
23885 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
23886 * configure: Regenerated.
23887
784761be
JM
238882012-09-14 Joseph Myers <joseph@codesourcery.com>
23889
23890 [BZ #5044]
23891 * stdio-common/printf_fp.c: Include <stdbool.h> and
23892 <rounding-mode.h>.
23893 (___printf_fp): Determine rounding using get_rounding_mode and
23894 round_away.
23895 * stdio-common/tst-printf-round.c: New file.
23896 * stdio-common/Makefile (tests): Add tst-printf-round.
23897 (link-libm): New variable.
23898 ($(objpfx)tst-printf-round): Depend in $(link-libm).
23899
9503345f
L
239002012-09-13 H.J. Lu <hongjiu.lu@intel.com>
23901
23902 [BZ #14576]
23903 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
23904 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
23905 Likewise.
23906 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
23907 Likewise.
23908
ad35fc00
JM
239092012-09-13 Joseph Myers <joseph@codesourcery.com>
23910
23911 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
23912 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23913 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23914 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
23915
6c9b0f68
JM
239162012-09-12 Joseph Myers <joseph@codesourcery.com>
23917
23918 [BZ #14518]
23919 * include/rounding-mode.h: New file.
23920 * sysdeps/generic/get-rounding-mode.h: Likewise.
23921 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
23922 * stdlib/strtod_l.c: Include <rounding-mode.h>.
23923 (MAX_VALUE): New macro.
23924 (MIN_VALUE): Likewise.
23925 (overflow_value): New function.
23926 (underflow_value): Likewise.
23927 (round_and_return): Use overflow_value and underflow_value to
23928 determine return values in overflow and underflow cases. Use
23929 round_away to determine rounding depending on rounding mode.
23930 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
23931 determine return values in overflow and underflow cases.
23932 * stdlib/tst-strtod-round.c: Include <fenv.h>.
23933 (struct test_results): New structure.
23934 (struct test): Use struct test_results to store expected results
23935 for all rounding modes.
23936 (TEST): Include expected results for all rounding modes.
23937 (test_in_one_mode): New function.
23938 (do_test): Use test_in_one_mode to compute and check results.
23939 Check results for all rounding modes.
23940 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
23941 $(link-libm).
23942
19fcedd5
AM
239432012-12-09 Allan McRae <allan@archlinux.org>
23944
1e9d84cd 23945 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 23946
8bbfd2f1
JM
239472012-09-11 Joseph Myers <joseph@codesourcery.com>
23948
23949 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
23950 (_G_int32_t): Likewise.
23951 (_G_uint16_t): Likewise.
23952 (_G_uint32_t): Likewise.
23953 (_G_HAVE_BOOL): Likewise.
23954 (_G_HAVE_ATEXIT): Likewise.
23955 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23956 (_G_HAVE_IO_FILE_OPEN): Likewise.
23957 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
23958 (_G_int32_t): Likewise.
23959 (_G_uint16_t): Likewise.
23960 (_G_uint32_t): Likewise.
23961 (_G_HAVE_BOOL): Likewise.
23962 (_G_HAVE_ATEXIT): Likewise.
23963 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23964 (_G_HAVE_IO_FILE_OPEN): Likewise.
23965 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
23966 (_G_int32_t): Likewise.
23967 (_G_uint16_t): Likewise.
23968 (_G_uint32_t): Likewise.
23969 (_G_HAVE_BOOL): Likewise.
23970 (_G_HAVE_ATEXIT): Likewise.
23971 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
23972 (_G_HAVE_IO_FILE_OPEN): Likewise.
23973
b1dc5912
L
239742012-09-11 H.J. Lu <hongjiu.lu@intel.com>
23975
23976 * csu/libc-tls.c: Update copyright years.
23977
0e886ef9
JM
239782012-09-10 Joseph Myers <joseph@codesourcery.com>
23979
28361c5e
JM
23980 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
23981 [!_G_USING_THUNKS]: Remove conditional code.
23982 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
23983 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
23984
0e886ef9
JM
23985 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
23986 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
23987 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23988 (_G_VTABLE_LABEL_PREFIX): Likewise.
23989 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23990 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23991 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23992 (_G_VTABLE_LABEL_PREFIX): Likewise.
23993 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23994 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
23995 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
23996 (_G_VTABLE_LABEL_PREFIX): Likewise.
23997 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
23998
bcba7aa2
L
239992012-09-10 H.J. Lu <hongjiu.lu@intel.com>
24000
24001 * libio/Makefile: Include ../Makeconfig before tests.
24002 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
24003 only if $(build-shared) is yes.
24004
06585ee8
L
24005 * iconv/gconv_db.c: Update copyright years.
24006
80ccd52c
LD
240072012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24008
24009 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
24010 unwind info if defined PIC. Fix special cases description.
24011 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
24012
24013 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
24014 DP_HI_MASK entry.
24015 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
24016
691bc9c1
L
240172012-09-07 H.J. Lu <hongjiu.lu@intel.com>
24018
3d9b46b3
L
24019 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
24020
de2139a9
L
24021 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
24022 is NULL.
24023
5ca78dd0
L
24024 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
24025 (LDLIBS-tst-chk4): This.
24026 (LDFLAGS-tst-chk5): Renamed to ...
24027 (LDLIBS-tst-chk5): This.
24028 (LDFLAGS-tst-chk6): Renamed to ...
24029 (LDLIBS-tst-chk6): This.
24030 (LDFLAGS-tst-lfschk4): Renamed to ...
24031 (LDLIBS-tst-lfschk4): This.
24032 (LDFLAGS-tst-lfschk5): Renamed to ...
24033 (LDLIBS-tst-lfschk5): This.
24034 (LDFLAGS-tst-lfschk6): Renamed to ...
24035 (LDLIBS-tst-lfschk6): This.
24036
691bc9c1
L
24037 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
24038 on $(common-objpfx)soversions.mk.
24039
65cafb1c
JM
240402012-09-07 Joseph Myers <joseph@codesourcery.com>
24041
24042 [BZ #10014]
24043 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
24044 example host name.
24045
c78ab094
SP
240462012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
24047
24048 * malloc/arena.c (arena_get_retry): New function that gets
24049 another arena for the caller to try its request on.
24050 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
24051 current arena cannot fulfill the request.
24052 (__libc_memalign): Likewise.
24053 (__libc_memalign): Likewise.
24054 (__libc_pvalloc): Likewise.
24055 (__libc_calloc): Likewise.
24056
01f49f59
JT
240572012-09-05 John Tobey <john.tobey@gmail.com>
24058
24059 [BZ #13542]
24060 * manual/arith.texi (Operations on Complex): Fix description
24061 of carg branch cut.
24062
4c23fed5
JM
240632012-09-06 Joseph Myers <joseph@codesourcery.com>
24064
1d3c8572
JM
24065 [BZ #10014]
24066 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
24067 host name.
24068
4c23fed5
JM
24069 [BZ #10038]
24070 * manual/memory.texi (Memory): Make order of menu items match
24071 order of sections.
24072
04570aaa
L
240732012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24074
24075 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
24076 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
24077 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
24078
b80af2f4
L
240792012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24080
24081 * csu/libc-tls.c (static_dtv): Renamed to ...
24082 (_dl_static_dtv): This. Make it global.
24083 (_dl_initial_dtv): Removed.
24084 (__libc_setup_tls): Updated.
24085 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
24086 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
24087 DL_INITIAL_DTV.
24088
2abe9f15
PM
240892012-09-06 Petr Machata <pmachata@redhat.com>
24090
24091 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
24092 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
24093 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
24094 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
24095
0948c3af
L
240962012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24097
24098 [BZ #14545]
24099 * csu/libc-tls.c (_dl_initial_dtv): New variable.
24100 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
24101 freeing dtv[-1].
24102
a5055ad1
L
241032012-09-06 H.J. Lu <hongjiu.lu@intel.com>
24104
24105 [BZ #14544]
24106 * Makeconfig (link-static-before-libc): Replace $(+prector)
24107 with $(+prectorT).
24108 (link-static-after-libc): Replace $(+postctor) with
24109 $(+postctorT).
24110 (link-bounded): Replace $(+prector)/$(+postctor) with
24111 $(+prectorT)/$(+postctorT).
24112 (+prectorT): New macro.
24113 (+postctorT): Likewise.
24114
ed8c2ecd
JM
241152012-09-06 Joseph Myers <joseph@codesourcery.com>
24116
24117 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
24118 (round_str): Handle values above the maximum for IBM long double
24119 as inexact.
24120 * stdlib/tst-strtod-round.c (tests): Regenerated.
24121
14c996c8
AK
241222012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24123
24124 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
24125 assembler flag.
24126 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
24127 zarch_nohighgprs around the zarch optimized routines.
24128 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
24129 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
24130 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
24131 for zarch.
24132
430d6ce6
DM
241332012-09-05 David S. Miller <davem@davemloft.net>
24134
24135 * sysdeps/sparc/fpu/libm-test-ulps: Update.
24136
ff04dda4
DM
24137 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
24138 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
24139 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
24140 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
24141 entries.
24142
24d4e01b
AO
241432012-09-05 Alexandre Oliva <aoliva@redhat.com>
24144
24145 * malloc/arena.c: Fold copyright years.
24146 * malloc/mcheck.c, malloc/memusage.c: Likewise.
24147
61d58174
AO
241482012-09-05 Alexandre Oliva <aoliva@redhat.com>
24149
24150 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
24151
20196a5e
AO
241522012-09-05 Alexandre Oliva <aoliva@redhat.com>
24153
24154 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
24155
5c447383
AO
241562012-09-05 Alexandre Oliva <aoliva@redhat.com>
24157
24158 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
24159 change internal state upon failure.
24160
fad64255
AO
241612012-09-05 Alexandre Oliva <aoliva@redhat.com>
24162
24163 * malloc/mcheck.c (mcheck_check_all): Fix typo.
24164 * malloc/memusage.c (mmap): Likewise.
24165 (mmap64, mremap): Likewise. Adjust name in comment.
24166
1ffb8c90
SP
241672012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24168
24169 * libio/fileops.c: Fix typos in comments.
24170 * libio/oldfileops.c: Likewise.
24171 * libio/wfileops.c: Likewise.
24172
6ef9cc37
SP
241732012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
24174
24175 [BZ #1349]
24176 * malloc/Makefile (tests): Add tst-malloc-usable test case.
24177 (tst-malloc-usable-ENV): Set environment for test case.
24178 * malloc/hooks.c (malloc_check_get_size): New function to get
24179 requested size.
24180 * malloc/malloc.c (musable): Use malloc_check_get_size.
24181 * malloc/tst-malloc-usable.c: New test case.
24182
4d038ae3
AS
241832012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24184
24185 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
24186
c4e85184
AM
241872012-09-05 Allan McRae <allan@archlinux.org>
24188
b9dafc56 24189 [BZ #13966]
c4e85184
AM
24190 * configure.in (CXX_SYSINCLUDES): Use compiler output to
24191 determine header location.
24192 * configure: Regenerated.
24193
e1343020
AS
241942012-09-05 Andreas Schwab <schwab@linux-m68k.org>
24195
24196 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
24197 float format.
24198 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
24199 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
24200 format.
e1343020
AS
24201 (test): Regenerate.
24202
0a9f1987
DM
242032012-09-04 David S. Miller <davem@davemloft.net>
24204
24205 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
24206 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
24207 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
24208
29237804
FW
242092012-09-04 Florian Weimer <fweimer@redhat.com>
24210
24211 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
24212 failures.
24213
edb3cb88
FW
24214 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
24215
60160d83
JM
242162012-09-04 Joseph Myers <joseph@codesourcery.com>
24217
24218 [BZ #9914]
24219 * libio/iogetdelim.c: Include <limits.h>.
24220 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
24221 + len + 1 would overflow.
24222
bcd6c8dc
AJ
242232012-09-03 Andreas Jaeger <aj@suse.de>
24224
24225 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24226 * sysdeps/i386/fpu/libm-test-ulps: Update.
24227
4ffffbd2
LD
242282012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24229
24230 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
24231 Add s_sinf-sse2, s_conf-sse2.
24232
24233 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
24234 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
24235 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
24236 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
24237
24238 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
24239 for using routine as __sinf_ia32.
24240 Use macro for function declaration and weak_alias.
24241 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
24242 for using routine as __cosf_ia32.
24243 Use macro for function declaration and weak_alias.
24244
24245 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
24246 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
24247
24248 * sysdeps/x86_64/fpu/s_sinf.S: New file.
24249 * sysdeps/x86_64/fpu/s_cosf.S: New file.
24250 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24251
24252 * math/libm-test.inc (cos_test): Add more test cases.
24253 (sin_test): Likewise.
24254 (sincos_test): Likewise.
24255
511fa286
AK
242562012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24257
24258 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
24259 (IFUNC_RESOLVE): Make pointers to the specialized implementations
24260 hidden.
24261 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
24262
5f30cfec
L
242632012-09-02 H.J. Lu <hongjiu.lu@intel.com>
24264
24265 [BZ #14538]
24266 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
24267 first element of the GOT.
24268 (elf_machine_load_address): Return the difference between
24269 the runtime address of _DYNAMIC and elf_machine_dynamic ().
24270
0786794f
AM
242712012-09-01 Allan McRae <allan@archlinux.org>
24272
5f30cfec
L
24273 [BZ #13412]
24274 * configure.in (AWK): Require gawk version 3.0 or later.
24275 * configure: Regenerated.
0786794f 24276
26889eac
JM
242772012-09-01 Joseph Myers <joseph@codesourcery.com>
24278
24279 * sysdeps/unix/sysv/linux/kernel-features.h
24280 (__ASSUME_POSIX_CPU_TIMERS): Remove.
24281 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24282 [__NR_clock_getres]: Make code unconditional.
24283 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
24284 (clock_getcpuclockid): Remove code left unreachable by removal of
24285 conditionals.
24286 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
24287 code unconditional.
24288 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24289 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24290 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
24291 Make code unconditional.
24292 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
24293 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24294 * sysdeps/unix/sysv/linux/clock_settime.c
24295 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
24296 conditional code.
24297 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
24298 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
24299
d22e28b0
L
243002012-08-29 H.J. Lu <hongjiu.lu@intel.com>
24301
24302 [BZ #14476]
24303 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
24304 scripts/test-installation.pl.
24305
24306 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
24307 and $ld_so_version if it is set.
24308
050af9c4
SP
243092012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
24310
24311 [BZ #14516]
24312 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
24313 failure if reading from procfs failed.
24314 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
24315
ad845c0b
JM
243162012-08-27 Joseph Myers <joseph@codesourcery.com>
24317
24318 * sysdeps/unix/sysv/linux/kernel-features.h
24319 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
24320 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24321 Remove conditional code.
24322 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24323 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
24324 Remove conditional code.
24325 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24326 * sysdeps/unix/sysv/linux/i386/fxstat.c
24327 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24328 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24329 * sysdeps/unix/sysv/linux/i386/fxstatat.c
24330 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24331 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24332 * sysdeps/unix/sysv/linux/i386/lxstat.c
24333 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
24334 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24335 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
24336 Remove conditional code.
24337 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24338 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
24339 Remove conditional code.
24340 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24341 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
24342 <kernel-features.h>.
24343 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
24344 Remove.
24345 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
24346 Remove conditional code.
24347 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
24348 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
24349 Remove conditional.
24350
5dbf56af
MF
243512012-08-27 Mike Frysinger <vapier@gentoo.org>
24352
24353 [BZ #5400]
24354 * NEWS: Add fixed bug number.
24355
d6e70f43
JM
243562012-08-27 Joseph Myers <joseph@codesourcery.com>
24357
7efb4737
JM
24358 [BZ #14519]
24359 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
24360 underflowing exponent in case of negative sign.
24361 * stdlib/tst-strtod-round-data: Add more tests.
24362 * stdlib/tst-strtod-round.c (tests): Regenerated.
24363
af92131a
JM
24364 [BZ #3479]
24365 * stdlib/strtod_l.c (NDIG): Remove.
24366 (HEXNDIG): Likewise.
24367 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
24368 smallest representable value.
24369 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
24370 lie within an exact representation of 1/2 ulp of the result.
24371 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
24372 unconditionally.
24373 (TENS_P9_IDX): Define unconditionally.
24374 (TENS_P9_SIZE): Likewise.
24375 (TENS_P10_IDX): Likewise.
24376 (TENS_P10_SIZE): Likewise.
24377 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
24378 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
24379 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
24380 entries for 10^2^13 and 10^2^14.
24381 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
24382 (TENS_P13_IDX): Define.
24383 (TENS_P13_SIZE): Likewise.
24384 (TENS_P14_IDX): Likewise.
24385 (TENS_P14_SIZE): Likewise.
24386 (_fpioconst_pow10): Change array size to
24387 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
24388 unconditional.
24389 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
24390 1024]: Add entries for 10^2^13 and 10^2^14.
24391 [LAST_POW10 > _LAST_POW10]: Remove #error.
24392 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
24393 (_fpioconst_pow10): Change array size to
24394 FPIOCONST_POW10_ARRAY_SIZE.
24395 * stdlib/gen-fpioconst.c: New file.
24396 * stdlib/gen-tst-strtod-round.c: Likewise.
24397 * stdlib/tst-strtod-round-data: Likewise.
24398 * stdlib/tst-strtod-round.c: Likewise.
24399 * stdlib/Makefile (tests): Add tst-strtod-round.
24400
d6e70f43
JM
24401 [BZ #14459]
24402 * stdlib/strtod_l.c: Include <stdint.h>.
24403 (NDEBUG): Do not define.
24404 (round_and_return): Change EXPONENT parameter to type intmax_t.
24405 Rearrange calculations to avoid internal overflow possibilities.
24406 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
24407 Rearrange calculations to avoid internal overflow possibilities.
24408 Assert that number fits inside MPNSIZE limbs.
24409 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
24410 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
24411 calculations and add assertions to avoid internal overflow
24412 possibilities. Add casts to avoid signed/unsigned operations.
24413 * stdlib/tst-strtod-overflow.c: New file.
24414 * stdlib/Makefile (tests): Add tst-strtod-overflow.
24415
1f529f7d
MP
244162012-08-25 Marek Polacek <polacek@redhat.com>
24417
24418 * time/time.h: Fix some typos in comments.
24419
59a629f1
RM
244202012-08-23 Roland McGrath <roland@hack.frob.com>
24421
24422 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
24423 * posix/tst-rfc3484-2.c: Likewise.
24424 * posix/tst-rfc3484-3.c: Likewise.
24425
d3bafbc9
SM
244262012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
24427
24428 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
24429 (EF_ARM_ABI_FLOAT_HARD): Likewise.
24430
4efcc022
JM
244312012-08-23 Joseph Myers <joseph@codesourcery.com>
24432
24433 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
24434 #include of fxstatat64.c.
24435
3cc3ef96
RM
244362012-08-22 Roland McGrath <roland@hack.frob.com>
24437
f04e2132
RM
24438 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
24439 * shadow/getspent_r.c: Likewise.
24440 * shadow/getspnam.c: Likewise.
24441 * shadow/getspnam_r.c: Likewise.
24442 * gshadow/getsgent.c: Likewise.
24443 * gshadow/getsgent_r.c: Likewise.
24444 * gshadow/getsgnam.c: Likewise.
24445 * gshadow/getsgnam_r.c: Likewise.
24446 * inet/getnetbyad.c: Likewise.
24447 * inet/getnetbyad_r.c: Likewise.
24448 * inet/getnetbynm.c: Likewise.
24449 * inet/getnetbynm_r.c: Likewise.
24450 * inet/getnetent.c: Likewise.
24451 * inet/getnetent_r.c: Likewise.
24452 * inet/getproto.c: Likewise.
24453 * inet/getproto_r.c: Likewise.
24454 * inet/getprtent.c: Likewise.
24455 * inet/getprtent_r.c: Likewise.
24456 * inet/getprtname.c: Likewise.
24457 * inet/getprtname_r.c: Likewise.
24458 * inet/getrpcbyname.c: Likewise.
24459 * inet/getrpcbyname_r.c: Likewise.
24460 * inet/getrpcbynumber.c: Likewise.
24461 * inet/getrpcbynumber_r.c: Likewise.
24462 * inet/getrpcent.c: Likewise.
24463 * inet/getrpcent_r.c: Likewise.
24464 * inet/getaliasent.c: Likewise.
24465 * inet/getaliasent_r.c: Likewise.
24466 * inet/getaliasname.c: Likewise.
24467 * inet/getaliasname_r.c: Likewise.
24468 * nscd/getgrgid_r.c: Likewise.
24469 * nscd/getgrnam_r.c: Likewise.
24470 * nscd/gethstbyad_r.c: Likewise.
24471 * nscd/gethstbynm3_r.c: Likewise.
24472 * nscd/getpwnam_r.c: Likewise.
24473 * nscd/getpwuid_r.c: Likewise.
24474 * nscd/getsrvbynm_r.c: Likewise.
24475 * nscd/getsrvbypt_r.c: Likewise.
24476 * nscd/gai.c: Likewise.
24477
c53d909c
RM
24478 * configure.in (build_nscd): New substituted variable, set
24479 by --disable-build-nscd and defaults to $use_nscd.
24480 * configure: Regenerated.
24481 * config.make.in (build-nscd): New substituted variable.
24482 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
24483 Change conditional to require [$(build-nscd) = yes] as well.
24484 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
24485
3cc3ef96
RM
24486 [BZ# 13696]
24487 * configure.in (use_nscd): New substituted variable, set by
24488 --disable-nscd. If enabled, define USE_NSCD.
24489 * configure: Regenerated.
24490 * config.h.in: Add USE_NSCD.
24491 * config.make.in (use-nscd): New substituted variable.
24492 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
24493 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
24494 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
24495 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
24496 (CFLAGS-getgrnam_r.c): Likewise.
24497 (CFLAGS-initgroups.c): Likewise.
24498 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
24499 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
24500 Variables removed.
24501 * inet/getnetgrent_r.c
24502 (nscd_setnetgrent): New function, broken out of ...
24503 (setnetgrent): ... here. Call it.
24504 (innetgr): Conditionalize nscd bits on [USE_NSCD].
24505 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
24506 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
24507 * nscd/Makefile (routines, aux): Move definitions after include of
24508 Makeconfig. Conditionalize on [$(use-nscd) != no].
24509 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
24510 Conditionalize on [USE_NSCD].
24511 (is_nscd, nscd_init_cb): Likewise.
24512 (nss_load_library): Conditionalize init callback on [USE_NSCD].
24513 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
24514 * nss/nss_db/db-init.c: Likewise.
24515 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
24516 [USE_NSCD].
24517 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
24518 (make_request): Use it.
24519 (cache_valid_p): New function.
24520 (__check_pf): Use it.
24521 * NEWS: Add item for --disable-nscd.
24522
07e51550
DL
245232012-08-22 Dmitry V. Levin <ldv@altlinux.org>
24524
24525 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
24526 to support sed >= 4.2.1-20-ga9bf076.
24527 * configure: Regenerated.
24528
35a5b08b
RM
245292012-08-22 Roland McGrath <roland@hack.frob.com>
24530
24531 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
24532 Conditionalize whole body on [IREL].
24533
8479f23a
JL
245342012-08-22 Jeff Law <law@redhat.com>
24535
24536 [BZ #14505]
24537 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
24538 if the family is PF_UNSPEC.
24539
48da0b21
MF
245402012-08-22 Mike Frysinger <vapier@gentoo.org>
24541
24542 * Makerules (lib-version): Rename from V.
24543 (install-lib-nosubdir): Change V to lib-version.
24544
15d0da8c
WS
245452012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
24546
24547 [BZ #14252]
24548 * powerpc32/power6/wcschr.c: New file.
24549 * powerpc32/power6/wcscpy.c: New file.
24550 * powerpc32/power6/wcsrchr.c: New file.
24551 * powerpc64/power6/wcschr.c: New file.
24552 * powerpc64/power6/wcscpy.c: New file.
24553 * powerpc64/power6/wcsrchr.c: New file.
24554
bcca0895
MK
245552012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24556
24557 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
24558 (two_way_short_needle): Use it.
5a4aaa33
RM
24559 * string/strstr.c (AVAILABLE1_USES_J): Define.
24560 * string/strcasestr.c: Likewise.
99677e57
MK
24561
24562 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
24563 array references.
24564 * string/strcasestr.c (TOLOWER): Make side-effect safe.
24565
400726de
MK
24566 [BZ #11607]
24567 * NEWS: Add an entry.
24568 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
24569 define their defaults.
24570 (two_way_short_needle): Detect end-of-string on-the-fly.
24571 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
24572 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
24573 * string/bug-strcasestr1.c: New test.
24574 * string/Makefile: Run it.
24575
20a71f2c
MK
245762012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
24577
24578 [BZ #11607]
24579 * string/str-two-way.h (two_way_short_needle): Optimize matching of
24580 the first character.
24581
21ad0558
RM
245822012-08-21 Roland McGrath <roland@hack.frob.com>
24583
24584 * csu/elf-init.c (__libc_csu_irel): Function removed.
24585 * csu/libc-start.c (apply_irel): New function.
24586 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
24587
0e1d9911
JM
245882012-08-21 Joseph Myers <joseph@codesourcery.com>
24589
24590 * sysdeps/unix/sysv/linux/kernel-features.h
24591 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
24592 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
24593 <kernel-features.h>.
24594 [__NR_fadvise64_64]: Make code unconditional.
24595 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
24596 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24597 !__NR_fadvise64_64)]: Likewise.
24598 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
24599 !__NR_fadvise64_64))]: Likewise.
24600 [__NR_fadvise64]: Make code unconditional.
24601 [!__NR_fadvise64]: Remove conditional code.
24602 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
24603 <kernel-features.h>.
24604 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24605 unconditional.
24606 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24607 conditional code.
24608 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
24609 not include <kernel-features.h>.
24610 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24611 unconditional.
24612 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24613 conditional code.
24614 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
24615 include <kernel-features.h>.
24616 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
24617 unconditional.
24618 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
24619 conditional code.
24620
14a50c9d
WS
246212012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
24622
24623 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
24624 slight instruction rearrangements per scrollpipe analysis.
24625 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
24626
c0f4faf0
RM
246272012-08-20 Roland McGrath <roland@hack.frob.com>
24628
696da859
RM
24629 * manual/syslog.texi (syslog; vsyslog, closelog):
24630 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
24631 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
24632
c0f4faf0
RM
24633 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
24634 DSOCAPS to match condition on defining it.
24635
348363b2
JM
246362012-08-20 Joseph Myers <joseph@codesourcery.com>
24637
a35cbf28
JM
24638 * sysdeps/unix/sysv/linux/kernel-features.h
24639 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
24640 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
24641 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24642 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
24644 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24645 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
24647 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
24648 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
24649
445f7ecd
JM
24650 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
24651 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
24652
348363b2
JM
24653 * sysdeps/unix/sysv/linux/kernel-features.h
24654 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
24655 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
24656 unconditional.
24657 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24658 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
24659 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24660 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24661 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
24662 Make code unconditional.
24663 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24664 (__mmap64) [!__NR_mmap2]: Likewise.
24665 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
24666 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
24667 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24668 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
24669 [__NR_mmap2]: Make code unconditional.
24670 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
24671 (__mmap64) [!__NR_mmap2]: Likewise.
24672
bc5bc0e5
AK
246732012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
24674
24675 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
24676
88d506de
AJ
246772012-08-18 Andreas Jaeger <aj@suse.de>
24678
24679 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
24680
493387d2
MF
246812012-08-18 Mike Frysinger <vapier@gentoo.org>
24682
24683 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
24684 * include/unistd.h (__have_sock_cloexec): Likewise.
24685 (__have_pipe2): Likewise.
24686 (__have_dup3): Likewise.
24687
a277af22
MF
246882012-08-18 Mike Frysinger <vapier@gentoo.org>
24689
24690 [BZ #9685]
24691 * include/unistd.h (__have_pipe2): Change define into an extern int.
24692 (__have_dup3): Likewise.
24693 * socket/have_sock_cloexec.c: Include fcntl.h.
24694 (__have_pipe2): New variable.
24695 (__have_dup3): Likewise.
24696
fdab8fd3
MF
246972012-08-17 Mike Frysinger <vapier@gentoo.org>
24698
24699 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
24700
31035e80
MP
247012012-08-17 Marek Polacek <polacek@redhat.com>
24702
24703 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
24704 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
24705
3bd9e993
RM
247062012-08-17 Roland McGrath <roland@hack.frob.com>
24707
c91c505f
RM
24708 * configure.in: Add AC_SUBST for sysheaders.
24709 * configure: Regenerated.
24710 * config.make.in (sysheaders): New substituted variable.
24711
7c6f9d53
RM
24712 * sysdeps/unix/mkfifo.c: Moved ...
24713 * sysdeps/posix/mkfifo.c: ... here.
24714 * sysdeps/unix/mkfifoat.c: Moved ...
24715 * sysdeps/posix/mkfifoat.c: ... here.
24716
24717 * sysdeps/unix/utime.c: Moved ...
24718 * sysdeps/posix/utime.c: ... here.
24719
24720 * sysdeps/unix/time.c: Moved ...
24721 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
24722 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
24723 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
24724
24725 * sysdeps/unix/nice.c: Moved ...
24726 * sysdeps/posix/nice.c: ... here.
24727
24728 * sysdeps/unix/alarm.c: Moved ...
24729 * sysdeps/posix/alarm.c: ... here.
24730
3bd9e993
RM
24731 * intl/Makefile ($(codeset_mo)): Depend on the input file.
24732
d1f09384
JL
247332012-08-17 Jeff Law <law@redhat.com>
24734
24735 * intl/Makefile (codeset_mo): New variable.
24736 ($(codeset_mo)): New target.
24737 (tst-codeset.out): Depend on that. Remove explicit rule.
24738 (tst-gettext3.out, tst-gettext5.out): Likewise.
24739 (LOCPATH-ENV, tst-codeset-ENV): New variables.
24740 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
24741 * intl/tst-codeset.sh: Remove.
24742 * intl/tst-gettext3.sh: Likewise.
24743 * intl/tst-gettext5.sh: Likewise.
24744
2ae1ae5c
RM
247452012-08-17 Roland McGrath <roland@hack.frob.com>
24746
c31fdb83
RM
24747 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
24748 * sysdeps/unix/syscalls.list: ... here.
24749
a0844057
RM
24750 * sysdeps/posix/getaddrinfo.c
24751 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
24752 (gaiconf_init, gaiconf_reload): Use them.
24753 [!_STATBUF_ST_NSEC]
24754 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
24755 Define using time_t rather than struct timespec.
24756
750c1f2a
RM
24757 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
24758 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
24759 Macros removed.
24760 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
24761 [!NO_THREADS].
24762 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
24763 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
24764 Likewise.
24765
2ae1ae5c
RM
24766 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
24767 __libc_cleanup_push argument.
24768
e66a42f5
RM
24769 * bits/param.h: New file.
24770 * misc/sys/param.h: New file.
24771 * include/sys/param.h: New file.
24772 * misc/Makefile (headers): Add bits/param.h.
24773 * sysdeps/generic/sys/param.h: File removed.
24774 * sysdeps/unix/sysv/linux/bits/param.h: New file.
24775 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
24776 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 24777 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 24778
b7c08a66
RM
24779 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
24780 last change.
24781
b2e1c562
RM
24782 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
24783 [_IO_MTSAFE_IO].
24784 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
24785 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
24786 New macros.
24787
c75ccd4c
RM
24788 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
24789 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
24790 rather than -D_IO_MTSAFE_IO conditionally.
24791 * stdio-common/Makefile (CPPFLAGS): Likewise.
24792 * wcsmbs/Makefile (CPPFLAGS): Likewise.
24793 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
24794 Use $(libio-mtsafe).
24795 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
24796 of -D_IO_MTSAFE_IO.
24797 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
24798 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
24799 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
24800 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
24801 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
24802 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
24803 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
24804 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
24805 (CFLAGS-fread_u_chk.c): Likewise.
24806 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
24807 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
24808 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
24809 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
24810 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
24811 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
24812 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
24813 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
24814 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
24815
24816 * libio/Makefile: Test [$(libc-reentrant) = yes]
24817 instead of [$(filter %REENTRANT, $(defines)) nonempty].
24818
24819 * Makeconfig
24820 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
24821 * sysdeps/pthread/configure: File removed.
24822 * sysdeps/pthread/Makeconfig: New file.
24823 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
24824 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
24825
d9195db8
GB
248262012-08-16 Gary Benson <gbenson@redhat.com>
24827
24828 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
24829 unmapping the first object in a namespace.
24830
86466cd9
RM
248312012-08-16 Roland McGrath <roland@hack.frob.com>
24832
24833 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
24834 (__internal_setnetgrent): ... this. Add internal_function to
24835 definition. Add libc_hidden_def.
24836 (setnetgrent): Update caller.
24837 (internal_endnetgrent): Renamed to ...
24838 (__internal_endnetgrent): ... this. Add internal_function to
24839 definition. Add libc_hidden_def.
24840 (endnetgrent): Update caller.
24841 (internal_getnetgrent_r): Renamed to ...
24842 (__internal_getnetgrent_r): ... this. Add internal_function to
24843 definition. Add libc_hidden_def.
24844 (__getnetgrent_r): Update caller.
24845 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
24846
c3c8283c
JM
248472012-08-16 Joseph Myers <joseph@codesourcery.com>
24848
24849 * stdlib/longlong.h: Update from GCC.
24850
db1ee0a8
RM
248512012-08-16 Roland McGrath <roland@hack.frob.com>
24852
24853 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
24854 on _QL, which is set by umul_ppmm but never used.
24855 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
24856 variables, which are set by GMP macros but never used.
24857 * stdio-common/_itowa.c (_itowa): Likewise.
24858 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
24859 * stdlib/mod_1.c (mpn_mod_1): Likewise.
24860
30f69637
CD
248612012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
24862
24863 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
24864 struct La_sh_regs is not constant.
24865 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
24866 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
24867 and struct La_sparc64_regs are not constant.
24868
93a78ac4
JM
248692012-08-16 Joseph Myers <joseph@codesourcery.com>
24870
24871 * sysdeps/unix/sysv/linux/kernel-features.h
24872 (__ASSUME_POSIX_TIMERS): Remove.
24873 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
24874 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24875 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
24876 Make code unconditional.
24877 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24878 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
24879 Make code unconditional.
24880 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24881 * sysdeps/unix/sysv/linux/clock_nanosleep.c
24882 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
24883 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24884 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
24885 Make code unconditional.
24886 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
24887 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
24888 (__libc_missing_posix_timers): Remove.
24889
dd924cd7
RM
248902012-08-15 Roland McGrath <roland@hack.frob.com>
24891
4b4f2771
RM
24892 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
24893 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
24894
601c888b
RM
24895 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
24896
176790a7
RM
24897 * elf/dl-sym.c: Include <stdlib.h>.
24898
329bc018
RM
24899 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
24900 constants, which avoids warnings in 32-bit builds.
24901
e04e272d
RM
24902 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
24903 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
24904
952bf94a
RM
24905 * misc/lseek.c: File moved to ...
24906 * io/lseek.c: ... here.
24907
7c99b50a
RM
24908 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
24909
dd924cd7
RM
24910 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
24911 shifting LEN more than 31 bits at once.
24912
b3f479a8
LD
249132012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
24914
24915 [BZ #14195]
8c4ae0d4
RM
24916 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
24917 segmentation fault for a case of two empty input strings.
b3f479a8
LD
24918 * string/test-strncasecmp.c (check1): Renamed to...
24919 (bz12205): ...this.
24920 (bz14195): Add new testcase for two empty input strings and N > 0.
24921 (test_main): Call new testcase, adapt for renamed function.
24922
9c55864e
AJ
249232012-08-15 Andreas Jaeger <aj@suse.de>
24924
24925 [BZ #14090]
24926 * crypt/md5test2.c: New test, based on test supplied by Serge
24927 Belyshev <belyshev@depni.sinp.msu.ru>.
24928 * crypt/Makefile (xtests): Add md5test-giant..
24929 * crypt/Makefile ($(objpfx)md5test-giant): Add.
24930
02dcb6c5
PE
249312012-08-15 Paul Eggert <eggert@cs.ucla.edu>
24932
24933 [BZ #14090]
24934 * crypt/md5.c (md5_process_block): Don't assume the buffer
24935 length is less than 2**32.
24936 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
24937 length is less than 2**64.
24938
a3f95dcc
RM
249392012-08-15 Roland McGrath <roland@hack.frob.com>
24940
be75d758
RM
24941 * string/str-two-way.h: Include <sys/param.h>.
24942 (MAX): Macro removed.
24943
7312ca90
RM
24944 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
24945 Move #define and #undef of memmove to just before and after
24946 including <string.h>.
24947
9a0a5486
RM
24948 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
24949 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
24950 and after including <string.h>. Move declarations of
24951 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
24952 to before #include "string/memmove.c".
24953
67cc348d
RM
24954 * include/dirent.h: Declare __getdirentries.
24955
a3f95dcc
RM
24956 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
24957 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
24958
ca98e171
MF
249592012-08-14 Mike Frysinger <vapier@gentoo.org>
24960
24961 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
24962 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
24963 * sysdeps/i386/configure: Regenerated.
24964 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
24965 STABS_CURRENT_FILE, and STABS_FUN.
24966 (END): Remove call to STABS_FUN_END.
24967 (STABS_CURRENT_FILE1): Delete.
24968 (STABS_CURRENT_FILE): Likewise.
24969 (STABS_FUN): Likewise.
24970 (STABS_FUN_END): Likewise.
24971 (STABS_FUN2): Likewise.
24972 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
24973 * sysdeps/x86_64/configure: Regenerated.
24974
5908bf46
RM
249752012-08-14 Roland McGrath <roland@hack.frob.com>
24976
24977 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 24978 * elf/dl-lookup.c: Likewise.
5908bf46 24979
f2c05b9e
JM
249802012-08-14 Joseph Myers <joseph@codesourcery.com>
24981
24982 * sysdeps/unix/sysv/linux/kernel-features.h
24983 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
24984 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
24985 unconditionally.
24986 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
24987 unconditionally.
24988 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
24989 condition on __ASSUME_CLONE_THREAD_FLAGS.
24990
e11f5155
AJ
249912012-08-14 Andreas Jaeger <aj@suse.de>
24992
24993 * sysdeps/i386/fpu/libm-test-ulps: Update.
24994
51a9ba86
MK
249952012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
24996
2fdd4f78
AJ
24997 * include/atomic.h (atomic_exchange_and_add): Split into ...
24998 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
24999 New atomic macros.
51a9ba86 25000
ba6cba9e
MT
250012012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
25002
25003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25004
42443a47
JL
250052012-08-13 Jeff Law <law@redhat.com>
25006
25007 * manual/stdio.texi (snprintf): Clarify handling of the trailing
25008 null byte in the output string.
25009
121dce05
JM
250102012-08-10 Joseph Myers <joseph@codesourcery.com>
25011
25012 * sysdeps/unix/sysv/linux/kernel-features.h
25013 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
25014 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
25015 (__ASSUME_ARG_MAX_STACK_BASED): Define.
25016 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
25017 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
25018 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
25019 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
25020
bf51f568
JL
250212012-08-09 Jeff Law <law@redhat.com>
25022
25023 [BZ #13939]
25024 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
25025 When avoid_arena is set, don't retry in the that arena. Pick the
25026 next one, whatever it might be.
25027 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
25028 (arena_lock): Pass in new parameter to arena_get2.
25029 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
25030 arena_get2.
25031 (__libc_malloc): Unify retrying after main arena failure with
25032 __libc_memalign version.
25033 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
25034
f85fa270
L
250352012-08-09 H.J. Lu <hongjiu.lu@intel.com>
25036
25037 [BZ #14166]
25038 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
25039 to __redirect_strstr.
25040 (__strstr_sse42): Use typeof __redirect_strstr.
25041 (__strstr_ia32): Likewise.
25042 (__libc_strstr): New prototype.
25043 (strstr): Renamed to ...
25044 (__libc_strstr): This.
25045 (strstr): New strong alias of __libc_strstr.
25046 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
25047 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
25048 __redirect_time.
25049 Include <time.h>.
25050 (__libc_time): New prototype.
25051 (time_ifunc): Replace time with __libc_time.
25052 (time): New strong alias and hidden definition of __libc_time.
25053 (__GI_time): Remove strong alias.
25054 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
25055 Include <stddef.h>.
25056 (memmove): Redefined to __redirect_memmove.
25057 (__memmove_sse2): Use typeof __redirect_memmove.
25058 (__memmove_ssse3): Likewise.
25059 (__memmove_ssse3_back): Likewise.
25060 (__libc_memmove): New prototype.
25061 (memmove): Renamed to ...
25062 (__libc_memmove): This.
25063 (memmove): New strong alias of __libc_memmove.
25064
33b4a91e
MS
250652012-08-08 Mark Salter <msalter@redhat.com>
25066
25067 * elf/elf.h
25068 (R_MN10300_TLS_GD): Define.
25069 (R_MN10300_TLS_LD): Likewise.
25070 (R_MN10300_TLS_LDO): Likewise.
25071 (R_MN10300_TLS_GOTIE): Likewise.
25072 (R_MN10300_TLS_IE): Likewise.
25073 (R_MN10300_TLS_LE): Likewise.
25074 (R_MN10300_TLS_DTPMOD): Likewise.
25075 (R_MN10300_TLS_DTPOFF): Likewise.
25076 (R_MN10300_TLS_TPOFF): Likewise.
25077 (R_MN10300_SYM_DIFF): Likewise.
25078 (R_MN10300_ALIGN): Likewise.
25079 (R_MN10300_NUM): Update.
25080
b36137f1
JM
250812012-08-08 Joseph Myers <joseph@codesourcery.com>
25082
25083 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
25084 Remove.
25085
cdd915fd
RM
250862012-08-08 Roland McGrath <roland@hack.frob.com>
25087
a2433aac
RM
25088 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
25089
cdd915fd
RM
25090 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
25091 sysdeps/unix -> sysdeps/posix move.
25092 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25093
bf9b740a
AM
250942012-08-07 Allan McRae <allan@archlinux.org>
25095
25096 [BZ #14303]
25097 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
25098 (SUNOS_CPP): Likewise.
25099 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
25100 not found.
25101 (open_input): Call CPP using execvp.
25102
93df14ee
JM
251032012-08-07 Joseph Myers <joseph@codesourcery.com>
25104
25105 * sysdeps/unix/sysv/linux/kernel-features.h
25106 (__ASSUME_PROT_GROWSUPDOWN): Remove.
25107 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25108 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25109 (__ASSUME_WAITID_SYSCALL): Likewise.
25110 * sysdeps/unix/sysv/linux/dl-execstack.c
25111 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
25112 code unconditional.
25113 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
25114 conditional code.
25115 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
25116 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
25117 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
25118 code.
25119 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
25120 unconditional.
25121 [__ASSUME_WAITID_SYSCALL]: Likewise.
25122 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
25123
d34689de
RM
251242012-08-07 Roland McGrath <roland@hack.frob.com>
25125
a281decc
RM
25126 * sysdeps/unix/closedir.c: Renamed to ...
25127 * sysdeps/posix/closedir.c: ... here.
25128 * sysdeps/unix/dirfd.c: Renamed to ...
25129 * sysdeps/posix/dirfd.c: ... here.
25130 * sysdeps/unix/dirstream.h: Renamed to ...
25131 * sysdeps/posix/dirstream.h: ... here.
25132 * sysdeps/unix/fdopendir.c: Renamed to ...
25133 * sysdeps/posix/fdopendir.c: ... here.
25134 * sysdeps/unix/opendir.c: Renamed to ...
25135 * sysdeps/posix/opendir.c: ... here.
25136 * sysdeps/unix/readdir.c: Renamed to ...
25137 * sysdeps/posix/readdir.c: ... here.
25138 * sysdeps/unix/readdir_r.c: Renamed to ...
25139 * sysdeps/posix/readdir_r.c: ... here.
25140 * sysdeps/unix/rewinddir.c: Renamed to ...
25141 * sysdeps/posix/rewinddir.c: ... here.
25142 * sysdeps/unix/seekdir.c: Renamed to ...
25143 * sysdeps/posix/seekdir.c: ... here.
25144 * sysdeps/unix/telldir.c: Renamed to ...
25145 * sysdeps/posix/telldir.c: ... here.
25146 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
25147 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
25148 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
25149 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
25150
22895b47
RM
25151 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
25152 * bits/fcntl.h: ... here.
25153
707a53b6
RM
25154 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
25155 not 0.
25156 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
25157 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
25158 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
25159 (struct flock): Move l_start, l_len to the beginning.
25160 Use __pid_t for l_pid.
25161 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
25162 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
25163 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
25164 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
25165 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
25166 [__USE_LARGEFILE64] (struct flock64): New type.
25167 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
25168
f0bd3e25
RM
25169 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
25170 * bits/dirent.h: ... here.
25171
d34689de
RM
25172 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
25173 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
25174
6dad2c06
JM
251752012-08-07 Joseph Myers <joseph@codesourcery.com>
25176
25177 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25178 Change from 2.6.0 to 2.6.16.
25179 * sysdeps/unix/sysv/linux/configure: Regenerated.
25180 * sysdeps/unix/sysv/linux/kernel-features.h
25181 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
25182 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
25183 version.
25184 (__ASSUME_UTIMES): Likewise.
25185 (__ASSUME_CLONE_STOPPED): Remove.
25186 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
25187 architectures, not kernel version.
25188 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
25189 (__ASSUME_NO_CLONE_DETACHED): Likewise.
25190 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
25191 (__ASSUME_WAITID_SYSCALL): Likewise.
25192 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
25193 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
25194 * README: State 2.6.16 as minimum Linux kernel version. Do not
25195 refer to older versions.
25196
03af9520
RM
251972012-08-06 Roland McGrath <roland@hack.frob.com>
25198
8e49df1d
RM
25199 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
25200 Define alphasort64 as an alias.
25201 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
25202 Define versionsort64 as an alias.
25203 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
25204 Define scandir64 as an alias.
25205 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
25206 Define scandirat64 as an alias.
25207 * dirent/alphasort64.c (alphasort64):
25208 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
25209 * dirent/versionsort64.c: Likewise.
25210 * dirent/scandir64.c: Likewise.
25211 * dirent/scandirat64.c: Likewise.
25212 * sysdeps/wordsize-64/alphasort.c: File removed.
25213 * sysdeps/wordsize-64/alphasort64.c: File removed.
25214 * sysdeps/wordsize-64/scandir.c: File removed.
25215 * sysdeps/wordsize-64/scandir64.c: File removed.
25216 * sysdeps/wordsize-64/scandirat.c: File removed.
25217 * sysdeps/wordsize-64/scandirat64.c: File removed.
25218 * sysdeps/wordsize-64/versionsort.c: File removed.
25219 * sysdeps/wordsize-64/versionsort64.c: File removed.
25220 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
25221 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
25222 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
25223 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
25224 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
25225 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
25226 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
25227 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
25228
25229 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
25230 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25231 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
25232 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25233 [defined __arch64__ || defined __sparcv9]
25234 (__INO_T_MATCHES_INO64_T): New macro.
25235 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25236 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
25237 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
25238 * sysdeps/unix/sysv/linux/bits/dirent.h
25239 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
25240 (_DIRENT_MATCHES_DIRENT64): New macro.
25241
03af9520
RM
25242 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
25243 Define lockf64 as an alias.
25244 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
25245 Define fseeko64 as an alias.
25246 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
25247 Define ftello64 as an alias.
25248 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
25249 Define _IO_fgetpos64 and fgetpos64 as aliases.
25250 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
25251 Define _IO_fsetpos64 and fsetpos64 as aliases.
25252 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
25253 Conditionalize body on this.
25254 * libio/fseeko64.c: Likewise.
25255 * libio/ftello64.c: Likewise.
25256 * libio/iofgetpos64.c: Likewise.
25257 * libio/iofsetpos64.c: Likewise.
25258 * sysdeps/wordsize-64/lockf.c: File removed.
25259 * sysdeps/wordsize-64/lockf64.c: File removed.
25260 * sysdeps/wordsize-64/fseeko.c: File removed.
25261 * sysdeps/wordsize-64/fseeko64.c: File removed.
25262 * sysdeps/wordsize-64/ftello.c: File removed.
25263 * sysdeps/wordsize-64/ftello64.c: File removed.
25264 * sysdeps/wordsize-64/iofgetpos.c: File removed.
25265 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
25266 * sysdeps/wordsize-64/iofsetpos.c: File removed.
25267 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
25268 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
25269 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
25270 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
25271 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
25272 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
25273 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
25274 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
25275 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
25276 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
25277 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
25278
25279 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25280 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
25281 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
25282 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25283 [defined __arch64__ || defined __sparcv9]
25284 (__OFF_T_MATCHES_OFF64_T): New macro.
25285 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25286 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
25287 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25288 (__OFF_T_MATCHES_OFF64_T): New macro.
25289
c5757acd
L
252902012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25291
25292 * stdlib/secure-getenv.c (__secure_getenv): Replace
25293 GLIBC_2_16 with GLIBC_2_17.
25294
3a31811e
L
252952012-08-06 H.J. Lu <hongjiu.lu@intel.com>
25296
25297 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
25298 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
25299
faa2bccb
DM
253002012-08-03 David S. Miller <davem@davemloft.net>
25301
25302 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25303
85fe1997
JM
253042012-08-03 Joseph Myers <joseph@codesourcery.com>
25305
25306 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
25307 Remove.
25308 (__ASSUME_CORRECT_SI_PID): Likewise.
25309 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
25310 (__ASSUME_TMPFS_NAME): Likewise.
25311 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
25312 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
25313 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
25314 (HAVE_AUX_SECURE): Make definition unconditional.
25315 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
25316 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
25317
4f75b7a0
RM
253182012-08-03 Roland McGrath <roland@hack.frob.com>
25319
25320 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
25321 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
25322 * sysdeps/mach/hurd/eloop-threshold.h: New file.
25323 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
25324 __eloop_threshold instead of SYMLOOP_MAX.
25325
25326 * sysdeps/generic/eloop-threshold.h: New file.
25327 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
25328 of MAXSYMLINKS.
25329 * elf/chroot_canon.c (chroot_canon): Likewise.
25330
7aab07e4
JM
253312012-08-03 Joseph Myers <joseph@codesourcery.com>
25332
25333 [BZ #13717]
25334 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25335 Change to 2.6.0 everywhere.
25336 * sysdeps/unix/sysv/linux/configure: Regenerated.
25337 * sysdeps/unix/sysv/linux/kernel-features.h
25338 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
25339 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
25340 kernel versions.
25341 (__ASSUME_POSIX_TIMERS): Define unconditionally.
25342 (__ASSUME_FUTEX_REQUEUE): Remove.
25343 (__ASSUME_STATFS64): Define unconditionally.
25344 (__ASSUME_AT_SECURE): Likewise.
25345 (__ASSUME_CORRECT_SI_PID): Likewise.
25346 (__ASSUME_TGKILL): Define without depending on kernel version for
25347 i386.
25348 (__ASSUME_UTIMES): Likewise.
25349 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
25350 kernel version.
25351 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
25352 (__ASSUME_TMPFS_NAME): Likewise.
25353 * README: Update reference to Linux kernel versions.
25354
b67e9372
MP
253552012-08-02 Marek Polacek <polacek@redhat.com>
25356
1f529f7d 25357 [BZ# 14150]
b67e9372
MP
25358 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
25359 libc_cv_asm_type_prefix with %.
25360 * configure: Regenerated.
d2441631
RM
25361 * include/libc-symbols.h: Remove comment about
25362 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
25363 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
25364 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
25365 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
25366 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
25367 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
25368 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
25369 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
25370 * elf/tst-unique2mod1.c: Likewise.
25371 * elf/tst-unique1mod2.c: Likewise.
25372 * elf/tst-unique1mod1.c: Likewise.
25373 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
25374 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
25375 Replace ASM_TYPE_DIRECTIVE with .type.
25376 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25377 * sysdeps/i386/sysdep.h: Likewise.
25378 * sysdeps/x86_64/sysdep.h: Likewise.
25379 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
25380 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
25381 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 25382 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
25383 * sysdeps/powerpc/powerpc32/sysdep.h:
25384 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
25385 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
25386 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25387 * sysdeps/i386/fpu/e_powf.S: Likewise.
25388 * sysdeps/i386/fpu/e_expl.S: Likewise.
25389 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
25390 * sysdeps/i386/fpu/e_acosh.S: Likewise.
25391 * sysdeps/i386/fpu/e_pow.S: Likewise.
25392 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
25393 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
25394 * sysdeps/i386/fpu/s_expm1.S: Likewise.
25395 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
25396 * sysdeps/i386/fpu/e_log2.S: Likewise.
25397 * sysdeps/i386/fpu/e_log2l.S: Likewise.
25398 * sysdeps/i386/fpu/e_scalb.S: Likewise.
25399 * sysdeps/i386/fpu/e_powl.S: Likewise.
25400 * sysdeps/i386/fpu/e_log10f.S: Likewise.
25401 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
25402 * sysdeps/i386/fpu/e_logl.S: Likewise.
25403 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
25404 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
25405 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
25406 * sysdeps/i386/fpu/e_log2f.S: Likewise.
25407 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
25408 * sysdeps/i386/fpu/e_log.S: Likewise.
25409 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
25410 * sysdeps/i386/fpu/e_logf.S: Likewise.
25411 * sysdeps/i386/fpu/e_log10l.S: Likewise.
25412 * sysdeps/i386/fpu/e_atanh.S: Likewise.
25413 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
25414 * sysdeps/i386/fpu/e_log10.S: Likewise.
25415 * sysdeps/i386/fpu/s_frexp.S: Likewise.
25416 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
25417 * sysdeps/i386/fpu/s_asinh.S: Likewise.
25418 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
25419 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
25420 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
25421 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
25422 * sysdeps/i386/i686/strtok.S: Likewise.
25423 * sysdeps/i386/i386-mcount.S: Likewise.
25424 * sysdeps/i386/strtok.S: Likewise.
25425 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
25426 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
25427 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25428 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
25429 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
25430 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
25431 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
25432 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
25433 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
25434 * sysdeps/x86_64/_mcount.S: Likewise.
25435 * sysdeps/x86_64/strtok.S: Likewise.
25436 * sysdeps/sh/_mcount.S: Likewise.
25437
2747bf9a
RM
254382012-08-01 Roland McGrath <roland@hack.frob.com>
25439
25440 * libio/iofopen.c: Include <fcntl.h>.
25441 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
25442 (_IO_fopen64, fopen64): Define as aliases.
25443 * libio/iofopen64.c: Include <fcntl.h>.
25444 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
25445 Conditionalize body on this.
25446 * sysdeps/wordsize-64/iofopen.c: File removed.
25447 * sysdeps/wordsize-64/iofopen64.c: File removed.
25448
3fb791b8
MP
254492012-08-01 Marek Polacek <polacek@redhat.com>
25450
25451 * libc/Makeconfig: Use elf in place of binfmt-subdir.
25452 Use dlfcn directly instead of a variable.
25453 (binfmt-subdir): Do not define.
25454 (dlfcn): Likewise.
25455
a9f1039f
JM
254562012-08-01 Joseph Myers <joseph@codesourcery.com>
25457
23bddc06
JM
25458 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
25459 Remove all definitions.
25460 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
25461 <kernel-features.h>.
25462 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25463 (miss_F_GETOWN_EX): Remove all definitions.
25464 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
25465 macro definition.
25466 [!__ASSUME_FCNTL64]: Remove conditional code.
25467 [__ASSUME_FCNTL64]: Make code unconditional.
25468 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
25469 <kernel-features.h>.
25470 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
25471 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
25472 (lockf64) [__NR_fcntl64]: Make code unconditional.
25473 (lockf64) [__ASSUME_FCNTL64]: Likewise.
25474
a9f1039f
JM
25475 * sysdeps/unix/sysv/linux/kernel-features.h
25476 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
25477 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
25478 Make code unconditional.
25479 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25480 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25481 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
25482 [__NR_vfork]: Make code unconditional.
25483 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25484 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25485 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
25486 [__NR_vfork]: Make code unconditional.
25487 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
25488 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
25489
09c0ee5f
RM
254902012-08-01 Roland McGrath <roland@hack.frob.com>
25491
48aec5b9
RM
25492 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
25493 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
25494
cd97c966
RM
25495 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25496 Define mkstemp64 as an alias.
3f55550c
RM
25497 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25498 Define mkstemps64 as an alias.
cd97c966
RM
25499 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25500 Define mkostemp64 as an alias.
b8625cfc
RM
25501 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
25502 Define mkostemps64 as an alias.
cd97c966
RM
25503 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
25504 Conditionalize body on this.
25505 * misc/mkostemp64.c: Likewise.
b8625cfc 25506 * misc/mkostemps64.c: Likewise.
3f55550c 25507 * misc/mkstemps64.c: Likewise.
cd97c966
RM
25508 * sysdeps/wordsize-64/mkstemp64.c: File removed.
25509 * sysdeps/wordsize-64/mkostemp64.c: File removed.
25510 * sysdeps/wordsize-64/mkostemp.c: File removed.
25511 * sysdeps/wordsize-64/mkstemp.c: File removed.
25512 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
25513 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
25514 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
25515 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
25516
09c0ee5f
RM
25517 [BZ #14138]
25518 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
25519 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
25520 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
25521 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
25522
25523 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
25524 compat_symbol macros from <shlib-compat.h> rather than the underlying
25525 default_symbol_version and symbol_version macros, so that DEFAULT
25526 lines in shlib-versions are respected.
25527 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
25528
7e66ee51
FW
255292012-08-01 Florian Weimer <fweimer@redhat.com>
25530
25531 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
25532 Declare with warn_unused_result.
25533 (setgid, setregid, setegid, setresgid): Likewise.
25534 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
25535 Likewise.
25536 * WUR-REPORT: Remove set*id functions.
25537
d2a54255
PT
255382012-07-31 Pino Toscano <toscano.pino@tiscali.it>
25539
25540 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
25541
7ecdb005
RM
255422012-07-31 Roland McGrath <roland@hack.frob.com>
25543
b4180a5e 25544 [BZ #10191]
789bd351
RM
25545 * include/sys/socket.h (__libc_accept, __libc_accept4):
25546 Add attribute_hidden.
25547 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
25548
40ce302d
RM
25549 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
25550 use of PTR_MANGLE.
25551 * inet/getnetgrent_r.c (setup): Likewise.
25552
7ecdb005
RM
25553 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
25554
e2eabb2c
DM
255552012-07-31 David S. Miller <davem@davemloft.net>
25556
25557 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25558
d0419dbf
JM
255592012-07-31 Joseph Myers <joseph@codesourcery.com>
25560
25561 [BZ #13629]
25562 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
25563 value between 1.0 and 2.0 and smaller part has absolute value less
25564 than 1.0.
25565 * math/s_clog10.c (__clog10): Likewise.
25566 * math/s_clog10f.c (__clog10f): Likewise.
25567 * math/s_clog10l.c (__clog10l): Likewise.
25568 * math/s_clogf.c (__clogf): Likewise.
25569 * math/s_clogl.c (__clogl): Likewise.
25570 * math/libm-test.inc (clog_test): Add more tests.
25571 (clog10_test): Likewise.
25572 * sysdeps/i386/fpu/libm-test-ulps: Update.
25573 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25574
2bc13872
FW
255752012-07-31 Florian Weimer <fweimer@redhat.com>
25576
25577 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
25578 Exit with zero in case no suitable GID is found, and write a
25579 message to standard error.
25580
bea9b193
RM
255812012-07-30 Roland McGrath <roland@hack.frob.com>
25582
25583 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
25584 rather than to 1.
25585 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
25586 (MAXPATHLEN): Removed.
25587 (NOGROUP, NODEV): New macros.
25588 (setbit, clrbit, isset, isclr): New macros.
25589 (howmany, roundup, powerof2): New macros.
25590 (DEV_BSIZE): New macro.
25591
25592 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
25593 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
25594
25595 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
25596 definition on [!__NO_LONG_DOUBLE_MATH].
25597
25598 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
25599 PTR_MANGLE and PTR_DEMANGLE.
25600
25601 * socket/accept4.c (accept4): Rename to __libc_accept4.
25602 Define accept4 as a weak alias.
25603
25604 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
25605 on [_DIRENT_HAVE_D_TYPE].
25606 * io/ftw.c (ftw_dir): Likewise.
25607
25608 * io/xmknod.c (__xmknod): Don't check PATH for being null.
25609
25610 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
25611
25612 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
25613 Use the BSD numbers rather than the arbitrary ones we had.
25614 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
25615 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
25616 (SIGXCPU, SIGXFSZ): New macros.
25617 (_NSIG): Now 32.
25618
25619 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
25620 initializer on [_LIBC_REENTRANT].
25621
25622 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
25623 definitions inside [_POSIX_MAPPED_FILES].
25624
25625 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
25626
25627 * dirent/opendir.c: Include <fcntl.h>.
25628
25629 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
25630 (__libc_getspecific): Likewise.
25631 (__libc_key_create): Likewise.
25632
25633 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
25634 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
25635 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
25636 (tmpfile64): Define as alias.
25637 * sysdeps/wordsize-64/tmpfile.c: File removed.
25638 * sysdeps/wordsize-64/tmpfile64.c: File removed.
25639 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
25640 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
25641
25642 * stdio-common/vfscanf.c: Include <stdbool.h>.
25643 * nss/makedb.c: Likewise.
25644 * stdio-common/_i18n_number.h: Likewise.
25645 * argp/argp-help.c: Likewise.
25646 * posix/wordexp.c: Likewise.
25647 * sysdeps/posix/spawni.c: Likewise.
25648 * nss/nss_files/files-initgroups.c: Likewise.
25649 * stdio-common/reg-modifier.c: Include <stdlib.h>.
25650 * nss/nss_files/files-initgroups.c: Likewise.
25651 * nss/nss_db/db-netgrp.c: Likewise.
25652 * nss/nss_db/db-initgroups.c: Likewise.
25653 * io/fchmodat.c: Include <sys/stat.h>.
25654
25655 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
25656 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
25657
25658 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
25659 [HAVE_MMAP].
25660
25661 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
25662 Add multiple inclusion protection.
25663
e5abc686
DM
256642012-07-27 David S. Miller <davem@davemloft.net>
25665
25666 * sysdeps/sparc/fpu/libm-test-ulps: Update.
25667
815e6fa3
GB
256682012-07-27 Gary Benson <gbenson@redhat.com>
25669
25670 [BZ #14298]
25671 * elf/rtld.c: Include <stap-probe.h>.
25672 (dl_main): Added static probes "init_start" and "init_complete".
25673 * elf/dl-load.c: Include <stap-probe.h>.
25674 (lose): Take new parameter "nsid".
25675 Added static probe "map_failed".
25676 (_dl_map_object_from_fd): Pass namespace id to lose.
25677 Added static probe "map_start".
25678 (open_verify): Pass namespace id to lose.
25679 * elf/dl-open.c: Include <stap-probe.h>.
25680 (dl_open_worker) Added static probes "map_complete", "reloc_start"
25681 and "reloc_complete".
25682 * elf/dl-close.c: Include <stap-probe.h>.
25683 (_dl_close_worker): Added static probes "unmap_start" and
25684 "unmap_complete".
25685 * elf/rtld-debugger-interface.txt: New file documenting the above.
25686
9f98c16c
RM
256872012-07-26 Roland McGrath <roland@hack.frob.com>
25688
25689 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
25690 rather than a string variable.
25691 * sunrpc/rpc_main.c (h_output): Likewise.
25692 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
25693
f3c22df3
PT
256942012-07-26 Pino Toscano <toscano.pino@tiscali.it>
25695
25696 * inet/check_native.c: New file.
25697
3129cfc6
JM
256982012-07-26 Joseph Myers <joseph@codesourcery.com>
25699
da865e95
JM
25700 [BZ #13629]
25701 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
25702 if larger part has absolute value 1.0.
25703 * math/s_clog10.c (__clog10): Likewise.
25704 * math/s_clog10f.c (__clog10f): Likewise.
25705 * math/s_clog10l.c (__clog10l): Likewise.
25706 * math/s_clogf.c (__clogf): Likewise.
25707 * math/s_clogl.c (__clogl): Likewise.
25708 * math/libm-test.inc (clog_test): Add more tests.
25709 (clog10_test): Likewise.
25710 * sysdeps/i386/fpu/libm-test-ulps: Update.
25711 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25712
3129cfc6
JM
25713 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
25714 (pltexit): Likewise.
25715 (La_regs): Likewise.
25716 (La_retval): Likewise.
25717 (int_retval): Likewise.
25718 Update #error for removed macros to refer only to definitions in
25719 tst-audit.h.
25720 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
25721 macro.
25722 (pltexit): Likewise.
25723 (La_regs): Likewise.
25724 (La_retval): Likewise.
25725 (int_retval): Likewise.
25726 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
25727 macro.
25728 (pltexit): Likewise.
25729 (La_regs): Likewise.
25730 (La_retval): Likewise.
25731 (int_retval): Likewise.
25732 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
25733 macro.
25734 (pltexit): Likewise.
25735 (La_regs): Likewise.
25736 (La_retval): Likewise.
25737 (int_retval): Likewise.
25738 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
25739 macro.
25740 (pltexit): Likewise.
25741 (La_regs): Likewise.
25742 (La_retval): Likewise.
25743 (int_retval): Likewise.
25744 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
25745 macro.
25746 (pltexit): Likewise.
25747 (La_regs): Likewise.
25748 (La_retval): Likewise.
25749 (int_retval): Likewise.
25750 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
25751 macro.
25752 (pltexit): Likewise.
25753 (La_regs): Likewise.
25754 (La_retval): Likewise.
25755 (int_retval): Likewise.
25756 * sysdeps/generic/tst-audit.h: Update comment to refer only to
25757 macro definitions in tst-audit.h.
25758 * sysdeps/i386/tst-audit.h: New file.
25759 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
25760 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
25761 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
25762 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
25763 * sysdeps/sh/tst-audit.h: Likewise.
25764 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
25765 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
25766 * sysdeps/x86_64/tst-audit.h: Likewise.
25767
bfc07087
AJ
257682012-07-26 Andreas Jaeger <aj@suse.de>
25769
b1b2aaf8
AJ
25770 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
25771 ptrace.
25772
25773 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
25774 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
25775 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
25776 PTRACE_O_MASK.
25777 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
25778 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
25779 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
25780
bfc07087
AJ
25781 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
25782 value.
25783
25784 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
25785 _sigsys.
25786 (si_call_addr, si_syscall, si_arch): Define new macro.
25787 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
25788 _sigsys.
25789 (si_call_addr, si_syscall, si_arch): Define new marcro.
25790 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
25791 _sigsys.
25792 (si_call_addr, si_syscall, si_arch): Define new macro.
25793 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
25794 _sigsys.
25795 (si_call_addr, si_syscall, si_arch): Define new macro.
25796
89b4b02f
JM
257972012-07-25 Joseph Myers <joseph@codesourcery.com>
25798
25799 [BZ #13717]
25800 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
25801 Change to 2.4.21 where previously 2.4.1.
25802 * sysdeps/unix/sysv/linux/configure: Regenerated.
25803 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
25804 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
25805 Linux kernel version.
25806 (__ASSUME_STD_AUXV): Remove.
25807 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
25808 kernel version.
25809 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
25810 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
25811 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
25812 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
25813 (__ASSUME_NETLINK_SUPPORT): Likewise.
25814 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
25815 (__no_netlink_support): Remove conditional definition.
25816 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
25817 Remove.
25818 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25819 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
25820 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
25821 (if_nameindex_ioctl): Remove.
25822 (if_nameindex_netlink): Do not handle __no_netlink_support.
25823 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25824 code.
25825 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
25826 Remove conditional code.
25827 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
25828 code.
25829 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
25830 unconditional.
25831 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
25832 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
25833 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
25834 Remove.
25835 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
25836 [!__ASSUME_STD_AUXV]: Remove conditional code.
25837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
25838 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
25839 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
25840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
25841 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
25842 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25843 code.
25844 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25845 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
25846 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
25847 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25848 conditional code.
25849 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
25850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
25851 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
25852 code.
25853 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
25854 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
25855 conditional code.
25856 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
25857 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25858 code unconditional.
25859 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25860 conditional code.
25861 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25862 unconditional.
25863 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25864 conditional code.
25865 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
25866 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25867 unconditional.
25868 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25869 conditional code.
25870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
25871 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25872 code unconditional.
25873 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25874 conditional code.
25875 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25876 unconditional.
25877 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25878 conditional code.
25879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
25880 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
25881 code unconditional.
25882 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25883 conditional code.
25884 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
25885 unconditional.
25886 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
25887 conditional code.
25888
842a39cd
AS
258892012-07-25 Andreas Schwab <schwab@linux-m68k.org>
25890
25891 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
25892 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
25893 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
25894 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
25895 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
25896 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
25897 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
25898 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
25899 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
25900 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
25901 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
25902 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
25903 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
25904 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
25905 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
25906 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
25907 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
25908 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
25909 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
25910 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
25911 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
25912 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
25913 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
25914
84b3fd84
FW
259152012-07-25 Florian Weimer <fweimer@redhat.com>
25916
25917 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
25918 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
25919 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
25920 Introduce __libc_secure_getenv.
0c7936d5
FW
25921 * stdlib/Versions (2.17): Add secure_getenv
25922 (GLIBC_PRIVATE): Add __libc_secure_getenv.
25923 * stdlib/secure-getenv.c: Rename __secure_getenv to
25924 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
25925 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
25926 * stdlib/tst-secure-getenv.c: New.
25927 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
25928 * manual/startup.texi (Environment Access): Document
25929 secure_getenv.
84b3fd84
FW
25930 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
25931 __libc_secure_getenv.
25932 * inet/ruserpass.c (ruserpass): Likewise.
25933 * malloc/mtrace.c (mtrace): Likewise.
25934 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 25935 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
25936 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
25937 * sysdeps/posix/tempname.c: Likewise. Evaluate
25938 HAVE_SECURE_GETENV.
25939 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 25940 __secure_getenv to __libc_secure_getenv.
84b3fd84 25941 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
25942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
25943 Likewise.
25944 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
25945 Likewise.
25946 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
25947 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
25948 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
25949 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
25950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
25951 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
25952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 25953
56e49b71
JM
259542012-07-25 Joseph Myers <joseph@codesourcery.com>
25955
25956 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
25957 (struct La_i86_retval): Likewise.
25958 (struct La_x86_64_regs): Likewise.
25959 (struct La_x86_64_retval): Likewise.
25960 (struct La_x32_regs): Likewise.
25961 (struct La_x32_retval): Likewise.
25962 (struct La_ppc32_regs): Likewise.
25963 (struct La_ppc32_retval): Likewise.
25964 (struct La_ppc64_regs): Likewise.
25965 (struct La_ppc64_retval): Likewise.
25966 (struct La_sh_regs): Likewise.
25967 (struct La_sh_retval): Likewise.
25968 (struct La_s390_32_regs): Likewise.
25969 (struct La_s390_32_retval): Likewise.
25970 (struct La_s390_64_regs): Likewise.
25971 (struct La_s390_64_retval): Likewise.
25972 (struct La_sparc32_regs): Likewise.
25973 (struct La_sparc32_retval): Likewise.
25974 (struct La_sparc64_regs): Likewise.
25975 (struct La_sparc64_retval): Likewise.
25976 (struct audit_ifaces): Remove architecture-specific pltenter and
25977 pltexit members.
25978 * sysdeps/i386/ldsodefs.h: New file.
25979 * sysdeps/powerpc/ldsodefs.h: Likewise.
25980 * sysdeps/s390/ldsodefs.h: Likewise.
25981 * sysdeps/sh/ldsodefs.h: Likewise.
25982 * sysdeps/sparc/ldsodefs.h: Likewise.
25983 * sysdeps/x86_64/ldsodefs.h: Likewise.
25984
354691b7
MP
259852012-07-25 Marek Polacek <polacek@redhat.com>
25986
25987 [BZ #6808]
25988 * math/libm-test.inc (yn_test): Add another test.
25989 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
25990 to ERANGE when the result is +-Inf.
25991 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
25992 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
25993 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
25994 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
25995
bf9e2071
JM
259962012-07-24 Joseph Myers <joseph@codesourcery.com>
25997
25998 * conform/data/time.h-data (NULL): Use macro-constant. Require
25999 equal to 0.
26000 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
26001 clock_t.
26002 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
26003
57633811
TS
260042012-07-23 Thomas Schwinge <thomas@codesourcery.com>
26005
26006 * configure.in <sysdeps resolving>: Correct printing
26007 Implies_before.
26008 * configure: Regenerate.
26009
c23c33b0
TS
260102012-07-22 Thomas Schwinge <thomas@codesourcery.com>
26011
26012 * math/w_ilogb.c: Include <limits.h>.
26013 * math/w_ilogbl.c: Likewise.
26014
b5982523
JM
260152012-07-20 Joseph Myers <joseph@codesourcery.com>
26016
26017 * manual/lang.texi (__va_copy): Document primarily as ISO C99
26018 va_copy. Document allowing for unavailable va_copy only as
26019 pre-C99 compatibility.
26020 * manual/string.texi (Copying and Concatenation): Use va_copy
26021 instead of __va_copy in concat example.
26022
ac4ea442
PT
260232012-07-20 Pino Toscano <toscano.pino@tiscali.it>
26024
26025 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
26026 (__sendto): Use create_address_port. Initialize APORT and deallocate
26027 it if not null.
26028
f98eafbd
PT
26029 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
26030 with O_NOLINK passed to __file_name_lookup.
26031
898c7aab
PT
26032 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
26033 with O_NOLINK passed to __file_name_lookup.
26034
0ced335a
PT
26035 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
26036 negative N or less than NGIDS.
26037
b3404dbd
PT
26038 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
26039 type to string_t. Set ERANGE as errno and return it if NAME is not big
26040 enough. Use memcpy instead of strncpy.
26041
0f48659e
JM
260422012-07-20 Joseph Myers <joseph@codesourcery.com>
26043
26044 * elf/Makefile (check-data): Remove.
26045 (localplt.data): New vpath directive.
26046 ($(objpfx)check-localplt.out): Use localplt.data from vpath
26047 instead of $(check-data).
26048 * scripts/data/localplt-generic.data: Move to ...
26049 * sysdeps/generic/localplt.data: ... here.
26050 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
26051 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
26052 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
26053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
26054 ... here.
26055 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
26056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
26057 ... here.
26058 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
26059 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
26060 ... here.
26061 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
26062 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
26063 ... here.
26064 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
26065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
26066 ... here.
26067 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
26068 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
26069 ... here.
26070
d37cbdaa
AZ
260712012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26072
26073 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
26074 PPC32 and PPC64 files.
26075 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
26076 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
26077
46f85fc2
AK
260782012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26079
26080 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
26081 __makecontext_ret to ...
26082 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
26083 ... here and call exit if uc_link is NULL. New file.
26084 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
26085 __makecontext_ret.S.
26086 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
26087 __makecontext_ret to ...
26088 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
26089 ... here and call exit if uc_link is NULL. New file.
26090 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
26091 __makecontext_ret.S.
26092
08f43f9b
AK
260932012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26094
26095 * elf/elf.h (R_390_IRELATIVE): New definition.
26096 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
26097 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
26098 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
26099 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26100 (elf_machine_lazy_rel): Likewise.
26101 * sysdeps/s390/dl-irel.h: New file.
26102 * sysdeps/s390/s390-64/memcpy.S: New asm code.
26103 * sysdeps/s390/s390-64/memset.S: New asm code.
26104 * sysdeps/s390/s390-64/memcmp.S: New asm code.
26105 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
26106 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
26107 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
26108 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
26109 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
26110 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
26111 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
26112 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
26113 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
26114 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
26115 * sysdeps/s390/s390-32/memcpy.S: New asm code.
26116 * sysdeps/s390/s390-32/memset.S: New asm code.
26117 * sysdeps/s390/s390-32/memcmp.S: New asm code.
26118
3b05db33
MP
261192012-07-17 Marek Polacek <polacek@redhat.com>
26120
26121 [BZ #14349]
26122 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
26123 * sysdeps/s390/s390-64/configure.in: Likewise.
26124 * sysdeps/sparc/configure.in: Likewise.
26125 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
26126 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
26127 * sysdeps/i386/configure.in: Likewise.
26128 * sysdeps/x86_64/configure.in: Likewise.
26129 * sysdeps/sh/configure.in: Likewise.
26130 * sysdeps/s390/s390-32/configure: Regenerated.
26131 * sysdeps/s390/s390-64/configure: Likewise.
26132 * sysdeps/x86_64/configure: Likewise.
26133 * sysdeps/sh/configure: Likewise.
26134 * sysdeps/powerpc/powerpc64/configure: Likewise.
26135 * sysdeps/powerpc/powerpc32/configure: Likewise.
26136 * sysdeps/sparc/configure: Likwise.
26137 * sysdeps/i386/configure: Likewise.
26138
a66877c6
MP
26139 * elf/dl-open.c: Comment fixes.
26140
cfc82fd8
JM
261412012-07-17 Joseph Myers <joseph@codesourcery.com>
26142
bd29910a
JM
26143 * Makefile [CXX] (check-data): Remove.
26144 [CXX] (c++-types.data): New vpath directive.
26145 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
26146 vpath. Do not allow for C++ type data being missing.
26147 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
26148 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
26149 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
26150 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
26151 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
26152 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
26153 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
26154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
26155 ... here.
26156 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
26157 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
26158 ... here.
26159 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
26160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
26161 ... here.
26162 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
26163 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
26164 ... here.
26165 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
26166 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
26167 ... here.
26168 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
26169 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
26170 ... here.
26171 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
26172 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
26173 ... here.
26174 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
26175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
26176
cfc82fd8
JM
26177 * elf/tls-macros.h (TLS_LE): Move architecture-specific
26178 definitions to architecture-specific files.
26179 (TLS_IE): Likewise.
26180 (TLS_LD): Likewise.
26181 (TLS_GD): Likewise.
26182 * sysdeps/i386/tls-macros.h: New file.
26183 * sysdeps/powerpc/tls-macros.h: Likewise.
26184 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
26185 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
26186 * sysdeps/sh/tls-macros.h: Likewise.
26187 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
26188 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
26189 * sysdeps/x86_64/tls-macros.h: Likewise.
26190
f7db3170
TS
261912012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26192
07cbfc23
TS
26193 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
26194 zero value for regular exit case.
26195
f7db3170
TS
26196 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
26197 (__start_context): Preserve zero value for regular exit case.
26198
dc97c227
TS
261992012-07-17 Thomas Schwinge <thomas@codesourcery.com>
26200 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
26201
26202 * manual/setjmp.texi (setcontext): Clarify normal process
26203 termination when uc_link is the null pointer.
26204 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
26205 exit call.
26206
d0cd7d02
AS
262072012-07-16 Andreas Schwab <schwab@linux-m68k.org>
26208
26209 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
26210 preprocessor. Test for each exception mask separately.
26211
dd318934
AJ
262122012-07-16 Andreas Jaeger <aj@suse.de>
26213
26214 * po/ru.po: Update from translation team.
26215
8048311a
JM
262162012-07-15 Joseph Myers <joseph@codesourcery.com>
26217
26218 * conform/data/string.h-data (NULL): Use macro-constant. Require
26219 equal to 0.
26220 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
26221 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
26222 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
26223 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
26224 [ISO || ISO99 || ISO11] (*_t): Do not allow.
26225
b637d46e
AJ
262262012-07-13 Andreas Jaeger <aj@suse.de>
26227
26228 * po/fr.po: Update from translation team.
26229
541428fe
MP
262302012-07-12 Marek Polacek <polacek@redhat.com>
26231
26232 [BZ #14173]
26233 * math/libm-test.inc (yn_test): Add test for BZ #14173.
26234 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
26235 loop condition.
26236
ec332e94
JM
262372012-07-12 Joseph Myers <joseph@codesourcery.com>
26238
26239 [BZ #13717]
26240 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26241 Change to 2.4.1 where previously 2.4.0.
26242 * sysdeps/unix/sysv/linux/configure: Regenerated.
26243 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
26244 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
26245 version.
26246 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
26247 (__ASSUME_AT_CLKTCK): Remove.
26248 (__ASSUME_AT_PAGESIZE): Likewise.
26249 (__ASSUME_AT_XID): Likewise.
26250 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
26251 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
26252 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
26253 unconditionally.
26254 (HAVE_AUX_PAGESIZE): Likewise.
26255 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
26256 [__ASSUME_AT_CLKTCK]: Make code unconditional.
26257 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
26258
7b6e99be
JB
262592012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
26260
26261 [BZ #14307]
26262 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
26263 the temporary buffer used to invoke __gethostbyname2_r,
26264 __gethostbyaddr_r and gethostbyname4_r to make room for struct
26265 host_data / struct gaih_addrtuple.
26266 * resolv/nss_dns/dns-host.c (global scope): Move definition of
26267 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
26268 header file nss/nsswitch.h.
26269 * nss/nsswitch.h (global scope): Add definition of implementation
26270 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
26271 resolv/nss_dns/dns-host.c).
26272
608404eb
AJ
262732012-07-11 Andreas Jaeger <aj@suse.de>
26274
26275 * po/fr.po: Update from translation team.
26276
71220aca
AJ
26277 * po/sv.po: Update from translation team
26278 * po/fr.po: Another update from translation team.
26279
28cfe843
AZ
262802012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26281
26282 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
26283 for subnormals or multiply small sinh result by itself.
26284 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26285 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26286
6b90f981
DM
262872012-07-11 David S. Miller <davem@davemloft.net>
26288
26289 * sysdeps/sparc/fpu/libm-test-ulps: Update.
26290
c6825772
AS
262912012-07-10 Andreas Schwab <schwab@linux-m68k.org>
26292
26293 [BZ #14347]
26294 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
26295 (INTERNAL_MARK): Shift it here.
26296
7b8e0d49
MP
262972012-07-10 Marek Polacek <polacek@redhat.com>
26298
26299 [BZ #14151]
26300 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
26301 libc_cv_asm_global_directive with .globl.
26302 * configure: Regenerated.
26303 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
26304 with .globl.
26305 * sysdeps/i386/configure: Regenerated.
26306 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
26307 with .globl.
26308 * sysdeps/x86_64/configure: Regenerated.
26309 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
26310 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
26311 * elf/tst-unique2mod2.c: Likewise.
26312 * elf/tst-unique2mod1.c: Likewise.
26313 * elf/tst-unique1mod2.c: Likewise.
26314 * elf/tst-unique1mod1.c: Likewise.
26315 * sysdeps/s390/s390-32/sysdep.h: Likewise.
26316 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26317 * sysdeps/s390/s390-64/sysdep.h: Likewise.
26318 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26319 * sysdeps/mach/sysdep.h: Likewise.
26320 * sysdeps/i386/sysdep.h: Likewise.
26321 * sysdeps/i386/i386-mcount.S: Likewise.
26322 * sysdeps/x86_64/_mcount.S: Likewise.
26323 * sysdeps/x86_64/sysdep.h: Likewise.
26324 * sysdeps/sh/_mcount.S: Likewise.
26325 * sysdeps/sh/sysdep.h: Likewise.
26326 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
26327 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
26328 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
26329 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
26330 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
26331 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
26332 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
26333 * locale/localeinfo.h: Likewise.
26334 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
26335 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
26336
6c55cda3
RM
263372012-07-09 Roland McGrath <roland@hack.frob.com>
26338
26339 [BZ #14336]
26340 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
26341 system".
26342 * manual/message.texi (The Uniforum approach): Likewise.
26343 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
26344 (glibc iconv Implementation): Likewise.
26345
638a572e
JM
263462012-07-09 Joseph Myers <joseph@codesourcery.com>
26347
26348 [BZ #14337]
26349 * math/s_clog.c (__clog): Avoid scaling a value down where that
26350 could result in underflow.
26351 * math/s_clog10.c (__clog10): Likewise.
26352 * math/s_clog10f.c (__clog10f): Likewise.
26353 * math/s_clog10l.c (__clog10l): Likewise.
26354 * math/s_clogf.c (__clogf): Likewise.
26355 * math/s_clogl.c (__clogl): Likewise.
26356 * math/libm-test.inc (clog_test): Add more tests.
26357 (clog10_test): Likewise.
26358 * sysdeps/i386/fpu/libm-test-ulps: Update.
26359 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26360
261f4859
AS
263612012-07-06 Andreas Schwab <schwab@linux-m68k.org>
26362
0abaf3e4
AS
26363 [BZ #14283]
26364 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
26365 by 7 not 8 to examine high bit of fractional part.
26366
261f4859
AS
26367 [BZ #14042]
26368 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
26369 for call to __mcount_internal.
26370 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
26371 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
26372 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
26373
f17ac40d
JM
263742012-07-06 Joseph Myers <joseph@codesourcery.com>
26375
9ad63c23
JM
26376 [BZ #14154]
26377 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
26378 approximation for values within 0x1p-13f of an odd multiple of
26379 pi/4.
26380 * math/libm-test.inc (tan_test): Do not allow spurious underflow
26381 exception. Add more tests.
26382 * sysdeps/i386/fpu/libm-test-ulps: Update.
26383
f17ac40d
JM
26384 [BZ #6778]
26385 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
26386 inputs and return -1 for them. Do not check for +Inf in case not
26387 reachable for +Inf.
26388 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
26389 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
26390 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26391 and return -1 for them. Do not check for +Inf in case not
26392 reachable for +Inf.
26393 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
26394 define.
26395 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
26396 and return -1 for them. Do not check for +Inf in case not
26397 reachable for +Inf.
26398 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
26399 spurious underflow.
26400 * sysdeps/i386/fpu/libm-test-ulps: Update.
26401 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26402
fb21f89b
MF
264032012-07-06 Mike Frysinger <vapier@gentoo.org>
26404
26405 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
26406
cdfe2c5e
JM
264072012-07-05 Joseph Myers <joseph@codesourcery.com>
26408
26409 [BZ #14157]
26410 [BZ #14331]
26411 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
26412 could result in spurious underflow. Scale down values above
26413 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
26414 * math/s_csqrtf.c (__csqrtf): Likewise.
26415 * math/s_csqrtl.c (__csqrtl): Likewise.
26416 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
26417 spurious underflow.
26418 * sysdeps/i386/fpu/libm-test-ulps: Update.
26419 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26420
70d35b67
AS
264212012-07-04 Andreas Schwab <schwab@linux-m68k.org>
26422
704bc459
AS
26423 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
26424 xopen-msg.sed.
26425 * catgets/xopen-msg.awk: New file.
26426 * catgets/xopen-msg.sed: Removed.
26427
70d35b67
AS
26428 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
26429 po2text.sed.
26430 * intl/po2test.awk: New file.
26431 * intl/po2test.sed: Removed.
26432
ca61cf32
JM
264332012-07-04 Joseph Myers <joseph@codesourcery.com>
26434
26435 [BZ #14328]
26436 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
26437 or multiply small sinh result by itself.
26438 * math/s_ctanf.c (__ctanf): Likewise.
26439 * math/s_ctanh.c (__ctanh): Likewise.
26440 * math/s_ctanhf.c (__ctanhf): Likewise.
26441 * math/s_ctanhl.c (__ctanhl): Likewise.
26442 * math/s_ctanl.c (__ctanl): Likewise.
26443 * math/libm-test.inc (ctan_test_tonearest): New function.
26444 (ctan_test_towardzero): Likewise.
26445 (ctan_test_downward): Likewise.
26446 (ctan_test_upward): Likewise.
26447 (ctanh_test_tonearest): Likewise.
26448 (ctanh_test_towardzero): Likewise.
26449 (ctanh_test_downward): Likewise.
26450 (ctanh_test_upward): Likewise.
26451 (main): Call these new functions.
26452 * sysdeps/i386/fpu/libm-test-ulps: Update.
26453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26454
ca48a46a
MF
264552012-07-03 Mike Frysinger <vapier@gentoo.org>
26456
26457 * .gitignore: Delete /ports entry.
26458
9d63d37d
AJ
264592012-07-03 Andreas Jaeger <aj@suse.de>
26460
26461 * po/bg.po: Update from translation team.
26462 * po/cs.po: Likewise.
26463 * po/de.po: Likewise.
26464 * po/hr.po: Likewise.
26465 * po/nl.pl: Likewise.
26466 * po/pl.po: Likewise.
26467 * po/vi.po: Likewise.
26468
370ca3d2
JM
264692012-07-03 Joseph Myers <joseph@codesourcery.com>
26470
95f5a9a8
JM
26471 * Makeconfig [!+link] (+link-before-libc): New variable.
26472 [!+link] (+link-after-libc): Likewise.
26473 [!+link] (+link-tests): Likewise.
26474 [!+link] (+link): Define in terms of $(+link-before-libc) and
26475 $(+link-after-libc).
26476 [!+link-static] (+link-static-before-libc): New variable.
26477 [!+link-static] (+link-static-after-libc): Likewise.
26478 [!+link-static] (+link-static-tests): Likewise.
26479 [!+link-static] (+link-static): Define in terms of
26480 $(+link-static-before-libc) and $(+link-static-after-libc).
26481 [build-shared] (link-libc-before-gnulib): New variable.
26482 [build-shared] (link-libc-tests): Likewise.
26483 [build-shared] (link-libc): Define in terms of
26484 $(link-libc-before-gnulib).
26485 [!build-shared] (link-libc-tests): New variable.
26486 (link-libc-static-tests): New variable.
26487 [!gnulib] (gnulib-arch): New variable.
26488 [!gnulib] (gnulib-tests): Likewise.
26489 [!gnulib] (static-gnulib-arch): Likewise.
26490 [!gnulib] (static-gnulib-tests): Likewise.
26491 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
26492 Define with "=" instead of ":=".
26493 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
26494 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
26495 * Rules (binaries-all-notests): New variable.
26496 (binaries-all-tests): Likewise.
26497 (binaries-static-notests): Likewise.
26498 (binaries-static-tests): Likewise.
26499 (binaries-all): Define using $(binaries-all-notests) and
26500 $(binaries-all-tests).
26501 (binaries-static): Define using $(binaries-static-notests) and
26502 $(binaries-static-tests).
26503 (binaries-shared-tests): New variable.
26504 (binaries-shared-notests): Likewise.
26505 (binaries-shared): Remove variable.
26506 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
26507 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
26508 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
26509 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
26510 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
26511 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
26512 * elf/Makefile (sln-modules): New variable.
26513 (extra-objs): Add $(sln-modules:=.o).
26514 (ldconfig-modules): Add static-stubs.
26515 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
26516 * elf/static-stubs.c: New file.
26517
7a845b2c
JM
26518 [BZ #14283]
26519 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
26520 by 7 not 8 to examine high bit of fractional part. Use volatile
26521 variables when splitting into final array of floats if
26522 __FLT_EVAL_METHOD__ != 0.
26523 * math/libm-test.inc (cos_test): Add another test.
26524 (sin_test): Likewise.
26525 * sysdeps/i386/fpu/libm-test-ulps: Update.
26526
e2283f38
JM
26527 [BZ #14273]
26528 * math/libm-test.inc (cosh_test): Add more tests.
26529
370ca3d2
JM
26530 * version.h (RELEASE): Set to "development".
26531 (VERSION): Set to "2.16.90".
26532
ee9247c3
CD
265332012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
26534
26535 * NEWS: Update copyright. Remove last-updated date.
26536 Mention math library bug fixes and timezone data changes.
26537 * README: Mention GNU/Hurd, x32, and HPPA support status.
26538
4648c381
TS
265392012-06-28 Thomas Schwinge <thomas@codesourcery.com>
26540
26541 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
26542
aac78a43
AJ
265432012-06-27 Andreas Jaeger <aj@suse.de>
26544
26545 * manual/contrib.texi (Contributors): Add Samuel Thibault.
26546
ed3dbfad
AJ
265472012-06-25 Andreas Jaeger <aj@suse.de>
26548
26549 * sysdeps/s390/fpu/libm-test-ulps: Update.
26550
4d0ee855
AS
265512012-06-23 Andreas Schwab <schwab@linux-m68k.org>
26552 Thomas Schwinge <thomas@codesourcery.com>
26553
26554 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
26555 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
26556 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
26557 fanotify_mark.
26558
af1bce34
TS
265592012-06-23 Thomas Schwinge <thomas@codesourcery.com>
26560
a9fa33ba
TS
26561 * sysdeps/mach/start.c: Remove file.
26562 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
26563 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
26564 * sysdeps/sh/init-first.c: Likewise.
26565
58f902b8
TS
26566 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
26567 registers for frame unwinding purposes, add CFI directives.
26568 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26569 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
26570 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
26571 Likewise.
26572
1518f58b
TS
26573 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
26574 __fortify_fail returning.
26575 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
26576
db9b5059
TS
26577 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
26578 sysdeps/sh/____longjmp_chk.S.
26579 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
26580 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
26581 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
26582 (gen-as-const-headers): Append sigaltstack-offsets.sym.
26583
967705fe
TS
26584 * sysdeps/sh/abort-instr.h: New file.
26585 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
26586 process in case exit returns.
26587
a9def8c4
TS
26588 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
26589 initialize the GOT register before use.
26590
2a649725
TS
26591 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
26592 calculation of ARGC > 4.
26593
af1bce34
TS
26594 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
26595 meaningful names to some local labels.
26596
d230f50a
KK
265972012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
26598 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26599
26600 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
26601 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
26602 (__arch_compare_and_exchange_val_16_acq): Likewise.
26603 (__arch_compare_and_exchange_val_32_acq): Likewise.
26604 (atomic_exchange_and_add): Fix gUSA sequence.
26605 (atomic_add): Likewise.
26606 (atomic_add_negative): Likewise.
26607 (atomic_add_zero): Likewise.
26608 (atomic_bit_test_set): Likewise.
26609
0479b305
AS
266102012-06-22 Andreas Schwab <schwab@redhat.com>
26611
26612 [BZ #13579]
26613 * include/link.h (struct link_map): Add l_free_initfini.
26614 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
26615 l_initfini.
26616 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
26617 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
26618 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
26619 set.
26620
0e3933b9
CD
266212012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
26622
26623 * configure.in: Use AC_LANG_SOURCE.
26624 * configure: Regenerate.
26625
4248b1b1
RM
266262012-06-22 Roland McGrath <roland@hack.frob.com>
26627
26628 * configure.in (libc_cv_localstatedir): New substituted variable.
26629 * configure: Regenerated.
26630 * config.make.in (localstatedir): New variable, substituted from
26631 libc_cv_localstatedir.
26632 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
26633 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
26634 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
26635 * sysdeps/gnu/configure: Regenerated.
26636
006dd861
JL
266372012-06-21 Jeff Law <law@redhat.com>
26638
26639 [BZ #14277]
26640 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
26641 free. Simplify list management for _LIBC case.
26642
79662d42
JM
266432012-06-21 Joseph Myers <joseph@codesourcery.com>
26644
b7abb4bf
JM
26645 [BZ #14273]
26646 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
26647 Clear sign bit of 64-bit integer value before comparing against
26648 overflow value.
26649
79662d42
JM
26650 * sysdeps/mach/configure: Regenerated.
26651
1f150908
L
266522012-06-21 H.J. Lu <hongjiu.lu@intel.com>
26653
26654 [BZ #14278]
26655 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
26656
28363bbf
JL
266572012-06-21 Jeff Law <law@redhat.com>
26658
26659 [BZ #13882]
26660 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
26661 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 26662 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
26663 * elf/dl-open.c (dl_open_worker): Likewise.
26664
09615db4
CD
266652012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
26666
26667 * scripts/list-sources.sh: Scan PORTS for translations.
26668 * po/libc.pot: Regenerated.
26669
2174c6dd
AJ
266702012-06-21 Andreas Jaeger <aj@suse.de>
26671
26672 [BZ #12194]
26673 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
26674 warning.
26675 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
26676 * bits/byteswap-16.h (__bswap_16): Likewise.
26677 * bits/byteswap.h (__bswap_constant_16): Likewise.
26678
3ee947b1
L
266792012-06-18 H.J. Lu <hongjiu.lu@intel.com>
26680
26681 [BZ #14117]
a2f34833
L
26682 * sysdeps/i386/fpu_control.h: Removed.
26683 * sysdeps/x86_64/fpu_control.h: Moved to ...
26684 * sysdeps/x86/fpu_control.h: Here.
26685
3ee947b1
L
26686 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
26687 (_FPU_SETCW): Likewise.
26688
ed1825f8
L
266892012-06-15 H.J. Lu <hongjiu.lu@intel.com>
26690
25f1282a
L
26691 [BZ #14117]
26692 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
26693 * sysdeps/x86/fpu/bits/mathinline.h: This.
26694 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
26695
ed1825f8
L
26696 [BZ #14050]
26697 [BZ #14117]
26698 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
26699 functions if __x86_64__ is defined.
26700
36d54b74
CLT
267012012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
26702
26703 * string/endian.h: Add !__ASSEMBLER__ condition for including
26704 conversion interfaces.
26705
10285c21
JM
267062012-06-15 Joseph Myers <joseph@codesourcery.com>
26707
26708 [BZ #14241]
26709 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
26710 of ABS(x) in calculating zero to negative powers other than odd
26711 integers.
26712 * math/libm-test.inc (pow_test): Add more tests.
26713
06c5abbd
AJ
267142012-06-15 Andreas Jaeger <aj@suse.de>
26715
26716 * manual/contrib.texi (Contributors): Update entry of Liubov
26717 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
26718 Machado Filho.
26719
a3aeac40
CH
267202012-06-15 Cyril Hrubis <metan@ucw.cz>
26721
26722 * string/string.h: Add __wur to GNU version of strerror_r.
26723
49bdf4c1
L
267242012-06-14 H.J. Lu <hongjiu.lu@intel.com>
26725
26726 [BZ #14229]
26727 * string/Makefile (tests): Add tst-strtok_r.
26728 * string/tst-strtok_r.c: New file.
26729 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
26730 RAX_LP/RDX_LP on SAVE_PTR.
26731
834f9b8d
RM
267322012-06-14 Roland McGrath <roland@hack.frob.com>
26733
26734 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
26735
75fa1921
JM
267362012-06-14 Joseph Myers <joseph@codesourcery.com>
26737
26738 * libm_test.inc (csqrt_test): Allow more spurious underflow
26739 exceptions.
26740 (j0_test): Likewise.
26741 (j1_test): Likewise.
26742 (y0_test): Likewise.
26743 (y1_test): Likewise.
26744
771766df
CD
267452012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
26746
26747 * po/Makefile (libc.pot): Use UTF-8 charset.
26748
ceb9e56b
PP
267492012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
26750
26751 [BZ #14210]
26752 Suppress sign-conversion warning from FD_SET.
26753 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
26754 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
26755 not unsigned long int.
26756 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
26757
ddb28975
L
267582012-06-12 H.J. Lu <hongjiu.lu@intel.com>
26759
26760 [BZ #14050]
26761 [BZ #14117]
26762 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
26763 __extern_always_inline instead of __extern_inline.
26764 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
26765 (__signbit): Likewise.
26766 (__signbitl): Support C++ namespace.
26767 (lrintf): New inline function.
26768 (lrint): Likewise.
26769 (llrintf): Likewise.
26770 (llrint): Likewise.
26771 (fmaxf): Likewise.
26772 (fmax): Likewise.
26773 (fminf): Likewise.
26774 (fmin): Likewise.
26775 (rint): Likewise.
26776 (rintf): Likewise.
26777 (ceil): Likewise.
26778 (ceilf): Likewise.
26779 (floor): Likewise.
26780 (floorf): Likewise.
26781 (nearbyint): Likewise.
26782 (nearbyintf): Likewise.
26783
d7b4fb26
TS
267842012-06-12 Thomas Schwinge <thomas@codesourcery.com>
26785
26786 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
26787 non-default versions.
26788
eb55f5c2
RM
267892012-06-11 Roland McGrath <roland@hack.frob.com>
26790
26791 [BZ #14218]
26792 * manual/argp.texi (Argp): Reword argp_parse description slightly.
26793
366af02c
TS
267942012-06-09 Thomas Schwinge <thomas@codesourcery.com>
26795
99ff6e5c
TS
26796 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
26797 (FE_UPWARD, FE_DOWNWARD): Don't define.
26798 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
26799 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26800
366af02c
TS
26801 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
26802 reading it.
26803 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
26804 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
26805
793ea851
KK
268062012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
26807
26808 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
26809 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
26810 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
26811 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
26812
a728a38f
L
268132012-06-06 H.J. Lu <hongjiu.lu@intel.com>
26814
26815 [BZ #14117]
c08010c7
L
26816 * sysdeps/i386/fpu/bits/fenv.h: Removed.
26817 * sysdeps/i386/fpu/Implies: New file.
26818 * sysdeps/x86_64/fpu/Implies: Likewise.
26819 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
26820 * sysdeps/x86/fpu/bits/fenv.h: This.
26821
a728a38f
L
26822 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
26823 __SSE_MATH__.
26824
6e230d11
SP
268252012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
26826
26827 [BZ #14134]
26828 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
26829 character 0xffff that matches the last element of the
26830 conversion table.
26831
1b671feb
AZ
268322012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26833
26834 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
26835 fmodl commit.
26836
6043738b
AZ
268372012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26838
26839 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
26840 values higher than 25.6283.
26841
34ae0b32
AZ
268422012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26843
26844 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
26845 subnormal exponent extraction and add some __builtin_expect.
26846 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
26847 Fix for subnormal mantissa calculation.
26848
1214ec8f
MF
268492012-06-04 Mike Frysinger <vapier@gentoo.org>
26850
26851 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
26852 cpu2 is -1 and errno is not ENOSYS.
26853
f3d1f93c
L
268542012-06-04 H.J. Lu <hongjiu.lu@intel.com>
26855
26856 [BZ #14117]
0e4a3cd7
L
26857 * sysdeps/i386/i486/bits/string.h: Renamed to ...
26858 * sysdeps/x86/bits/string.h: This.
26859 * sysdeps/x86_64/bits/string.h: Removed.
26860
6704c645
L
26861 * sysdeps/i386/i486/bits/string.h: Define inline functions only
26862 if not compiling for x86-64, but compiling for >= i486.
26863
48495318
L
26864 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
26865 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
26866
14adcbfc
L
26867 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
26868 New macro from Linux kernel 3.4.0.
26869 (FP_XSTATE_MAGIC2): Likewise.
26870 (FP_XSTATE_MAGIC2_SIZE): Likewise.
26871 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
26872 (struct _fpx_sw_bytes): New struct.
26873 (struct _xsave_hdr): Likewise.
26874 (struct _ymmh_state): Likewise.
26875 (struct _xstate): Likewise.
26876
68e408ab
L
26877 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
26878 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
26879 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
26880 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
26881 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
26882 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
26883
f3d1f93c
L
26884 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
26885 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
26886 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
26887 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
26888 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
26889 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
26890
d9dc34cd
TMQMF
268912012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26892
26893 [BZ #13743]
26894 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
26895 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
26896 (sysdep_headers): Include sys/platform/ppc.h.
26897 * sysdeps/powerpc/test-gettimebase.c: Test for
26898 __ppc_get_timebase() to catch future ISA opcode/insn changes.
26899 * manual/Makefile (appendices): Include platform.texi.
26900 * manual/contrib.texi (Contributors): Update @node pointers.
26901 * manual/maint.texi (Maintenance): Likewise.
26902 (Platform): New node.
26903 * manual/platform.texi: New file. Document the new features.
26904
4af3879c
SP
269052012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
26906 Jakub Jelinek <jakub@redhat.com>
26907
26908 [BZ #14188]
26909 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
26910 where __builtin_expect is unavailable.
26911
2fd6ff13
DM
269122012-06-03 David S. Miller <davem@davemloft.net>
26913
26914 * stdlib/longlong.h: Updated from GCC.
26915
173f7220
AS
269162012-06-02 Andreas Schwab <schwab@linux-m68k.org>
26917
26918 [BZ #14042]
26919 * sysdeps/powerpc/powerpc32/mcount.c: New file.
26920 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
26921 __mcount_internal.
26922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
26923 (GLIBC_2.16): Likewise.
26924
f34a1c6f
L
269252012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26926
26927 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
26928
88a4576f
JM
269292012-06-01 Joseph Myers <joseph@codesourcery.com>
26930
ea32bcdd
JM
26931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
26932 (default-abi): New variable.
26933 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
26934 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
26935 variable.
26936 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
26937 Likewise.
26938 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
26939 Likewise.
26940 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
26941 Likewise.
26942
88a4576f
JM
26943 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
26944 definition. Document in comment.
26945
402fe938
DM
269462012-06-01 David S. Miller <davem@davemloft.net>
26947
26948 * stdlib/longlong.h: Updated from GCC.
26949
3553723f
L
269502012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26951
26952 [BZ #14117]
3bd872c4
L
26953 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
26954 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
26955 sys/debugreg.h sys/io.h here.
26956 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
26957 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
26958 sys/io.h.
26959 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
26960 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
26961 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
26962 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
26963 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
26964 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
26965
3553723f
L
26966 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
26967 Define only if __x86_64__ is defined.
26968
4842e4fe
JM
269692012-06-01 Joseph Myers <joseph@codesourcery.com>
26970
c5bfe3d5
JM
26971 [BZ #14048]
26972 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
26973 Use int64_t for variable i.
26974 * math/libm-test.inc (fmod_test): Add more tests.
26975
4842e4fe
JM
26976 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
26977 z computation is not scheduled after fetestexcept.
26978 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
26979 Use math_force_eval instead of asm to ensure calculation scheduled
26980 before exception test.
26981 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
26982 Ensure a1 + u.d computation is not scheduled after fetestexcept.
26983
efb73488
AJ
269842012-06-01 Aurelien Jarno <aurelien@aurel32.net>
26985
26986 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
26987 computation is not scheduled after fetestexcept.
26988
29bcce7c
L
269892012-06-01 H.J. Lu <hongjiu.lu@intel.com>
26990
26991 [BZ #14117]
26992 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
26993 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
26994
73a68f94
AZ
269952012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26996
26997 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
26998 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
26999
67b6df78
L
270002012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27001
edf2933a 27002 [BZ #14117]
ebc64a18
L
27003 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
27004 <bits/wordsize.h>.
27005 (__WCHAR_MIN): Support __WORDSIZE == 64.
27006 (__WCHAR_MAX): Likewise.
27007
edf2933a
L
27008 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
27009 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
27010
57c6cf40
L
27011 [BZ #14183]
27012 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
27013 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
27014
67b6df78 27015 [BZ #14117]
8eb6281e
L
27016 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
27017 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
27018
aac639f4
L
27019 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
27020 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
27021
67b6df78
L
27022 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
27023 Defined to 1 if __x86_64__ isn't defined.
27024 (_STAT_VER_LINUX_OLD): New.
27025 (st_atime): Remove duplicate.
27026 (st_mtime): Likewise.
27027 (st_ctime): Likewise.
27028
1c2cfe81
DM
270292012-05-31 David S. Miller <davem@davemloft.net>
27030
27031 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
27032 entries.
27033
5be8418c
AS
270342012-06-01 Andreas Schwab <schwab@linux-m68k.org>
27035
e7725326
AS
27036 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
27037 gen-libm-test.pl.
27038
5be8418c
AS
27039 [BZ #14132]
27040 * elf/dl-reloc.c: Include <_itoa.h>.
27041 (_dl_reloc_bad_type): Remove use of INTUSE.
27042 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
27043 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
27044 * stdio-common/psiginfo.c (psiginfo): Likewise.
27045 * stdio-common/psignal.c (psignal): Likewise.
27046 * string/strsignal.c (strsignal): Likewise.
27047 * include/signal.h (_sys_siglist): Declare hidden proto.
27048 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
27049 INTVARDEF with libc_hidden_data_def.
27050 * stdio-common/itoa-udigits.c: Likewise.
27051 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
27052 (_itoa_lower_digits_internal): Remove declaration.
27053 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
27054 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
27055 (_sys_sigabbrev_internal): Remove aliases.
27056 (_sys_siglist): Define hidden alias.
27057
507352f1
MT
270582012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
27059
27060 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27061 bits/sysctl.h.
27062
42bbb1c3
L
270632012-05-31 H.J. Lu <hongjiu.lu@intel.com>
27064
27065 [BZ #14117]
6bd784b6
L
27066 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
27067 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
27068
8bca20f0
L
27069 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
27070 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
27071 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
27072 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
27073 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
27074 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
27075
f9e890a9
L
27076 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
27077 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
27078 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
27079
471101a1
L
27080 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
27081 with __addr.
27082 (insw): Likewise.
27083 (insl): Likewise.
27084 (outsb): Likewise.
27085 (outsw): Likewise.
27086 (outsl): Likewise.
27087
6451c862
L
27088 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
27089 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
27090 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
27091
a254b8c9
L
27092 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
27093 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
27094 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
27095 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
27096 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
27097 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
27098
b8dfdd92
L
27099 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
27100 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
27101
578cd270
L
27102 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
27103 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
27104
de662f5f
L
27105 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
27106 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
27107 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
27108
25653439
L
27109 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
27110 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
27111 to ...
27112 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
27113
6bad24a0
L
27114 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
27115 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
27116 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
27117
42bbb1c3
L
27118 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
27119 for x86-64.
27120 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
27121
2d10d547
JM
271222012-05-31 Joseph Myers <joseph@codesourcery.com>
27123
27124 * math/math.h (M_El): Use two more decimal places.
27125 (M_LOG2El): Likewise.
27126 (M_LOG10El): Likewise.
27127 (M_LN2l): Likewise.
27128 (M_LN10l): Likewise.
27129 (M_PIl): Likewise.
27130 (M_PI_2l): Likewise.
27131 (M_PI_4l): Likewise.
27132 (M_1_PIl): Likewise.
27133 (M_2_PIl): Likewise.
27134 (M_2_SQRTPIl): Likewise.
27135 (M_SQRT2l): Likewise.
27136 (M_SQRT1_2l): Likewise.
27137
f230c29b
DM
271382012-05-31 David S. Miller <davem@davemloft.net>
27139
27140 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
27141 values between float registers.
27142 * sysdeps/sparc/sparc64/memset.S: Likewise.
27143 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
27144
fed806c3
MF
271452012-05-31 Mike Frysinger <vapier@gentoo.org>
27146
27147 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
27148 -D_FORTIFY_SOURCE=1.
27149 (CPPFLAGS-tst-longjmp_chk.c): Define.
27150 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
27151 (CPPFLAGS-tst-longjmp_chk2.c): Define.
27152 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
27153 CFLAGS-tst-wchar-h.c.
27154
30917259
MP
271552012-05-31 Marek Polacek <polacek@redhat.com>
27156
27157 [BZ #14132]
27158 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
27159 __endmntent_internal): Remove declaration.
27160 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
27161 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
27162 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
27163
1c58d5dc
DM
271642012-05-30 David S. Miller <davem@davemloft.net>
27165
27166 * sysdeps/sparc/sparc32/soft-fp/q_util.c
27167 (___Q_simulate_exceptions): Use real FP ops rather than writing
27168 into the %fsr.
27169 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
27170 Likewise.
27171
7dc00e0d
L
271722012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27173
27174 [BZ #14117]
0bd53985
L
27175 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
27176 * sysdeps/x86/bits/xtitypes.h: This.
27177
3a257e66
L
27178 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
27179 * sysdeps/x86/bits/wordsize.h: This.
27180
62f62904
L
27181 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
27182 * sysdeps/x86/bits/huge_vall.h: This.
27183
404fe9d9
L
27184 * sysdeps/i386/bits/select.h: Removed.
27185 * sysdeps/x86_64/bits/select.h: Renamed to ...
27186 * sysdeps/x86/bits/select.h: This.
27187
d48d0446
L
27188 * sysdeps/i386/bits/setjmp.h: Removed.
27189 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
27190 * sysdeps/x86/bits/setjmp.h: This.
27191
7dc00e0d
L
27192 * sysdeps/i386/bits/mathdef.h: Removed.
27193 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
27194 * sysdeps/x86/bits/mathdef.h: This.
27195
03277f8f
AS
271962012-05-30 Andreas Schwab <schwab@linux-m68k.org>
27197
27198 [BZ #14132]
27199 * include/sys/socket.h (__connect_internal)
27200 (__libc_sa_len_internal): Remove declaration.
27201 (__connect, __libc_sa_len): Declare hidden_proto.
27202 (SA_LEN): Remove use of INTUSE.
27203 * socket/connect.c: Add libc_hidden_def.
27204 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
27205 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
27206 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
27207 alias.
27208 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
27209 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
27210 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
27211 of adding _internal alias.
27212
13764867
L
272132012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27214
27215 [BZ #14117]
6bd97696
L
27216 * sysdeps/i386/bits/link.h: Removed.
27217 * sysdeps/i386/bits/linkmap.h: Likewise.
27218 * sysdeps/x86_64/bits/link.h: Renamed to ...
27219 * sysdeps/x86/bits/link.h: This.
27220 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
27221 * sysdeps/x86/bits/linkmap.h: This.
27222
f726f0bb
L
27223 * sysdeps/i386/bits/endian.h: Removed.
27224 * sysdeps/x86_64/bits/endian.h: Renamed to ...
27225 * sysdeps/x86/bits/endian.h: This.
27226
13764867
L
27227 * sysdeps/i386/bits/byteswap.h: Removed.
27228 * sysdeps/i386/bits/byteswap-16.h: Likewise.
27229 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
27230 * sysdeps/x86/bits/byteswap.h: This.
27231 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
27232 * sysdeps/x86/bits/byteswap-16.h: This.
27233 * sysdeps/i386/Implies: Add x86.
27234 * sysdeps/x86_64/Implies: Likewise.
27235
ae251b0b
DM
272362012-05-30 David S. Miller <davem@davemloft.net>
27237
27238 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
27239 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
27240 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
27241 (FP_TRAPPING_EXCEPTIONS): Define.
27242 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
27243 (FP_TRAPPING_EXCEPTIONS): Define.
27244 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
27245 subnormals only when inexact has been signalled or underflow
27246 exceptions are enabled.
27247 (_FP_PACK_CANONICAL): Likewise.
27248
d5c90867
L
272492012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27250
27251 [BZ #14183]
27252 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
27253 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
27254
63f1549e
RH
272552012-05-30 Richard Henderson <rth@twiddle.net>
27256
8d8f2279
RH
27257 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
27258 with #ifndef NOT_IN_libc.
27259
63f1549e
RH
27260 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
27261 marked to avoid plt entry.
27262
0ab0291b
L
272632012-05-30 H.J. Lu <hongjiu.lu@intel.com>
27264
27265 [BZ #14112]
27266 * Makeconfig (default-abi): New macro.
27267 (abi-includes): Likewise.
27268 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
27269 $(abi-$(default-abi)-lib-soname) for soname if defined.
27270 ($(common-objpfx)gnu/lib-names.stmp): Generate from
27271 abi-variants.
27272 * Makefile (installed-stubs): Likewise.
27273 * include/stubs-biarch.h: Removed.
27274 * scripts/lib-names.awk: Only handle one library at a time.
27275 * scripts/soversions.awk: Remove WORDSIZE support.
27276 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
27277 entries.
27278 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
27279 Removed.
27280 (syscall-list-default-condition): Likewise.
27281 (syscall-list-default-condition): Likewise.
27282 (syscall-list-includes): Likewise.
27283 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
27284 syscall-list-* with abi-*. Handle undefined abi-variants.
27285 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
27286 * sysdeps/unix/sysv/linux/i386/Implies: New file.
27287 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
27288 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
27289 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
27290 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
27291 Removed.
27292 (syscall-list-32-options): Likewise.
27293 (syscall-list-32-condition): Likewise.
27294 (syscall-list-64-options): Likewise.
27295 (syscall-list-64-condition): Likewise.
27296 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
27297 macro.
27298 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
27299 Renamed to ...
27300 (abi-*): This.
27301 (abi-64-ld-soname): New macro.
27302 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
27303 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
27304 Renamed to ...
27305 (abi-*): This.
27306 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
27307 * sysdeps/x86_64/x32/shlib-versions: Likewise.
27308
4da0431d
JM
273092012-05-30 Joseph Myers <joseph@codesourcery.com>
27310
3a85279c
JM
27311 * sysdeps/unix/sysv/linux/kernel-features.h
27312 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
27313 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
27314 include <kernel-features.h>.
27315 [!__NR_ftruncate64]: Remove conditional code.
27316 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27317 [__NR_ftruncate64]: Make code unconditional.
27318 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27319 * sysdeps/unix/sysv/linux/truncate64.c: Do not
27320 include <kernel-features.h>.
27321 [!__NR_ftruncate64]: Remove conditional code.
27322 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27323 [__NR_ftruncate64]: Make code unconditional.
27324 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
27326 include <kernel-features.h>.
27327 [!__NR_ftruncate64]: Remove conditional code.
27328 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27329 [__NR_ftruncate64]: Make code unconditional.
27330 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27331 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
27332 include <kernel-features.h>.
27333 [!__NR_ftruncate64]: Remove conditional code.
27334 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27335 [__NR_ftruncate64]: Make code unconditional.
27336 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
27337
4da0431d
JM
27338 * configure.in (libc_cv_fpie): Weaken to a compile test using
27339 LIBC_TRY_CC_OPTION.
27340 * configure: Regenerated.
27341
11ef492c
AK
273422012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27343
27344 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
27345 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
27346 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
27347 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
27348 Refreshed.
27349 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
27350 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
27351 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
27352 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
27353 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
27354 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
27355 Refreshed.
27356
d66ef399
DM
273572012-05-27 David S. Miller <davem@davemloft.net>
27358
27359 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
27360 (___Q_zero): New.
27361 (__Q_simulate_exceptions): Return void. Change to simulate
27362 exceptions by writing into the %fsr.
27363 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
27364 (__Qp_handle_exceptions): Likewise.
27365 (numbers): Delete.
27366 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
27367 __Qp_handle_exceptions.
27368 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
27369 __Qp_handle_exceptions.
27370 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27371 as unused and give dummy FP_RND_NEAREST initializer.
27372 (FP_INHIBIT_RESULTS): Define.
27373 (___Q_simulate_exceptions): Update declaration.
27374 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
27375 formatting.
27376 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
27377 as unused and give dummy FP_RND_NEAREST initializer.
27378 (__Qp_handle_exceptions): Update declaration.
27379 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
27380 formatting.
27381
04fb54b5
TS
273822012-05-27 Thomas Schwinge <thomas@codesourcery.com>
27383
27384 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
27385 the temporary FPU control word.
27386 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
27387 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
27388 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
27389 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
27390 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
27391 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
27392 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
27393 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
27394 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
27395 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
27396 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
27397
3f99608f
KK
273982012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
27399
27400 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
27401 fields.
27402
65a4de4e
CLT
274032012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
27404
27405 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
27406 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
27407 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
27408 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
27409 Likewise.
27410 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
27411 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
27412 Likewise.
27413
15749d40
UD
274142012-05-27 Ulrich Drepper <drepper@gmail.com>
27415
27416 * po/h.po: Update from translation team.
27417
25dbcb27
AS
274182012-05-26 Andreas Schwab <schwab@linux-m68k.org>
27419
3d3f8e55
AS
27420 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
27421
25dbcb27
AS
27422 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
27423 handling of denormals.
27424 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
27425 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
27426 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
27427 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
27428 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
27429 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
27430 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
27431 Likewise.
27432
7ad47a80 274332012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
27434
27435 [BZ #14152]
27436 * math/libm-test.inc (fma_test): Don't always expect underflow
27437 exception.
27438
9c6ea9fa
SP
274392012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
27440
27441 [BZ #12416]
27442 * elf/tst-execstack.c: Include stackinfo.h.
27443 (do_test): Adjust test case to ensure that pthread_getattr_np
27444 behaviour remains the same after marking stack executable.
27445
a8239222
JM
274462012-05-25 Joseph Myers <joseph@codesourcery.com>
27447
27448 * sysdeps/unix/sysv/linux/kernel-features.h
27449 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
27450 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
27451 kernel-features.h.
27452 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27453 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27454 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
27455 kernel-features.h.
27456 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
27457 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
27458
918b5606
L
274592012-05-25 H.J. Lu <hongjiu.lu@intel.com>
27460
27461 * configure.in: Define the default includes to being none.
27462 * configure: Regenerated.
27463
3a097cc7
RM
274642012-05-25 Roland McGrath <roland@hack.frob.com>
27465
8422c9a5
RM
27466 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
27467 * sysdeps/x86_64/setjmp.S: Likewise.
27468 * sysdeps/i386/bsd-setjmp.S: Likewise.
27469 * sysdeps/i386/bsd-_setjmp.S: Likewise.
27470 * sysdeps/i386/setjmp.S: Likewise.
27471 * sysdeps/i386/__longjmp.S: Likewise.
27472 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
27473 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
27474
3a097cc7
RM
27475 * include/stap-probe.h: New file.
27476 * configure.in: Handle --enable-systemtap.
27477 * configure: Regenerated.
27478 * config.h.in (USE_STAP_PROBE): New #undef.
27479 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
27480 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
27481 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
27482
21708942
JM
274832012-05-25 Joseph Myers <joseph@codesourcery.com>
27484
27485 [BZ #13717]
27486 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
27487 to 2.4.0 where earlier.
27488 * sysdeps/unix/sysv/linux/configure: Regenerated.
27489 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
27498 [__ASSUME_32BITUIDS]: Make code unconditional.
27499 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
27500 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
27501 <kernel-features.h>.
27502 [__ASSUME_32BITUIDS]: Make code unconditional.
27503 [!__ASSUME_32BITUIDS]: Remove conditional code.
27504 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
27505 <kernel-features.h>.
27506 [__ASSUME_32BITUIDS]: Make code unconditional.
27507 [!__ASSUME_32BITUIDS]: Remove conditional code.
27508 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
27509 <kernel-features.h>.
27510 [__ASSUME_32BITUIDS]: Make code unconditional.
27511 [!__ASSUME_32BITUIDS]: Remove conditional code.
27512 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
27513 <kernel-features.h>.
27514 [__ASSUME_32BITUIDS]: Make code unconditional.
27515 [!__ASSUME_32BITUIDS]: Remove conditional code.
27516 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
27517 <kernel-features.h>.
27518 [__ASSUME_32BITUIDS]: Make code unconditional.
27519 [!__ASSUME_32BITUIDS]: Remove conditional code.
27520 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
27521 <kernel-features.h>.
27522 [__ASSUME_32BITUIDS]: Make code unconditional.
27523 [!__ASSUME_32BITUIDS]: Remove conditional code.
27524 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
27525 <kernel-features.h>.
27526 [__ASSUME_32BITUIDS]: Make code unconditional.
27527 [!__ASSUME_32BITUIDS]: Remove conditional code.
27528 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
27529 <kernel-features.h>.
27530 [__ASSUME_32BITUIDS]: Make code unconditional.
27531 [!__ASSUME_32BITUIDS]: Remove conditional code.
27532 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
27533 <kernel-features.h>.
27534 [__ASSUME_32BITUIDS]: Make code unconditional.
27535 [!__ASSUME_32BITUIDS]: Remove conditional code.
27536 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
27537 <kernel-features.h>.
27538 [__ASSUME_32BITUIDS]: Make code unconditional.
27539 [!__ASSUME_32BITUIDS]: Remove conditional code.
27540 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
27541 <kernel-features.h>.
27542 [__NR_setresgid] (__setresgid): Do not declare.
27543 [__ASSUME_32BITUIDS]: Make code unconditional.
27544 [!__ASSUME_32BITUIDS]: Remove conditional code.
27545 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
27546 <kernel-features.h>.
27547 [__NR_setresuid] (__setresuid): Do not declare.
27548 [__ASSUME_32BITUIDS]: Make code unconditional.
27549 [!__ASSUME_32BITUIDS]: Remove conditional code.
27550 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
27551 <kernel-features.h>.
27552 [__ASSUME_32BITUIDS]: Make code unconditional.
27553 [!__ASSUME_32BITUIDS]: Remove conditional code.
27554 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
27555 <kernel-features.h>.
27556 [__ASSUME_32BITUIDS]: Make code unconditional.
27557 [!__ASSUME_32BITUIDS]: Remove conditional code.
27558 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
27559 <kernel-features.h>.
27560 [__ASSUME_32BITUIDS]: Make code unconditional.
27561 [!__ASSUME_32BITUIDS]: Remove conditional code.
27562 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
27563 <kernel-features.h>.
27564 [__ASSUME_32BITUIDS]: Make code unconditional.
27565 [!__ASSUME_32BITUIDS]: Remove conditional code.
27566 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
27567 <kernel-features.h>.
27568 [__ASSUME_32BITUIDS]: Make code unconditional.
27569 [!__ASSUME_32BITUIDS]: Remove conditional code.
27570 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
27571 <kernel-features.h>.
27572 [__ASSUME_32BITUIDS]: Make code unconditional.
27573 [!__ASSUME_32BITUIDS]: Remove conditional code.
27574 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
27575 <kernel-features.h>.
27576 [__ASSUME_32BITUIDS]: Make code unconditional.
27577 [!__ASSUME_32BITUIDS]: Remove conditional code.
27578 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
27579 <kernel-features.h>.
27580 [__ASSUME_32BITUIDS]: Make code unconditional.
27581 [!__ASSUME_32BITUIDS]: Remove conditional code.
27582 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
27583 <kernel-features.h>.
27584 [__ASSUME_32BITUIDS]: Make code unconditional.
27585 [!__ASSUME_32BITUIDS]: Remove conditional code.
27586 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
27587 <kernel-features.h>.
27588 [__ASSUME_32BITUIDS]: Make code unconditional.
27589 [!__ASSUME_32BITUIDS]: Remove conditional code.
27590 * sysdeps/unix/sysv/linux/kernel-features.h
27591 (__ASSUME_SETRESUID_SYSCALL): Remove.
27592 (__ASSUME_SETRESGID_SYSCALL): Likewise.
27593 (__ASSUME_32BITUIDS): Likewise.
27594 (__ASSUME_LDT_WORKS): Likewise.
27595 (__ASSUME_O_DIRECTORY): Likewise.
27596 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
27597 architecture but not kernel version.
27598 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
27599 (__ASSUME_MMAP2_SYSCALL): Likewise.
27600 (__ASSUME_STAT64_SYSCALL): Likewise.
27601 (__ASSUME_IPC64): Likewise.
27602 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
27603 <kernel-features.h>.
27604 [__ASSUME_32BITUIDS]: Make code unconditional.
27605 [!__ASSUME_32BITUIDS]: Remove conditional code.
27606 * sysdeps/unix/sysv/linux/opendir.c: Do not include
27607 <kernel-features.h>.
27608 [__ASSUME_O_DIRECTORY]: Make code unconditional.
27609 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
27610 132096]: Remove conditional code.
27611 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
27612 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
27613 <kernel-features.h>.
27614 [__ASSUME_32BITUIDS]: Make code unconditional.
27615 [!__ASSUME_32BITUIDS]: Remove conditional code.
27616 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
27617 <kernel-features.h>.
27618 [__ASSUME_32BITUIDS]: Make code unconditional.
27619 [!__ASSUME_32BITUIDS]: Remove conditional code.
27620 * sysdeps/unix/sysv/linux/setegid.c: Do not include
27621 <kernel-features.h>.
27622 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
27623 unconditional.
27624 (__setresgid): Do not declare.
27625 [__ASSUME_32BITUIDS]: Make code unconditional.
27626 [!__ASSUME_32BITUIDS]: Remove conditional code.
27627 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
27628 <kernel-features.h>.
27629 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
27630 unconditional.
27631 (__setresuid): Do not declare.
27632 [__ASSUME_32BITUIDS]: Make code unconditional.
27633 [!__ASSUME_32BITUIDS]: Remove conditional code.
27634 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
27635 <kernel-features.h>.
27636 [__ASSUME_32BITUIDS]: Make code unconditional.
27637 [!__ASSUME_32BITUIDS]: Remove conditional code.
27638 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
27639 <kernel-features.h>.
27640 [__ASSUME_32BITUIDS]: Make code unconditional.
27641 [!__ASSUME_32BITUIDS]: Remove conditional code.
27642
a386f1cc
RH
276432012-05-25 Richard Henderson <rth@twiddle.net>
27644
27645 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
27646 dl_hwcap to ifunc resolver.
27647 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
27648 elf_ifunc_invoke.
27649 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
27650 dl_hwcap to ifunc resolver.
27651 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
27652
b6550497
JM
276532012-05-24 Joseph Myers <joseph@codesourcery.com>
27654
27655 [BZ #14153]
27656 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
27657 for |x| <= 2**-26, not 2**-57.
27658 * math/libm-test.inc (acos_test): Do not allow spurious underflow
27659 exception.
27660
b0bc23a1
JL
276612012-05-24 Jeff Law <law@redhat.com>
27662
27663 * stdio-common/Makefile (tests): Add bug25.
27664 * stdio-common/bug25.c: New test.
27665
347c92e9
L
276662012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27667
27668 [BZ #13576]
27669 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
27670 multiple of MALLOC_ALIGNMENT in size.
27671 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
27672
6bcc8b3f
JM
276732012-05-24 Joseph Myers <joseph@codesourcery.com>
27674
27675 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
27676 Require >= 256.
27677 (FILENAME_MAX): Use macro-int-constant.
27678 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
27679 (_IOFBF): Use macro-int-constant.
27680 (_IOLBF): Likewise.
27681 (_IONBF): Likewise.
27682 (SEEK_CUR): Likewise.
27683 (SEEK_END): Likewise.
27684 (SEEK_SET): Likewise.
27685 (TMP_MAX): Likewise.
27686 (EOF): Use macro-int-constant. Require < 0.
27687 (NULL): Use macro-constant. Require == 0.
27688 (stdin): Require type to be FILE *.
27689 (stdout): Likewise.
27690 (stderr): Likewise.
27691 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
27692 macro-int-constant.
27693 (EXIT_SUCCESS): Likewise.
27694 (NULL): Use macro-constant. Require == 0.
27695 (RAND_MAX): Use macro-int-constant.
27696 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
27697 [C99-based standards] (strtof): Require function.
27698 [C99-based standards] (strtold): Likewise.
27699 [C99-based standards] (strtoll): Likewise.
27700 [C99-based standards] (strtoull): Likewise.
27701 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27702 [ISO || ISO99 || ISO11] (limits.h): Likewise.
27703 [ISO || ISO99 || ISO11] (math.h): Likewise.
27704 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
27705 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27706 [ISO || ISO99 || ISO11] (*_t): Do not allow.
27707
d18ea0c5
AS
277082012-05-24 Andreas Schwab <schwab@linux-m68k.org>
27709
27710 [BZ #14132]
56d25bb8
AS
27711 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
27712 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
27713 * intl/dgettext.c (DCGETTEXT): Likewise.
27714 * intl/gettext.c (DCGETTEXT): Likewise.
27715 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
27716 * posix/regex_internal.h (gettext): Likewise.
27717 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
27718 Remove declaration.
27719 * include/argz.h (__argz_count_internal)
27720 (__argz_stringify_internal): Remove declaration.
27721 (__argz_count, __argz_stringify): Declare hidden proto.
27722 * intl/dcgettext.c: Remove use of INTDEF.
27723 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
27724 * string/argz-stringify.c: Likewise.
27725 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27726 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27727 Declare hidden proto.
d18ea0c5
AS
27728 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
27729 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
27730 Declare hidden proto.
27731 * include/stdio.h (__asprintf_internal): Don't declare.
27732 (__asprintf): Don't define as macro. Declare hidden proto.
27733 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
27734 (__fsetlocking): Declare hidden proto.
27735 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
27736 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
27737 hidden proto.
27738 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
27739 (_IO_setlinebuf): Remove use of INTUSE.
27740 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
27741 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
27742 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
27743 Remove declaration.
27744 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
27745 (_IO_do_flush): Remove use of INTUSE.
27746 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
27747 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
27748 (_IO_adjust_column, _IO_least_wmarker)
27749 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
27750 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
27751 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
27752 (_IO_default_doallocate, _IO_wdefault_doallocate)
27753 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
27754 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
27755 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
27756 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
27757 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
27758 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
27759 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
27760 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
27761 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
27762 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
27763 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
27764 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
27765 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
27766 proto.
27767 (_IO_flush_all_internal, _IO_adjust_column_internal)
27768 (_IO_default_uflow_internal, _IO_default_finish_internal)
27769 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
27770 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
27771 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
27772 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
27773 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
27774 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
27775 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
27776 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
27777 (_IO_file_close_internal, _IO_file_close_it_internal)
27778 (_IO_file_underflow_internal, _IO_file_overflow_internal)
27779 (_IO_file_init_internal, _IO_file_attach_internal)
27780 (_IO_file_fopen_internal, _IO_file_read_internal)
27781 (_IO_file_sync_internal, _IO_file_seek_internal)
27782 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
27783 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
27784 (_IO_str_underflow_internal, _IO_str_overflow_internal)
27785 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
27786 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
27787 (_IO_list_all_internal, _IO_link_in_internal)
27788 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
27789 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
27790 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
27791 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
27792 (_IO_do_write_internal, _IO_padn_internal)
27793 (_IO_getline_info_internal, _IO_getline_internal)
27794 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
27795 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
27796 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
27797 (_IO_vfscanf_internal, _IO_vfprintf_internal)
27798 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
27799 (_IO_init_internal, _IO_un_link_internal): Don't declare.
27800 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
27801 with libc_hidden_ver, remove use of INTUSE.
27802 * libio/genops.c: Likewise.
27803 * libio/freopen.c: Likewise.
27804 * libio/freopen64.c: Likewise.
27805 * libio/iofclose.c: Likewise.
27806 * libio/iofdopen.c: Likewise.
27807 * libio/iofflush.c: Likewise.
27808 * libio/iofflush_u.c: Likewise.
27809 * libio/iofgets.c: Likewise.
27810 * libio/iofgets_u.c: Likewise.
27811 * libio/iofopen.c: Likewise.
27812 * libio/iofopncook.c: Likewise.
27813 * libio/iofread.c: Likewise.
27814 * libio/iofread_u.c: Likewise.
27815 * libio/ioftell.c: Likewise.
27816 * libio/iofwrite.c: Likewise.
27817 * libio/iogetline.c: Likewise.
27818 * libio/iogets.c: Likewise.
27819 * libio/iogetwline.c: Likewise.
27820 * libio/iopadn.c: Likewise.
27821 * libio/iopopen.c: Likewise.
27822 * libio/ioseekoff.c: Likewise.
27823 * libio/ioseekpos.c: Likewise.
27824 * libio/iosetbuffer.c: Likewise.
27825 * libio/iosetvbuf.c: Likewise.
27826 * libio/ioungetc.c: Likewise.
27827 * libio/ioungetwc.c: Likewise.
27828 * libio/iovdprintf.c: Likewise.
27829 * libio/iovsprintf.c: Likewise.
27830 * libio/iovsscanf.c: Likewise.
27831 * libio/memstream.c: Likewise.
27832 * libio/obprintf.c: Likewise.
27833 * libio/oldfileops.c: Likewise.
27834 * libio/oldiofclose.c: Likewise.
27835 * libio/oldiofdopen.c: Likewise.
27836 * libio/oldiofopen.c: Likewise.
27837 * libio/oldiopopen.c: Likewise.
27838 * libio/oldstdfiles.c: Likewise.
27839 * libio/putc.c: Likewise.
27840 * libio/setbuf.c: Likewise.
27841 * libio/setlinebuf.c: Likewise.
27842 * libio/stdfiles.c: Likewise.
27843 * libio/strops.c: Likewise.
27844 * libio/vasprintf.c: Likewise.
27845 * libio/vscanf.c: Likewise.
27846 * libio/vsnprintf.c: Likewise.
27847 * libio/vswprintf.c: Likewise.
27848 * libio/wfiledoalloc.c: Likewise.
27849 * libio/wfileops.c: Likewise.
27850 * libio/wgenops.c: Likewise.
27851 * libio/wmemstream.c: Likewise.
27852 * libio/wstrops.c: Likewise.
27853 * libio/__fpurge.c: Likewise.
27854 * libio/__fsetlocking.c: Likewise.
27855 * assert/assert.c: Likewise.
27856 * debug/fgets_chk.c: Likewise.
27857 * debug/fgets_u_chk.c: Likewise.
27858 * debug/fread_chk.c: Likewise.
27859 * debug/fread_u_chk.c: Likewise.
27860 * debug/gets_chk.c: Likewise.
27861 * debug/obprintf_chk.c: Likewise.
27862 * debug/vasprintf_chk.c: Likewise.
27863 * debug/vdprintf_chk.c: Likewise.
27864 * debug/vsnprintf_chk.c: Likewise.
27865 * debug/vsprintf_chk.c: Likewise.
27866 * malloc/mtrace.c: Likewise.
27867 * misc/error.c: Likewise.
27868 * misc/syslog.c: Likewise.
27869 * stdio-common/asprintf.c: Likewise.
27870 * stdio-common/fxprintf.c: Likewise.
27871 * stdio-common/getw.c: Likewise.
27872 * stdio-common/isoc99_fscanf.c: Likewise.
27873 * stdio-common/isoc99_scanf.c: Likewise.
27874 * stdio-common/isoc99_vfscanf.c: Likewise.
27875 * stdio-common/isoc99_vscanf.c: Likewise.
27876 * stdio-common/isoc99_vsscanf.c: Likewise.
27877 * stdio-common/printf-prs.c: Likewise.
27878 * stdio-common/printf_fp.c: Likewise.
27879 * stdio-common/printf_fphex.c: Likewise.
27880 * stdio-common/printf_size.c: Likewise.
27881 * stdio-common/putw.c: Likewise.
27882 * stdio-common/scanf.c: Likewise.
27883 * stdio-common/sprintf.c: Likewise.
27884 * stdio-common/tmpfile.c: Likewise.
27885 * stdio-common/vfprintf.c: Likewise.
27886 * stdio-common/vfscanf.c: Likewise.
27887 * stdlib/strfmon_l.c: Likewise.
27888 * sunrpc/openchild.c: Likewise.
27889 * sunrpc/xdr_stdio.c: Likewise.
27890 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
27891 * sysdeps/mach/hurd/tmpfile.c: Likewise.
27892
d6c33fda
RM
278932012-05-24 Roland McGrath <roland@hack.frob.com>
27894
c1487492
RM
27895 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
27896
27897 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
27898 in the third column, to generate for the shared library an IFUNC
27899 that uses _dl_vdso_vsym.
27900 * Makerules (COMPILE.c, compile-stdin.c): New variables.
27901 * Makeconfig (object-suffixes-noshared): New variable.
27902
27903 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
27904 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
27905 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
27906 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
27907
d6c33fda
RM
27908 [BZ #14132]
27909 * include/sys/time.h (__gettimeofday): Remove macro.
27910 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
27911 * time/gettimeofday.c (__gettimeofday): Remove #undef.
27912 Remove INTDEF.
27913 (__gettimeofday): Add libc_hidden_def.
27914 (gettimeofday): Add libc_hidden_weak.
27915 * sysdeps/mach/gettimeofday.c: Likewise.
27916 * sysdeps/posix/gettimeofday.c: Likewise.
27917 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
27918 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
27919 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
27920 (__gettimeofday_internal): Remove strong_alias.
27921 (__gettimeofday): Add libc_hidden_def.
27922 (gettimeofday): Add libc_hidden_weak.
27923 * sysdeps/unix/syscalls.list (gettimeofday):
27924 Remove __gettimeofday_internal alias.
27925
b5a2bbe6
L
279262012-05-24 Daniel Jacobowitz <drow@false.org>
27927 H.J. Lu <hongjiu.lu@intel.com>
27928
27929 [BZ #12495]
27930 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
27931 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
27932 (largebin_index_32_big): New.
27933 (largebin_index): Use it for 16-byte alignment.
27934 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
27935 correction with front_misalign.
27936
cfba4fda
L
279372012-05-24 H.J. Lu <hongjiu.lu@intel.com>
27938
7f907421
L
27939 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
27940 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
27941 Likewise.
27942 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
27943 Likewise.
27944 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
27945 Likewise.
27946 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
27947 Likewise.
27948 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
27949 Likewise.
27950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
27951 Likewise.
27952 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
27953 Likewise.
27954 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
27955 Likewise.
27956 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
27957 Likewise.
27958 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
27959 Likewise.
27960 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
27961 Likewise.
27962 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
27963 Likewise.
27964
cfba4fda
L
27965 * scripts/data/c++-types-x32-linux-gnu.data: New file.
27966 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
27967
80bad0cc
JM
279682012-05-24 Joseph Myers <joseph@codesourcery.com>
27969
7a25eb06
JM
27970 [BZ #10846]
27971 [BZ #14036]
27972 * math/libm-test.inc (exp_test): Add test from bug 14036.
27973 (pow_test): Add test from bug 10846.
27974
795405f9
JM
27975 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
27976 and other flags.
27977 (special_function): Do not include flags in test name.
27978 (parse_args): Likewise.
27979 * sysdeps/i386/fpu/libm-test-ulps: Update.
27980 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27981 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27982 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27983 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27984
80bad0cc
JM
27985 * math/gen-libm-test.pl (%beautify): Add entries for underflow
27986 exceptions.
27987 * math/libm-test.inc ("Philosophy"): Update comment about
27988 exception testing.
27989 (UNDERFLOW_EXCEPTION): New macro.
27990 (UNDERFLOW_EXCEPTION_OK): Likewise.
27991 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
27992 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
27993 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
27994 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
27995 (INVALID_EXCEPTION_OK): Update value.
27996 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27997 (OVERFLOW_EXCEPTION_OK): Likewise.
27998 (IGNORE_ZERO_INF_SIGN): Likewise.
27999 (test_exceptions): Handle underflow exceptions.
28000 (acos_test): Update for underflow exception expectations.
28001 (cexp_test): Likewise.
28002 (clog_test): Likewise.
28003 (clog10_test): Likewise.
28004 (csqrt_test): Likewise.
28005 (ctan_test): Likewise.
28006 (ctanh_test): Likewise.
28007 (exp_test): Likewise.
28008 (exp10_test): Likewise.
28009 (exp2_test): Likewise.
28010 (expm1_test): Likewise.
28011 (fma_test): Likewise.
28012 (j0_test): Likewise.
28013 (jn_test): Likewise.
28014 (nexttoward_test): Likewise.
28015 (pow_test): Likewise.
28016 (scalbn_test): Likewise.
28017 (scalbln_test): Likewise.
28018 (tan_test): Likewise.
28019 (y1_test): Likewise.
28020 * sysdeps/i386/fpu/libm-test-ulps: Update.
28021 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28022
9e0e3d0b
DM
280232012-05-23 David S. Miller <davem@davemloft.net>
28024
28025 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
28026 (__libc_sigaction): Remove unused local variables.
28027
ccd0a08f
L
280282012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28029
28030 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
28031
62bdf9a6
PE
280322012-05-23 Paul Eggert <eggert@cs.ucla.edu>
28033
f8591f80
PE
28034 mktime: avoid signed integer overflow
28035 * time/mktime.c (__mktime_internal): Do not mishandle the case
28036 where diff == INT_MIN.
28037
94c7d826
PE
28038 mktime: simplify computation of average
28039 * time/mktime.c (ranged_convert): Use new time_t_avg function
28040 instead of rolling our own (probably-slower) code.
28041
ce73d683
PE
28042 mktime: do not assume signed right shift propagates sign bit
28043 * time/mktime.c (isdst_differ): New static function.
28044 (__mktime_internal): No need to normalize tm_isdst now.
28045 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
28046 tm_isdst values.
28047
72a22e59
PE
28048 mktime: merge another wrapv change from gnulib
28049 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
28050 from some compilers.
28051
68605433
PE
28052 mktime: remove incorrect attempt at unusual arithmetics
28053 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
28054 The code didn't really work on such machines anyway.
28055 (TYPE_MINIMUM): Assume two's complement.
28056 (twos_complement_arithmetic): Verify that long_int and time_t
28057 are two's complement (or unsigned, in the latter case).
28058
03cf7fe3
PE
28059 mktime: check signed shifts on long_int and time_t, too
28060 * time/mktime.c (SHR): Check that shifts work as desired
28061 on the types long_int and time_t too, as SHR is used on
28062 such types.
28063
f04dfbc2
PE
28064 mktime: do not assume 'long' is wide enough
28065 * time/mktime.c (verify): Move decl up.
28066 (long_int): New type.
28067 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
28068 to remove assumption in the code that 'long' is wide enough to
28069 store year values. This assumption is not true on x32 and on
28070 some non-glibc platforms.
28071
62bdf9a6
PE
28072 mktime: merge wrapv change from gnulib
28073 * time/mktime.c (WRAPV): New macro.
28074 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
28075 (guess_time_tm, __mktime_internal): Do not assume that signed
28076 integer overflow wraps around; modern compilers generate code
28077 where this assumption is no longer valid.
28078
5e292e4f
L
280792012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28080
28081 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28082 Replace "jmp L(pseudo_end)" with "ret".
28083 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
28084 Likewise.
28085
8caf8c87
AJ
280862012-05-23 Andreas Jaeger <aj@suse.de>
28087
28088 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
28089 * sysdeps/unix/sysv/linux/poll.c: Remove file.
28090
1a09dc56
AJ
280912012-05-23 Andreas Jaeger <aj@suse.de>
28092 Maximilian Attems <max@stro.at>
28093
28094 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
28095 New macros.
28096
1c87aba0
L
280972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
28098
28099 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
28100 code so that pseudo_end is just ret and the stack pointer is
28101 correct also for static library in error case.
28102
40e45bd5
JM
281032012-05-23 Joseph Myers <joseph@codesourcery.com>
28104
c2670533
JM
28105 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
28106 move to syscalls.list.
28107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
28108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28111
40e45bd5
JM
28112 * manual/install.texi (Running make install): Do not mention Linux
28113 kernel version for which pt_chown is not needed.
28114 (Linux): Do not mention problems with nscd with 2.0 kernels.
28115 * INSTALL: Regenerated.
28116
be08eda5
AJ
281172012-05-23 Andreas Jaeger <aj@suse.de>
28118
28119 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
28120 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
28121 macro.
28122 * sysdeps/unix/sysv/linux/s390/bits/mman.h
28123 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28124 * sysdeps/unix/sysv/linux/sh/bits/mman.h
28125 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28126 * sysdeps/unix/sysv/linux/i386/bits/mman.h
28127 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28128 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
28129 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28130 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
28131 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
28132 * sysdeps/unix/sysv/linux/bits/in.h
28133 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
28134
a6a056bb
RM
281352012-05-22 Roland McGrath <roland@hack.frob.com>
28136
28137 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
28138 (PREPARE_VERSION): Just use assert instead, it will be elided
28139 under [NDEBUG] anyway.
28140
c9009328
L
281412012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28142
28143 * sysdeps/unix/sysv/linux/Makefile: Include
28144 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 28145 (sysdep_routines): Remove sysctl.
c9009328
L
28146 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
28147 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
28148 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
28149 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
28150 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
28151
73338355
AJ
281522012-05-22 Andreas Jaeger <aj@suse.de>
28153
28154 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
28155 that pseudo_end is just ret and the stack pointer is correct also
28156 for static library in error case.
28157
d44638b0
PP
281582012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
28159
28160 [BZ #14122]
28161 * nss/nsswitch.c (defconfig_entries): New variable.
28162 (__nss_database_lookup): Don't leak defconfig entries.
28163 (nss_parse_service_list): Don't leak on error paths.
28164 (free_database_entries): New function.
28165 (free_defconfig): New function.
28166 (free_mem): Move common code to free_database_entries.
28167
31a39bd8
L
281682012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28169
da0331a8
L
28170 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
28171 Add arch_prctl.
28172 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
28173
31a39bd8
L
28174 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
28175 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
28176 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
28177 New macro.
28178 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
28179 (INTERNAL_SYSCALL_TYPES): Likewise.
28180 (LOAD_ARGS_TYPES_[1-6]): Likewise.
28181 (LOAD_REGS_TYPES_[1-6]): Likewise.
28182 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
28183 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
28184
45470df3
AZ
281852012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28186
28187 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
28188 copysignl for GLIBC_2_0.
28189 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
28190 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
28191 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
28192 logbl for GLIBC_2_0.
28193 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28194 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28195
98a61bcb
L
281962012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28197
a4f6e481
L
28198 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
28199 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28200
f63d5db6
L
28201 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
28202 Use "neg %eax".
28203
98a61bcb
L
28204 * time/mktime.c: Update copyright years.
28205
95770f14
PE
282062012-05-22 Paul Eggert <eggert@cs.ucla.edu>
28207
6226efbd
PE
28208 mktime: merge comment-quoting-style change from gnulib
28209 * time/mktime.c: Quote 'like this' in comments.
28210 The GNU coding standards suggest that we no longer quote `like this',
28211 as "`" and "'" are typically rendered asymmetrically nowadays.
28212 The typical gnulib style is to quote 'like this' when quoting
28213 code, and "like this" when quoting English.
28214
b99e4f78
PE
28215 * time/mktime.c (compile-command): Add "-I.".
28216
643e01e6
PE
28217 mktime: merge mktime-internal.h change from gnulib
28218 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
28219
2554247d
PE
28220 mktime: merge time_r change from gnulib
28221 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
28222
826dd0ab
PE
28223 mktime: merge DEBUG change from gnulib
28224 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
28225 case system <time.h> has a #define.
28226
bd83aabe
PE
28227 mktime: merge <sys/types.h> change from gnulib
28228 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
28229 since <time.t> is now guaranteed to define time_t.
28230
95770f14
PE
28231 mktime: merge HAVE_CONFIG_H change from gnulib
28232 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
28233
5e1a27a9
L
282342012-05-22 H.J. Lu <hongjiu.lu@intel.com>
28235
0e44a77e
L
28236 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28237 Use "neg %eax".
28238
5e1a27a9
L
28239 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
28240 __rlim_t cast.
28241 (struct rusage): Use anonymous union to pad each field to
28242 __syscall_slong_t.
28243
46259bec
DM
282442012-05-21 David S. Miller <davem@davemloft.net>
28245
28246 * Makefules (o-iterator): Remove .s cases.
28247 (compile-command.s): Delete.
28248 (COMPILE.s): Delete.
28249 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
28250
59f0c22e
JM
282512012-05-21 Joseph Myers <joseph@codesourcery.com>
28252
28253 * configure.in (libc_cv_predef_stack_protector): Only consider
28254 "foobar" and "__stack_chk_fail" lines in libc_undefs.
28255 * configure: Regenerated.
28256
20c07380
L
282572012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28258
bbb3154b
L
28259 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
28260 New macro. Use R*LP on int and pointer.
28261 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
28262 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
28263 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
28264 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
28265
20c07380
L
28266 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
28267 [__WORDSIZE_TIME64_COMPAT32] instead of
28268 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
28269 (struct utmp): Likewise.
28270 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
28271 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
28272 Renamed to ...
28273 (__WORDSIZE_TIME64_COMPAT32): This.
28274 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
28275 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
28276 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
28277 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
28278 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
28279 (__WORDSIZE_TIME64_COMPAT32): New macro.
28280
d8d1017e
AJ
282812012-05-21 Andreas Jaeger <aj@suse.de>
28282
28283 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
28284 only if [SHARED]. Add prototype for __wcschr_ia32.
28285
6c7fb145
RM
282862012-05-21 Roland McGrath <roland@hack.frob.com>
28287
28288 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
28289 of %rbp unmolested in the jmp_buf while mangling the low bits.
28290 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
28291 unmolested high bits of %rbp while demangling the low bits.
28292 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28293
66274218
AJ
282942012-05-21 Andreas Jaeger <aj@suse.de>
28295
07c58f8f
AJ
28296 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
28297 * sunrpc/svc_simple.c: Use it for registerrpc.
28298 * sunrpc/xcrypt.c: Use it for passwd2des.
28299
66274218
AJ
28300 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
28301
61f65140
L
283022012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28303
28304 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
28305 Don't define if [__SYSCALL_WORDSIZE != 32].
28306 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
28307 New macro.
28308
5fefb436
AJ
283092012-05-21 Bruno Haible <bruno@clisp.org>
28310 Andreas Jaeger <aj@suse.de>
28311
28312 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
28313 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
28314 inptr and inend for must_buffer_ch.
28315 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
28316 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
28317 * stdio-common/Makefile (tests): Remove bug15.
28318 (bug15-ENV): Remove macro.
28319 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
28320 anymore.
28321
d8e272ab
AJ
283222012-05-19 Andreas Jaeger <aj@suse.de>
28323 Roland McGrath <roland@hack.frob.com>
28324
28325 * manual/contrib.texi: Completely rewritten. It contains now an
28326 alphabetical list of contributors and their contributions.
28327
4a56a162
RH
283282012-05-21 Richard Henderson <rth@twiddle.net>
28329
28330 * misc/getauxval.c (__getauxval): Use unsigned long int.
28331 * misc/sys/auxv.h: Include <sys/cdefs.h>.
28332 (getauxval): Use unsigned long int.
28333
d024d23c
L
283342012-05-21 H.J. Lu <hongjiu.lu@intel.com>
28335
28336 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
28337
cbc00a03
RM
283382012-05-21 Roland McGrath <roland@hack.frob.com>
28339
28340 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
28341 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
28342 __alignof__ (long double).
28343
478143fa
AZ
283442012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28345
28346 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28347
c7683a6d
RH
283482012-05-20 Richard Henderson <rth@twiddle.net>
28349
28350 * misc/getauxval.c: New file.
28351 * misc/sys/auxv.h: New file.
28352 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
28353 (routines): Add getauxval.
28354 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
28355 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
28356 * elf/dl-sysdep.c (_dl_auxv): Remove.
28357 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
28358 * elf/dl-support.c (_dl_auxv): New variable.
28359 (_dl_aux_init): Initialize it.
28360 * manual/startup.texi (Auxiliary Vector): New node.
28361 * sysdeps/generic/bits/hwcap.h: New file.
28362 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
28363 * sysdeps/powerpc/sysdep.h: ... here. Include it.
28364 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
28365 * sysdeps/sparc/sysdep.h: ... here. Include it.
28366 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
28367 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
28368 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
28369 Update.
c7683a6d
RH
28370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
28371 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
28372 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
28373 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
28374 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28375 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
28376 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
28377 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
28378
a6f1845d
AZ
283792012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28380
28381 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28382
cbcbe830
DM
283832012-05-19 David S. Miller <davem@davemloft.net>
28384
28385 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28386
e0b16cc2
JM
283872012-05-19 Joseph Myers <joseph@codesourcery.com>
28388
28389 [BZ #14123]
28390 * math/s_ccosh.c: Include <float.h>
28391 (__ccosh): Avoid internal overflow calculating sinh and cosh
28392 values before multiplying by sin and cos values.
28393 * math/s_ccoshf.c: Likewise.
28394 * math/s_ccoshl.c: Likewise.
28395 * math/s_csin.c: Likewise.
28396 * math/s_csinf.c: Likewise.
28397 * math/s_csinl.c: Likewise.
28398 * math/s_csinh.c: Likewise.
28399 * math/s_csinhf.c: Likewise.
28400 * math/s_csinhl.c: Likewise.
28401 * math/libm-test.inc (ccos_test): Add more tests.
28402 (ccosh_test): Likewise.
28403 (csin_test): Likewise.
28404 (csinh_test): Likewise.
28405 * sysdeps/i386/fpu/libm-test-ulps: Update.
28406 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28407
6ad13e08
L
284082012-05-19 H.J. Lu <hongjiu.lu@intel.com>
28409
f66f0ce8
L
28410 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
28411 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
28412
6ad13e08
L
28413 * sysdeps/x86_64/x32/_itoa.h: Add comment.
28414
b1d072a7
JM
284152012-05-19 Joseph Myers <joseph@codesourcery.com>
28416
28417 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
28418 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
28419 * sysdeps/powerpc/soft-fp/Versions: Likewise.
28420 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
28421 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
28422 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
28423 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
28424 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
28425 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
28426 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
28427 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
28428 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
28429 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
28430 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
28431 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
28432 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
28433 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
28434 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
28435 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
28436 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
28437 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
28438 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
28439 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
28440 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
28441 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
28442 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
28443 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
28444 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
28445 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
28446 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
28447 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
28448
9eae47cb
AJ
284492012-05-18 Andreas Jaeger <aj@suse.de>
28450
28451 * csu/.gitignore: Delete.
28452
bb07f69f
L
284532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28454
28455 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
28456 (timex): Use __syscall_slong_t.
28457
e6bdb741
AJ
284582012-05-18 Andreas Jaeger <aj@suse.de>
28459 Carlos O'Donell <carlos_odonell@mentor.com>
28460
28461 * manual/install.texi (Configuring and compiling): Update
28462 description about files modified in the source directory.
d6c33fda 28463 * INSTALL: Regenerated.
e6bdb741 28464
1b74487e
L
284652012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28466
28467 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
28468 value. Use "or" to set return value to -1.
28469 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
28470 negate return value.
28471
a88b64b9
TMQMF
284722012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
28473
28474 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
28475 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
28476 failure if the compiler has Graphite support disabled.
28477 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
28478 Likewise.
28479 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
28480 CFLAGS-memmove.c): Likewise.
28481 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
28482 Likewise.
28483
3707636e
L
284842012-05-18 H.J. Lu <hongjiu.lu@intel.com>
28485
610b8622
L
28486 * sysdeps/x86_64/x32/_itoa.h: New file.
28487
7cd195df
L
28488 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
28489 getdents system call only if kernel and user dirents have the
28490 same d_ino and d_off.
28491
94b07d20
L
28492 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
28493 LLONG_MAX != LONG_MAX.
28494 (_itoa_word): Use _ITOA_WORD_TYPE on value.
28495 (_fitoa_word): Likewise.
28496
18298070
L
28497 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
28498 years.
28499 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
28500 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
28501 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
28502
553c7ea4
L
28503 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
28504 include <bits/wordsize.h>. Check __x86_64__ instead of
28505 __WORDSIZE.
28506 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
28507 if __x86_64__ is defined. Use anonymous union on fpstate.
28508
3707636e
L
28509 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
28510 anonymous union.
28511
b53ef01a
AS
285122012-05-18 Andreas Schwab <schwab@linux-m68k.org>
28513
37fb1dc0
AS
28514 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
28515 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
28516 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
28517 Refer to _rtld_local_ro instead of _rtld_global_ro.
28518 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
28519 Likewise.
28520 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
28521 Likewise.
28522 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
28523 Likewise.
28524 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
28525 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
28526 of _rtld_global, and rtld_progname instead of _dl_argv[0].
28527
b53ef01a
AS
28528 * sysdeps/powerpc/powerpc32/dl-machine.c
28529 (__elf_machine_runtime_setup) [PROF]: Don't reference
28530 _dl_prof_resolve.
28531
7a185db2
AJ
285322012-05-18 Andreas Jaeger <aj@suse.de>
28533
28534 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
28535 function only available for GCCs before 3.4 since GCC 3.4
28536 introduced a builtin.
28537 (lrint): Likewise.
28538 (llrintf): Likewise.
28539 (llrint): Likewise.
28540 (fmaxf): Likewise.
28541 (fmax): Likewise.
28542 (fminf): Likewise.
28543 (fmin): Likewise.
28544 (rint): Likewise.
28545 (rintf): Likewise.
28546 (nearbyint): Likewise.
28547 (nearbyintf): Likewise.
28548 (ceil): Likewise.
28549 (ceilf): Likewise.
28550 (floor): Likewise.
28551 (floorf): Likewise.
28552
3e5aef87
L
285532012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28554
428bd707
L
28555 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
28556 on both fields and cast pointer to __syscall_ulong_t.
28557
3e5aef87
L
28558 * bits/types.h (__fsword_t): New type.
28559 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
28560 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
28561 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28562 (__FSWORD_T_TYPE): Likewise.
28563 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28564 (__FSWORD_T_TYPE): Likewise.
28565 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28566 (__FSWORD_T_TYPE): Likewise.
28567 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
28568 (__FSWORD_T_TYPE): Likewise.
28569 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
28570 __SWORD_TYPE with __fsword_t.
28571 (statfs64): Likewise.
28572
1ba7c3dc
DM
285732012-05-17 David S. Miller <davem@davemloft.net>
28574
28575 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
28576
59910343
AJ
285772012-05-17 Andreas Jaeger <aj@suse.de>
28578
28579 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
28580 warning.
28581
2e4c1e9e
L
285822012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28583
28584 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
28585
de7f5ce7
AJ
285862012-05-17 Andreas Jaeger <aj@suse.de>
28587
28588 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
28589 when it is used.
28590
286abc3d
CM
285912012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28592
28593 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
28594
477cc68e
L
285952012-05-17 H.J. Lu <hongjiu.lu@intel.com>
28596
28597 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
28598 * sysdeps/x86_64/tst-mallocalign1.c: New file.
28599
1a0994f5
CD
286002012-05-17 Andreas Jaeger <aj@suse.de>
28601 Carlos O'Donell <carlos_odonell@mentor.com>
28602
28603 [BZ #14059]
28604 * sysdeps/x86_64/multiarch/init-arch.h
28605 (bit_YMM_Usable): Rename to...
28606 (bit_AVX_Usable): ... this.
28607 (bit_FMA4_Usable): New macro.
28608 (bit_XMM_state): New macro.
28609 (bit_YMM_state): New macro.
28610 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
28611 [__ASSEMBLER__] (index_AVX_Usable): ... this.
28612 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
28613 (CPUID_OSXSAVE): New macro.
28614 (CPUID_AVX): New macro.
28615 (CPUID_FMA4): New macro.
28616 (index_YMM_Usable): Rename to...
28617 (index_AVX_Usable): ... this.
28618 (HAS_AVX): Use HAS_ARCH_FEATURE.
28619 (HAS_FMA4): Likewise.
28620 (HAS_YMM_USABLE): Remove.
28621 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28622 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
28623 are present.
28624 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
28625 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
28626 * sysdeps/x86_64/multiarch/Makefile: Likewise.
28627 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
28628 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
28629
0af797de
CM
286302012-05-17 Chris Metcalf <cmetcalf@tilera.com>
28631
28632 * math/libm-test.c: Support platforms without multiple rounding modes.
28633 * math/bug-nextafter.c: Support platforms without FP exceptions.
28634 * math/bug-nexttoward.c: Likewise.
28635 * math/test-fenv.c: Likewise.
28636 * math/test-misc.c: Likewise.
28637 * stdlib/bug-getcontext.c: Likewise.
28638
e39745ff
AJ
286392012-05-17 Andreas Jaeger <aj@suse.de>
28640
28641 * manual/examples/search.c (critter_cmp): Change signature to
28642 avoid warnings.
28643 * manual/string.texi (Collation Functions): Likewise.
28644
48970aba
L
286452012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28646
28647 * bits/types.h: Fold copyright years.
28648 * bits/typesizes.h: Likewise.
28649 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
28650 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
28651 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
28652 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
28653 * time/time.h: Likewise.
28654
bedee953
PP
286552012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
28656
28657 [BZ #208]
28658 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
28659 in instead of returning them. Return void.
28660 (__libc_mallinfo): Accumulate over all arenas.
28661 (__malloc_stats): Adjust for change in int_mallinfo interface.
28662
61653dfb
RM
286632012-05-16 Roland McGrath <roland@hack.frob.com>
28664
30b99d79
RM
28665 [BZ #10375]
28666 * configure.in (NM): Add AC_CHECK_TOOL for it.
28667 (libc_extra_cflags): New substituted variable.
28668 Check for -fstack-protector being used implicitly.
28669 * configure: Regenerated.
28670 * config.make.in (config-extra-cflags): New variable,
28671 gets @libc_extra_cflags@.
28672 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
28673
61653dfb
RM
28674 [BZ #10375]
28675 * configure.in: Check for _FORTIFY_SOURCE being predefined.
28676 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
28677 * configure: Regenerated.
28678 * config.make.in (CPPUNDEFS): New substituted variable.
28679 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
28680 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
28681 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
28682
661768bb
L
286832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28684
28685 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
28686 (mq_attr): Use __syscall_slong_t.
28687
d4261567
L
286882012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28689
28690 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
28691 Check __x86_64__ instead of __WORDSIZE.
28692 (_STAT_VER_LINUX): Likewise.
28693 (stat): Check __x86_64__ instead of __WORDSIZE. Use
28694 __syscall_ulong_t and __syscall_slong_t.
28695 (stat64): Likewise.
28696
cf3ff365
L
286972012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28698
28699 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
28700
76cf3e4d
L
287012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28702
28703 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
28704
a637753a
L
287052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28706
28707 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
28708 __syscall_ulong_t.
28709
d5e05119
L
28710 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
28711 include <bits/wordsize.h>. Check __x86_64__ instead of
28712 __WORDSIZE.
28713 (greg_t): Use "__extension__ long long int" if __x86_64__ is
28714 defined.
28715 (mcontext_t): Replace "unsigned long" with "unsigned long long".
28716
f62ee380
L
28717 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
28718 include <bits/wordsize.h>. Check __x86_64__ instead of
28719 __WORDSIZE.
28720 (user_regs_struct): Use "__extension__ unsigned long long"
28721 instead of "unsigned long" if __x86_64__ is defined.
28722 (user): Likewise. Pad after pointer field if __ILP32__ is
28723 defined.
28724
4e124ced
JM
287252012-05-16 Joseph Myers <joseph@codesourcery.com>
28726
6a3951a0
JM
28727 * configure.in (makeinfo): Require version 4.5 or later. Allow
28728 versions 5 to 9.
28729 * configure: Regenerated.
28730 * manual/install.texi (texinfo): Increase version requirement to
28731 4.5 or later.
28732 * INSTALL: Regenerated.
28733
4e124ced
JM
28734 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
28735
953ca31a
L
287362012-05-16 H.J. Lu <hongjiu.lu@intel.com>
28737
28738 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
28739
617aca05
L
28740 * sysdeps/x86_64/x32/ffs.c: New file.
28741
5762f7ae
L
28742 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
28743 __syscall_ulong_t.
28744 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
28745 defined. Use __syscall_ulong_t.
28746 (shminfo): Use __syscall_ulong_t.
28747 (shm_info): Likewise.
28748
a26b6856
L
28749 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
28750 __syscall_ulong_t.
28751
cb2b9ef7
L
28752 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
28753 <bits/wordsize.h>.
28754 (msgqnum_t): Use __syscall_ulong_t.
28755 (msglen_t): Likewise.
28756 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
28757 __syscall_ulong_t.
28758
34683bb0
L
28759 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
28760 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28761
84a68786
L
28762 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
28763
48baa5f1
L
28764 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
28765 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
28766
180be88b
L
28767 * sysvipc/sys/msg.h (msgbuf): Replace long int with
28768 __syscall_slong_t.
28769
5e90c8ad
L
28770 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
28771 include <bits/wordsize.h>. Check __x86_64__ instead of
28772 __WORDSIZE.
28773
23dfb58b
L
28774 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
28775 "unsigned long long int" if __x86_64__ is defined.
28776 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
28777
ce5d54b0
L
28778 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
28779 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
28780 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
28781
13dc9eac
L
28782 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
28783 <stdint.h>.
28784 (GET_PC): Cast to uintptr_t first.
28785 (GET_FRAME): Likewise.
28786 (GET_STACK): Likewise.
28787
a7895d15
L
28788 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
28789 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
28790 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
28791 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
28792 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
28793 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
28794 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
28795 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
28796 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
28797 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
28798 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
28799 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
28800 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
28801 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
28802 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
28803 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
28804 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
28805 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
28806 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
28807 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
28808 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
28809 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
28810 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
28811 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
28812 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
28813 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
28814 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
28815 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
28816 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
28817
656416c9
AS
288182012-05-16 Andreas Schwab <schwab@linux-m68k.org>
28819
5bd66283
AS
28820 * Makerules (+depfiles): Also collect depfiles from .oS in
28821 $(extra-objs).
28822 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
28823 .oS, $(libnldbl-routines)).
28824
656416c9
AS
28825 * Makerules (native-compile-mkdep-flags): Define.
28826 * sunrpc/Makefile (extra-objs): Add $(addprefix
28827 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
28828 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
28829 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
28830 calling $(make-target-directory).
28831
a46f2169
L
288322012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28833
28834 * bits/types.h (__snseconds_t): Removed.
28835 * time/time.h (struct timespec): Replace __snseconds_t with
28836 __syscall_slong_t.
28837 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
28838 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
28839 Likewise.
28840 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28841 (__SNSECONDS_T_TYPE): Likewise.
28842 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28843 (__SNSECONDS_T_TYPE): Likewise.
28844 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28845 (__SNSECONDS_T_TYPE): Likewise.
28846
6af6528b
L
288472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28848
28849 * sysdeps/mach/hurd/bits/typesizes.h
28850 (__SYSCALL_SLONG_TYPE): New macro.
28851 (__SYSCALL_ULONG_TYPE): Likewise.
28852
de986b56
L
288532012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28854
28855 * bits/types.h (__syscall_slong_t): New type.
28856 (__syscall_ulong_t): Likewise.
28857
28858 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
28859 (__SYSCALL_ULONG_TYPE): Likewise.
28860 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
28861 (__SYSCALL_SLONG_TYPE): Likewise.
28862 (__SYSCALL_ULONG_TYPE): Likewise.
28863 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
28864 (__SYSCALL_SLONG_TYPE): Likewise.
28865 (__SYSCALL_ULONG_TYPE): Likewise.
28866 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
28867 (__SYSCALL_SLONG_TYPE): Likewise.
28868 (__SYSCALL_ULONG_TYPE): Likewise.
28869
85736dc7
L
288702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28871
28872 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
28873 Add sigaltstack-offsets.sym.
28874 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
28875 <sigaltstack-offsets.h>.
28876 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
28877 longjmp_msg pointer.
28878 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
28879 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
28880 signal stack.
28881 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
28882
cc03b296
JM
288832012-05-15 Joseph Myers <joseph@codesourcery.com>
28884
a9538892
JM
28885 * elf/stackguard-macros.h: Remove file.
28886 * sysdeps/generic/stackguard-macros.h: New file.
28887 * sysdeps/i386/stackguard-macros.h: Likewise.
28888 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
28889 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
28890 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
28891 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
28892 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
28893 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
28894 * sysdeps/x86_64/stackguard-macros.h: Likewise.
28895 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
28896 <elf/stackguard-macros.h>.
28897
cc03b296
JM
28898 [BZ #14109]
28899 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
28900 __aligned__ in attribute.
28901 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
28902 (gregset_t): Likewise.
28903
93171016
L
289042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28905
28906 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
28907 * sysdeps/x86_64/64/Implies-after: Here. New file.
28908 * sysdeps/x86_64/x32/Implies-after: New file.
28909
d86813a0
L
289102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28911
28912 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
28913 and access return value for _dl_profile_fixup. Use R10_LP to
28914 load frame size.
28915
2953ec75
L
289162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28917
28918 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
28919
3b550e9e
L
289202012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28921
28922 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
28923 * sysdeps/x86_64/x32/sysdep.h: New file.
28924
eda41706
L
289252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28926
28927 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
28928 * sysdeps/x86_64/setjmp.S: Likewise.
28929
9ea01d93
AZ
289302012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28931
28932 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
28933 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
28934 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
28935 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
28936 remove unused global constant.
28937
02a91938
CM
289382012-05-15 Chris Metcalf <cmetcalf@tilera.com>
28939
28940 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
28941 include of <not-cancel.h>.
28942
6540185f
RM
289432012-05-15 Roland McGrath <roland@hack.frob.com>
28944
28945 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
28946
509072a0
AJ
289472012-05-15 Jeff Law <law@redhat.com>
28948 Andreas Jaeger <aj@suse.de>
28949
28950 [BZ #13594]
28951 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
28952 out from...
28953 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
28954 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
28955 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
28956 code changing __hst_map_handle.map.
28957
ba75122d
RM
289582012-05-15 Roland McGrath <roland@hack.frob.com>
28959
28960 * configure.in (sysnames): Look for Implies-before and Implies-after
28961 files.
28962 * configure: Regenerated.
28963
890d8bd8
L
289642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28965
28966 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
28967 8-byte data alignment with LP_SIZE alignment.
28968
f6ee6623
L
289692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28970
28971 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
28972 into R10_LP.
28973
ea2626f6
L
289742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28975
28976 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
28977
085f715e
L
289782012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28979
28980 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
28981 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
28982 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
28983 Likewise.
28984 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
28985
be8498fc
L
289862012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28987
28988 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
28989 (stackinfo_sub_sp): Likewise.
28990
70bc83b9
L
289912012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28992
28993 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
28994 RAX_LP.
28995
9bc0b730
L
289962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
28997
28998 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
28999 into R*_LP.
29000
6d2850e7
L
290012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29002
29003 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
29004 sizes into R*_LP.
29005
3cb84561
L
290062012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29007
29008 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
29009
54e2ed81
L
290102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29011
29012 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
29013 into R11_LP and load __x86_64_shared_cache_size_half into
29014 R8_LP.
29015
8a17f349
L
290162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
29017
29018 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
29019 R8_LP.
29020
777b1eea
AZ
290212012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29022
29023 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
29024 logb for POWER7.
29025 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
29026 logbf for POWER7.
29027 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
29028 logbl for POWER7.
29029 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
29030 powerpc32/power7/fpu/s_logb.c via #include.
29031 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
29032 powerpc32/power7/fpu/s_logbf.c via #include.
29033 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
29034 powerpc32/power7/fpu/s_logbl.c via #include.
29035
d20d4ac2
JM
290362012-05-15 Joseph Myers <joseph@codesourcery.com>
29037
29038 * README.libm: Remove file.
29039
6cdef1ab
L
290402012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29041
29042 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
29043 count for x32. Use R*_LP and omit operand-size suffix.
29044
0b254d8f
L
290452012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29046
29047 * shlib-versions: Move x86_64-.*-linux.* entries to ...
29048 * sysdeps/x86_64/64/shlib-versions: Here. New file.
29049 * sysdeps/x86_64/x32/shlib-versions: New file.
29050
ceb809dc
RM
290512012-05-14 Roland McGrath <roland@hack.frob.com>
29052
29053 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
29054 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
29055 Use _dl_fatal_printf instead.
29056
37f1abd4
JM
290572012-05-14 Joseph Myers <joseph@codesourcery.com>
29058
29059 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
29060 set if not set by the user. Do not allow for being unset.
29061 * sysdeps/unix/sysv/linux/configure: Regenerated.
29062
11de3a33
L
290632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29064
29065 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
29066 the `q' suffix from lea and replace .quad with ASM_ADDR.
29067
e02f153a
L
290682012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29069
29070 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
29071 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
29072 instead of $17.
29073 (PTR_DEMANGLE): Likewise.
29074
520ae0fd
L
290752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29076
29077 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
29078 (LP_OP): Likewise.
29079 (ASM_ADDR): Likewise.
29080 (RAX_LP): Likewise.
29081 (RBP_LP): Likewise.
29082 (RBX_LP): Likewise.
29083 (RCX_LP): Likewise.
29084 (RDI_LP): Likewise.
29085 (RSI_LP): Likewise.
29086 (RSP_LP): Likewise.
29087 (R8_LP): Likewise.
29088 (R9_LP): Likewise.
29089 (R10_LP): Likewise.
29090 (R10_LP): Likewise.
29091 (R11_LP): Likewise.
29092 (R12_LP): Likewise.
29093 (R13_LP): Likewise.
29094 (R14_LP): Likewise.
29095 (R15_LP): Likewise.
29096
b985be81
L
290972012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29098
29099 * sysdeps/x86_64/x32/dl-machine.h: New file.
29100
6a4888ff
AJ
291012012-05-14 Andreas Jaeger <aj@suse.de>
29102
29103 * manual/Makefile (subdir): Remove export of subdir.
29104 (all): Remove target.
29105 (.PHONY): Remove all from list.
29106 (mkinstalldirs): Remove.
29107 (.PHONY): Remove installdirs from list.
29108 ($(inst_infodir)/libc.info): Use make-target-directory.
29109 (installdirs): Remove.
29110 (subdir_%): Remove.
29111 (glibc-targets): Remove.
29112 (lib): Remove.
29113 (stubs): Remove.
29114 ($(objpfx)stubs ../po/manual.pot): Remove.
29115 ($(objpfx)stamp%): Remove.
29116 (make-target-directory): Remove.
29117 (subdir_install): Remove.
29118 (routines): Remove.
29119 (aux): Remove.
29120 (sources): Remove.
29121 (objects): Remove.
29122 (headers): Remove.
29123
29124 [BZ #13750]
29125 * manual/.gitignore: Remove, it's not needed anymore.
29126 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
29127 all files in it.
29128 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
29129 directory.
29130 (texis): Renamed to $(objpfx)texis.
29131 (texis-path): New, contains path to generated files.
29132 (chapters.%): Use texis-path for complete path, add extra argument
29133 libc-texinfo.sh.
29134 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
29135 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
29136 (summary,texi, stamp-summary): Use complete path of
29137 files. Generate files in build dir.
29138 (dir-add.texi): Build in build dir.
29139 (libm-err.texi,stamp-libm-err): Likewise.
29140 (version.texi, stamp-version): Likewise.
29141 (.%c.texi): Likewise.
29142 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
29143 (mostlyclean): Remove target.
29144 (realclean): Remove target.
29145 (generated): Add new variable with contents from mostlyclean and
29146 realclean, remove entries duplicated in common-mostlyclean, add
29147 stamp-libm-err and stamp-version.
29148 (generated-dirs): Add libc directory.
29149 ($(inst_infodir)/libc.info): Install files from build dir.
29150
29151 * manual/install.texi (Configuring and compiling): Adjust since
29152 the info files are not part of the tar ball anymore.
29153
7ac77294
AJ
291542012-05-14 Andreas Jaeger <aj@suse.de>
29155
29156 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
29157 variable.
29158
ffb7875d
JM
291592012-05-14 Joseph Myers <joseph@codesourcery.com>
29160
29161 [BZ #13717]
29162 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29163 to 2.2.0 where earlier.
29164 * sysdeps/unix/sysv/linux/configure: Regenerated.
29165 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
29166 Remove conditional code.
29167 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
29168 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
29169 Remove conditional code.
29170 [!__NR_lchown]: Likewise.
29171 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29172 [__NR_lchown]: Likewise.
29173 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
29174 comment referencing __ASSUME_LCHOWN_SYSCALL.
29175 * sysdeps/unix/sysv/linux/i386/sigaction.c
29176 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29177 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29178 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
29179 Remove conditional code.
29180 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
29181 (__protocol_available): Remove #if 0 code.
29182 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
29183 conditional code.
29184 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
29185 * sysdeps/unix/sysv/linux/kernel-features.h
29186 (__ASSUME_GETCWD_SYSCALL): Don't define.
29187 (__ASSUME_REALTIME_SIGNALS): Likewise.
29188 (__ASSUME_PREAD_SYSCALL): Likewise.
29189 (__ASSUME_PWRITE_SYSCALL): Likewise.
29190 (__ASSUME_POLL_SYSCALL): Likewise.
29191 (__ASSUME_LCHOWN_SYSCALL): Likewise.
29192 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
29193 non-SPARC.
29194 (__ASSUME_SIOCGIFNAME): Don't define.
29195 (__ASSUME_MSG_NOSIGNAL): Likewise.
29196 (__ASSUME_SENDFILE): Define unconditionally.
29197 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
29198 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
29199 conditional code.
29200 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
29201 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
29202 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29203 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29204 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
29205 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
29206 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
29207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
29208 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29209 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
29211 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29212 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29213 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
29214 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29215 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
29217 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29218 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29219 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
29220 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29221 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29222 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
29223 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
29224 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
29226 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29227 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29228 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
29229 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29230 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29231 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
29232 Remove conditional code.
29233 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29234 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29235 Remove conditional code.
29236 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29237 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
29238 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
29239 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29240 Remove conditional code.
29241 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29242 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
29243 Remove conditional code.
29244 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29245 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
29246 Remove conditional code.
29247 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29248 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
29249 Remove conditional code.
29250 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
29251 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
29252 Remove conditional code.
29253 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29254 * sysdeps/unix/sysv/linux/sh/pwrite64.c
29255 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
29256 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
29257 * sysdeps/unix/sysv/linux/sigaction.c
29258 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29259 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29260 * sysdeps/unix/sysv/linux/sigpending.c
29261 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29262 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29263 * sysdeps/unix/sysv/linux/sigprocmask.c
29264 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29265 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29266 * sysdeps/unix/sysv/linux/sigsuspend.c
29267 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
29268 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
29269 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29270 (__libc_missing_rt_sigs): Remove.
29271 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
29272 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
29273 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
29274 Remove conditional code.
29275 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
29276 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
29277 return 1.
29278 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
29279 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
29280 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
29281 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
29282
1bfb7291
AJ
292832012-05-14 Andreas Jaeger <aj@suse.de>
29284
caae5a81
AJ
29285 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
29286 it's not used in glibc.
29287 (__coshm1): Likewise.
29288 (__acosh1p): Likewise.
29289 (__sgn): Likewise.
29290
1bfb7291
AJ
29291 * manual/string.texi (Copying and Concatenation): Add missing
29292 variable in concat example.
29293 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
29294
c044d724
L
292952012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29296
144c5467 29297 [BZ #14103]
c044d724
L
29298 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
29299 __builtin_clzl with __builtin_clzll.
29300
2523c62b
L
293012012-05-14 H.J. Lu <hongjiu.lu@intel.com>
29302
29303 [BZ #14104]
29304 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
29305 libc_freeres_ptr.
29306
d7bb4c42
LD
293072012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
29308
29309 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
29310 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
29311 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
29312 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
29313
9dc4e1fb
MF
293142012-05-14 Mike Frysinger <vapier@gentoo.org>
29315
29316 * NEWS: Update ia64 info.
29317
c7df0112
AS
293182012-05-12 Andreas Schwab <schwab@linux-m68k.org>
29319
29320 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
29321 used as bcopy.
29322
dc70356c
TS
293232012-05-12 Thomas Schwinge <thomas@codesourcery.com>
29324
29325 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
29326 * sysdeps/unix/syscalls.list (dup3): Likewise.
29327 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
29328 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
29329
9fb1a21f
L
293302012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29331
29332 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
29333 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
29334
4822a2a5
L
293352012-05-11 H.J. Lu <hongjiu.lu@intel.com>
29336
29337 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
29338 thread pointer.
29339 (TLS_IE): Use mov/add instead of movq/addq to load thread
29340 pointer.
29341 (TLS_GD_PREFIX): New.
29342 (TLS_GD): Use it.
29343
842b81d6
DM
293442012-05-11 David S. Miller <davem@davemloft.net>
29345
29346 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
29347 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
29348 (_FPU_SETCW): Likewise.
29349
1cf463cd
L
293502012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29351
29352 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
29353 is 32-byte aligned.
29354
60cc4a18
AS
293552012-05-11 Andreas Schwab <schwab@linux-m68k.org>
29356
29357 [BZ #11837]
29358 * iconvdata/gb18030.c: Update tables.
29359 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
29360 characters specially.
29361 (BODY for TO_LOOP): Add encoding of missing ranges.
29362
febb44a4
TS
293632012-05-11 Thomas Schwinge <thomas@codesourcery.com>
29364
29365 [BZ #13673]
29366 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
29367 * sysdeps/mach/hurd/dup3.c: Likewise.
29368 * sysdeps/mach/hurd/readlinkat.c: Likewise.
29369 * sysdeps/powerpc/memmove.c:: Likewise.
29370
0a10fb9e
L
293712012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29372
29373 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
29374 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
29375
df8a552f
L
293762012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29377
29378 * elf/elf.h (R_X86_64_RELATIVE64): New.
29379 (R_X86_64_NUM): Updated.
29380 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
29381 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
29382 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
29383 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
29384 tst-quad1pie tst-quad2pie
29385 (modules-names): Add tst-quadmod1 tst-quadmod2.
29386 ($(objpfx)tst-quad1): New dependency.
29387 ($(objpfx)tst-quad2): Likewise.
29388 ($(objpfx)tst-quad1pie): Likewise.
29389 ($(objpfx)tst-quad2pie): Likewise.
29390 * sysdeps/x86_64/tst-quad1.c: New file.
29391 * sysdeps/x86_64/tst-quad1pie.c: New file.
29392 * sysdeps/x86_64/tst-quad2.c: Likewise.
29393 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
29394 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
29395 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
29396 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
29397 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
29398
f34d6f84
ST
293992012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29400
f42d41d1
ST
29401 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
29402 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
29403 * streams/stropts.h (t_scalar_t): Define type.
29404
3c3571fc
ST
29405 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
29406 (_PATH_PRESERVE): Set to "/var/lib".
29407 (_PATH_RWHODIR): Set to "/var/spool/rwho".
29408
61f06bd3
ST
29409 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
29410 instead of int.
29411
918d4d71
ST
29412 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
29413 if __dir_mkfile succeeded.
29414
f34d6f84
ST
29415 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
29416 checking for _hurd_dtablesize. Unlock it right after having
29417 finished _hurd_dtable allocation.
29418
10589b4a
TS
294192012-05-10 Thomas Schwinge <thomas@schwinge.name>
29420
674cdbc7
TS
29421 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
29422 * sysdeps/mach/hurd/configure: Regenerated.
29423 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
29424 special-casing to...
29425 * sysdeps/gnu/configure.in: ... this new file.
29426 * sysdeps/unix/sysv/linux/configure: Regenerated.
29427 * sysdeps/gnu/configure: New generated file.
29428
8e41b99f
TS
29429 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
29430 for Linux: use nsec instead of usec, as well as:
29431 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
29432 members of type struct timespec.
29433 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
29434 New macros.
29435 (struct stat64): Likewise.
29436 (_STATBUF_ST_NSEC): New macro.
29437 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
29438
10589b4a
TS
29439 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
29440 __strtoul_internal rather than strtoul.
29441
63643c85
PT
294422012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29443
29444 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
29445 and reject them.
29446
3faebe6a
ST
294472012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29448
29449 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
29450 which preserves existing values.
29451 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
29452
c6474b07
PT
294532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29454
29455 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
29456 TIMEOUT values. Return EINVAL for NFDS values either negative or
29457 greater than FD_SETSIZE.
29458
1043890b
ST
294592012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29460
29461 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
29462 allocated, call __vm_protect to finish enabling the existing space, and
29463 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
29464 allocate the remainder.
29465
37ed8b9b
PT
294662012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29467
29468 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
29469 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
29470
db653660
ST
294712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29472
37ed8b9b
PT
29473 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
29474 sysdeps/mach/hurd/readlink.c.
b29d4053 29475
db653660
ST
29476 * posix/tst-sysconf.c (posix_options): Only use
29477 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
29478 _POSIX_SYNCHRONIZED_IO when they are defined
29479 * sysdeps/mach/hurd/bits/posix_opt.h:
29480 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
29481 (_XOPEN_REALTIME): Undefine macro.
29482 (_XOPEN_REALTIME_THREADS): Undefine macro.
29483 (_XOPEN_SHM): Undefine macro.
29484 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
29485 macro to -1.
29486 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
29487 macro to -1.
29488 (_POSIX_ASYNC_IO): Undefine macro.
29489 (_POSIX_PRIORITIZED_IO): Undefine macro.
29490 (_POSIX_SPIN_LOCKS): Define macro to -1.
29491
ee16e894
ST
29492 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
29493 SA_NODEFER, SA_RESETHAND.
29494 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
29495 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
29496 F_DUPFD_CLOEXEC.
29497
6103ae3b
TS
294982012-05-10 Thomas Schwinge <thomas@schwinge.name>
29499
29500 * elf/Makefile (pldd-modules): Define unconditionally.
29501
80b4e5f3
TS
295022012-05-10 Thomas Schwinge <thomas@schwinge.name>
29503
29504 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
29505
edadcbd6
ST
295062012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29507
29508 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
29509 Return ENOENT when name is empty.
29510 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
29511
80694780
TS
295122012-05-10 Thomas Schwinge <thomas@schwinge.name>
29513
1792c087
TS
29514 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
29515
80694780
TS
29516 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
29517
6b645f0d
ST
295182012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29519
80694780
TS
29520 Fix mlock in all cases except non-readable pages.
29521 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
29522 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 29523
6b645f0d
ST
29524 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
29525 (__mkdir): When path is `/', just fail with EEXIST.
29526 * sysdeps/mach/hurd/mkdirat.c: Likewise.
29527
e468f8a3
TS
295282012-05-10 Thomas Schwinge <thomas@schwinge.name>
29529
29530 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
29531 <sys/uio.h> (for writev).
29532 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
29533 and <sys/param.h> (for MIN).
29534
a4186cff
PT
295352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
29536
29537 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
29538 REQUESTED_TIME. Properly set the remaining time and return EINTR
29539 if interrupted.
29540
510bbf14
TS
295412012-05-10 Thomas Schwinge <thomas@schwinge.name>
29542
29543 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
29544 Depend on against $(link-rpcuserlibs).
29545
5d5722e8
ST
295462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29547
a4186cff
PT
29548 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
29549 (__libc_stack_end): Do not use attribute_relro.
29550 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
29551 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 29552 to libthread-provided value.
a4186cff
PT
29553 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
29554 attribute_relro.
5d5722e8 29555
37233df9
TS
295562012-05-10 Thomas Schwinge <thomas@schwinge.name>
29557
be971a2b
TS
29558 [BZ #3748]
29559 * bits/libc-lock.h (__libc_once_get): New macro.
29560 * sysdeps/mach/bits/libc-lock.h: Likewise.
29561 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
29562 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
29563 instead of using implementation details.
29564
37233df9
TS
29565 * libio/fileops.c: Unconditionally include <kernel-features.h>.
29566 * libio/freopen.c: Likewise.
29567 * libio/freopen64.c: Likewise.
29568 * misc/syslog.c: Likewise.
29569 * nscd/connections.c: Likewise.
29570 * nscd/netgroupcache.c: Likewise.
29571 * sysdeps/posix/getcwd.c: Likewise.
29572
38de94a5
RM
295732012-05-10 Roland McGrath <roland@hack.frob.com>
29574
29575 * math/w_ilogbf.c: Add #include <limits.h>.
29576
67530489
ST
295772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29578
a4186cff 29579 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
29580 path instead of returning without unlocking.
29581
67530489
ST
29582 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
29583 immediate-write ioctls.
29584 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
29585
5aa3a74a
TS
295862012-05-10 Thomas Schwinge <thomas@schwinge.name>
29587
18bad2ae
TS
29588 * sysdeps/mach/hurd/i386/init-first.c (init): Use
29589 __builtin_frame_address instead of making assumptions about the
29590 location of the return address relative to DATA. Force early load of
29591 the return address.
29592 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
29593 __builtin_frame_address.
29594
5aa3a74a
TS
29595 dup3 for GNU Hurd.
29596 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
29597 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
29598 implement dup3 and do some further code clean-ups.
29599 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
29600 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
29601
ecd0de9a
ST
296022012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29603
cd9fa985
ST
29604 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
29605
a4186cff
PT
29606 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
29607 HURD_CRITICAL_END around holding _hurd_dtable_lock.
29608 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
29609 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
29610 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
29611 d->port.lock.
802ca5a5 29612
a4186cff
PT
29613 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
29614 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
29615 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 29616
bcf55240
TS
296172012-05-10 Thomas Schwinge <thomas@schwinge.name>
29618
6960eb42
TS
29619 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
29620 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
29621 definitions.
29622
eb43375f
TS
29623 accept4 for GNU Hurd.
29624 * include/sys/socket.h (__libc_accept4): New prototype.
29625 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
29626 to implement __libc_accept4.
29627 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
29628 __libc_accept4.
29629 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
29630
bcf55240
TS
29631 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
29632 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
29633 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
29634 signal-defines.sym.
29635
6178c55b
ST
296362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29637
a4186cff 29638 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 29639
6f080c2f
TS
296402012-05-10 Thomas Schwinge <thomas@schwinge.name>
29641
29642 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
29643 assertion on O_CLOEXEC flag.
29644 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
29645 * hurd/intern-fd.c: Likewise.
29646 * hurd/port2fd.c: Likewise.
29647
bcfe3a54
ST
296482012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
29649
29650 [BZ #3906]
29651 * bits/in.h (IPV6_PKTINFO): Define new macro.
29652 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
29653
89c9aa49
AZ
296542012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29655
29656 [BZ #13954]
29657 [BZ #13955]
29658 [BZ #13956]
29659 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
29660 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29661 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
29662 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29663 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29664 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29665 * math/libm-test.inc (logb_test) : Additional logb tests.
29666
021db4be
AJ
296672012-05-09 Andreas Schwab <schwab@linux-m68k.org>
29668 Andreas Jaeger <aj@suse.de>
29669
29670 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
29671 * configure: Regenerated.
29672 * config.h.in (LINK_OBSOLETE_RPC): New macro.
29673 * config.make.in (link-obsolete-rpc): New substituted variable.
29674 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
29675 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
29676 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29677 (shared-only-routines): Don't set it under [link-obsolete-rpc],
29678 so that libc.a contains the symbols.
29679 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
29680 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
29681 * sunrpc/auth_none.c: Likewise.
29682 * sunrpc/auth_unix.c: Likewise.
29683 * sunrpc/authdes_prot.c: Likewise.
29684 * sunrpc/authuxprot.c: Likewise.
29685 * sunrpc/clnt_gen.c: Likewise.
29686 * sunrpc/clnt_perr.c: Likewise.
29687 * sunrpc/clnt_raw.c: Likewise.
29688 * sunrpc/clnt_simp.c: Likewise.
29689 * sunrpc/clnt_tcp.c: Likewise.
29690 * sunrpc/clnt_udp.c: Likewise.
29691 * sunrpc/clnt_unix.c: Likewise.
29692 * sunrpc/des_crypt.c: Likewise.
29693 * sunrpc/des_soft.c: Likewise.
29694 * sunrpc/get_myaddr.c: Likewise.
29695 * sunrpc/key_call.c: Likewise.
29696 * sunrpc/key_prot.c: Likewise.
29697 * sunrpc/netname.c: Likewise.
29698 * sunrpc/pm_getmaps.c: Likewise.
29699 * sunrpc/pm_getport.c: Likewise.
29700 * sunrpc/pmap_clnt.c: Likewise.
29701 * sunrpc/pmap_prot.c: Likewise.
29702 * sunrpc/pmap_prot2.c: Likewise.
29703 * sunrpc/pmap_rmt.c: Likewise.
29704 * sunrpc/publickey.c: Likewise.
29705 * sunrpc/rpc_cmsg.c: Likewise.
29706 * sunrpc/rpc_common.c: Likewise.
29707 * sunrpc/rpc_dtable.c: Likewise.
29708 * sunrpc/rpc_prot.c: Likewise.
29709 * sunrpc/rpc_thread.c: Likewise.
29710 * sunrpc/rtime.c: Likewise.
29711 * sunrpc/svc.c: Likewise.
29712 * sunrpc/svc_auth.c: Likewise.
29713 * sunrpc/svc_raw.c: Likewise.
29714 * sunrpc/svc_run.c: Likewise.
29715 * sunrpc/svc_tcp.c: Likewise.
29716 * sunrpc/svc_udp.c: Likewise.
29717 * sunrpc/svc_unix.c: Likewise.
29718 * sunrpc/svcauth_des.c: Likewise.
29719 * sunrpc/xcrypt.c: Likewise.
29720 * sunrpc/xdr.c: Likewise.
29721 * sunrpc/xdr_array.c: Likewise.
29722 * sunrpc/xdr_float.c: Likewise.
29723 * sunrpc/xdr_intXX_t.c: Likewise.
29724 * sunrpc/xdr_mem.c: Likewise.
29725 * sunrpc/xdr_rec.c: Likewise.
29726 * sunrpc/xdr_ref.c: Likewise.
29727 * sunrpc/xdr_sizeof.c: Likewise.
29728 * sunrpc/xdr_stdio.c: Likewise.
29729
b5c086a2
RM
297302012-05-10 Roland McGrath <roland@hack.frob.com>
29731
29732 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
29733 change. Update copyright years.
29734
6d74dd09
JM
297352012-05-10 Joseph Myers <joseph@codesourcery.com>
29736
29737 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
29738
28e72501
MK
297392012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
29740 Joseph Myers <joseph@codesourcery.com>
29741 Paul Pluzhnikov <ppluzhnikov@google.com>
29742
29743 [BZ #14012]
29744 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
29745 requiring rpcgen.
29746 [cross-compiling] (extra-libs): Likewise.
29747 [cross-compiling] (extra-libs-others): Likewise.
29748 [cross-compiling] (librpcsvc-routines): Likewise.
29749 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
29750 [cross-compiling] (omit-deps): Likewise.
29751 (sunrpc-CPPFLAGS): New variable.
29752 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
29753 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
29754 (cross-rpcgen-objs): New variable.
29755 (extra-objs): Append $(cross-rpcgen-objs).
29756 ($(cross-rpcgen-objs)): New rule.
29757 ($(objpfx)cross-rpcgen): Likewise.
29758 (rpcgen-cmd): Define to use $(built-program-file). Expand
29759 comment.
29760 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
29761 ($(objpfx)x%.stmp): Likewise.
29762 * sunrpc/proto.h [IS_IN_build] (_): Define.
29763 [IS_IN_build] (_libc_intl_domainname): Likewise.
29764
c8c59454
L
297652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
29766
29767 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
29768 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
29769 and R_X86_64_TPOFF64.
29770
6f27cd16
JM
297712012-05-10 Joseph Myers <joseph@codesourcery.com>
29772
29773 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
29774 sysdeps/unix/sysv/syscalls.list.
29775 (stime): Likewise.
29776 (utime): Likewise.
29777 * sysdeps/unix/sysv/syscalls.list: Remove file.
29778
02467e1c
PE
297792012-05-10 Paul Eggert <eggert@cs.ucla.edu>
29780
29781 [BZ #3440]
29782 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
29783 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
29784 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
29785 (__LC_IDENTIFICATION): Make these macros useful in #if
29786 expressions, as required by C99.
29787
da392631
AS
297882012-05-10 Andreas Schwab <schwab@linux-m68k.org>
29789
29790 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
29791 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
29792 after this.
29793
8115f29b
L
297942012-05-09 H.J. Lu <hongjiu.lu@intel.com>
29795
29796 * stdlib/longlong.h: Updated from GCC.
29797
bdd74070
AJ
297982012-05-09 Andreas Jaeger <aj@suse.de>
29799
edfe0dbe
AJ
29800 * nscd/nscd.c (run_modes): Make named enum, reorder so that
29801 default is first entry.
29802 (run_mode): Set type.
29803 (main): Remove informal message about syslog.
29804 (options): Fix typo.
29805
bcfe3a54
ST
29806 [BZ #14053]
29807 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 29808 to asm.
bcfe3a54
ST
29809 (lrint): Likewise.
29810 (llrintf): Likewise.
29811 (llrint): Likewise.
29812 (rint): Likewise.
29813 (rintf): Likewise.
29814 (nearbyint): Likewise.
29815 (nearbyintf): Likewise.
bdd74070 29816
91d8d69e
AJ
298172012-05-09 Andreas Jaeger <aj@suse.de>
29818 Pedro Alves <palves@redhat.com>
29819
29820 * nscd/nscd.c (run_mode): Use enum.
29821 (main): Cleanup coding style issue.
29822
bb90b80b
AJ
298232012-05-09 Alexandre Oliva <aoliva@redhat.com>
29824 Andreas Jaeger <aj@suse.de>
29825
bcfe3a54
ST
29826 * nscd/nscd.c (go_background): Replaced with...
29827 (run_mode): ... this.
bb90b80b 29828 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
29829 (options): Add -F --foreground.
29830 (main): Implement it.
29831 (parse_opt): Parse it.
bb90b80b 29832
1a4b75a1
AJ
298332012-05-09 Andreas Jaeger <aj@suse.de>
29834
29835 [BZ #14083]
29836 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
29837 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
29838 -Wconversion warning.
29839 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
29840 Likewise.
29841
b1cc2472
JM
298422012-05-09 Joseph Myers <joseph@codesourcery.com>
29843
29844 * conform/data/locale.h-data (NULL): Use macro-constant. Require
29845 == 0.
29846 (LC_ALL): Use macro-int-constant.
29847 (LC_COLLATE): Likewise.
29848 (LC_CTYPE): Likewise.
29849 (LC_MESSAGES): Likewise.
29850 (LC_MONETARY): Likewise.
29851 (LC_NUMERIC): Likewise.
29852 (LC_TIME): Likewise.
29853 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
29854 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29855 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29856 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
29857 Specify type.
29858 [C99-based standards] (float_t): Expect type.
29859 [C99-based standards] (double_t): Expect type.
29860 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
29861 type.
29862 [C99-based standards] (HUGE_VALL): Likewise.
29863 [C99-based standards] (INFINITY): Likewise.
29864 [C99-based standards] (NAN): Likewise.
29865 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
29866 [C99-based standards] (FP_NAN): Likewise.
29867 [C99-based standards] (FP_NORMAL): Likewise.
29868 [C99-based standards] (FP_SUBNORMAL): Likewise.
29869 [C99-based standards] (FP_ZERO): Likewise.
29870 [C99-based standards] (FP_FAST_FMA): Use
29871 optional-macro-int-constant. Specify type. Require == 1.
29872 [C99-based standards] (FP_FAST_FMAF): Likewise.
29873 [C99-based standards] (FP_FAST_FMAL): Likewise.
29874 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
29875 [C99-based standards] (FP_ILOGBNAN): Likewise.
29876 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
29877 Specify type.
29878 [C99-based standards] (MATH_ERREXCEPT): Likewise.
29879 [C99-based standards] (math_errhandling): Specify type.
29880 [ISO99 || ISO11] (signgam): Do not allow.
29881 [non-C99-based standards] (copysignf): Do not allow.
29882 [non-C99-based standards] (exp2f): Likewise.
29883 [non-C99-based standards] (log2f): Likewise.
29884 [non-C99-based standards] (modff): Allow.
29885 [non-C99-based standards] (erff): Do not allow.
29886 [non-C99-based standards] (erfcf): Likewise.
29887 [non-C99-based standards] (gammaf): Likewise.
29888 [non-C99-based standards] (hypotf): Likewise.
29889 [non-C99-based standards] (j0f): Likewise.
29890 [non-C99-based standards] (j1f): Likewise.
29891 [non-C99-based standards] (jnf): Likewise.
29892 [non-C99-based standards] (lgammaf): Likewise.
29893 [non-C99-based standards] (tgammaf): Likewise.
29894 [non-C99-based standards] (y0f): Likewise.
29895 [non-C99-based standards] (y1f): Likewise.
29896 [non-C99-based standards] (ynf): Likewise.
29897 [non-C99-based standards] (isnanf): Likewise.
29898 [non-C99-based standards] (acoshf): Likewise.
29899 [non-C99-based standards] (asinhf): Likewise.
29900 [non-C99-based standards] (atanhf): Likewise.
29901 [non-C99-based standards] (cbrtf): Likewise.
29902 [non-C99-based standards] (expm1f): Likewise.
29903 [non-C99-based standards] (ilogbf): Likewise.
29904 [non-C99-based standards] (log1pf): Likewise.
29905 [non-C99-based standards] (logbf): Likewise.
29906 [non-C99-based standards] (nextafterf): Likewise.
29907 [non-C99-based standards] (remainderf): Likewise.
29908 [non-C99-based standards] (rintf): Likewise.
29909 [non-C99-based standards] (scalbf): Likewise.
29910 [non-C99-based standards] (copysignl): Likewise.
29911 [non-C99-based standards] (exp2l): Likewise.
29912 [non-C99-based standards] (log2l): Likewise.
29913 [non-C99-based standards] (modfl): Allow.
29914 [non-C99-based standards] (erfl): Do not allow.
29915 [non-C99-based standards] (erfcl): Likewise.
29916 [non-C99-based standards] (gammal): Likewise.
29917 [non-C99-based standards] (hypotl): Likewise.
29918 [non-C99-based standards] (j0l): Likewise.
29919 [non-C99-based standards] (j1l): Likewise.
29920 [non-C99-based standards] (jnl): Likewise.
29921 [non-C99-based standards] (lgammal): Likewise.
29922 [non-C99-based standards] (tgammal): Likewise.
29923 [non-C99-based standards] (y0l): Likewise.
29924 [non-C99-based standards] (y1l): Likewise.
29925 [non-C99-based standards] (ynl): Likewise.
29926 [non-C99-based standards] (isnanl): Likewise.
29927 [non-C99-based standards] (acoshl): Likewise.
29928 [non-C99-based standards] (asinhl): Likewise.
29929 [non-C99-based standards] (atanhl): Likewise.
29930 [non-C99-based standards] (cbrtl): Likewise.
29931 [non-C99-based standards] (expm1l): Likewise.
29932 [non-C99-based standards] (ilogbl): Likewise.
29933 [non-C99-based standards] (log1pl): Likewise.
29934 [non-C99-based standards] (logbl): Likewise.
29935 [non-C99-based standards] (nextafterl): Likewise.
29936 [non-C99-based standards] (remainderl): Likewise.
29937 [non-C99-based standards] (rintl): Likewise.
29938 [non-C99-based standards] (scalbl): Likewise.
29939 [ISO || ISO99 || ISO11] (*_t): Do not allow.
29940 [non-C99-based standards] (FP_*): Do not allow.
29941 [C99-based standards] (FP_*): Change to
29942 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
29943 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29944 allow.
29945 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
29946 (SIG_ERR): Likewise.
29947 [X/Open-based standards] (SIG_HOLD): Likewise.
29948 (SIG_IGN): Likewise.
29949 (SIGABRT): Use macro-int-constant. Specify type. Require
29950 positive value.
29951 (SIGFPE): Likewise.
29952 (SIGILL): Likewise.
29953 (SIGINT): Likewise.
29954 (SIGSEGV): Likewise.
29955 (SIGTER): Likewise.
29956 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
29957 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
29958 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
29959 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
29960 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
29961 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
29962 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
29963 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
29964 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
29965 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
29966 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
29967 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
29968 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
29969 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
29970 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
29971 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
29972 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
29973 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
29974 [X/Open-based standards] (SIGTRAP): Likewise.
29975 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
29976 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
29977 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
29978 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
29979 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
29980 allow.
29981
b9f1922d
IW
299822012-05-08 Ian Wienand <ianw@vmware.com>
29983
29984 [BZ #14080]
29985 * time/tzset.c (__tzset_parse_tz): Update default rules for
29986 daylight time changes in the Energy Policy Act of 2005.
29987
1db86e88
AJ
299882012-05-09 Andreas Jaeger <aj@suse.de>
29989
29990 [BZ #13983]
29991 * elf/ldconfig.c (parse_conf): Change string to make clear that
29992 ldconfig only issued a warning if ld.so.conf does not exist.
29993
dee4a4e3
DM
299942012-05-08 David S. Miller <davem@davemloft.net>
29995
ee0db190
DM
29996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
29997 movxtod instead of popping the value on the stack.
29998
dee4a4e3
DM
29999 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30000
6a43ec98
CD
300012012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
30002
30003 * config.h.in: Add HAVE_ARM_PCS_VFP.
30004
05c2c961
RMG
300052012-05-08 Roland Mc Grath <roland@hack.frob.com>
30006
bcfe3a54
ST
30007 [BZ #13979]
30008 * include/features.h: Warn if user requests __FORTIFY_SOURCE
30009 checking but the checks are disabled for any reason.
05c2c961 30010
4b30f61a
L
300112012-05-08 H.J. Lu <hongjiu.lu@intel.com>
30012
30013 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
30014 and ELF64_R_TYPE with ELFW(R_TYPE).
30015
eee2bc67
JM
300162012-05-08 Joseph Myers <joseph@codesourcery.com>
30017
7ea5391a
JM
30018 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
30019 (ulimit): Likewise.
30020
eee2bc67
JM
30021 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
30022 (settimeofday): Likewise.
30023
abb66a67
MF
300242012-05-08 Mike Frysinger <vapier@gentoo.org>
30025
30026 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
30027 a struct th_u2 inside the union, and move tu_block/tu_code into
30028 a new th_u3 union of tu_block/tu_code inside of that. Move
30029 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
30030 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
30031 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
30032 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
30033 (th_stuff): Change to th_u1.tu_stuff.
30034 (th_data): Define.
30035 (th_msg): Change to th_u1.th_u2.tu_data.
30036
7f18b530
DM
300372012-05-07 David S. Miller <davem@davemloft.net>
30038
05760585
DM
30039 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30040
7f18b530
DM
30041 [BZ #14074]
30042 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
30043 (SETUP_PIC_REG): Use it.
30044 (SETUP_PIC_REG_LEAF): Use it.
30045
495fd99f
JM
300462012-05-07 Joseph Myers <joseph@codesourcery.com>
30047
30048 [BZ #13885]
30049 [BZ #13923]
30050 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30051 USE_AS_EXPM1L.
30052 (EXPL_FINITE): Likewise.
30053 (FLDLOG): Likewise.
30054 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30055 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30056 e_expl.S.
30057 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30058 USE_AS_EXPM1L.
30059 (EXPL_FINITE): Likewise.
30060 (FLDLOG): Likewise.
30061 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
30062 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
30063 e_expl.S.
30064 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
30065 test of -max_value argument for long double.
30066 * sysdeps/i386/fpu/libm-test-ulps: Update.
30067 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30068
6693d694
DM
300692012-05-06 David S. Miller <davem@davemloft.net>
30070
30071 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
30072 quad soft-float symbols whose references which are compiler
30073 generated.
30074 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
30075
6c23e11c
JM
300762012-05-06 Joseph Myers <joseph@codesourcery.com>
30077
d8b82cad
JM
30078 [BZ #13884]
30079 [BZ #13914]
30080 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30081 USE_AS_EXP10L.
30082 (EXPL_FINITE): Likewise.
30083 (FLDLOG): Likewise.
30084 (c0): Likewise.
30085 (c1): Likewise.
30086 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30087 Adjust comments for base varying.
30088 (__expl_finite): Change alias to EXPL_FINITE.
30089 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
30090 e_expl.S.
30091 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
30092 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
30093 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
30094 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
30095 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
30096 USE_AS_EXP10L.
30097 (EXPL_FINITE): Likewise.
30098 (FLDLOG): Likewise.
30099 (c0): Likewise.
30100 (c1): Likewise.
30101 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
30102 Adjust comments for base varying.
30103 (__expl_finite): Change alias to EXPL_FINITE.
30104 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
30105 tests for bugs.
30106 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30107
6c23e11c
JM
30108 [BZ #14064]
30109 * math/libm-test.inc (check_float_internal): Correct ulp
30110 calculation for subnormal expected results.
30111
29ba805c
AJ
301122012-05-06 Andreas Jaeger <aj@suse.de>
30113
30114 * Makeconfig (+math-flags): New, set to -frounding-math.
30115 (+cflags): Add +math-flags so that all of glibc gets compiled with
30116 it.
30117
30118 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
30119
7b17aeda
JM
301202012-05-05 Joseph Myers <joseph@codesourcery.com>
30121
5779f134
JM
30122 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
30123 Disable one test.
30124
41498f4d
JM
30125 [BZ #13787]
30126 [BZ #13922]
30127 [BZ #14036]
30128 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
30129 (__ieee754_expl): Allow for and saturate large arguments.
30130 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
30131 (u_threshold): Likewise.
30132 (__exp): Call __ieee754_exp before checking for overflow and
30133 underflow.
30134 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
30135 (u_threshold): Likewise.
30136 (__expf): Call __ieee754_expf before checking for overflow and
30137 underflow.
30138 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
30139 (u_threshold): Likewise.
30140 (__expl): Call __ieee754_expl before checking for overflow and
30141 underflow.
30142 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
30143 (__ieee754_expl): Allow for and saturate large arguments.
30144 * math/libm-test.inc (exp_test): Add another test. Do not allow
30145 missing overflow exception on overflow.
30146 (expm1_test): Do not allow missing overflow exception on overflow.
30147
6698b8bf
JM
30148 * sysdeps/i386/fpu/e_expl.c: Move to ...
30149 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
30150 rather than using inline asm.
30151 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
30152 * sysdeps/x86_64/fpu/e_expl.S: Copy from
30153 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
30154
7b17aeda
JM
30155 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
30156 (nice): Likewise.
30157 (poll): Likewise.
30158 (signal): Likewise.
30159 (time): Likewise.
30160 (times): Likewise.
30161
f7c85819
JM
301622012-05-04 Joseph Myers <joseph@codesourcery.com>
30163
30164 * sysdeps/unix/syscalls.list (adjtime): Add entry from
30165 sysdeps/unix/common/syscalls.list.
30166 (fchmod): Likewise.
30167 (fchown): Likewise.
30168 (ftruncate): Likewise.
30169 (getrusage): Likewise.
30170 (gettimeofday): Likewise.
30171 (setpgid): Likewise.
30172 (setregid): Likewise.
30173 (setreuid): Likewise.
30174 (sigaction): Likewise.
30175 (truncate): Likewise.
30176 (vhangup): Likewise.
30177 * sysdeps/unix/common/syscalls.list: Remove file.
30178 * sysdeps/unix/bsd/Implies: Don't include unix/common.
30179 * sysdeps/unix/sysv/linux/Implies: Likewise.
30180
336270d0
L
301812012-05-04 H.J. Lu <hongjiu.lu@intel.com>
30182
30183 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
30184 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
30185 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
30186 Moved to ...
30187 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
30188 Here.
30189 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
30190 to ...
30191 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
30192 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
30193 to ...
30194 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
30195 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
30196 to ...
30197 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
30198 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
30199 to ...
30200 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
30201 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
30202 to ...
30203 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
30204 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
30205 to ...
30206 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
30207 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
30208 to ...
30209 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
30210 Here.
30211 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
30212 to ...
30213 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
30214 Here.
30215 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
30216 to ...
30217 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
30218 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
30219 Moved to ...
30220 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
30221 Here.
30222 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
30223 to ...
30224 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
30225
d128e450
JM
302262012-05-04 Joseph Myers <joseph@codesourcery.com>
30227
fa8ee516
JM
30228 * sysdeps/unix/common/bits/dirent.h: Remove file.
30229 * sysdeps/unix/common/bits/fcntl.h: Likewise.
30230
d128e450
JM
30231 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
30232 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
30233 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
30234 * sysdeps/unix/bsd/isatty.c: Likewise.
30235 * sysdeps/unix/bsd/tcdrain.c: Likewise.
30236 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
30237 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
30238
ff8faaf0 302392012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 30240
62881be4 30241 [BZ #13563]
31dc8730
AZ
30242 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
30243 long double comparison inaccuracies.
30244 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
30245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30246
6fef930c
AS
302472012-05-04 Andreas Schwab <schwab@linux-m68k.org>
30248
30249 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
30250 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
30251
8f203e6c
JM
302522012-05-04 Joseph Myers <joseph@codesourcery.com>
30253
30254 [BZ #14049]
30255 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
30256 nonzero digits before rounding a hex value.
30257 * stdlib/tst-strtod.c (tests): Add another test.
30258
5197d9c2
AK
302592012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30260
30261 * sysdeps/s390/fpu/libm-test-ulps: Update.
30262
f0c1dedf
AJ
302632012-05-03 Andreas Jaeger <aj@suse.de>
30264
30265 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
30266 does not get optimized out.
30267 (malloc_opt_barrier): New.
30268
a65ef2ae 302692012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 30270 Roland McGrath <roland@hack.frob.com>
a65ef2ae 30271
2b942cb7 30272 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 30273 intermediate file deletion.
2b942cb7 30274 (generated): Add .symlist files.
a65ef2ae 30275
54b71e02
JM
302762012-05-03 Joseph Myers <joseph@codesourcery.com>
30277
30278 [BZ #13775]
30279 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
30280 Redirect under this condition.
30281 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30282 [__USE_GNU] (__dprintf_chk): Not under this condition.
30283 [__USE_GNU] (__vdprintf_chk): Likewise.
30284 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
30285 under this condition.
30286 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
30287 [__USE_XOPEN2K8] (dprintf): Define under this condition.
30288 [__USE_XOPEN2K8] (vdprintf): Likewise.
30289 [__USE_GNU] (__dprintf_chk): Not under this condition.
30290 [__USE_GNU] (__vdprintf_chk): Likewise.
30291 [__USE_GNU] (dprintf): Likewise.
30292 [__USE_GNU] (vdprintf): Likewise.
30293
d3dfcc41
RM
302942012-05-03 Roland McGrath <roland@hack.frob.com>
30295
30296 * elf/Makefile (common-generated): Set this instead of generated for
30297 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
30298 $(all-built-dso)-derived lists.
30299
7ac30cc5
AJ
303002012-05-03 Andreas Jaeger <aj@suse.de>
30301
0c51e550
AJ
30302 * sysdeps/i386/fpu/libm-test-ulps: Update.
30303
7ac30cc5
AJ
30304 * FAQ: Removed.
30305 * FAQ.in: Likewise.
30306 * scripts/gen-FAQ.pl: Likewise.
30307 * manual/install.texi (Installation): Point to online location of
30308 FAQ.
30309 * Makefile (files-for-dist): Remove FAQ.
30310 (FAQ): Remove.
30311
d4c2917f
AM
303122012-05-02 Allan McRae <allan@archlinux.org>
30313
30314 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
30315 (LDFLAGS-reldepmod5.so): Likewise.
30316 (LDFLAGS-reldep6mod1.so): Likewise.
30317 (LDFLAGS-reldep6mod4.so): Likewise.
30318 (LDFLAGS-reldep8mod3.so): Likewise.
30319 (LDFLAGS-unload4mod1.so): Likewise.
30320 (LDFLAGS-unload4mod2.so): Likewise.
30321 (LDFLAGS-tst-initorder): Likewise.
30322 (LDFLAGS-tst-initordera2.so): Likewise.
30323 (LDFLAGS-tst-initordera3.so): Likewise.
30324 (LDFLAGS-tst-initordera4.so): Likewise.
30325 (LDFLAGS-tst-initorderb2.so): Likewise.
30326 (LDFLAGS-noload): Likewise.
30327 (LDFLAGS-next): Likewise.
30328 (LDFLAGS-order2mod1.so): Likewise.
30329 (LDFLAGS-order2mod2.so): Likewise.
30330 (LDFLAGS-tst-initorder2): Likewise.
30331 (LDFLAGS-tst-initorder2a.so): Likewise.
30332 (LDFLAGS-tst-initorder2b.so): Likewise.
30333 (LDFLAGS-tst-initorder2c.so): Likewise.
30334 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
30335
d77f993f
DM
303362012-05-02 David S. Miller <davem@davemloft.net>
30337
30338 * sysdeps/sparc/fpu/libm-test-ulps: Update.
30339
171a70b4
PP
303402012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
30341
30342 [BZ #14055]
30343 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
30344
0be196ad
AJ
303452012-05-02 Andreas Jaeger <aj@suse.de>
30346
30347 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
30348 since we manipulate rounding mode.
30349 (CPPFLAGS-test-idouble.c): Likewise.
30350 (CPPFLAGS-test-ifloat.c): Likewise.
30351 (CFLAGS-test-ldouble.c): Likewise.
30352 (CFLAGS-test-double.c): Likewise.
30353 (CFLAGS-test-float.c): Likewise.
30354 (CFLAGS-test-misc.c): Likewise.
30355 (CFLAGS-test-test-fenv.c): Likewise.
30356
4f9d04aa
AZ
303572012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30358
2b942cb7
RM
30359 [BZ #2550]
30360 [BZ #2570]
30361 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
30362 comparisons to determine direction to adjust input.
4f9d04aa 30363
82a79e7d
RM
303642012-05-01 Roland McGrath <roland@hack.frob.com>
30365
f5a01ca9
RM
30366 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
30367 output to the target.
30368
90fe4186
RM
30369 * scripts/localplt.awk: New file.
30370 * elf/Makefile ($(objpfx)check-localplt): Target removed.
30371 (check-localplt-CFLAGS): Variable removed.
30372 ($(all-built-dso:=.jmprel)): New static pattern rule.
30373 (generated): Add those targets.
30374 (localplt-built-dso): New variable.
30375 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
30376
30377 * elf/check-localplt.c: File removed.
30378
82397ed6
RM
30379 * scripts/check-execstack.awk: New file.
30380 * elf/Makefile ($(objpfx)check-execstack): Target removed.
30381 (check-execstack-CFLAGS): Variable removed.
30382 ($(objpfx)check-execstack.h): Target removed.
30383 ($(objpfx)execstack-default): New target.
30384 (generated): Add that instead of check-execstack.h.
30385 ($(all-built-dso:=.phdr)): New static pattern rule.
30386 (generated): Add those targets.
30387 * elf/check-execstack.c: File removed.
30388
82a79e7d
RM
30389 * scripts/check-textrel.awk: New file.
30390 * elf/Makefile ($(objpfx)check-textrel): Target removed.
30391 (check-textrel-CFLAGS): Variable removed.
30392 (all-built-dso): Use := to define.o
30393 ($(all-built-dso:=.dyn)): New static pattern rule.
30394 (generated): Add those targets.
30395 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
30396 * config.make.in (READELF): New substituted variable.
30397 * elf/check-textrel.c: File removed.
30398
62fde54f 303992012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 30400
615605c9
JM
30401 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
30402 allow.
30403 * conform/data/ctype.h-data [C99-based standards] (isblank):
30404 Expect function.
30405 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
30406 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
30407 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30408 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
30409 Specify type. Require positive value.
30410 (EILSEQ): Likewise.
30411 (ERANGE): Likewise.
30412 [ISO || POSIX] (EILSEQ): Do not expect.
30413 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
30414 Specify type. Require positive value.
30415 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
30416 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
30417 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
30418 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
30419 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
30420 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
30421 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
30422 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
30423 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
30424 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
30425 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
30426 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
30427 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
30428 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
30429 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
30430 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
30431 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
30432 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
30433 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
30434 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
30435 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
30436 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
30437 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
30438 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
30439 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
30440 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
30441 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
30442 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
30443 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
30444 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
30445 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
30446 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
30447 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
30448 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
30449 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
30450 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
30451 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
30452 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
30453 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
30454 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
30455 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
30456 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
30457 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
30458 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
30459 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
30460 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
30461 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
30462 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
30463 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
30464 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
30465 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
30466 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
30467 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
30468 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
30469 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
30470 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
30471 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
30472 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
30473 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
30474 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
30475 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
30476 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
30477 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
30478 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
30479 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
30480 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
30481 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
30482 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
30483 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
30484 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
30485 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
30486 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
30487 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
30488 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
30489 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
30490 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
30491 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
30492 Require >= 2.
30493 (FLT_ROUNDS): Expect as macro, not constant.
30494 (FLT_MANT_DIG): Use macro-int-constant.
30495 (DBL_MANT_DIG): Likewise.
30496 (LDBL_MANT_DIG): Likewise.
30497 (FLT_DIG): Likewise.
30498 (DBL_DIG): Likewise.
30499 (LDBL_DIG): Likewise.
30500 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
30501 (DBL_MIN_EXP): Likewise.
30502 (LDBL_MIN_EXP): Likewise.
30503 (FLT_MAX_EXP): Use macro-int-constant.
30504 (DBL_MAX_EXP): Likewise.
30505 (LDBL_MAX_EXP): Likewise.
30506 (FLT_MAX_10_EXP): Likewise.
30507 (DBL_MAX_10_EXP): Likewise.
30508 (LDBL_MAX_10_EXP): Likewise.
30509 (FLT_MAX): Use macro-constant.
30510 (DBL_MAX): Likewise.
30511 (LDBL_MAX): Likewise.
30512 (FLT_EPSILON): Use macro-constant. Give upper bound.
30513 (DBL_EPSILON): Likewise.
30514 (LDBL_EPSILON): Likewise.
30515 (FLT_MIN): Likewise.
30516 (DBL_MIN): Likewise.
30517 (LDBL_MIN): Likewise.
30518 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
30519 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
30520 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
30521 [ISO11] (FLT_HAS_SUBNORM): Likewise.
30522 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
30523 [ISO11] (DBL_DECIMAL_DIG): Likewise.
30524 [ISO11] (FLT_DECIMAL_DIG): Likewise.
30525 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
30526 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
30527 [ISO11] (FLT_TRUE_MIN): Likewise.
30528 [ISO11] (LDBL_TRUE_MIN): Likewise.
30529 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30530 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
30531 (SCHAR_MIN): Use macro-int-constant. Specify type.
30532 (SCHAR_MAX): Likewise.
30533 (UCHAR_MAX): Likewise.
30534 (CHAR_MIN): Likewise.
30535 (CHAR_MAX): Likewise.
30536 (MB_LEN_MAX): Use macro-int-constant.
30537 (SHRT_MIN): Use macro-int-constant. Specify type.
30538 (SHRT_MAX): Likewise.
30539 (USHRT_MAX): Likewise.
30540 (INT_MAX): Likewise.
30541 (INT_MIN): Use macro-int-constant. Specify type. Make upper
30542 bound negative.
30543 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
30544 bound with "U".
30545 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30546 bound with "L".
30547 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
30548 bound negative. Suffix upper bound with "L".
30549 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
30550 bound with "UL".
30551 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
30552 Specify type.
30553 [C99-based standards] (LLONG_MAX): Likewise.
30554 [C99-based standards] (ULLONG_MAX): Likewise.
30555 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
30556 == 0.
30557 [ISO11] (max_align_t): Require type.
30558 [ISO || ISO99 || ISO11] (*_t): Do not allow.
30559
c9140a62
JM
30560 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
30561 from $CFLAGS, without defining away __attribute__ calls.
30562 (checknamespace): Use $CFLAGS_namespace.
30563
9af0bf29
JM
30564 * conform/conformtest.pl (@keywords): Only include C99 keywords
30565 for standards based on C99 or C11.
30566
343222a2
JM
30567 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
30568 Disable tests.
30569 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
30570 UNIX98]: Likewise.
30571
661f8cf0
JM
30572 * conform/conformtest.pl: Handle "macro-int-constant" and test for
30573 usability of symbols in #if.
30574
ee74b9cb
JM
30575 * conform/conformtest.pl: If macro or constant types start
30576 "promoted:", expect the symbol to be of the following type
30577 promoted by the integer promotions.
62fde54f 30578
aafc49b3
JM
30579 * conform/conformtest.pl: Parse all "constant" and "macro" lines
30580 in one place. Also handle "macro-constant".
30581
fefdf574
JM
30582 * conform/conformtest.pl: Only accept expected macro values with
30583 "==". Parse all "macro" lines in one place.
30584 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
30585
f2d922fe
JM
30586 * conform/conformtest.pl: Handle braced types on "constant" lines
30587 instead of handling "typed-constant".
30588 * conform/data/signal.h-data: Use "constant" instead of
30589 "typed-constant".
30590
d22956c9
JM
30591 * conform/conformtest.pl: Handle "optional-" at start of lines in
30592 one place rather than duplicating several cases. Handle each
30593 format of "macro" line with initial "optional-".
30594
028e2e38
JM
30595 * conform/conformtest.pl: Only accept expected constant or
30596 optional-constant values with "==". Parse all "constant" lines in
30597 one place. Parse all "optional-constant" lines in one place.
30598 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
30599 * conform/data/fmtmsg.h-data: Likewise.
30600 * conform/data/netinet/in.h-data: Likewise.
30601 * conform/data/tar.h-data: Likewise.
30602 * conform/data/limits.h-data: Use "==" form on "constant" and
30603 "optional-constant" lines.
30604
1b8f2850
JM
30605 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
30606 Use -std=c99 for XOPEN2K.
30607 (@knownproblems): Remove.
30608 (newtoken): Don't check %isknown.
30609
a05a144b
JM
30610 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
30611 Do not expect macro.
30612 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
30613 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
30614 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
30615 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
30616 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
30617 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
30618 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
30619 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
30620 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
30621 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
30622 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
30623 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
30624 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
30625 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
30626 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
30627 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
30628 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
30629 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
30630 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
30631 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
30632 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
30633 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
30634 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
30635 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
30636 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
30637 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
30638 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
30639 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
30640 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
30641 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
30642 [XPG3] (acosh): Likewise.
30643 [XPG3] (asinh): Likewise.
30644 [XPG3] (atanh): Likewise.
30645 [XPG3] (cbrt): Likewise.
30646 [XPG3] (expm1): Likewise.
30647 [XPG3] (ilogb): Likewise.
30648 [XPG3] (log1p): Likewise.
30649 [XPG3] (logb): Likewise.
30650 [XPG3] (nextafter): Likewise.
30651 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
30652 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
30653 [XPG3] (remainder): Likewise.
30654 [XPG3] (rint): Likewise.
30655 [XPG3 || XPG4 || UNIX98] (round): Likewise.
30656 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
30657 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
30658 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
30659 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
30660 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
30661 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
30662 [UNIX98 || XOPEN2K] (scalb): Expect.
30663 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
30664 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
30665 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
30666 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
30667 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
30668 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
30669 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
30670 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
30671 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
30672 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
30673 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
30674 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
30675 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
30676 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
30677 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
30678 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
30679 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
30680 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
30681 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
30682 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
30683 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
30684 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
30685 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
30686 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
30687 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
30688 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
30689 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
30690 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
30691 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
30692 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
30693 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
30694 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
30695 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
30696 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
30697 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
30698 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
30699 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
30700 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
30701 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
30702 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
30703 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
30704 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
30705 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
30706 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
30707 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
30708 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
30709 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
30710 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
30711 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
30712 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
30713 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
30714 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
30715 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
30716 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
30717 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
30718 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
30719 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
30720 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
30721 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
30722 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
30723 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
30724 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
30725 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
30726 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
30727 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
30728 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
30729 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
30730 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
30731 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
30732 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
30733 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
30734 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
30735 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
30736 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
30737 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
30738 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
30739 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
30740 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
30741 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
30742 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
30743 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
30744 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
30745 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
30746 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
30747 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
30748 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
30749 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
30750 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
30751 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
30752 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
30753 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
30754 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
30755 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
30756 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
30757 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
30758 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
30759 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
30760 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
30761 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
30762 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
30763 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
30764 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
30765 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
30766 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
30767 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
30768 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
30769 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
30770 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
30771 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
30772 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
30773 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
30774 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
30775 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
30776 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
30777 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
30778 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
30779 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
30780 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
30781 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
30782 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
30783 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
30784 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
30785 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
30786 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
30787 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
30788 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
30789 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
30790 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
30791 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
30792 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
30793 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
30794 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
30795 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
30796 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
30797 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
30798 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
30799 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
30800
73c5ebe3
JM
30801 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
30802 _XOPEN_SOURCE_EXTENDED for XPG4.
30803
39c33b6c
JM
30804 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
30805
62fde54f
JM
30806 * Makeconfig (localtime): Remove variable.
30807 (inst_localtime-file): Likewise.
30808
0741d64c
AS
308092012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30810
30811 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
30812 Update.
30813 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30814 Update.
30815 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
30816 Update.
30817 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
30818 Update.
30819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
30820 Update.
30821 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
30822 Update.
30823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30824 Update.
30825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
30826 Update.
30827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
30828 Update.
30829
7cb029ee
JM
308302012-05-01 Joseph Myers <joseph@codesourcery.com>
30831
30832 [BZ #2550]
30833 [BZ #2570]
30834 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
30835 comparisons to determine direction to adjust input.
30836 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30837 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
30838 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
30839 Likewise.
30840 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
30841 Likewise.
30842 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30843 Likewise.
30844 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
30845 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30846 Likewise.
30847 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30848 Likewise.
30849 * math/libm-test.inc (nexttoward_test): Add more tests.
30850
412bd966
AS
308512012-05-01 Andreas Schwab <schwab@linux-m68k.org>
30852
30853 [BZ #14040]
30854 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
30855 in version GLIBC_2.1, not GLIBC_2.0.
30856 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
30857 Likewise.
30858
9568c0c2
JM
308592012-04-30 Joseph Myers <joseph@codesourcery.com>
30860
adfbc8ac
JM
30861 [BZ #13942]
30862 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
30863 (1 - x) * (1 + x).
30864 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30865 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
30866 * math/libm-test.inc (acos_test): Add more tests.
30867 (asin_test): Likewise.
30868 * sysdeps/i386/fpu/libm-test-ulps: Update.
30869 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30870
5ba3cc69
JM
30871 [BZ #14034]
30872 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
30873 of square root.
30874 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
30875 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
30876 * math/libm-test.inc (acos_test_tonearest): New function.
30877 (acos_test_towardzero): Likewise.
30878 (acos_test_downward): Likewise.
30879 (acos_test_upward): Likewise.
30880 (asin_test_tonearest): Likewise.
30881 (asin_test_towardzero): Likewise.
30882 (asin_test_downward): Likewise.
30883 (asin_test_upward): Likewise.
30884 (main): Call the new functions.
30885 * sysdeps/i386/fpu/libm-test-ulps: Update.
30886 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
30887
9568c0c2
JM
30888 [BZ #13884]
30889 [BZ #13924]
30890 * math/e_exp10.c: Include <float.h>.
30891 (__ieee754_exp10): Handle underflow here rather than multiplying
30892 large negative argument by M_LN10.
30893 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
30894 of __ieee754_expf.
30895 * math/e_exp10l.c: Include <float.h>.
30896 (__ieee754_exp10l): Handle underflow here rather than multiplying
30897 large negative argument by M_LN10l.
30898 * math/libm-test.inc (exp10_test): Add another test. Do not allow
30899 spurious overflow exception on underflow.
30900
5ac3ea17
MP
309012012-04-29 Marek Polacek <polacek@redhat.com>
30902
30903 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
30904 (__fortify_function): New macro.
30905 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
30906 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
30907 __extern_always_inline.
30908 * libio/bits/stdio2.h: Likewise.
30909 * libio/bits/stdio.h: Likewise.
30910 * string/string.h: Likewise.
30911 * string/bits/string3.h: Likewise.
30912 * include/stdio.h: Likewise.
30913 * stdlib/bits/stdlib.h: Likewise.
30914 * stdlib/stdlib.h: Likewise.
30915 * rt/bits/mqueue2.h: Likewise.
30916 * rt/mqueue.h: Likewise.
30917 * posix/bits/unistd.h: Likewise.
30918 * posix/unistd.h: Likewise.
30919 * io/bits/poll2.h: Likewise.
30920 * io/bits/fcntl2.h: Likewise.
30921 * io/fcntl.h: Likewise.
30922 * io/sys/poll.h: Likewise.
30923 * misc/bits/syslog.h: Likewise.
30924 * misc/bits/syslog-ldbl.h: Likewise.
30925 * misc/sys/syslog.h: Likewise.
30926 * socket/bits/socket2.h: Likewise.
30927 * socket/sys/socket.h: Likewise.
30928 * debug/tst-chk1.c: Likewise.
30929 * wcsmbs/bits/wchar2.h: Likewise.
30930 * wcsmbs/bits/wchar-ldbl.h: Likewise.
30931 * wcsmbs/wchar.h: Likewise.
30932
ecf0ebfb
AJ
309332012-04-29 Andreas Jaeger <aj@suse.de>
30934
30935 * Makerules (tests): Remove enable-check-abi protection.
30936 (check-abi-warn): Remove.
30937 (check-abi-%): Remove check-abi-warn usage.
30938
30939 * configure.in: Remove check-abi configure option.
30940 * configure: Regenerated.
30941 * config.make.in (enable-check-abi): Remove.
30942
6d5c57fa
AS
309432012-04-28 Andreas Schwab <schwab@linux-m68k.org>
30944
24c5d07e 30945 [BZ #14033]
ded5180a
AS
30946 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
30947 double functions to double *_finite functions.
30948
7e0d315d
AS
30949 [BZ #13941]
30950 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
30951 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
30952 LDBL_MIN_EXP.
30953 * stdio-common/Makefile (tests): Add tst-sprintf3.
30954 * stdio-common/tst-sprintf3.c: New file.
30955
6d5c57fa
AS
30956 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
30957 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
30958
0749ff8b
JM
309592012-04-28 Joseph Myers <joseph@codesourcery.com>
30960
30961 * conform/conformtest.pl: Remove duplicate typed-constant
30962 handling.
30963
8dbd5d7b
DM
309642012-04-28 David S. Miller <davem@davemloft.net>
30965
30966 * Makerules (%.abilist): Add vpath on sysdep_dirs.
30967 (check-abi-%): Remove AWK script prerequisite and explicit
30968 abilist directory.
30969 (check-abi): Rewrite to just diff the symlist with the abilist.
30970 (config-tls, config-abi-config): Delete, no longer used.
30971 (update-abi-%): Remove AWK script and explicit abilist directory.
30972 (update-abi): Rewrite to simply compare and conditionally copy the
30973 symlist and the sysdep abilist file. Remove update-abi-config
30974 checks.
30975 * abilist/ld.abilist: Remove.
30976 * abilist/libBrokenLocale.abilist: Remove.
30977 * abilist/libanl.abilist: Remove.
30978 * abilist/libcrypt.abilist: Remove.
30979 * abilist/libdl.abilist: Remove.
30980 * abilist/librt.abilist: Remove.
30981 * abilist/libthread_db.abilist: Remove.
30982 * abilist/libutil.abilist: Remove.
30983 * scripts/extract-abilist.awk: Remove.
30984 * scripts/merge-abilist.awk: Remove.
30985 * sysdeps/generic/libcidn.abilist: New file.
30986 * sysdeps/generic/libnss_compat.abilist: New file.
30987 * sysdeps/generic/libnss_db.abilist: New file.
30988 * sysdeps/generic/libnss_dns.abilist: New file.
30989 * sysdeps/generic/libnss_files.abilist: New file.
30990 * sysdeps/generic/libnss_hesiod.abilist: New file.
30991 * sysdeps/generic/libnss_nis.abilist: New file.
30992 * sysdeps/generic/libnss_nisplus.abilist: New file.
30993 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
30994 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
30995 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
30996 file.
30997 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
30998 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
30999 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
31000 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
31001 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
31002 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
31003 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
31004 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
31005 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
31006 file.
31007 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
31008 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
31009 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
31010 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
31011 file.
31012 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
31013 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
31014 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
31015 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
31016 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
31017 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
31018 file.
31019 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
31020 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
31021 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
31022 file.
31023 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
31024 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
31025 New file.
31026 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
31027 New file.
31028 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
31029 New file.
31030 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
31031 New file.
31032 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
31033 New file.
31034 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
31035 New file.
31036 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
31037 New file.
31038 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
31039 New file.
31040 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
31041 New file.
31042 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
31043 New file.
31044 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
31045 New file.
31046 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
31047 New file.
31048 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
31049 New file.
31050 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
31051 file.
31052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
31053 New file.
31054 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
31055 New file.
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
31057 file.
31058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
31059 New file.
31060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
31061 New file.
31062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
31063 file.
31064 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
31065 New file.
31066 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
31067 New file.
31068 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
31069 New file.
31070 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
31071 New file.
31072 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
31073 New file.
31074 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
31075 New file.
31076 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
31077 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
31078 file.
31079 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31080 New file.
31081 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
31082 file.
31083 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
31084 file.
31085 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
31086 file.
31087 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
31088 file.
31089 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
31090 file.
31091 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31092 New file.
31093 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
31094 file.
31095 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
31096 file.
31097 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31098 New file.
31099 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
31100 file.
31101 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
31102 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
31103 file.
31104 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31105 New file.
31106 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
31107 file.
31108 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
31109 file.
31110 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
31111 file.
31112 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
31113 file.
31114 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
31115 file.
31116 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31117 New file.
31118 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
31119 file.
31120 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
31121 file.
31122 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31123 New file.
31124 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
31125 file.
31126 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
31127 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
31128 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
31129 file.
31130 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
31131 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
31132 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
31133 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
31134 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
31135 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
31136 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
31137 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
31138 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
31139 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
31140 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
31141 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
31142 file.
31143 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
31144 New file.
31145 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
31146 file.
31147 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
31148 file.
31149 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
31150 file.
31151 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
31152 file.
31153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
31154 file.
31155 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
31156 New file.
31157 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
31158 New file.
31159 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
31160 file.
31161 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
31162 New file.
31163 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
31164 file.
31165 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
31166 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
31167 file.
31168 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
31169 New file.
31170 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
31171 file.
31172 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
31173 file.
31174 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
31175 file.
31176 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
31177 file.
31178 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
31179 file.
31180 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
31181 New file.
31182 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
31183 New file.
31184 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
31185 file.
31186 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
31187 New file.
31188 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
31189 file.
31190
41d73a1b
JM
311912012-04-28 Joseph Myers <joseph@codesourcery.com>
31192
31193 * conform/conformtest.pl: Fix typo in handling typed-constant from
31194 allow-header.
31195
28aeeda4
JM
311962012-04-27 Joseph Myers <joseph@codesourcery.com>
31197
adae8f5e
JM
31198 * README: Cut down references to pre-2.6 Linux kernels and
31199 Linuxthreads. Update lists of configurations in libc and ports
31200 and sort alphabetically. Say "or newer" with Linux kernel version
31201 requirements.
31202
28aeeda4
JM
31203 * config.h.in [IS_IN_build]: Allow compiling without optimization.
31204
a462cb63
RA
312052012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
31206
31207 [BZ #887]
31208 * math/libm-test.inc (logb_test_downward): New test to expose
31209 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
31210 rounding mode.
31211
6ad3493e
JM
312122012-04-27 Joseph Myers <joseph@codesourcery.com>
31213
31214 [BZ #14027]
31215 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
31216 to be done.
31217 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
31218 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
31219
2ce4f015
JM
312202012-04-26 Joseph Myers <joseph@codesourcery.com>
31221
5aeb141a
JM
31222 * sysdeps/unix/i386/brk.S: Remove file.
31223 * sysdeps/unix/i386/dl-brk.S: Likewise.
31224 * sysdeps/unix/i386/pipe.S: Likewise.
31225 * sysdeps/unix/i386/sigreturn.S: Likewise.
31226 * sysdeps/unix/i386/syscall.S: Likewise.
31227 * sysdeps/unix/i386/vfork.S: Likewise.
31228 * sysdeps/unix/i386/wait.S: Likewise.
31229
7143acae
JM
31230 * sysdeps/unix/common/tcsendbrk.c: Move to ...
31231 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
31232
2ce4f015
JM
31233 * configure.in (arm*-none*): Do not allow without
31234 --enable-hacker-mode.
31235 (netbsd*): Remove case setting base_os.
31236 (386bsd*): Likewise.
31237 (freebsd*): Likewise.
31238 (bsdi*): Likewise.
31239 (osf*): Likewise.
31240 (sunos*): Likewise.
31241 (ultrix*): Likewise.
31242 (newsos*): Likewise.
31243 (dynix*): Likewise.
31244 (*bsd*): Likewise.
31245 (sysv*): Likewise.
31246 (isc*): Likewise.
31247 (esix*): Likewise.
31248 (sco*): Likewise.
31249 (minix*): Likewise.
31250 (irix4*): Likewise.
31251 (irix6*): Likewise.
31252 (solaris[2-9]*): Likewise.
31253 (none): Likewise.
31254 * configure: Regenerated.
31255
0ac229c8
AZ
312562012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31257
31258 [BZ #11521]
31259 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
31260 overflow or cancellation in calculating denominator.
31261 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
31262 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
31263 down expression to avoid unexpected rounding in newer GCCs.
31264 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
31265
33f244f4
DM
312662012-04-26 David S. Miller <davem@davemloft.net>
31267
31268 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
31269 long-double compat symbols.
31270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
31271 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
31272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
31273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
31274 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
31275 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
31276 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
31277 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
31278 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
31279 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
31280 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
31281 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
31282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
31283
cfa1f3e8
DM
312842012-04-25 David S. Miller <davem@davemloft.net>
31285
31286 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
31287 HWCAP_* values only after the memory barriers have been defined.
31288 (atomic_full_barrier): Define.
31289 (atomic_read_barrier): Define.
31290 (atomic_write_barrier): Define.
31291
6e236b92
SP
312922012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
31293
31294 * shlib-versions: Add libgcc_s version information.
31295 * sysdeps/generic/libgcc_s.h: Remove.
31296 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
31297 libgcc_s.h.
31298 * sysdeps/gnu/unwind-resume.c: Likewise.
31299 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
31300
aab39a09
DM
313012012-04-25 David S. Miller <davem@davemloft.net>
31302
31303 * sysdeps/unix/sparc/brk.S: Delete.
31304 * sysdeps/unix/sparc/dl-brk.S: Delete.
31305 * sysdeps/unix/sparc/pipe.S: Delete.
31306 * sysdeps/unix/sparc/sysdep.S: Delete.
31307 * sysdeps/unix/sparc/sysdep.h: Delete.
31308 * sysdeps/unix/sparc/vfork.S: Delete.
31309 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
31310 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
31311 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
31312 ret_ERRVAL, r0, r1, MOVE): Define.
31313 (JUMPTARGET): Remove.
31314 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
31315 sysdeps/unix/sparc/sysdep.h
31316 (ENTRY, END): Remove.
31317 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31318
a3cc4f48
JM
313192012-04-25 Joseph Myers <joseph@codesourcery.com>
31320
2ed8cda2
JM
31321 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
31322 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
31323 -DIS_IN_build.
31324
35d76d59
JM
31325 * timezone/README: Update upstream location and email address for
31326 tzcode and tzdata.
31327 * timezone/zdump.c: Update from tzcode 2012b.
31328 * timezone/zic.c: Likewise.
31329
a3cc4f48
JM
31330 * configure.in (libc_cv_as_needed): Remove test.
31331 * configure: Regenerated.
31332 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
31333 conditional definition.
31334 [$(have-as-needed) != yes] (no-as-needed): Likewise.
31335 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
31336 * config.make.in (have-as-needed): Remove variable.
31337
ceab42c3
SP
313382012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
31339 Paul Pluzhnikov <ppluzhnikov@google.com>
31340
31341 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
31342 strings correctly.
31343
3ce2865f
CLT
313442012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
31345
31346 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
31347 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
31348 * sysdeps/sh/strlen.S: Likewise.
31349
f37e0d68
JM
313502012-04-24 Joseph Myers <joseph@codesourcery.com>
31351
ae186e9a
JM
31352 * sysdeps/unix/fork.S: Remove file.
31353 * sysdeps/unix/i386/fork.S: Likewise.
31354 * sysdeps/unix/sparc/fork.S: Likewise.
31355
b96914af
JM
31356 * sysdeps/unix/system.c: Remove file.
31357 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
31358
f37e0d68
JM
31359 * sysdeps/unix/getegid.S: Remove file.
31360 * sysdeps/unix/geteuid.S: Likewise.
31361
87ef29ca
RM
313622012-04-24 Roland McGrath <roland@hack.frob.com>
31363
83bcd236
RM
31364 * scripts/check-localplt.awk: New file.
31365 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
31366 of diff.
31367 * scripts/data/localplt-generic.data: Add a comment.
31368
87ef29ca
RM
31369 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
31370 NODE when __dir_mkfile failed.
31371 * sysdeps/mach/hurd/symlinkat.c: Likewise.
31372 Reported by Ludovic Courtès <ludo@gnu.org>.
31373
e5a6e567
AJ
313742012-04-24 Andreas Jaeger <aj@suse.de>
31375
31376 * Makerules (common-clean): Also remove gen-as-const-headers
31377 files.
31378
c1820385
JM
313792012-04-24 Joseph Myers <joseph@codesourcery.com>
31380
31381 * Makerules (native-compile): Do not change working directory for
31382 build. Use $(OUTPUT_OPTION) in command.
31383 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
31384
94e02fc4
AZ
313852012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31386
31387 [BZ #13886]
31388 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
31389 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
31390 * math/libm-test.inc (floor_test): Add more tests.
31391 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
31392
3a533ca3
JM
313932012-04-24 Joseph Myers <joseph@codesourcery.com>
31394
940ab4b3
JM
31395 * sysdeps/unix/getdents.c: Remove file.
31396 * sysdeps/unix/sysv/getdents.c: Likewise.
31397 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
31398
90e037bd
JM
31399 * sysdeps/unix/syscalls.list (madvise): Add syscall from
31400 sysdeps/unix/mman/syscalls.list.
31401 (mmap): Likewise.
31402 (mprotect): Likewise.
31403 (msync): Likewise.
31404 (munmap): Likewise.
31405 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
31406 * sysdeps/unix/mman/syscalls.list: Remove.
31407 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
31408
3a533ca3
JM
31409 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
31410 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
31411 * configure: Regenerated.
31412 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
31413 $(libgcc_s_suffix).
31414 * config.make.in (libgcc_s_suffix): Remove variable.
31415
1ad743de
JM
314162012-04-23 Joseph Myers <joseph@codesourcery.com>
31417
4ad451e2
JM
31418 * sysdeps/unix/sysv/gethostname.c: Move to ...
31419 * sysdeps/posix/gethostname.c: ... here.
31420
5e37ce39
JM
31421 * sysdeps/unix/execve.S: Remove file.
31422
1ad743de
JM
31423 * sysdeps/unix/_exit.S: Remove file.
31424
4e681b5b
AJ
314252012-04-23 Andreas Jaeger <aj@suse.de>
31426
31427 [BZ #13739]
31428 * manual/Makefile: Remove make dist support, there's no
31429 need for a stand-alone documentation tar ball.
31430 (TEXI2DVI): Define always, it's not in Makeconfig.
31431 (dist): Removed.
31432 (tar-it): Removed.
31433 (edition): Removed.
31434 (glibc-doc-$(edition).tar): Removed
31435 (%.Z): Removed.
31436 (%.gz): Removed.
31437 (%.uu): Removed.
31438 (ETAGS): Remove, it's in Makeconfig.
31439 (move-if-change): Remove, it's in Makeconfig.
31440
38686a03 314412012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
31442
31443 [BZ #13970]
31444 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
31445 (strtod, strtof, strtold, strtol, strtoul, strtoq)
31446 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
31447 (strtod_l, strtof_l, strtold_l): Remove __wur.
31448 It is not necessarily an error to ignore strtol's return value.
31449 One can reliably look at the stored endptr to decide whether
31450 the number had valid syntax.
31451
7c0616fa
AJ
314522012-04-21 Andreas Jaeger <aj@suse.de>
31453
803cb6b7 31454 [BZ #13739]
7c0616fa
AJ
31455 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
31456
b0fe253f
JM
314572012-04-21 Joseph Myers <joseph@codesourcery.com>
31458
31459 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
31460 * sysdeps/unix/sysv/Versions: Remove file.
31461
8280f22d
MT
314622012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
31463
31464 [BZ #13927]
31465 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31466
75ce411f 314672012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
31468
31469 [BZ #7064]
31470 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
31471 version from __vm86.
31472
097d59fa
JM
314732012-04-20 Joseph Myers <joseph@codesourcery.com>
31474
a90f3bcb
JM
31475 * sysdeps/unix/common/lxstat.c: Remove file.
31476 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
31477
edc7ea78
JM
31478 * sysdeps/unix/sysv/Makefile: Remove file.
31479
cb78c221
JM
31480 * sysdeps/unix/sysv/direct.h: Remove file.
31481
efa6a45f
JM
31482 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
31483 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
31484 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
31485 * sysdeps/unix/sysv/bits/signum.h: Likewise.
31486 * sysdeps/unix/sysv/bits/stat.h: Likewise.
31487 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
31488 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
31489
9c9f2d0c
JM
31490 * sysdeps/unix/sysv/setrlimit.c: Remove file.
31491
4541c83b
JM
31492 * sysdeps/unix/xmknod.c: Remove file.
31493 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
31494
f5d153a0
JM
31495 * sysdeps/unix/sysv/settimeofday.c: Remove file.
31496
aa746595
JM
31497 * sysdeps/unix/sysv/i386/time.S: Remove file.
31498
cce5905e
JM
31499 * sysdeps/unix/fxstat.c: Remove file.
31500 * sysdeps/unix/xstat.c: Likewise.
31501 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
31502
37fa3841
JM
31503 * sysdeps/unix/sysv/sigaction.c: Remove file.
31504
ff1962a3
JM
31505 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
31506 (sysdep_headers): Remove variable.
31507 [termio.h not in sysdep_headers] (generated): Likewise.
31508 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
31509 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
31510 * sysdeps/unix/sysv/tcdrain.c: Likewise.
31511 * sysdeps/unix/sysv/tcflow.c: Likewise.
31512 * sysdeps/unix/sysv/tcflush.c: Likewise.
31513 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
31514 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
31515 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
31516 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
31517 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
31518
e7740d31
JM
31519 * sysdeps/unix/siglist.c: Remove file.
31520
ee06f18b
JM
31521 * sysdeps/unix/getppid.S: Remove file.
31522
097d59fa
JM
31523 * sysdeps/unix/mkdir.c: Remove file.
31524 * sysdeps/unix/rmdir.c: Likewise.
31525
ff3d51ec
AS
315262012-04-19 Andreas Schwab <schwab@linux-m68k.org>
31527
31528 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
31529 ERR_MAX value.
31530 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
31531 errlist-compat value.
31532
50f81fd7
DM
315332012-04-18 David S. Miller <davem@davemloft.net>
31534
31535 * sysdeps/generic/memcopy.h (reg_char): Delete.
31536 * debug/strcat_chk.c: Use char, not reg_char.
31537 * debug/strcpy_chk.c: Likewise.
31538 * debug/strncat_chk.c: Likewise.
31539 * debug/strncpy_chk.c: Likewise.
31540 * string/memchr.c: Likewise.
31541 * string/memrchr.c: Likewise.
31542 * string/rawmemchr.c: Likewise.
31543 * string/strcat.c: Likewise.
31544 * string/strchr.c: Likewise.
31545 * string/strchrnul.c: Likewise.
31546 * string/strcmp.c: Likewise.
31547 * string/strcpy.c: Likewise.
31548 * string/strncat.c: Likewise.
31549 * string/strncmp.c: Likewise.
31550 * string/strncpy.c: Likewise.
31551
8ff41c46
WS
315522012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31553
31554 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
31555 __builtin_memcopy is called when src and dest ranges are known to not
31556 overlap.
31557
6b652f46
WS
315582012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31559
31560 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
31561 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
31562 fwd_align_merge macro call.
31563 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
31564 bwd_align_merge macro call.
31565 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31566
b282631e
WS
315672012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
31568
31569 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
31570 bwd_align_merge macros.
31571 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
31572 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
31573 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
31574
95aa737c
DM
315752012-04-18 David S. Miller <davem@davemloft.net>
31576
31577 * sysdeps/sparc/sparc64/memcopy.h: Delete.
31578
7a99a614
AJ
315792012-04-18 Andreas Jaeger <aj@suse.de>
31580
31581 [BZ# 6794]
31582 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
31583 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
31584 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31585
31586 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
31587 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
31588 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31589
31590 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
31591 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
31592 Adjust for changed ldbl-128 files.
31593
31594 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
31595 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
31596 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
31597
e5270c23
DM
315982012-04-17 David S. Miller <davem@davemloft.net>
31599
31600 * sysdeps/sparc/sparc32/memcopy.h: Delete.
31601
fb5e92c9
AS
316022012-04-17 Andreas Schwab <schwab@linux-m68k.org>
31603
31604 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
31605 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
31606 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
31607 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
31608 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
31609 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
31610
76da7265
AZ
316112012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31612
31613 [BZ #6794]
31614 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
31615 * math/libm-test.inc: Add ilogb errno and exception tests.
31616 * math/w_ilogb.c: New file: ilogb wrapper.
31617 * math/w_ilogbf.c: New file: ilogbf wrapper.
31618 * math/w_ilogbl.c: New file: ilogbl wrapper.
31619 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
31620 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
31621 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
31622 exception being thrown with 0.0 as argument.
31623 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
31624 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
31625 exception being thrown with 0.0 as argument.
31626 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
31627 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31628 exception being thrown with 0.0 as argument.
31629 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
31630 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
31631 exception being thrown with 0.0 as argument.
31632 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
31633 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 31634 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
31635 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
31636 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
31637 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
31638 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
31639 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
31640 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
31641
0396e69d
PB
316422012-04-17 Petr Baudis <pasky@ucw.cz>
31643
31644 * include/sys/uio.h: Change __vector to __iovec to avoid clash
31645 with altivec.
31646
750b5926
MP
316472012-04-16 Marek Polacek <polacek@redhat.com>
31648
31649 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
31650
751728a1
MP
316512012-04-16 Marek Polacek <polacek@redhat.com>
31652
31653 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
31654 operands of fdivp instruction.
31655
34a27407
L
316562012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31657
31658 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
31659 * elf/tst-auditmod3b.c: Likewise.
31660 * elf/tst-auditmod4b.c: Likewise.
31661 * elf/tst-auditmod5b.c: Likewise.
31662 * elf/tst-auditmod6b.c: Likewise.
31663 * elf/tst-auditmod6c.c: Likewise.
31664 * elf/tst-auditmod7b.c: Likewise.
31665 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
31666 * sysdeps/x86_64/preconfigure.in: Likewise.
31667 * sysdeps/x86_64/preconfigure: Regenerated.
31668
7e73e17d
L
316692012-04-13 H.J. Lu <hongjiu.lu@intel.com>
31670
31671 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
31672 __ILP32__.
31673
c7a6ab72
AB
316742012-04-13 Antoine Balestrat <merkil33@gmail.com>
31675
31676 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
31677 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
31678
a9e8e0e0
CL
316792012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
31680
31681 [BZ #13973]
31682 * locale/iso-639.def: Fix gl language name. Spotted by
31683 Yaron Shahrabani.
31684
ec98af7d
RM
316852012-04-12 Roland McGrath <roland@hack.frob.com>
31686
31687 [BZ #2074]
31688 * libio/libio.h (__io_write_fn): Update comment.
31689
247c3ede
PB
316902012-04-12 Petr Baudis <pasky@ucw.cz>
31691
31692 [BZ #2074]
31693 * stdio.texi (Hook Functions): The user provided writer function
31694 is not allowed to return -1.
31695
55939d6d
DM
316962012-04-11 David S. Miller <davem@davemloft.net>
31697
31698 * sysdeps/sparc/fpu/libm-test-ulps: Update.
31699
90020f5a
MF
317002012-04-11 Mike Frysinger <vapier@gentoo.org>
31701
31702 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
31703 Add a leading slash to rtkaio.
31704
288f9098
JM
317052012-04-11 Jim Meyering <meyering@redhat.com>
31706
90020f5a
MF
31707 [BZ #11959]
31708 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
31709 It is not necessarily an error to ignore fwrite's return
31710 value. One can reliably use ferror to test for errors after
31711 the fact.
288f9098 31712
4be2b570
L
317132012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31714
31715 * bits/types.h (__snseconds_t): New type.
31716 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
31717
31718 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
31719 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
31720 (__SNSECONDS_T_TYPE): Likewise.
31721 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
31722 (__SNSECONDS_T_TYPE): Likewise.
31723 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
31724 (__SNSECONDS_T_TYPE): Likewise.
31725
288f9098 317262012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
31727
31728 [BZ #2636]
31729 * manual/time.texi (Processor Time): Return type of times is
31730 elapsed real time since an arbitrary point in the past.
31731 (CPU Time): Move CLK_TCK from here...
31732 (Processor Time): ...to here. Correct description.
31733 * manual/conf.texi (Constants for Sysconf): Correct description of
31734 _SC_CLK_TCK.
31735
d7dd4413
DM
317362012-04-10 David S. Miller <davem@davemloft.net>
31737
31738 [BZ #13967]
31739 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
31740 where the is a gap between DT_REL(A) and DT_JMPREL.
31741
b46068fc
L
317422012-04-10 H.J. Lu <hongjiu.lu@intel.com>
31743
31744 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
31745 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31746 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31747
73d65cc3
SP
317482012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
31749
31750 * elf/dl-support.c (_dl_inhibit_cache): New variable.
31751 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
31752 (dl_main): Handle --inhibit-cache.
31753 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
31754 _dl_inhibit_cache.
31755 * elf/dl-load.c (_dl_map_object): Use it.
31756 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
31757
bcc8d661
JM
317582012-04-09 Joseph Myers <joseph@codesourcery.com>
31759
8f9a2fae
JM
31760 [BZ #13872]
31761 * sysdeps/i386/fpu/e_powl.S (p78): New object.
31762 (__ieee754_powl): Saturate large exponents rather than testing for
31763 overflow of y*log2(x).
31764 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31765 * math/libm-test.inc (pow_test): Do not permit spurious overflow
31766 exceptions.
31767
bcc8d661
JM
31768 [BZ #11521]
31769 * math/s_ctan.c: Include <float.h>.
31770 (__ctan): Avoid internal overflow or cancellation in calculating
31771 denominator.
31772 * math/s_ctanf.c: Likewise.
31773 * math/s_ctanl.c: Likewise.
31774 * math/s_ctanh.c: Likewise.
31775 * math/s_ctanhf.c: Likewise.
31776 * math/s_ctanhl.c: Likewise.
31777 * math/libm-test.inc (ctan_test): Add more tests.
31778 (ctanh_test): Likewise.
31779 * sysdeps/i386/fpu/libm-test-ulps: Update.
31780 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31781
823fbbb4
AJ
317822012-04-09 Andreas Jaeger <aj@suse.de>
31783
03879793
AJ
31784 [BZ #6894]
31785 * manual/filesys.texi (Directory Entries): Mention that d_namlen
31786 is an optional BSD extension.
31787
823fbbb4
AJ
31788 [BZ #10254]
31789 * manual/stdio.texi (Opening Streams): Document additional fopen
31790 parameters.
31791
8de131cb
RM
317922012-04-09 Roland McGrath <roland@hack.frob.com>
31793
31794 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
31795 %eax without telling the compiler.
31796
c0ed9d7d
CD
317972012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
31798
31799 [BZ # 13963]
31800 * manual/install.texi: Use sourceware.org.
31801
c483f6b4
JM
318022012-04-09 Joseph Myers <joseph@codesourcery.com>
31803
d7dd9453
JM
31804 [BZ #13873]
31805 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
31806 (__ieee754_pow): Generate overflow and underflow using huge*huge
31807 and tiny*tiny rather than just returning constant infinity or zero
31808 for large exponents.
31809 * math/libm-test.inc (pow_test): Require overflow exceptions for
31810 applicable cases of large exponents.
31811
c483f6b4
JM
31812 [BZ #706]
31813 * sysdeps/i386/fpu/e_pow.S (p10): New object.
31814 (__ieee754_pow): Use iterative multiplication algorithm only for
31815 integer exponents with absolute value below 1024. Check for odd
31816 integer exponents when using algorithm for real exponents.
31817 * math/libm-test.inc (pow_test): Add more tests.
31818 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31819
d2de7579
JM
318202012-04-08 Joseph Myers <joseph@codesourcery.com>
31821
31822 [BZ #13705]
31823 * math/libm-test.inc (exp_test): Do not allow overflow exception
31824 on underflow test.
31825
f77f1232
AJ
318262012-04-08 Aurelien Jarno <aurelien@aurel32.net>
31827
31828 [BZ #13705]
31829 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
31830 instead of __kernel_standard_f.
31831
3884932b
MF
318322012-04-08 Mike Frysinger <vapier@gentoo.org>
31833
31834 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
31835 * sysdeps/x86_64/memset_chk.S: Likewise.
31836
54472e9c
AJ
318372012-04-08 Andreas Jaeger <aj@suse.de>
31838
6ab0fbfc
AJ
31839 [BZ #10153]
31840 * manual/startup.texi (Environment Access): Describe return value
31841 for putenv and setenv.
31842
61efba8c
AJ
31843 [BZ #6895]
31844 * manual/filesys.texi (Directory Entries): Add description for
31845 DT_LNK.
31846
95c3f29a
AJ
31847 [BZ #6890]
31848 * manual/filesys.texi (Directory Entries): Clarify that it's file
31849 system not operating system in the description of DT_UNKNOWN.
31850
54472e9c
AJ
31851 [BZ #6578]
31852 * manual/syslog.texi (closelog): Fix reference, it's openlog.
31853
624254b1
SC
318542012-04-08 Stephen Compall <s11@member.fsf.org>
31855
31856 [BZ #6649]
31857 * manual/llio.texi (Opening and Closing Files): Add cross
31858 reference to explain mode argument.
31859
1e4920e0
MF
318602012-04-07 Mike Frysinger <vapier@gentoo.org>
31861
31862 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
31863 * sysdeps/x86_64/memset_chk.S: Likewise.
31864
5ed848f3
DM
318652012-04-07 David S. Miller <davem@davemloft.net>
31866
31867 * elf/elf.h (R_SPARC_WDISP10): Define.
31868 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
31869 R_SPARC_SIZE32.
31870 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
31871 R_SPARC_SIZE64 and R_SPARC_H34.
31872
96154cd8
CD
318732012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
31874
31875 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
31876 conditions and remove no longer applicable assertion.
31877
9904dc47
L
318782012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31879
31880 * bits/byteswap.h: Include <features.h>.
31881 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
31882 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
31883
f8887d0a
L
318842012-04-06 H.J. Lu <hongjiu.lu@intel.com>
31885
31886 * bits/byteswap.h (__bswap_16): Removed.
31887 Include <bits/byteswap-16.h> to get __bswap_16.
31888 * sysdeps/i386/bits/byteswap.h: Likewise.
31889 * sysdeps/s390/bits/byteswap.h: Likewise.
31890 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31891 * bits/byteswap-16.h: New file.
31892 * sysdeps/i386/bits/byteswap-16.h: Likewise.
31893 * sysdeps/s390/bits/byteswap-16.h: Likewise.
31894 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
31895 * string/Makefile (headers): Add bits/byteswap-16.h.
31896
62470f60
PP
318972012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
31898
31899 [BZ #13895]
31900 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
31901 extra indirection.
31902 * nss/Makefile (tests-static, tests): Add tst-nss-static.
31903 * nss/tst-nss-static.c: New.
31904
4dad7bab
RM
319052012-04-06 Robert Millan <rmh@gnu.org>
31906
31907 [BZ #6486]
31908 * manual/llio.texi (File Position Primitive): lseek
31909 refers to WHENCE when it really means OFFSET.
31910
e9142a17
AJ
319112012-04-06 Andreas Jaeger <aj@suse.de>
31912
2c040eff
AJ
31913 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
31914 strncmp declarations.
31915
e9142a17
AJ
31916 * abilist/libc.abilist: Add __poll and __ppoll.
31917
ff9f1c5f
DM
319182012-04-05 David S. Miller <davem@davemloft.net>
31919
dcd2ae90
DM
31920 * scripts/check-local-headers.sh: Accept a host triplet in the
31921 path matched by the exclude regexp.
31922
993eb054
DM
31923 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
31924 definition.
31925 * sysdeps/powerpc/powerpc32/dl-machine.h
31926 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
31927 * sysdeps/s390/s390-32/dl-machine.h
31928 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31929 * sysdeps/sparc/sparc32/dl-machine.h
31930 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31931 * sysdeps/sparc/sparc64/dl-machine.h
31932 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
31933
ff9f1c5f
DM
31934 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
31935 lazy binding.
48e2e132 31936 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
31937 undefined symbol errors.
31938
48e2e132 31939 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
31940 DT_NEEDED entries.
31941
e80d6f94
MM
319422012-04-05 Michael Matz <matz@suse.de>
31943
31944 [BZ #13592]
31945 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
31946
349fa79f
AJ
319472012-04-05 Andreas Jaeger <aj@suse.de>
31948
31949 [BZ #13908]
31950 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
31951 comment.
31952
f402708f
KK
319532012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31954
31955 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
31956 which ROUND is no valid rounding mode.
31957
2ecccfc9
KK
319582012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31959
31960 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
31961 read again.
31962 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
31963
8a53f50f
KK
319642012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31965
31966 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
31967 an exception using FPU order intentionally.
31968
319692012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31970
31971 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
31972 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
31973 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
31974 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
31975
d653abb7
SJ
319762012-04-05 Simon Josefsson <simon@josefsson.org>
31977
31978 [BZ #12340]
31979 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
31980 EINVAL when BUFLEN is too smal.
31981
c3b1bf7d
TS
319822012-04-05 Thomas Schwinge <thomas@codesourcery.com>
31983
31984 [BZ #13553]
31985 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
31986 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
31987
b1aa60f3
AJ
319882012-04-03 Andreas Jaeger <aj@suse.de>
31989
c3b1bf7d 31990 [BZ #13938]
67f60a26
AJ
31991 * manual/setjmp.texi (System V contexts): Fix sentence.
31992
b1aa60f3
AJ
31993 [BZ #13926]
31994 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
31995 New macro for this case.
31996 [!__GNUC__] (__bswap_64): New inline function for this case.
31997 * sysdeps/x86_64/bits/byteswap.h: Likewise.
31998 * bits/byteswap.h: Likewise.
31999 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
32000 ull, guard with __GLIBC_HAVE_LONG_LONG.
32001
32002 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
32003 __GLIBC_HAVE_LONG_LONG.
32004
32005 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
32006 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
32007
39c59c35
TMQMF
320082012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
32009
32010 [BZ #13691]
32011 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
32012 inptr and inend, rather than using last_ch.
32013
135ffda8
DM
320142012-04-02 David S. Miller <davem@davemloft.net>
32015
32016 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
32017 * stdio-common/printf-parse.h (read_int): Change return type to
32018 'int', return -1 on INT_MAX overflow.
32019 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
32020 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
32021 overflows INT_MAX. Check for overflow of in-format-string precision
32022 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
32023 SIZE_MAX not INT_MAX for integer overflow test.
32024 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
32025 skip the construct in the format string but do not record anything.
32026 * stdio-common/bug22.c: Adjust to test both width/prevision
32027 INT_MAX overflow as well as total length INT_MAX overflow. Check
32028 explicitly for proper errno values.
32029
228c019e
TS
320302012-04-02 Thomas Schwinge <thomas@codesourcery.com>
32031
302cadd3
TS
32032 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
32033 CHAR_MAX.
32034 * string/test-strcmp.c [! WIDE]: Likewise.
32035 * time/tst-mktime2.c: Likewise for INT_MAX.
32036 * string/test-string.h: #include <sys/param.h> for MIN.
32037
228c019e
TS
32038 * csu/init-first.c (__libc_init_first): Call __ctype_init.
32039 * sysdeps/i386/init-first.c (init): Likewise.
32040 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
32041 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
32042 * sysdeps/sh/init-first.c (init): Likewise.
32043
cfa633f5
UD
320442012-04-01 Ulrich Drepper <drepper@gmail.com>
32045
32046 * po/ru.po: Update from translation team.
d1635ef8 32047 * po/vi.po: Likewise.
cfa633f5 32048
6cd0a5ea
SP
320492012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
32050
32051 * resolv/nss_dns/dns-host.c: Merge copyright years.
32052
4b43400f
LD
320532012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
32054
32055 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
32056 Optimize memcpy with prefetch if
32057 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
32058 src, dst pointers have unequal 16 byte alignments.
32059
48c41d04
SP
320602012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
32061
32062 [BZ #13928]
32063 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
32064 from a CNAME entry and return the minimum ttl for the query.
32065 (gaih_getanswer_slice): Likewise.
32066
b8dc394d
JL
320672012-03-30 Jeff Law <law@redhat.com>
32068
32069 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
32070 due to long keys.
32071 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
32072 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
32073
2f5a5ed0
JL
32074 * resolv/nss_dns/dns-host.c: Update copyright year.
32075
1d39e359
UD
320762012-03-30 Ulrich Drepper <drepper@gmail.com>
32077
c030f70c 32078 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 32079 requests to save a system call. Fix check that all bytes are sent.
c030f70c 32080
1d39e359
UD
32081 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
32082 comments for sendmmsg.
32083
320842012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
32085
32086 [BZ #13691]
32087 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
32088 with only 1 character between 0x0041 and 0x01b0.
32089 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
32090 * wcsmbs/tst-mbsnrtowcs.c: New file.
32091
20fde227
DM
320922012-03-29 David S. Miller <davem@davemloft.net>
32093
32094 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
32095 small copies by hand.
32096
984a4237
JL
320972012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
32098
32099 [BZ #13761]
32100 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
32101 _nss_compat_initgroups_dyn): Fall back to malloc/free
32102 for large group memberships.
32103
18c9d62b
DM
321042012-03-28 David S. Miller <davem@davemloft.net>
32105
88d85d4f
DM
32106 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
32107 that branches into memcpy.
32108 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
32109 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
32110 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
32111 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
32112 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
32113 bits.
32114 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
32115 implementation too.
32116 * sysdeps/sparc/mempcpy.S: New file.
32117
e5aa83e1
DM
32118 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
32119 the IFUNC routine in the libc case.
32120 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
32121
88570753
DM
32122 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
32123 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
32124 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
32125 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
32126 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
32127 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
32128 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
32129 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
32130
249d7567
DM
32131 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
32132 loop to 256 bytes instead of 64 bytes and fix test signedness.
32133
18c9d62b
DM
32134 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
32135 * sysdeps/sparc/sparc32/Makefile: rather than here...
32136 * sysdeps/sparc/sparc64/Makefile: and here.
32137
05f3d1f6
UD
321382012-03-28 Ulrich Drepper <drepper@gmail.com>
32139
32140 * malloc/mallocbug.c: Avoid warnings about unused variables.
32141
86ae07a8
JL
321422012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
32143
32144 [BZ #13760]
32145 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
32146 in the right place. Discard and retry query if response is
32147 larger than input buffer size.
32148
41bf21a1
JM
321492012-03-28 Joseph Myers <joseph@codesourcery.com>
32150
d6270972
JM
32151 [BZ #369]
32152 [BZ #2678]
32153 [BZ #3866]
32154 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
32155 x for large integer exponent.
32156 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32157 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
32158 sign of result as needed afterwards.
32159 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
32160 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
32161 result for underflowing pow the same as for overflow.
32162 (__kernel_standard_l): Handle powl overflow and underflow here
32163 rather than calling __kernel_standard.
32164 * math/libm-test.inc (pow_test): Add more tests.
32165
414fca03 32166 [BZ #3868]
41bf21a1
JM
32167 [BZ #13879]
32168 [BZ #13910]
32169 [BZ #13911]
32170 [BZ #13912]
32171 [BZ #13913]
32172 [BZ #13915]
32173 [BZ #13916]
32174 [BZ #13917]
32175 [BZ #13918]
32176 [BZ #13919]
32177 [BZ #13920]
32178 [BZ #13921]
32179 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
32180 * sysdeps/ieee754/k_standard.c: Include <float.h>.
32181 (__kernel_standard_l): New function.
32182 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
32183 __kernel_standard.
32184 * math/w_acosl.c (__acosl): Likewise.
32185 * math/w_asinl.c (__asinl): Likewise.
32186 * math/w_atan2l.c (__atan2l): Likewise.
32187 * math/w_atanhl.c (__atanhl): Likewise.
32188 * math/w_coshl.c (__coshl): Likewise.
32189 * math/w_exp10l.c (__exp10l): Likewise.
32190 * math/w_exp2l.c (__exp2l): Likewise.
32191 * math/w_fmodl.c (__fmodl): Likewise.
32192 * math/w_hypotl.c (__hypotl): Likewise.
32193 * math/w_j0l.c (__j0l, __y0l): Likewise.
32194 * math/w_j1l.c (__j1l, __y1l): Likewise.
32195 * math/w_jnl.c (__jnl, __ynl): Likewise.
32196 * math/w_lgammal.c (__lgammal): Likewise.
32197 * math/w_log10l.c (__log10l): Likewise.
32198 * math/w_log2l.c (__log2l): Likewise.
32199 * math/w_logl.c (__logl): Likewise.
32200 * math/w_powl.c (__powl): Likewise.
32201 * math/w_remainderl.c (__remainderl): Likewise.
32202 * math/w_scalbl.c (sysv_scalbl): Likewise.
32203 * math/w_sinhl.c (__sinhl): Likewise.
32204 * math/w_sqrtl.c (__sqrtl): Likewise.
32205 * math/w_tgammal.c (__tgammal): Likewise.
32206 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
32207 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
32208 * math/libm-test.inc (acos_test): Add more tests.
32209 (acosh_test): Likewise.
32210 (asin_test): Likewise.
32211 (atanh_test): Likewise.
32212 (exp_test): Likewise.
32213 (exp10_test): Likewise.
32214 (exp2_test): Likewise.
32215 (expm1_test): Likewise.
32216 (lgamma_test): Likewise.
32217 (log_test): Likewise.
32218 (log10_test): Likewise.
32219 (log1p_test): Likewise.
32220 (log2_test): Likewise.
32221 (pow_test): Do not allow some spurious overflow exceptions.
32222 (sqrt_test): Add more tests.
32223 (tgamma_test): Likewise.
32224 (y0_test): Likewise.
32225 (y1_test): Likewise.
32226 (yn_test): Likewise.
32227
dd62fda6
AB
322282012-03-27 Anton Blanchard <anton@samba.org>
32229
32230 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
32231 MAP_HUGETLB.
32232 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
32233 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
32234 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
32235
1e3cdfda
AJ
322362012-03-27 David S. Miller <davem@davemloft.net>
32237
b855ab85
DM
32238 * conform/Makefile: Run run-conformtest.sh using $(BASH).
32239
1e3cdfda
AJ
32240 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
32241 have-as-vis3 check.
32242
322432012-03-27 Andreas Jaeger <aj@suse.de>
32244
32245 * sysdeps/x86_64/elf/configure.in: Moved to ...
32246 * sysdeps/x86_64/configure.in: ... here.
32247 * sysdeps/x86_64/elf/start.S: Moved to ...
32248 * sysdeps/x86_64/start.S: ... here.
32249 * sysdeps/x86_64/elf/configure: Delete.
32250
32251 * sysdeps/x86_64/configure.in: Merge contents from
32252 sysdeps/i386/configure.in (without i686 check).
32253
32254 * sysdeps/i386/elf/Versions: Merge into ...
32255 * sysdeps/i386/Versions: ... this.
32256 * sysdeps/i386/elf/Versions: Delete file.
32257 * sysdeps/i386/elf/start.S: Moved to ...
32258 * sysdeps/i386/start.S: ...here.
32259 * sysdeps/i386/elf/configure.in: Merge into...
32260 * sysdeps/i386/configure.in: ...here.
32261 * sysdeps/i386/elf/configure.in: Delete file.
32262 * sysdeps/i386/elf/configure: Delete file.
32263
32264 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
32265 * debug/backtracesyms.c: ... here.
32266 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
32267 * debug/backtracesymsfd.c: ... here.
32268 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
32269 * sysdeps/generic/ifunc-sel.h: ... here.
32270
32271 * sysdeps/unix/i386/start.c: Delete file.
32272 * sysdeps/unix/sparc/start.c: Delete file.
32273 * sysdeps/unix/start.c: Delete file.
32274
32275 * sysdeps/sh/elf/configure.in: Moved to ...
32276 * sysdeps/sh/configure.in: ... here.
32277 * sysdeps/sh/elf/start.S: Moved to ...
32278 * sysdeps/sh/start.S: ... here.
32279 * sysdeps/sh/elf/configure: Delete file.
32280
32281 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
32282 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
32283 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
32284 * sysdeps/powerpc/powerpc64/entry.h: ... here.
32285 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
32286 * sysdeps/powerpc/powerpc64/start.S: here.
32287 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
32288 * sysdeps/powerpc/powerpc64/Makefile: ... this.
32289 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
32290 * sysdeps/powerpc/powerpc64/configure.in: ... this.
32291 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
32292
32293 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
32294 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
32295 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
32296 * sysdeps/powerpc/powerpc32/start.S: ... here.
32297 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
32298 * sysdeps/powerpc/powerpc32/configure.in: ... this.
32299 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
32300
32301 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
32302 * sysdeps/powerpc/ifunc-sel.h: ... here.
32303 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
32304 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
32305
32306 * sysdeps/sparc/elf/configure.in: Moved to ...
32307 * sysdeps/sparc/configure.in: ... here.
32308 * sysdeps/sparc/elf/configure: Delete file.
32309 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
32310 * sysdeps/sparc/sparc32/start.S: ... here.
32311 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
32312 * sysdeps/sparc/sparc64/start.S: ... here.
32313 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
32314 * sysdeps/sparc/sparc32/Makefile: ... this.
32315 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
32316 * sysdeps/sparc/sparc64/Makefile: ... this.
32317
32318 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
32319 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
32320 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
32321 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
32322 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
32323 * sysdeps/s390/s390-32/setjmp.S: ... here.
32324 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
32325 * sysdeps/s390/s390-32/configure.in: ... here.
32326 * sysdeps/s390/s390-32/elf/configure: Delete file.
32327 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
32328 * sysdeps/s390/s390-32/start.S: ... here.
32329
32330 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
32331 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
32332 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
32333 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
32334 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
32335 * sysdeps/s390/s390-64/setjmp.S: ... here.
32336 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
32337 * sysdeps/s390/s390-64/configure.in: ... here
32338 * sysdeps/s390/s390-64/elf/configure: Delete file.
32339 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
32340 * sysdeps/s390/s390-64/start.S: ... here.
32341 * sysdeps/s390/s390-64/elf/configure: Delete.
32342
32343 * configure.in: Remove support for elf directories in sysdeps.
32344
32345 * configure: Regenerated.
32346 * sysdeps/i386/configure: Regenerated.
32347 * sysdeps/powerpc/powerpc32/configure: Regenerated.
32348 * sysdeps/powerpc/powerpc64/configure: Regenerated.
32349 * sysdeps/s390/s390-32/configure: Regenerated.
32350 * sysdeps/s390/s390-64/configure: Regenerated.
32351 * sysdeps/sh/configure: Regenerated.
32352 * sysdeps/sparc/configure: Regenerated.
32353 * sysdeps/x86_64/configure: Regenerated.
32354
a3f61311
AS
323552012-03-26 Andreas Schwab <schwab@linux-m68k.org>
32356
c876e002
AS
32357 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32358
a3f61311
AS
32359 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
32360 denormal result into account.
32361
ac4c54f0
RM
323622012-03-25 Roland McGrath <roland@hack.frob.com>
32363
32364 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
32365 Reported by Allan McRae <allan@archlinux.org>.
32366
6a9b9c02
JL
323672012-03-23 Jeff Law <law@redhat.com>
32368
32369 * nss/getnssent.c (__nss_getent): Fix typo.
32370
4c42a0c1
DM
323712012-03-23 David S. Miller <davem@davemloft.net>
32372
32373 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32374
1532c7ac
L
323752012-03-23 H.J. Lu <hongjiu.lu@intel.com>
32376
32377 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
32378 to pad to uint64_t for each field.
32379 (dl_tls_index): Replace unsigned long with uint64_t.
32380
3ff42526
PP
323812012-03-23 Daniel Jacobowitz <dmj@google.com>
32382 Paul Pluzhnikov <ppluzhnikov@google.com>
32383
32384 [BZ #6528]
32385 * grp/Makefile (otherlibs): Don't set it.
32386 * inet/Makefile (otherlibs): Likewise.
32387 * login/Makefile (otherlibs): Likewise.
32388 * nscd/Makefile (otherlibs): Likewise.
32389 * posix/Makefile (otherlibs): Likewise.
32390 * pwd/Makefile (otherlibs): Likewise.
32391 * rt/Makefile (otherlibs): Likewise.
32392 * sunrpc/Makefile (otherlibs): Likewise.
32393 * nss/Makefile (otherlibs): Likewise.
32394 Add libnss_files to routines and static-only-routines.
32395 ($(objpfx)getent): Remove rule.
32396 * resolv/Makefile: Add libnss_dns and libresolv to routines and
32397 static-only-routines.
32398
7c69cd14
JM
323992012-03-22 Joseph Myers <joseph@codesourcery.com>
32400
32401 [BZ #13892]
32402 * math/s_cexp.c: Include <float.h>.
32403 (__cexp): Handle exp result overflowing not necessarily
32404 overflowing both real and imaginary parts of result.
32405 * math/s_cexpf.c: Likewise.
32406 * math/s_cexpl.c: Likewise.
32407 * math/libm-test.inc (cexp_test): Add more tests.
32408 * sysdeps/i386/fpu/libm-test-ulps: Update.
32409 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32410
81b035fe
L
324112012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32412
32413 * include/link.h (ELFW): New macro.
32414 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
32415 Replace ELF64_R_TYPE with ELFW(R_TYPE).
32416
1da7940c
L
324172012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32418
32419 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
32420 with uint64_t.
32421
b749dbb9
L
324222012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32423
32424 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
32425 declaration.
32426 (struct La_x32_retval): Likewise.
32427
2ff87f3f
L
324282012-03-22 H.J. Lu <hongjiu.lu@intel.com>
32429
32430 * sysdeps/x86_64/preconfigure.in: New file.
32431 * sysdeps/x86_64/preconfigure: New generated file.
32432
c0df8e69
JM
324332012-03-22 Joseph Myers <joseph@codesourcery.com>
32434
48e44791
JM
32435 [BZ #13824]
32436 * math/e_exp2l.c: Include <float.h>.
32437 (__ieee754_exp2l): Handle overflow and underflow cases
32438 separately. Only pass fractional part of argument to
32439 __ieee754_expl.
32440 * math/libm-test.inc (exp2_test): Add more tests.
32441
c0df8e69
JM
32442 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
32443 negating x to take absolute value.
32444 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
32445 Likewise.
32446 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
32447 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
32448 Likewise.
32449 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
32450 computing low part if x was negated.
32451 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
32452
c8e43ba7
L
324532012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32454
32455 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
32456 la_x32_gnu_pltexit.
32457 (pltexit): Cast int_retval to ptrdiff_t.
32458 * elf/tst-auditmod3b.c: Likewise.
32459 * elf/tst-auditmod4b.c: Likewise.
32460 * elf/tst-auditmod5b.c: Likewise.
32461 * elf/tst-auditmod6b.c: Likewise.
32462 * elf/tst-auditmod6c.c: Likewise.
32463 * elf/tst-auditmod7b.c: Likewise.
32464
32465 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
32466 and x32_gnu_pltexit.
32467
32468 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
32469 __ELF_NATIVE_CLASS.
32470 (La_x32_regs): New macro.
32471 (La_x32_retval): Likewise.
32472 (la_x32_gnu_pltenter): New function prototype.
32473 (la_x32_gnu_pltexit): Likewise.
32474
7998fa78
AS
324752012-03-21 Andreas Schwab <schwab@linux-m68k.org>
32476
dcb33988
AS
32477 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
32478 exponent.
32479
233fc563
AS
32480 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32481
7998fa78
AS
32482 * configure.in (libc_cv_cc_nofma): Check for option to disable
32483 generation of FMA instructions.
32484 * configure: Regenerate.
32485 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
32486 * sysdeps/ieee754/dbl-64/Makefile: New file.
32487 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
32488 Remove brandred-fma4.
32489 (CFLAGS-brandred-fma4.c): Remove.
32490 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
32491 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
32492 define.
32493 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
32494 define.
32495
8e95c99a
L
324962012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32497
32498 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
32499 LLONG_MAX != LONG_MAX.
32500 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32501 (_fitoa_word): Likewise.
32502 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
32503 LLONG_MAX != LONG_MAX.
32504 * stdio-common/_itowa.h: Include <_itoa.h>.
32505 (_itowa_word): Use _ITOA_WORD_TYPE on value.
32506 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
32507 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
32508 only if not defined.
32509 (_ITOA_WORD_TYPE): Likewise.
32510 (_itoa_word): Use _ITOA_WORD_TYPE on value.
32511 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
32512
6f4db457
DM
325132012-03-21 David S. Miller <davem@davemloft.net>
32514
32515 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32516
7785fe5a
L
325172012-03-21 H.J. Lu <hongjiu.lu@intel.com>
32518
32519 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
32520 of x86_64 when setting libc_cv_slibdir, libdir and
32521 libc_cv_localedir.
32522 * sysdeps/unix/sysv/linux/configure: Regenerated.
32523
4535cd55
JM
325242012-03-21 Joseph Myers <joseph@codesourcery.com>
32525
32526 * manual/lang.texi (Old Varargs): Remove section.
32527 (How Variadic): Update menu.
32528 (va_start): Do not mention varargs.h.
32529
17228132
TS
325302012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32531 Joseph Myers <joseph@codesourcery.com>
32532
32533 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
32534 link test.
32535 * configure: Regenerated.
32536
8149f976
TS
325372012-03-21 Thomas Schwinge <thomas@codesourcery.com>
32538
05f3d1f6
UD
32539 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
32540 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
32541 conformtest.pl
8149f976 32542
1a4ac776
JM
325432012-03-21 Joseph Myers <joseph@codesourcery.com>
32544
be22ce65
JM
32545 * NOTES: Remove.
32546 * Makefile (files-for-dist): Remove NOTES.
32547 (NOTES): Remove rule.
32548 * README: Don't refer to NOTES.
32549 * manual/creature.texi: Don't include macros.texi.
32550 * manual/intro.texi (creature.texi): Remove comment referring to
32551 NOTES.
32552
40b601fb
JM
32553 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
32554 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
32555 * configure: Regenerated.
32556 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
32557 LIBC_TRY_CC_OPTION.
32558 (libc_cv_as_i686): Likewise.
32559 (libc_cv_cc_avx): Likewise.
32560 (libc_cv_cc_sse2avx): Likewise.
32561 (libc_cv_cc_fma4): Likewise.
32562 (libc_cv_cc_novzeroupper): Likewise.
32563 * sysdeps/i386/configure: Regenerated.
32564
1a4ac776
JM
32565 [BZ #13883]
32566 * sysdeps/i386/fpu/s_cexp.S: Remove.
32567 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
32568 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
32569 * math/libm-test.inc (cexp_test): Add more tests.
32570 * sysdeps/i386/fpu/libm-test-ulps: Update.
32571 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32572
a458e7fe
AM
325732012-03-21 Allan McRae <allan@archlinux.org>
32574
32575 * timezone/Makefile: Do not install iso3166.tab and zone.tab
32576
0cb7efc5
JM
325772012-03-21 Joseph Myers <joseph@codesourcery.com>
32578
32579 [BZ #13871]
32580 * math/w_exp2.c: Do not include <float.h>.
32581 (o_threshold, u_threshold): Remove.
32582 (__exp2): Calculate result before checking finiteness and calling
32583 __kernel_standard.
32584 * math/w_exp2f.c: Likewise.
32585 * math/w_exp2l.c: Likewise.
32586 * math/libm-test.inc (exp2_test): Require overflow exception for
32587 1e6 input.
2460d3aa
JM
32588
32589 [BZ #3866]
32590 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
32591 range of signed 64-bit integers before using fistpll. Remove
32592 checks for whether integers fit in mantissa bits.
32593 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
32594 the range of signed 32-bit integers before using fistpl. Remove
32595 checks for whether integers fit in mantissa bits.
32596 * sysdeps/i386/fpu/e_powl.S (p64): New object.
32597 (__ieee754_powl): Test for y outside the range of signed 64-bit
32598 integers before using fistpll. Reduce 64-bit values to 63-bit
32599 ones as needed.
32600 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
32601 divide-by-zero is raised for zero to large negative powers.
32602 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
32603 (__ieee754_powl): Test for y outside the range of signed 64-bit
32604 integers before using fistpll. Reduce 64-bit values to 63-bit
32605 ones as needed.
32606 * math/libm-test.inc (pow_test): Add more tests.
32607
eb96ffb0
L
326082012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32609
32610 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
32611 <stdio-common/_itoa.h>.
32612 * debug/segfault.c: Likewise.
32613 * elf/dl-cache.c: Likewise.
32614 * elf/dl-minimal.c: Likewise.
32615 * elf/dl-misc.c: Likewise.
32616 * elf/dl-sysdep.c: Likewise.
32617 * elf/dl-version.c: Likewise.
32618 * elf/rtld.c: Likewise.
32619 * hurd/hurdsock.c: Likewise.
32620 * hurd/lookup-retry.c: Likewise.
32621 * malloc/malloc.c: Likewise.
32622 * malloc/mtrace.c: Likewise.
32623 * nscd/nscd_getgr_r.c: Likewise.
32624 * nscd/nscd_getpw_r.c: Likewise.
32625 * nscd/nscd_getserv_r.c: Likewise.
32626 * posix/getopt_init.c: Likewise.
32627 * posix/wordexp.c: Likewise.
32628 * stdio-common/_itoa.c: Likewise.
32629 * stdio-common/printf_fphex.c: Likewise.
32630 * stdio-common/vfprintf.c: Likewise.
32631 * string/_strerror.c: Likewise.
32632 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
32633 * sysdeps/i386/i686/hp-timing.h: Likewise.
32634 * sysdeps/mach/_strerror.c: Likewise.
32635 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
32636 * sysdeps/mach/hurd/sethostid.c: Likewise.
32637 * sysdeps/mach/hurd/xmknodat.c: Likewise.
32638 * sysdeps/mach/xpg-strerror.c: Likewise.
32639 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32640 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32641 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
32642 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
32643 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32644 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
32645 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
32646 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
32647 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
32648 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
32649 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
32650 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
32651 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
32652 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
32653 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
32654 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
32655 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
32656 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
32657 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
32658 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
32659 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
32660
32661 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
32662
32663 * stdio-common/_itoa.h: Moved to ...
32664 * sysdeps/generic/_itoa.h: Here.
32665
32666 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
32667
32668 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
32669 instead of "_itoa.h" and "_itowa.h".
32670 * stdio-common/vfprintf.: Likewise.
32671
d1af992d
L
326722012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32673
32674 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
32675 <bits/wordsize.h>.
32676 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
32677 (__signbit): Likwise.
32678 (llrintf): Likwise.
32679 (llrint): Likwise.
32680
114883e0
L
326812012-03-20 H.J. Lu <hongjiu.lu@intel.com>
32682
32683 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
32684 __WORDSIZE != 64.
32685
c135cc1b
JM
326862012-03-20 Joseph Myers <joseph@codesourcery.com>
32687
32688 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
32689 OVERFLOW_EXCEPTION_OK.
32690 * math/libm-test.inc ("Philosophy"): Update comment about
32691 exception testing.
32692 (OVERFLOW_EXCEPTION): Define.
32693 (OVERFLOW_EXCEPTION_OK): Likewise.
32694 (INVALID_EXCEPTION_OK): Renumber.
32695 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
32696 (IGNORE_ZERO_INF_SIGN): Likewise.
32697 (test_exceptions): Handle FE_OVERFLOW.
32698 (exp10_test): Expect overflow exceptions.
32699 (exp2_test): Likewise.
32700 (expm1_test): Likewise.
32701 (nextafter_test): Likewise.
32702 (pow_test): Likewise.
32703 (scalbn_test): Likewise.
32704 (scalbln_test): Likewise.
32705
95443d88
L
327062012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32707
32708 * sysdeps/x86_64/bits/atomic.h
32709 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
32710 64bit integer.
32711 (atomic_exchange_acq): Likewise.
32712 (__arch_exchange_and_add_body): Likewise.
32713 (__arch_add_body): Likewise.
32714 (atomic_add_negative): Likewise.
32715 (atomic_add_zero): Likewise.
32716
490df6c4
L
327172012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32718
c2722551 32719 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
32720 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
32721
5e52b189
L
327222012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32723
32724 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
32725 Check __x86_64__ instead of __WORDSIZE.
32726
a9879d4c
L
327272012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32728
32729 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
32730
5df98260
DM
327312012-03-19 David S. Miller <davem@davemloft.net>
32732
e1497744
DM
32733 * sysdeps/sparc/fpu/libm-test-ulps: Update.
32734
5df98260
DM
32735 * sysdeps/sparc/fpu/fenv_private.h: New file.
32736 * sysdeps/sparc/fpu/math_private.h: Use it.
32737 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
32738 Remove.
32739 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
32740 (libc_feholdexcept_setroundl): Remove.
32741 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
32742 Remove.
32743 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
32744 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
32745
b4c35121
L
327462012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32747
32748 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
32749 int64_t instead of long int.
32750 (INSERT_WORDS64): Likwise.
32751
56965fd7
L
327522012-03-19 H.J. Lu <hongjiu.lu@intel.com>
32753
32754 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
32755 _Unwind_GetCFA return to _Unwind_Ptr first.
32756
83d1aec8
JM
327572012-03-19 Joseph Myers <joseph@codesourcery.com>
32758
1897ad44
JM
32759 [BZ #13629]
32760 * math/s_clog.c: Include <float.h>.
32761 (__clog): Scale large or subnormal inputs.
32762 * math/s_clogf.c: Likewise.
32763 * math/s_clogl.c: Likewise.
32764 * math/s_clog10.c: Include <float.h>.
32765 (M_LOG10_2): Define.
32766 (__clog10): Scale large or subnormal inputs.
32767 * math/s_clog10f.c: Likewise.
32768 * math/s_clog10l.c: Likewise.
32769 * math/libm-test.inc (clog_test): Add more tests.
32770 (clog10_test): Likewise.
32771 * sysdeps/i386/fpu/libm-test-ulps: Update.
32772 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32773
7726d6a9
JM
32774 [BZ #11451]
32775 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
32776 x and y.
32777 * math/libm-test.inc (atan2_test): Add another test.
32778
83d1aec8
JM
32779 * Makerules (common-objdir-compile): Remove.
32780 * sysdeps/unix/Makefile (config-generated): Do not add
32781 $(unix-generated) to variable.
32782 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
32783 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
32784 Remove rule.
32785 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
32786 Likewise.
32787 [generic bits/local_lim.h] (before-compile): Do not append to
32788 variable.
32789 [generic bits/local_lim.h] (common-generated): Likewise.
32790 [generic sys/param.h] (before-compile): Do not append to variable.
32791 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
32792 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
32793 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
32794 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
32795 include.
32796 [generic sys/param.h] (sys/param.h-includes): Remove variable.
32797 [generic sys/param.h] (sys/param.h-includes): Remove rule.
32798 [generic sys/param.h] ($(addprefix
32799 $(common-objpfx),$(sys/param.h-includes))): Likewise.
32800 [generic sys/param.h] (common-generated): Do not append to
32801 variable.
32802 [generic sys/param.h] (sysdep_headers): Likewise.
32803 [generic bits/errno.h] (before-compile): Do not append to
32804 variable.
32805 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
32806 rule.
32807 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
32808 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
32809 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
32810 [generic bits/errno.h] (common-generated): Do not append to
32811 variable.
32812 [generic bits/ioctls.h] (before-compile): Do not append to
32813 variable.
32814 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
32815 rule.
32816 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
32817 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
32818 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
32819 rule.
32820 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
32821 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
32822 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
32823 [generic bits/ioctls.h] (common-generated): Do not append to
32824 variable.
32825 [generic sys/syscall.h] (syscall.h): Remove variable.
32826 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
32827 rule.
32828 [generic sys/syscall.h] (before-compile): Do not append to
32829 variable.
32830 [generic sys/syscall.h] (common-generated): Likewise.
32831 * sysdeps/unix/errnos-tmpl.c: Remove file.
32832 * sysdeps/unix/errnos.awk: Likewise.
32833 * sysdeps/unix/ioctls-tmpl.c: Likewise.
32834 * sysdeps/unix/ioctls.awk: Likewise.
32835 * sysdeps/unix/mk-local_lim.c: Likewise.
32836 * sysdeps/unix/snarf-ioctls: Likewise.
32837
4851a949
RH
328382012-03-19 Richard Henderson <rth@twiddle.net>
32839
bd37f2ee
RH
32840 * sysdeps/i386/fpu/fenv_private.h: New file.
32841 * sysdeps/i386/fpu/math_private.h: Use it.
32842 (math_opt_barrier, math_force_eval): Remove.
32843 (libc_feholdexcept_setround_53bit): Remove.
32844 (libc_feupdateenv_53bit): Remove.
32845 * sysdeps/x86_64/fpu/math_private.h: Likewise.
32846 (math_opt_barrier, math_force_eval): Remove.
32847 (libc_feholdexcept): Remove.
32848 (libc_feholdexcept_setround): Remove.
32849 (libc_fetestexcept, libc_fesetenv): Remove.
32850 (libc_feupdateenv_test): Remove.
32851 (libc_feupdateenv, libc_feholdsetround): Remove.
32852 (libc_feresetround): Remove.
32853
d0adc922
RH
32854 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
32855 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
32856
0fe0f1f8
RH
32857 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
32858 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
32859 (libc_feupdateenv_testl): New.
32860 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
32861 (libc_feupdateenv_testf): New.
32862 (libc_feupdateenv): Use libc_feupdateenv_test.
32863 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
32864 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
32865
eb92c487
RH
32866 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
32867 (libc_feholdsetroundf, libc_feholdsetroundl): New.
32868 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
32869 (libc_feresetround_noex): New.
32870 (libc_feresetround_noexf): New.
32871 (libc_feresetround_noexl): New.
32872 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
32873 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
32874 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
32875 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
32876 SET_RESTORE_ROUND.
32877 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
32878 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
32879 (__cos): Likewise.
32880 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
32881 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
32882 SET_RESTORE_ROUND_NOEX.
32883 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
32884 SET_RESTORE_ROUND_NOEXF.
32885 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
32886 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
32887 (libc_feholdsetroundf): New.
32888 (libc_feresetround, libc_feresetroundf): New.
32889
7d2e8012
RH
32890 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
32891 (libc_feholdexcept_setround_53bit): Convert from macro to function.
32892 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
32893
b4dabbb4
RH
32894 * sysdeps/generic/math_private.h: Include <fenv.h>.
32895 (default_libc_feholdexcept): New.
32896 (default_libc_feholdexcept_setround): New.
32897 (default_libc_fesetenv, default_libc_feupdateenv): New.
32898 (libc_feholdexcept): Only define if undefined.
32899 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
32900 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
32901 (libc_feholdexcept_setroundl): Likewise.
32902 (libc_feholdexcept_setround_53bit): Likewise.
32903 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
32904 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
32905 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
32906 (libc_feupdateenv_53bit): Likewise.
32907 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
32908 (libc_feholdexcept): Convert from macro to inline function.
32909 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
32910 (libc_fesetenv, libc_feupdateenv): Likewise.
32911
4851a949
RH
32912 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
32913 not previously defined.
32914 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
32915 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
32916 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
32917 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
32918 * sysdeps/ieee754/flt-32/math_private.h: New file.
32919 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
32920 math_private.h below SET_FLOAT_WORD.
32921 (__isnan, __isinf_ns, __finite): Remove.
32922 (__isnanf, __isinf_nsf, __finitef): Remove.
32923
e79d442e
AS
329242012-03-18 Andreas Schwab <schwab@linux-m68k.org>
32925
32926 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32927
90b80344
DM
329282012-03-17 David S. Miller <davem@davemloft.net>
32929
32930 [BZ #6471]
32931 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
32932 for 2.16.
32933
edc21804
DM
329342012-03-16 David S. Miller <davem@davemloft.net>
32935
77e927af
DM
32936 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
32937 warnings.
32938
374976dd
DM
32939 [BZ #6471]
32940 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
32941 properly.
32942 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
32943 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
32944 sysdep_routines when subdir is sysvipc.
32945 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
32946 __getshmlba helper.
32947
edc21804
DM
32948 * sysdeps/sparc/fpu/libm-test/ulps: Update.
32949
473c3ef3
L
329502012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32951
32952 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
32953 [__LP64__].
32954
eb0f39b6
L
329552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32956
32957 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
32958 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
32959 (__lround): Renamed to ...
32960 (__llround): This. Replace long int with long long int.
32961 Define lround functions as aliases of llround functions.
32962 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
32963
6b6cd74b
L
329642012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32965
32966 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
32967 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
32968 adresses to uintptr_t. Replace "long int" and "unsigned long
32969 int" with "greg_t" on va_arg.
32970
f1a77b01
L
329712012-03-16 H.J. Lu <hongjiu.lu@intel.com>
32972
32973 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
32974 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
32975
32976 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
32977 Move e_machine check before EI_CLASS check. Handle x32
32978 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
32979 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
32980 SKIP_EM_IA_64 and include
32981 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
32982
32983 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
32984 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
32985 (add_system_dir): New macro.
32986
32987 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
32988 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
32989
11b90b9f
JM
329902012-03-16 Joseph Myers <joseph@codesourcery.com>
32991
c36e1d23
JM
32992 [BZ #2551]
32993 [BZ #2552]
32994 [BZ #2553]
32995 [BZ #2554]
32996 [BZ #2562]
32997 [BZ #2563]
32998 [BZ #2565]
32999 [BZ #2566]
33000 [BZ #2576]
33001 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
33002 (y0): Likewise.
33003 * math/w_j0f.c (j0f): Likewise.
33004 (y0f): Likewise.
33005 * math/w_j0l.c (__j0l): Likewise.
33006 (__y0l): Likewise.
33007 * math/w_j1.c (j1): Likewise.
33008 (y1): Likewise.
33009 * math/w_j1f.c (j1f): Likewise.
33010 (y1f): Likewise.
33011 * math/w_j1l.c (__j1l): Likewise.
33012 (__y1l): Likewise.
33013 * math/w_jn.c (jn): Likewise.
33014 (yn): Likewise.
33015 * math/w_jnf.c (jnf): Likewise.
33016 (ynf): Likewise.
33017 * math/w_jnl.c (__jnl): Likewise.
33018 (__ynl): Likewise.
33019 * math/libm-test.inc (j0_test): Add more tests.
33020 (j1_test): Likewise.
33021 (jn_test): Likewise. Add trailing semicolon to existing test.
33022 (y0_test): Likewise.
33023 (y1_test): Likewise.
33024 * sysdeps/i386/fpu/libm-test-ulps: Update.
33025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33026
11b90b9f
JM
33027 [BZ #13851]
33028 [BZ #13854]
33029 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
33030 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
33031 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
33032 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
33033 (__tanl): Set errno for infinite argument.
33034 * sysdeps/i386/fpu/mptan.c: Remove.
33035 * sysdeps/i386/fpu/s_tan.S: Likewise.
33036 * sysdeps/i386/fpu/s_tanl.S: Likewise.
33037 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
33038 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
33039 * math/libm-test.inc (tan_test): Add more tests and enable more
33040 tests for double and long double.
33041 * sysdeps/i386/fpu/libm-test-ulps: Update.
33042 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33043
6a1bd2a1
JK
330442012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
33045
33046 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
33047 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
33048
10a803e0
RM
330492012-03-16 Roland McGrath <roland@hack.frob.com>
33050
33051 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
33052 * configure.in: Use it for both main tree and add-ons.
33053 * configure: Regenerated.
33054
f196c7f7
L
330552012-03-16 H.J. Lu <hongjiu.lu@intel.com>
33056
33057 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
33058
8848d99d
JM
330592012-03-16 Joseph Myers <joseph@codesourcery.com>
33060
96cbe7f4
JM
33061 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
33062 in comment.
33063
8848d99d
JM
33064 [BZ #13851]
33065 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
33066 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
33067 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
33068 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
33069 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
33070 infinite argument.
33071 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
33072 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
33073 != 0 for prec == 2.
33074 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
33075 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
33076 * sysdeps/i386/fpu/s_cosl.S: Likewise.
33077 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
33078 * sysdeps/i386/fpu/s_sinl.S: Likewise.
33079 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
33080 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
33081 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
33082 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
33083 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
33084 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
33085 * math/libm-test.inc (cos_test): Add more tests and enable more
33086 tests for long double.
33087 (sin_test): Likewise.
33088 (sincos_test): Likewise.
33089 * sysdeps/i386/fpu/libm-test-ulps: Update.
33090 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33091
dd7f4703
DM
330922012-03-16 David S. Miller <davem@davemloft.net>
33093
33094 * sysdeps/sparc/fpu/math_private.h: New file.
33095
006f1daa
DM
330962012-03-15 David S. Miller <davem@davemloft.net>
33097
c0c83bc8
DM
33098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
33099 file.
e6a62e18 33100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
33101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
33102 file.
e6a62e18
DM
33103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
33104 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
33105 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
33106 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
33107 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
33108 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
33109 sysdep routines.
33110 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33111
88cb87d9
DM
33112 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
33113 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
33114
006f1daa 33115 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
33116 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
33117 sparc-ifunc.h
006f1daa 33118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
33119 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
33120 Likewise.
33121 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
33122 Likewise.
006f1daa
DM
33123 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
33124 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
33125 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
33126 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33127 Likewise.
006f1daa
DM
33128 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
33129 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
33130 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
33131 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
33132 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
33133 Likewise.
33134 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
33135 Likewise.
006f1daa
DM
33136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
33137 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
33138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
33139 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
33140 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33141 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33142 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
33143 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
33144 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33145 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33146 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
33147 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
33148 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
33149 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
33150 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
33151 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
33152 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
33153 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
33154 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
33155 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
33156 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
33157 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
33158 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
33159 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
33160
11e0098e
AS
331612012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33162
33163 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
33164 scaling.
33165 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33166
e85b09d0
AJ
331672012-03-15 Andreas Jaeger <aj@suse.de>
33168
33169 [BZ #13852]
33170 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
33171 ieee754/flt-32 implementation for sin, cos and sincos.
33172 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
33173 * sysdeps/i386/fpu/s_cosf.S: Likewise.
33174 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
33175 * sysdeps/i386/fpu/s_sinf.S: Likewise.
33176 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
33177 ieee754/flt-32 implementation for tan.
33178
33179 * math/libm-test.inc (cos_test): Enable some large input tests for
33180 float as well
33181 (sin_test): Likewise.
33182 (sincos_test): Likewise.
33183 (tan_test): Add tests for large input.
33184
33185 * sysdeps/i386/fpu/libm-test-ulps: Update.
33186
81c64153
AJ
331872012-03-15 Andreas Jaeger <aj@suse.de>
33188
33189 [BZ #13658]
33190 * math/libm-test.inc (cos_test): Add more test cases.
33191 (sin_test): Likewise.
33192 (sincos_test): Likewise.
33193
7bbfa5c6
AJ
331942012-03-15 Andreas Jaeger <aj@suse.de>
33195
33196 [BZ #13837]
33197 * math/libm-test.inc (cos_test): Add a test case for large input
33198 value.
33199 (sin_test): Likewise.
33200 (sincos_test): Likewise.
33201
332022012-03-15 Andreas Jaeger <aj@suse.de>,
33203 Joseph Myers <joseph@codesourcery.com>
33204
33205 [BZ #13658]
0671f479 33206 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
33207 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
33208 * sysdeps/i386/fpu/branred.c: Likewise.
33209 * sysdeps/i386/fpu/dosincos.c: Likewise.
33210 * sysdeps/i386/fpu/mpa.c: Likewise.
33211 * sysdeps/i386/fpu/s_cos.S: Likewise.
33212 * sysdeps/i386/fpu/s_sin.S: Likewise.
33213 * sysdeps/i386/fpu/s_sincos.S: Likewise.
33214 * sysdeps/i386/fpu/sincos32.c: Likewise.
33215
33216 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
33217 Define.
33218 (libc_feupdateenv_53bit): Define.
33219 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
33220 Define.
33221 (libc_feupdateenv_53bit): Define.
33222
33223 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
33224 53 bit (without extend i386 double precision).
33225
33226 * math/libm-test.inc (sincos_test): Add tests for large input.
33227 (sin): Likewise.
33228 (cos): Likewise.
33229
33230 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
33231
9cad04ea
AS
332322012-03-15 Andreas Schwab <schwab@linux-m68k.org>
33233
33234 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33235
f7062b9a
DM
332362012-03-15 David S. Miller <davem@davemloft.net>
33237
33238 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
33239 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
33240 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
33241 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
33242 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
33243 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
33244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
33245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
33246 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
33247 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
33248 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
33249 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
33250 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
33251 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
33252 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
33253 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
33254 file.
f7062b9a 33255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
33256 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
33257 file.
f7062b9a 33258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
33259 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
33260 file.
f7062b9a 33261 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
33262 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
33263 file.
f7062b9a
DM
33264 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
33265 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
33266 fmin/fmax sysdep routines.
33267 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
33268
7bd951ff
DM
332692012-03-14 David S. Miller <davem@davemloft.net>
33270
559398ab
DM
33271 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
33272 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
33273 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
33274 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
33275 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
33276 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
33277 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
33278 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
33279 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
33280 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
33281 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
33282 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
33283 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
33284 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
33285 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
33286 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
33287 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
33288 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
33289 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
33290 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
33291 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
33292 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
33293 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
33294 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
33295 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
33296 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
33297 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
33298 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33299 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
33300 routines.
33301 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
33302 file.
559398ab 33303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
33304 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
33305 file.
559398ab 33306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
33307 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
33308 file.
559398ab 33309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
33310 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
33311 file.
559398ab 33312 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
33313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
33314 file.
559398ab 33315 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
33316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
33317 file.
33318 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
33319 file.
33320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
33321 file.
33322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
33323 file.
33324 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
33325 New file.
33326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
33327 file.
33328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
33329 file.
559398ab 33330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
33331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
33332 file.
559398ab 33333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
33334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
33335 file.
559398ab 33336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
33337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
33338 file.
559398ab 33339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
33340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
33341 VIS3 routines.
559398ab
DM
33342
33343 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33344 New file.
33345
5a1c1e32
DM
33346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33347
eae47a36
DM
33348 * sysdeps/sparc/configure.in: New file.
33349 * sysdeps/sparc/configure: Generate.
33350 * configure.in (libc_cv_sparc_as_vis3): Substitute.
33351 * configure: Regenerate.
33352 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
33353 * config.make.in (have-as-vis3): New.
33354 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
33355 available use -Av9d instead of -Av9a.
33356 * sysdeps/sparc/sparc64/Makefile: Likewise.
33357 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
33358 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
33359 New file.
33360 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
33361 file.
33362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
33363 New file.
33364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
33365 file.
eae47a36
DM
33366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
33367 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
33368 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
33369 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
33370 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
33371
c0c83bc8
DM
33372 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
33373 fzeros/fnegs to load 0x80000000 into a float register instead of
33374 using the stack.
7bd951ff
DM
33375 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
33376
bd951ccb
JM
333772012-03-14 Joseph Myers <joseph@codesourcery.com>
33378
33379 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33380 bits/syscall.h.
33381 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
33382 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
33383 ($(inst_includedir)/bits/syscall.h): Remove rule.
33384 ($(objpfx)bits/syscall.d): Include instead of
33385 $(objpfx)syscall-list.d.
33386 (generated): Change syscall-list.h and syscall-list.d to
33387 bits/syscall.h and bits/syscall.d.
33388
bb4e6db2
RM
333892012-03-14 Roland McGrath <roland@hack.frob.com>
33390
33391 [BZ #13846]
33392 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
33393
aa4a2ae1
JM
333942012-03-14 Joseph Myers <joseph@codesourcery.com>
33395
e456826d
JM
33396 [BZ #13841]
33397 * math/s_csqrt.c: Include <float.h>.
33398 (__csqrt): Scale large or subnormal inputs.
33399 * math/s_csqrtf.c: Likewise.
33400 * math/s_csqrtl.c: Likewise.
33401 * math/libm-test.inc (csqrt_test): Add more tests.
33402 * sysdeps/i386/fpu/libm-test-ulps: Update.
33403 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33404
aa4a2ae1
JM
33405 [BZ #13840]
33406 * math/libm-test.inc (hypot_test): Add more tests.
33407
7c10fd35
DM
334082012-03-13 David S. Miller <davem@davemloft.net>
33409
33410 [BZ #13840]
33411 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
33412 double-precision for the calculation instead of scaling.
33413
f453b98b
JM
334142012-03-13 Joseph Myers <joseph@codesourcery.com>
33415
33416 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
33417 manipulate bits before adding and subtracting TWO52[sx].
33418 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
33419 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
33420 Likewise.
33421 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
33422
09a3453f
DM
334232012-03-13 David S. Miller <davem@davemloft.net>
33424
8e59da90
DM
33425 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
33426 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
33427 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
33428 rtld-global-offsets.h
33429 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33430
2a8ab7f2
DM
33431 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
33432 large parameters.
33433
10f62770
DM
33434 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
33435
5f0bdb18
DM
33436 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
33437 'err' in the ifdef scope in which it is actually used.
33438
09a3453f
DM
33439 * nss/nss_db/db-init.c: Include string.h
33440
b4b2eb5e
DM
334412012-03-12 David S. Miller <davem@davemloft.net>
33442
98bb2f1c
DM
33443 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
33444 masking out of the most significant byte of random value used.
33445 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33446 Fix coding style in previous change.
33447
b4b2eb5e
DM
33448 * sysdeps/unix/sysv/linux/kernel-features.h
33449 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
33450 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
33451 expression.
33452 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
33453 later.
33454
6e226b09
DM
334552012-03-11 David S. Miller <davem@davemloft.net>
33456
a1bcbd40
DM
33457 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
33458 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
33459 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
33460 for 'resultvar' otherwise things get truncated on 64-bit.
33461
cb9d6174
DM
33462 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
33463 Fix masking out of the most significant byte of random value used.
33464
6e226b09
DM
33465 * sysdeps/sparc/fpu/libm-test-ulps: Update.
33466
058c132d
AS
334672012-03-10 Andreas Schwab <schwab@linux-m68k.org>
33468
33469 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33470
2d2cd515
DM
334712012-03-09 David S. Miller <davem@davemloft.net>
33472
33473 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
33474 variables with appropriate CPP guards.
33475 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
33476 frame pointer, not the stack pointer. Correct layout comments. Fix test
33477 on resulting framesize and the management of the outregs buffer for pltexit.
33478 Preserve floating point return values across _dl_call_pltexit call.
33479 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
33480 framesize and the management of the outregs buffer for pltexit.
33481 Preserve floating point return values across _dl_call_pltexit
33482 call.
33483 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
33484 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
33485 (print_exit): Fix format string for return register value.
33486
9a07f9d0
JM
334872012-03-10 Joseph Myers <joseph@codesourcery.com>
33488
33489 * sunrpc/Makefile (others): Add rpcgen.
33490 ($(objpfx)rpcgen): Remove special build rule and dependency on
33491 libc.
33492 * sunrpc/rpcgen.c: New file.
33493
547b5e30
PE
334942012-03-09 Paul Eggert <eggert@cs.ucla.edu>
33495
c524201a
PE
33496 [BZ #13673]
33497 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
33498 * stdio-common/bug-vfprintf-nargs.c: Likewise.
33499 * sysdeps/i386/crti.S: Likewise.
33500 * sysdeps/i386/crtn.S: Likewise.
33501 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
33502 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
33503 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
33504 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
33505 * sysdeps/sh/crti.S: Likewise.
33506 * sysdeps/sh/crtn.S: Likewise.
33507 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
33508
7b6235f2
PE
33509 [BZ #13673]
33510 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
33511 with URL.
33512 * locale/programs/locfile-kw.gperf: Likewise.
33513 * locale/programs/charmap-kw.h: Regenerated.
33514 * locale/programs/locfile-kw.h: Likewise.
33515
547b5e30
PE
33516 [BZ #13673]
33517 * intl/plural.y: Replace FSF snail mail address with URL.
33518 * intl/plural.c: Regenerated.
33519
5f0a5dae
RH
335202012-03-09 Richard Henderson <rth@twiddle.net>
33521
33522 * include/math_private.h: Remove file.
33523 * math/math_private.h: Move file ...
33524 * sysdeps/generic/math_private.h: ... here.
33525
b8c03620
RH
33526 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
33527 * sysdeps/powerpc/fpu/math_private.h: Likewise.
33528 * sysdeps/x86_64/fpu/math_private.h: Likewise.
33529
4e234f5d 33530 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
33531 and <math_private.h>.
33532 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
33533 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
33534 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
33535 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
33536 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
33537 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
33538 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33540 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
33541 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33542 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33543 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
33544 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
33545 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33546 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
33547 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
33548 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
33549 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33550 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33551 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
33552 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33553 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
33554 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
33555 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33556 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
33557 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33558 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
33559 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33560 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33561 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
33562 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
33563 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33564 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
33565 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
33566 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
33567 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
33568 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
33569 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
33570 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
33571 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
33572 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
33573 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
33574 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
33575 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
33576 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
33577 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
33578 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
33579 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
33580 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
33581 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
33582 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
33583 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
33584 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
33585 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
33586 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
33587 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
33588 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
33589 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33590 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
33591 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
33592 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33593 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
33594 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33595 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
33596 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
33597 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33598 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33599 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33600 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
33601 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
33602 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
33603 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
33604 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
33605 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
33606 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
33607 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
33608 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
33609 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
33610 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
33611 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
33612 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
33613 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
33614 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
33615 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
33616 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
33617 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33618 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
33619 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
33620 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
33621 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
33622 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
33623 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
33624 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
33625 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
33626 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
33627 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
33628 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
33629 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33630 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33631 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
33632 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
33633 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
33634 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
33635 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
33636 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
33637 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
33638 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
33639 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
33640 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
33641 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
33642 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
33643 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
33644 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
33645 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
33646 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
33647 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
33648 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
33649 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
33650 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
33651 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
33652 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
33653 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
33654 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
33655 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
33656 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
33657 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
33658 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
33659 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
33660 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
33661 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
33662 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
33663 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
33664 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
33665 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
33666 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
33667 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
33668 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
33669 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
33670 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
33671 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
33672 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
33673 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
33674 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
33675 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
33676 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
33677 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
33678 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
33679 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
33680 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
33681 * sysdeps/ieee754/k_standard.c: Likewise.
33682 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
33683 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
33684 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
33685 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
33686 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
33687 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
33688 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
33689 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
33690 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33691 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33692 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33693 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33694 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
33695 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
33696 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
33697 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
33698 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
33699 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
33700 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
33701 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
33702 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
33703 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
33704 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
33705 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
33706 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
33707 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33708 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
33709 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
33710 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
33711 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
33712 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
33713 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
33714 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
33715 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
33716 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
33717 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
33718 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
33719 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
33720 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
33721 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
33722 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
33723 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
33724 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
33725 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
33726 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
33727 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
33728 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
33729 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
33730 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
33731 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
33732 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
33733 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
33734 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
33735 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
33736 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33737 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
33738 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
33739 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
33740 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
33741 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
33742 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
33743 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
33744 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33745 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
33746 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33747 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33748 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
33749 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
33750 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
33751 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
33752 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
33753 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33754 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
33755 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
33756 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
33757 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
33758 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
33759 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
33760 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
33761 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
33762 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
33763 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
33764 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
33765 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
33766 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
33767 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33768 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
33769 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33770 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33771 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
33772 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
33773 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
33774 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33775 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
33776 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33777 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
33778 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
33779 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33780 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33781 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
33782 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
33783 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33784 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
33785 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
33786 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
33787 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
33788 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33789 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33790 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
33791 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
33792 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
33793 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
33794 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
33795 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
33796 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
33797 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
33798 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
33799 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
33800 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
33801 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33802 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33803 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
33804 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
33805 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
33806 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
33807 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
33808 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
33809 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
33810 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
33811 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
33812 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
33813 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
33814 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
33815 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
33816 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
33817 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
33818 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
33819 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
33820 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
33821 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
33822 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
33823 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
33824 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
33825 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
33826 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
33827 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
33828 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
33829 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
33830 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
33831 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
33832 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
33833 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
33834 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33835 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
33836 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
33837 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
33838 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
33839 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
33840 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
33841 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
33842 * sysdeps/ieee754/s_lib_version.c: Likewise.
33843 * sysdeps/ieee754/s_matherr.c: Likewise.
33844 * sysdeps/ieee754/s_signgam.c: Likewise.
33845 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
33846 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
33847 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
33848 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
33849 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
33850 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
33851 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
33852 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
33853 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
33854 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
33855 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
33856 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
33857 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
33858 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
33859 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
33860 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33861 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33862 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33863 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33864 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
33865 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 33866
1991fa03
JM
338672012-03-09 Joseph Myers <joseph@codesourcery.com>
33868
33869 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
33870 * sunrpc/rpc_main.c: Likewise.
33871 * sunrpc/rpc_svcout.c: Likewise.
33872
60d6f5a6
DM
338732012-03-09 David S. Miller <davem@davemloft.net>
33874
33875 * include/math_private.h: New file.
33876
4962050e
JM
338772012-03-09 Joseph Myers <joseph@codesourcery.com>
33878
02a6f887
JM
33879 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
33880 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
33881 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
33882 from <bits/socket_type.h>.
33883 (enum __socket_type): Don't define here.
33884 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
33885 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
33886 bits/socket_type.h.
33887
c6e013c1
JM
33888 [BZ #13566]
33889 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
33890 checking __USE_GNU.
33891
4962050e
JM
33892 * Makerules ($(inst_includedir)/%.h): New rule.
33893 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
33894 (install-others): Remove variable setting.
33895 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
33896
38842f45
RH
338972012-03-08 Richard Henderson <rth@twiddle.net>
33898
67bb6da6
RH
33899 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
33900 from macro to inline function; merge with the
33901 !__LIBC_INTERNAL_MATH_INLINES version.
33902 (__ieee754_sqrtf): Likewise.
33903
15194b4b
RH
33904 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
33905 to inline function.
33906 (__rintf, __floor, __floorf): Likewise.
33907
64e21ede
RH
33908 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
33909 macro to inline function.
33910 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
33911
38842f45
RH
33912 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
33913 not <math/math_private.h>.
33914
c64bf5fe
DM
339152012-03-08 David S. Miller <davem@davemloft.net>
33916
33917 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
33918 copyright year.
33919 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
33920
82d86f28
TS
339212012-03-08 Thomas Schwinge <thomas@codesourcery.com>
33922
33923 * resolv/gai_misc.c (handle_requests): Fix struct timespec
33924 normalization.
33925 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
33926 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
33927
aea5d727
UD
339282012-03-08 Ulrich Drepper <drepper@gmail.com>
33929
33930 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
33931 be defined individually, they must be defined as a block. Define
33932 S for printing a string instead of hidint the different by using a
33933 macro for adding the 'l'.
33934 * stdio-common/tst-fphex-wide.c: Adjust.
33935
70bca0a3
MP
339362012-03-07 Marek Polacek <polacek@redhat.com>
33937
33938 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
33939
65b81130
MP
339402012-03-08 Marek Polacek <polacek@redhat.com>
33941
33942 [BZ #13806]
33943 * stdio-common/Makefile (tests): Add tst-fphex-wide.
33944 * stdio-common/tst-fphex.c: Define a few macros to make the
33945 test reusable. Use them.
33946 * stdio-common/tst-fphex-wide.c: New file.
33947
07037eeb
JM
339482012-03-08 Joseph Myers <joseph@codesourcery.com>
33949
a7a93d50
JM
33950 [BZ #6911]
33951 * manual/macros.texi (gnusystems): New macro.
33952 (nongnusystems): Likewise.
33953 (gnulinuxhurdsystems): Likewise.
33954 (gnuhurdsystems): Likewise..
33955 (gnulinuxsystems): Likewise.
33956 * manual/charset.texi: Use new macros or @theglibc{} to refer to
33957 variants of the GNU system, not "GNU system".
33958 * manual/conf.texi: Likewise.
33959 * manual/errno.texi: Likewise. Update example of errno macro
33960 expansion.
33961 * manual/filesys.texi: Likewise.
33962 (getumask): Document as specific to GNU/Hurd.
33963 * manual/install.texi: Likewise. Reword some references to
33964 GNU/Linux.
33965 * manual/intro.texi: Likewise.
33966 * manual/io.texi: Likewise.
33967 (File Name Portability): Detail which constraints are inapplicable
33968 to all GNU systems and which are only inapplicable to GNU/Hurd.
33969 * manual/job.texi: Likewise.
33970 * manual/llio.texi: Likewise.
33971 (O_NOCTTY): Document as present on GNU/Linux.
33972 * manual/maint.texi: Likewise.
33973 * manual/memory.texi: Likewise.
33974 * manual/pattern.texi: Likewise.
33975 * manual/pipe.texi: Likewise.
33976 * manual/process.texi: Likewise.
33977 * manual/resource.texi: Likewise.
33978 (RUSAGE_CHILDREN): Remove statement about specifying a particular
33979 child on GNU/Hurd.
33980 * manual/setjmp.texi: Likewise.
33981 * manual/signal.texi: Likewise.
33982 * manual/startup.texi: Likewise.
33983 * manual/stdio.texi: Likewise.
33984 * manual/terminal.texi: Likewise.
33985 (ONLCR): Document as POSIX.
33986 (OXTABS): Document availability on GNU/Linux as XTABS.
33987 (ONOEOT): Document availability separately from other bits.
33988 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
33989 * manual/time.texi: Likewise.
33990 * manual/users.texi: Likewise.
33991 * INSTALL: Regenerated.
33992 * sysdeps/gnu/errlist.c: Regenerated.
33993
07037eeb
JM
33994 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
33995 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
33996 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
33997 puts.
33998 * configure: Regenerated.
33999
d1d3431a
JM
340002012-03-07 Joseph Myers <joseph@codesourcery.com>
34001
af6a1e37
JM
34002 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
34003 default includes instead of AC_HEADER_CHECK.
34004 * sysdeps/i386/configure: Regenerated.
34005
d1d3431a
JM
34006 [BZ #10716]
34007 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
34008 * math/s_cacoshf.c (__cacoshf): Likewise.
34009 * math/s_cacoshl.c (__cacoshl): Likewise.
34010 * math/s_casinh.c (__casinh): Set signs of result from argument.
34011 * math/s_casinhf.c (__casinhf): Likewise.
34012 * math/s_casinhl.c (__casinhl): Likewise.
34013 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
34014 (casinh_test): Add more tests.
34015 * sysdeps/i386/fpu/libm-test-ulps: Update.
34016 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34017
482ff4da
UD
340182012-03-07 Ulrich Drepper <drepper@gmail.com>
34019
872fda05
UD
34020 * po/zh_TW.po: Update from translation team.
34021
a4300c7a
UD
34022 * login/Makefile (distribute): Remove variable.
34023 * catgets/Makefile: Likewise.
34024 * mach/Makefile: Likewise.
34025 * malloc/Makefile: Likewise.
34026 * misc/Makefile: Likewise.
34027 * iconv/Makefile: Likewise.
34028 * nscd/Makefile: Likewise.
34029 * hurd/Makefile: Likewise.
34030 * manual/Makefile: Likewise.
34031 * locale/Makefile: Likewise.
34032 * intl/Makefile: Likewise.
34033 * conform/Makefile: Likewise.
34034 * nss/Makefile: Likewise.
34035 * time/Makefile: Likewise.
34036 * soft-fp/Makefile: Likewise.
34037 * dirent/Makefile: Likewise.
34038 * gmon/Makefile: Likewise.
34039 * po/Makefile: Likewise.
34040 * rt/Makefile: Likewise.
34041 * socket/Makefile: Likewise.
34042 * math/Makefile: Likewise.
34043 * signal/Makefile: Likewise.
34044 * debug/Makefile: Likewise.
34045 * elf/Makefile: Likewise.
34046 * timezone/Makefile: Likewise.
34047 * stdlib/Makefile: Likewise.
34048 * iconvdata/Makefile: Likewise.
34049 * sunrpc/Makefile: Likewise.
34050 * io/Makefile: Likewise.
34051 * argp/Makefile: Likewise.
34052 * inet/Makefile: Likewise.
34053 * hesiod/Makefile: Likewise.
34054 * grp/Makefile: Likewise.
34055 * csu/Makefile: Likewise.
34056 * wctype/Makefile: Likewise.
34057 * crypt/Makefile: Likewise.
34058 * libio/Makefile: Likewise.
34059 * string/Makefile: Likewise.
34060 * nis/Makefile: Likewise.
34061 * resolv/Makefile: Likewise.
34062 * stdio-common/Makefile: Likewise.
34063 * wcsmbs/Makefile: Likewise.
34064 * dlfcn/Makefile: Likewise.
34065 * posix/Makefile: Likewise.
34066
3b7c4e74 34067 [BZ #6959]
482ff4da
UD
34068 * timezone/Makefile: Don't install timezone files, just the programs
34069 and scripts.
34070
f72ed77d
UD
340712012-03-06 Ulrich Drepper <drepper@gmail.com>
34072
a000466f
UD
34073 * nss/databases.def: Add missing gshadow entry.
34074
f72ed77d
UD
34075 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
34076
a53b7a4e
MP
340772012-03-06 Marek Polacek <polacek@redhat.com>
34078
34079 [BZ #13726]
34080 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
34081 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
34082 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
34083 * stdio-common/tst-long-dbl-fphex.c: New file.
34084
e9258400
DM
340852012-03-06 David S. Miller <davem@davemloft.net>
34086
34087 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34088 (set_obp_int): New function.
34089 (get_obp_int): New function.
34090 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
34091 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
34092 Avoid unused variable warnings on 'val' and use builtin_expect.
34093 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
34094 __builtin_expect.
e9258400
DM
34095 (INLINE_CLONE_SYSCALL): Likewise.
34096
3bd2c723
DM
340972012-03-05 David S. Miller <davem@davemloft.net>
34098
34099 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34100
bbb78d03
AS
341012012-03-05 Andreas Schwab <schwab@linux-m68k.org>
34102
884c5db4
AS
34103 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34104
bbb78d03
AS
34105 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
34106 only for |x| >= 40.
34107 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
34108
1c9f702a 341092012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
34110
34111 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
34112 Replace gettimeofday with __vdso_gettimeofday.
34113
7be16f82
RM
34114 * sysdeps/unix/sysv/linux/x86_64/init-first.c
34115 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
34116 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
34117
34118 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
34119 time with __vdso_time.
34120
ed58a00f
JM
341212012-03-05 Joseph Myers <joseph@codesourcery.com>
34122
34123 * manual/lang.texi (size_t): Note types to which size_t may be
34124 equivalent with the GNU C Library, but do not describe when
34125 differences between them are significant.
34126
30ee4ced
AJ
341272012-03-05 Andreas Jaeger <aj@suse.de>
34128
34129 * sysdeps/i386/fpu/libm-test-ulps: Update.
34130
b7cd39e8
JM
341312012-03-05 Joseph Myers <joseph@codesourcery.com>
34132
34133 [BZ #3976]
34134 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
34135 (__ieee754_pow): Save and restore rounding mode and use
34136 round-to-nearest for main computations.
34137 * math/libm-test.inc (pow_test_tonearest): New function.
34138 (pow_test_towardzero): Likewise.
34139 (pow_test_downward): Likewise.
34140 (pow_test_upward): Likewise.
34141 (main): Call the new functions.
34142 * sysdeps/i386/fpu/libm-test-ulps: Update.
34143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
34144
34145 [BZ #3976]
34146 * math/libm-test.inc (cosh_test_tonearest): New function.
34147 (cosh_test_towardzero): Likewise.
34148 (cosh_test_downward): Likewise.
34149 (cosh_test_upward): Likewise.
34150 (sinh_test_tonearest): Likewise.
34151 (sinh_test_towardzero): Likewise.
34152 (sinh_test_downward): Likewise.
34153 (sinh_test_upward): Likewise.
34154 (main): Call the new functions.
34155 * sysdeps/i386/fpu/libm-test-ulps: Update.
34156 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34157
6c6a98c9
TV
341582012-03-05 Tom de Vries <tom@codesourcery.com>
34159
34160 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
34161 default stack guard is set in last bytes.
34162 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
34163
21bb2d2e 341642012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 34165
21bb2d2e 34166 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 34167
21bb2d2e
AJ
34168 [BZ #13656]
34169 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
34170 possibly allocate from heap instead of stack.
34171 * stdio-common/bug-vfprintf-nargs.c: New file.
34172 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 34173
c6922934
AS
341742012-03-03 Andreas Schwab <schwab@linux-m68k.org>
34175
34176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34177
bc957d53
MP
341782012-03-03 Marek Polacek <polacek@redhat.com>
34179
34180 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
34181 * math/math_private.h: Likewise.
34182 * stdlib/tst-strtod.c: Likewise.
34183 * sysdeps/i386/i486/bits/atomic.h: Likewise.
34184 * sysdeps/x86_64/bits/atomic.h: Likewise.
34185
6358490d
DM
341862012-03-02 David S. Miller <davem@davemloft.net>
34187
34188 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
34189 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
34190 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
34191 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
34192 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
34193 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
34194 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
34195 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
34196
01ae168d
RM
341972012-03-02 Roland McGrath <roland@hack.frob.com>
34198
d9a17c07
RM
34199 [BZ #13792]
34200 * manual/examples/README: New file, says the example source files
34201 can be used under GPL>=2.
34202 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
34203 line containing just "*/".
34204 * manual/examples/add.c: Add copyright header (GPL>=2).
34205 * manual/examples/argp-ex1.c: Likewise.
34206 * manual/examples/argp-ex2.c: Likewise.
34207 * manual/examples/argp-ex3.c: Likewise.
34208 * manual/examples/argp-ex4.c: Likewise.
34209 * manual/examples/atexit.c: Likewise.
34210 * manual/examples/db.c: Likewise.
34211 * manual/examples/dir.c: Likewise.
34212 * manual/examples/dir2.c: Likewise.
34213 * manual/examples/execinfo.c: Likewise.
34214 * manual/examples/filecli.c: Likewise.
34215 * manual/examples/filesrv.c: Likewise.
34216 * manual/examples/fmtmsgexpl.c: Likewise.
34217 * manual/examples/genpass.c: Likewise.
34218 * manual/examples/inetcli.c: Likewise.
34219 * manual/examples/inetsrv.c: Likewise.
34220 * manual/examples/isockad.c: Likewise.
34221 * manual/examples/longopt.c: Likewise.
34222 * manual/examples/memopen.c: Likewise.
34223 * manual/examples/memstrm.c: Likewise.
34224 * manual/examples/mkfsock.c: Likewise.
34225 * manual/examples/mkisock.c: Likewise.
34226 * manual/examples/mygetpass.c: Likewise.
34227 * manual/examples/pipe.c: Likewise.
34228 * manual/examples/popen.c: Likewise.
34229 * manual/examples/rprintf.c: Likewise.
34230 * manual/examples/search.c: Likewise.
34231 * manual/examples/select.c: Likewise.
34232 * manual/examples/setjmp.c: Likewise.
34233 * manual/examples/sigh1.c: Likewise.
34234 * manual/examples/sigusr.c: Likewise.
34235 * manual/examples/stpcpy.c: Likewise.
34236 * manual/examples/strdupa.c: Likewise.
34237 * manual/examples/strftim.c: Likewise.
34238 * manual/examples/strncat.c: Likewise.
34239 * manual/examples/subopt.c: Likewise.
34240 * manual/examples/swapcontext.c: Likewise.
34241 * manual/examples/termios.c: Likewise.
34242 * manual/examples/testopt.c: Likewise.
34243 * manual/examples/testpass.c: Likewise.
34244 * manual/examples/timeval_subtract.c: Likewise.
34245
01ae168d
RM
34246 [BZ #13792]
34247 * manual/time.texi (Elapsed Time): Move timeval_subtract example
34248 function to ...
34249 * manual/timeval_subtract.c.texi: ... here, new file.
34250
49efa33d
DM
342512012-03-02 David S. Miller <davem@davemloft.net>
34252
34253 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
34254
28afd92d
JM
342552012-03-02 Joseph Myers <joseph@codesourcery.com>
34256
804360ed
JM
34257 [BZ #3976]
34258 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
34259 (__sin): Save and restore rounding mode and use round-to-nearest
34260 for all computations.
34261 (__cos): Save and restore rounding mode and use round-to-nearest
34262 for all computations.
34263 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
34264 <fenv.h>.
34265 (tan): Save and restore rounding mode and use round-to-nearest for
34266 all computations.
34267 * math/libm-test.inc (cos_test_tonearest): New function.
34268 (cos_test_towardzero): Likewise.
34269 (cos_test_downward): Likewise.
34270 (cos_test_upward): Likewise.
34271 (sin_test_tonearest): Likewise.
34272 (sin_test_towardzero): Likewise.
34273 (sin_test_downward): Likewise.
34274 (sin_test_upward): Likewise.
34275 (tan_test_tonearest): Likewise.
34276 (tan_test_towardzero): Likewise.
34277 (tan_test_downward): Likewise.
34278 (tan_test_upward): Likewise.
34279 (main): Call the new functions.
34280 * sysdeps/i386/fpu/libm-test-ulps: Update.
34281 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34282
a6d06d7b
JM
34283 [BZ #10135]
34284 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
34285 small n, then large n, before computing and testing k+n.
34286 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
34287 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
34288 Likewise.
34289 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
34290 Likewise.
34291 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
34292 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
34293 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
34294 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
34295 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
34296 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
34297 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
34298 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
34299 * math/libm-test.inc (scalbn_test): Add more tests.
34300 (scalbln_test): Likewise.
34301
07e12bb3
JM
34302 * manual/filesys.texi (mode_t): Describe constraints on size and
34303 signedness, not exact equivalence to a particular type.
34304 (ino_t): Likewise.
34305 (ino64_t): Likewise.
34306 (dev_t): Likewise.
34307 (nlink_t): Likewise.
34308 (blkcnt_t): Likewise.
34309 (blkcnt64_t): Likewise.
34310 * manual/llio.texi (off_t): Likewise.
34311
28afd92d
JM
34312 [BZ #3976]
34313 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
34314 (__ieee754_exp): Save and restore rounding mode and use
34315 round-to-nearest for all computations.
34316 * math/libm-test.inc (exp_test_tonearest): New function.
34317 (exp_test_towardzero): Likewise.
34318 (exp_test_downward): Likewise.
34319 (exp_test_upward): Likewise.
34320 (main): Call the new functions.
34321 * sysdeps/i386/fpu/libm-test-ulps: Update.
34322 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34323
b1eeb65d
CD
343242012-03-01 Chris Demetriou <cgd@google.com>
34325
34326 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
34327 have predictable order.
34328
53362a4b
DM
343292012-03-01 David S. Miller <davem@davemloft.net>
34330
3c969083
DM
34331 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
34332
759707de
DM
34333 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
34334 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
34335 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
34336 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
34337
dfdb8ff2
DM
34338 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
34339 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
34340 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
34341 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
34342 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
34343 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
34344 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
34345 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
34346 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
34347
ead89f96
DM
34348 * sysdeps/sparc/fpu/libm-test-ulps: Update.
34349
7f66bd07
DM
34350 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
34351 * sysdeps/sparc/fpu/libm-test-ulps: to here.
34352 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
34353
53362a4b
DM
34354 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
34355 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
34356 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34357 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
34358 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
34359 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
34360 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
34361 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
34362 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34363 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
34364 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
34365 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34366 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
34367 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34368 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34369 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
34370 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
34371 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
34372 * sysdeps/sparc/elf/configure: Regenerated.
34373
7b1902cb
JM
343742012-03-01 Joseph Myers <joseph@codesourcery.com>
34375
bec039bc
JM
34376 * configure.in (AS, LD): Require binutils 2.20 or later.
34377 * configure: Regenerated.
34378 * manual/install.texi (Tools for Compilation): Give binutils 2.20
34379 as required minimum version.
34380 * INSTALL: Regenerated.
34381
7b1902cb
JM
34382 [BZ #2541]
34383 [BZ #4108]
34384 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
34385 before squaring exponent.
34386 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
34387 bottom long double and 27 bits of top long double before squaring
34388 exponent.
34389 * math/libm-test.inc (erfc_test): Add more tests.
34390 * sysdeps/i386/fpu/libm-test-ulps: Update.
34391 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
34392 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34393
f775c276
KT
343942012-03-01 Kai Tietz <ktietz@redhat.com>
34395
34396 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
34397 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
34398 containing bit-fields.
34399 * soft-fp/extended.h (_FP_UNION_E): Likewise.
34400 * soft-fp/single.h (_FP_UNION_S): Likewise.
34401 * soft-fp/double.h (_FP_UNION_D): Likewise.
34402
5b8a4d4a
JM
344032012-02-29 Joseph Myers <joseph@codesourcery.com>
34404
0bab47b6
JM
34405 [BZ #13786]
34406 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
34407 not include ../strcmp.S.
34408 [USE_AS_STRNCASECMP_L]: Likewise.
34409 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
34410 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
34411 * sysdeps/i386/i686/multiarch/strncase_l-c.c
34412 (__strncasecmp_l_ia32): Define as alias to
34413 __strncasecmp_l_nonascii.
34414
0fcad3e2
JM
34415 [BZ #5794]
34416 * math/libm-test.inc (expm1_test): Add test for bug 5794.
34417 * sysdeps/i386/fpu/libm-test-ulps: Update.
34418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34419
5b8a4d4a
JM
34420 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
34421 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34422
8fdceb2e
JL
344232012-02-29 Jeff Law <law@redhat.com>
34424
34425 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
34426 out of bounds read.
34427
1f393a11
MP
344282012-02-29 Marek Polacek <polacek@redhat.com>
34429
34430 [BZ #13706]
34431 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
34432 * elf/Makefile: Add rules to run tst-unused-dep.out.
34433
8847f037
DM
344342012-02-28 David S. Miller <davem@davemloft.net>
34435
34436 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
34437 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
34438 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
34439 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
34440 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
34441 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
34442
169d7f11
JM
344432012-02-29 Joseph Myers <joseph@codesourcery.com>
34444
34445 * math/libm-test.inc (llround_test): Move one test from
34446 lround_test. Use TEST_f_L in moved test.
34447 (lround_test): Move misplaced test to llround_test. Add testcase
34448 from bug 2561.
34449
39adf059
UD
344502012-02-28 Ulrich Drepper <drepper@gmail.com>
34451
34452 * sysdeps/x86_64/fpu/e_expf.S: New file.
34453 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
34454
71b5d1c5
SB
344552012-02-28 Stanislav Brabec <sbrabec@suse.cz>
34456
34457 [BZ #13637]
34458 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
34459 of remain_len that may cause incomplete multi-byte character and
34460 false match.
34461 * posix/bug-regex33.c: New file.
34462 * posix/Makefile (tests): Add bug-regex33.
34463
1f77f049
JM
344642012-02-28 Joseph Myers <joseph@codesourcery.com>
34465
34466 * manual/macros.texi: New file.
34467 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
34468 * manual/libc.texinfo: Include macros.texi.
34469 * manual/creatute.texi: Likewise.
34470 * manual/install.texi: Likewise.
34471 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
34472 @glibcadj{} in references to the GNU C Library.
34473 * manual/charset.texi: Likewise.
34474 * manual/conf.texi: Likewise.
34475 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
34476 when not using those macros.
34477 * manual/creature.texi: Likewise.
34478 * manual/crypt.texi: Likewise.
34479 * manual/errno.texi: Likewise.
34480 * manual/filesys.texi: Likewise.
34481 * manual/header.texi: Likewise.
34482 * manual/install.texi: Likewise.
34483 * manual/intro.texi: Likewise.
34484 * manual/io.texi: Likewise.
34485 * manual/job.texi: Likewise.
34486 * manual/lang.texi: Likewise.
34487 * manual/libc.texiinfo: Likewise.
34488 * manual/llio.texi: Likewise.
34489 * manual/locale.texi: Likewise.
34490 * manual/maint.texi: Likewise.
34491 * manual/math.texi: Likewise.
34492 * manual/memory.texi: Likewise.
34493 * manual/message.texi: Likewise.
34494 * manual/nss.texi: Likewise.
34495 * manual/pattern.texi: Likewise.
34496 * manual/process.texi: Likewise.
34497 * manual/resource.texi: Likewise.
34498 * manual/search.texi: Likewise.
34499 * manual/setjmp.texi: Likewise.
34500 * manual/signal.texi: Likewise.
34501 * manual/socket.texi: Likewise.
34502 * manual/startup.texi: Likewise.
34503 * manual/stdio.texi: Likewise.
34504 * manual/string.texi: Likewise.
34505 * manual/sysinfo.texi: Likewise.
34506 * manual/syslog.texi: Likewise.
34507 * manual/terminal.texi: Likewise.
34508 * manual/time.texi: Likewise.
34509 * manual/users.texi: Likewise.
34510 * INSTALL: Regenerated.
34511 * NOTES: Regenerated.
d40c5d54 34512 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 34513
450bf206
AS
345142012-02-28 Andreas Schwab <schwab@linux-m68k.org>
34515
34516 * include/dirent.h: Include <dirstream.h> before
34517 <dirent/dirent.h>.
34518
741a235b
DM
345192012-02-28 David S. Miller <davem@davemloft.net>
34520
34521 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
34522 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
34523 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
34524 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
34525
d6b5aa58
DM
345262012-02-27 David S. Miller <davem@davemloft.net>
34527
1aff59a3
DM
34528 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
34529 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
34530 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
34531 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
34532
d6b5aa58
DM
34533 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
34534 frame pointer instead of stack pointer relative arg slot.
34535 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34536 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34537 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34538
433f48bf
CD
345392012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
34540
34541 [BZ #3992]
34542 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
34543
d674b76d
DM
345442012-02-27 David S. Miller <davem@davemloft.net>
34545
34546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
34547 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
34548 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
34549 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
34550 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
34551 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
34552 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
34553 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
34554
0e7727f7
JM
345552012-02-27 Joseph Myers <joseph@codesourcery.com>
34556
34557 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
34558 later. Allow versions 5-9.
43be4ca2 34559 * configure: Regenerated.
0e7727f7
JM
34560 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
34561 required minimum version and 4.6 as recommended version. Do not
34562 mention bugs in GCC 2.7 and 2.8.
43be4ca2 34563 * INSTALL: Regenerated.
0e7727f7 34564
a78bc654
DM
345652012-02-27 David S. Miller <davem@davemloft.net>
34566
428d5830
DM
34567 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
34568 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
34569 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
34570 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
34571 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
34572 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
34573 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
34574 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
34575
a78bc654
DM
34576 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
34577 manipulate bits before adding and subtracting TWO112[sx].
34578 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34579
4579f81c
RM
345802012-02-27 Roland McGrath <roland@hack.frob.com>
34581
36c8acb4
RM
34582 [BZ #13775]
34583 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
34584 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
34585 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
34586 being in POSIX, because they are in 1003.1-2008.
34587
84ad622b
RM
34588 * rt/tst-aio.c: Include <fcntl.h>.
34589 * rt/tst-aio7.c: Likewise.
34590 * rt/tst-aio64.c: Likewise.
34591
4579f81c
RM
34592 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
34593
abd923db
JM
345942012-02-27 Joseph Myers <joseph@codesourcery.com>
34595
34596 * manual/install.texi (--with-headers): Describe headers as
34597 interface headers, not private headers.
34598 (Specific advice for GNU/Linux systems): Describe use of headers
34599 from "make headers_install", not private headers from older
34600 kernels.
43be4ca2 34601 * INSTALL: Regenerated.
abd923db
JM
34602 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
34603 Change to 2.6.19.
34604 * sysdeps/unix/sysv/linux/configure: Regenerated.
34605
6664049b
JM
34606 * manual/llio.texi (fclean): Remove documentation.
34607
bb8b6697
JM
34608 * manual/Makefile (libc-texi-generated): New variable. Include
34609 version.texi.
34610 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
34611 $(libc-texi-generated), not duplicated list of files.
34612 (version.texi, stamp-version): New rules.
34613 (realclean): Remove $(libc-texi-generated), not individual files
34614 from that list. Do not remove dir-add.texinfo.
34615 * manual/libc.texinfo: Comment out uses of edition numbers and
34616 references to printed manual. Remove last-updated dates.
34617 (EDITION): Comment out.
34618 (ISBN): Likewise.
34619 (VERSION, UPDATED): Remove.
34620 (version.texi): Include.
34621
12e5c3b9
AS
346222012-02-27 Andreas Schwab <schwab@linux-m68k.org>
34623
34624 * sysdeps/posix/spawni.c: Include <signal.h>.
34625 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
34626 * sysdeps/pthread/aio_fsync.c: Likewise.
34627
4efeffc1 346282012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 34629
ba63ba08
UD
34630 * conform/Makefile (tests): Run only when not cross-compiling and
34631 when fast-check is not defined.
34632
d94a4670
UD
34633 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
34634 * conform/data/limits.h-data: Fixes for POSIX2008.
34635 * conform/run-conformtest.sh: Run all tests.
34636 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
34637 headers.
34638 * include/bits/dlfcn.h: Likewise.
34639 * include/langinfo.h: Likewise.
34640 * include/monetary.h: Likewise.
34641 * include/sys/poll.h: Likewise.
34642
34643 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
34644 for __USE_GNU.
34645 * posix/spawn.h: Define __need_sigset_t.
34646 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
34647 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
34648 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
34649 to get sigevent_t only.
34650 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
34651 only for __USE_GNU.
34652 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
34653 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
34654 process_vm_writev only for __USE_GNU.
34655 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
34656
34657 * conform/Makefile: For now ignore errors from run-conformtest.
34658 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
34659 POSIX to avoid namespace pollution. Don't prepend headers.
34660 * conform/data/aio.h-data: Fixes for POSIX testing.
34661 * conform/data/fcntl.h-data: Likewise.
34662 * conform/data/glob.h-data: Likewise.
34663 * conform/data/grp.h-data: Likewise.
34664 * conform/data/pthread.h-data: Likewise.
34665 * conform/data/pwd.h-data: Likewise.
34666 * conform/data/signal.h-data: Likewise.
34667 * conform/data/spawn.h-data: Likewise.
34668 * conform/data/stdio.h-data: Likewise.
34669 * conform/data/stdlib.h-data: Likewise.
34670 * conform/data/stropts.h-data: Likewise.
34671 * conform/data/sys/mman.h-data: Likewise.
34672 * conform/data/sys/stat.h-data: Likewise.
34673 * conform/data/sys/types.h-data: Likewise.
34674 * conform/data/sys/wait.h-data: Likewise.
34675 * conform/data/time.h-data: Likewise.
34676 * conform/data/unistd.h-data: Likewise.
34677 * conform/data/utime.h-data: Likewise.
34678
34679 * io/sys/stat.h: fchmod was always in POSIX.
34680 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
34681 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
34682 * rt/aio.h: Define __need_timespec before including <time.h>.
34683 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
34684 struct. Add forward declaration of pthread_attr_t and use it in
34685 sigevent.
34686 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34687 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34688 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
34689 always remove CLK_TCK definition.
34690
c20105c3
AS
346912012-02-26 Andreas Schwab <schwab@linux-m68k.org>
34692
34693 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
34694
7a270350
UD
346952012-02-25 Ulrich Drepper <drepper@gmail.com>
34696
31341567
UD
34697 * conform/run-conformtest.sh: New file.
34698 * conform/Makefile: Run run-conformtest for tests.
34699 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
34700 support.
34701
34702 * conform/data/uchar.h-data: New file.
34703 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
34704 * conform/data/arpa/inet.h-data: Likewise.
34705 * conform/data/assert.h-data: Likewise.
34706 * conform/data/complex.h-data: Likewise.
34707 * conform/data/cpio.h-data: Likewise.
34708 * conform/data/ctype.h-data: Likewise.
34709 * conform/data/dirent.h-data: Likewise.
34710 * conform/data/dlfcn.h-data: Likewise.
34711 * conform/data/errno.h-data: Likewise.
34712 * conform/data/fcntl.h-data: Likewise.
34713 * conform/data/float.h-data: Likewise.
34714 * conform/data/fmtmsg.h-data: Likewise.
34715 * conform/data/fnmatch.h-data: Likewise.
34716 * conform/data/ftw.h-data: Likewise.
34717 * conform/data/glob.h-data: Likewise.
34718 * conform/data/grp.h-data: Likewise.
34719 * conform/data/iconv.h-data: Likewise.
34720 * conform/data/inttypes.h-data: Likewise.
34721 * conform/data/langinfo.h-data: Likewise.
34722 * conform/data/libgen.h-data: Likewise.
34723 * conform/data/limits.h-data: Likewise.
34724 * conform/data/locale.h-data: Likewise.
34725 * conform/data/math.h-data: Likewise.
34726 * conform/data/monetary.h-data: Likewise.
34727 * conform/data/mqueue.h-data: Likewise.
34728 * conform/data/ndbm.h-data: Likewise.
34729 * conform/data/net/if.h-data: Likewise.
34730 * conform/data/netdb.h-data: Likewise.
34731 * conform/data/netinet/in.h-data: Likewise.
34732 * conform/data/nl_types.h-data: Likewise.
34733 * conform/data/poll.h-data: Likewise.
34734 * conform/data/pthread.h-data: Likewise.
34735 * conform/data/pwd.h-data: Likewise.
34736 * conform/data/regex.h-data: Likewise.
34737 * conform/data/sched.h-data: Likewise.
34738 * conform/data/search.h-data: Likewise.
34739 * conform/data/semaphore.h-data: Likewise.
34740 * conform/data/setjmp.h-data: Likewise.
34741 * conform/data/signal.h-data: Likewise.
34742 * conform/data/spawn.h-data: Likewise.
34743 * conform/data/stdarg.h-data: Likewise.
34744 * conform/data/stdio.h-data: Likewise.
34745 * conform/data/stdlib.h-data: Likewise.
34746 * conform/data/string.h-data: Likewise.
34747 * conform/data/strings.h-data: Likewise.
34748 * conform/data/stropts.h-data: Likewise.
34749 * conform/data/sys/ipc.h-data: Likewise.
34750 * conform/data/sys/mman.h-data: Likewise.
34751 * conform/data/sys/msg.h-data: Likewise.
34752 * conform/data/sys/resource.h-data: Likewise.
34753 * conform/data/sys/select.h-data: Likewise.
34754 * conform/data/sys/sem.h-data: Likewise.
34755 * conform/data/sys/shm.h-data: Likewise.
34756 * conform/data/sys/socket.h-data: Likewise.
34757 * conform/data/sys/stat.h-data: Likewise.
34758 * conform/data/sys/statvfs.h-data: Likewise.
34759 * conform/data/sys/time.h-data: Likewise.
34760 * conform/data/sys/timeb.h-data: Likewise.
34761 * conform/data/sys/times.h-data: Likewise.
34762 * conform/data/sys/types.h-data: Likewise.
34763 * conform/data/sys/uio.h-data: Likewise.
34764 * conform/data/sys/un.h-data: Likewise.
34765 * conform/data/sys/utsname.h-data: Likewise.
34766 * conform/data/sys/wait.h-data: Likewise.
34767 * conform/data/syslog.h-data: Likewise.
34768 * conform/data/tar.h-data: Likewise.
34769 * conform/data/termios.h-data: Likewise.
34770 * conform/data/utime.h-data: Likewise.
34771 * conform/data/utmpx.h-data: Likewise.
34772 * conform/data/varargs.h-data: Likewise.
34773 * conform/data/wchar.h-data: Likewise.
34774 * conform/data/wctype.h-data: Likewise.
34775 * conform/data/wordexp.h-data: Likewise.
34776
34777 * include/stropts.h: New file.
34778 * include/uchar.h: New file.
34779 * include/aio.h: Changes to allow conformtest.pl to use the headers.
34780 * include/assert.h: Likewise.
34781 * include/ctype.h: Likewise.
34782 * include/dirent.h: Likewise.
34783 * include/dlfcn.h: Likewise.
34784 * include/fcntl.h: Likewise.
34785 * include/fnmatch.h: Likewise.
34786 * include/glob.h: Likewise.
34787 * include/grp.h: Likewise.
34788 * include/libio.h: Likewise.
34789 * include/locale.h: Likewise.
34790 * include/math.h: Likewise.
34791 * include/net/if.h: Likewise.
34792 * include/netdb.h: Likewise.
34793 * include/netinet/in.h: Likewise.
34794 * include/pthread.h: Likewise.
34795 * include/pwd.h: Likewise.
34796 * include/regex.h: Likewise.
34797 * include/sched.h: Likewise.
34798 * include/search.h: Likewise.
34799 * include/setjmp.h: Likewise.
34800 * include/signal.h: Likewise.
34801 * include/stdio.h: Likewise.
34802 * include/stdlib.h: Likewise.
34803 * include/string.h: Likewise.
34804 * include/sys/cdefs.h: Likewise.
34805 * include/sys/mman.h: Likewise.
34806 * include/sys/msg.h: Likewise.
34807 * include/sys/resource.h: Likewise.
34808 * include/sys/select.h: Likewise.
34809 * include/sys/socket.h: Likewise.
34810 * include/sys/stat.h: Likewise.
34811 * include/sys/statvfs.h: Likewise.
34812 * include/sys/time.h: Likewise.
34813 * include/sys/times.h: Likewise.
34814 * include/sys/uio.h: Likewise.
34815 * include/sys/utsname.h: Likewise.
34816 * include/sys/wait.h: Likewise.
34817 * include/termios.h: Likewise.
34818 * include/time.h: Likewise.
34819 * include/ulimit.h: Likewise.
34820 * include/unistd.h: Likewise.
34821 * include/utime.h: Likewise.
34822 * include/wchar.h: Likewise.
34823 * include/wctype.h: Likewise.
34824 * include/wordexp.h: Likewise.
34825
34826 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
34827
7a270350
UD
34828 * time/time.h: TIME_UTC must be a macro.
34829 Make timespec_get available for ISO C11 only as well.
34830
7724defc
UD
348312012-02-24 Ulrich Drepper <drepper@gmail.com>
34832
34833 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
34834 Reported by Peng Haitao <penght@cn.fujitsu.com>.
34835
6b1d1d46
JM
348362012-02-24 Joseph Myers <joseph@codesourcery.com>
34837
34838 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 34839
0f8bbd69
JM
348402012-02-24 Joseph Myers <joseph@codesourcery.com>
34841
34842 * manual/texinfo.tex: Update to version 2012-01-19.16.
34843
66ab80bc
JM
348442012-02-24 Joseph Myers <joseph@codesourcery.com>
34845
34846 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
34847
74981cc5
RM
348482012-02-24 Roland McGrath <roland@hack.frob.com>
34849
ee968201
RM
34850 [BZ #13738]
34851 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
34852 * manual/fdl-1.3.texi: New file.
34853 * manual/fdl-1.1.texi: File removed.
34854
74981cc5
RM
34855 [BZ #13738]
34856 * manual/libc.texinfo (FDL_VERSION): New @set.
34857 Use it for mention of FDL in cover text.
34858 (Documentation License): Use it in @include file name.
34859
7bb764bc
JM
348602012-02-22 Joseph Myers <joseph@codesourcery.com>
34861 Roland McGrath <roland@hack.frob.com>
34862
34863 [BZ #5461]
34864 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
34865 not LONG_LONG_MAX and LONG_LONG_MIN.
34866 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
34867 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
34868 name.
34869 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
34870
6cbeae47
JM
348712012-02-22 Joseph Myers <joseph@codesourcery.com>
34872
34873 [BZ #2547]
34874 [BZ #11365]
34875 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
34876 manipulate bits before adding and subtracting TWO23[sx].
34877 * math/libm-test.inc (nearbyint_test): Add more tests.
34878
fe45ce09
JM
348792012-02-22 Joseph Myers <joseph@codesourcery.com>
34880
34881 [BZ #2548]
34882 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
34883 bits before adding and subtracting TWO23[sx].
34884 * math/libm-test.inc (rint_test): Add more tests.
34885 (rint_test_tonearest): Likewise.
34886 (rint_test_towardzero): Likewise.
34887 (rint_test_downward): Likewise.
34888 (rint_test_upward: Likewise.
34889
ff3b3d82
JM
348902012-02-22 Joseph Myers <joseph@codesourcery.com>
34891
34892 [BZ #10110]
34893 * include/stdc-predef.h: New file. Extracted from features.h.
34894 * include/features.h: Include stdc-predef.h.
34895 * Makefile (headers): Add stdc-predef.h.
34896 * CONFORMANCE (Compiler limitations): Update.
34897
ef0aab35
JM
348982012-02-22 Joseph Myers <joseph@codesourcery.com>
34899
34900 * manual/libc.texinfo (VERSION, UPDATED): Revert.
34901
58639409
DM
349022012-02-21 David S. Miller <davem@davemloft.net>
34903
34904 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
34905 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
34906
c0e70b25
DM
349072012-02-20 David S. Miller <davem@davemloft.net>
34908
34909 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
34910 using a normal save/restore sequence, rather than allocating a
34911 dummy stack frame just to store a frame pointer and restore.
34912 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34913
fb06851d
JM
349142012-02-21 Joseph Myers <joseph@codesourcery.com>
34915
34916 * manual/install.texi: Fix stray word in line-wrapped comment.
34917
7a8b71c3
DM
349182012-02-20 David S. Miller <davem@davemloft.net>
34919
d510c123
DM
34920 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
34921 both binutils and gcc support GOTDATA.
34922
0722d7c2
DM
34923 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
34924 "rd %pc" in the PIC register setup sequences.
34925
3d2b3019
DM
34926 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
34927 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34928 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
34929 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34930 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
34931 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
34932 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34933 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
34934 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
34935 (SYSCALL_ERROR_HANDLER): Likewise.
34936 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
34937 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
34938 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
34939 (SYSCALL_ERROR_HANDLER): Likewise.
34940
c80098a9
DM
34941 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
34942 (HAVE_GCC_GOTDATA): New.
34943 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
34944 relocation support in both binutils and gcc.
34945 * sysdeps/sparc/elf/configure: Regenerate.
34946
3a2545a0
DM
34947 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
34948 * sysdeps/sparc/sparc32/elf/configure: Delete.
34949 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
34950 * sysdeps/sparc/sparc64/elf/configure: Delete.
34951 * sysdeps/sparc/elf/configure.in: New file.
34952 * sysdeps/sparc/elf/configure: Generate.
34953
7a8b71c3
DM
34954 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
34955 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
34956 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
34957 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
34958 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
34959
f1e86fca
JM
349602012-02-21 Joseph Myers <joseph@codesourcery.com>
34961
34962 * manual/install.texi: Do not mention specific glibc version
34963 numbers.
34964 * manual/libc.texinfo (VERSION, UPDATED): Update.
34965 (@copying): Use @copyright{} and range of years.
34966
0e7dfaef
JM
349672012-02-21 Joseph Myers <joseph@codesourcery.com>
34968
34969 [BZ #13695]
34970 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
34971 [crti.S not in sysdirs] (generated): Do not append.
34972 [crti.S not in sysdirs] (omit-deps): Likewise.
34973 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
34974 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
34975 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
34976 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
34977 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
34978 Likewise.
34979 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
34980 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
34981 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
34982 * csu/defs.awk: Remove file.
34983 * sysdeps/generic/initfini.c: Likewise.
34984 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
34985 variable.
34986 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
34987 Likewise.
34988
599af3ca
JM
349892012-02-20 Joseph Myers <joseph@codesourcery.com>
34990
34991 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
34992 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
34993 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
34994 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
34995 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
34996 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
34997 <bits/epoll.h>.
34998 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
34999 (__EPOLL_PACKED): Define to empty if not defined by
35000 <bits/epoll.h>.
35001 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
35002 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35003 bits/epoll.h.
35004
0e499750
JM
350052012-02-20 Joseph Myers <joseph@codesourcery.com>
35006
35007 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
35008 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
35009 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
35010 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
35011 <bits/timerfd.h>.
35012 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
35013 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35014 bits/timerfd.h.
35015
5ad91f6e
JM
350162012-02-20 Joseph Myers <joseph@codesourcery.com>
35017
35018 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
35019 in C locale.
35020 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35021 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
35022 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
35023 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35024
06b99b02
AJ
350252012-02-20 Aurelien Jarno <aurelien@aurel32.net>
35026
35027 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35028 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
35029
7638c0fd
AS
350302012-02-19 Andreas Schwab <schwab@linux-m68k.org>
35031
35032 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
35033 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
35034 defined.
35035 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
35036 Likewise.
35037 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
35038 entry for 2.16.
35039
92221550
AJ
350402012-02-19 Aurelien Jarno <aurelien@aurel32.net>
35041
35042 * math/w_acos.c: Use non-signaling floating-point comparisons.
35043 * math/w_acosf.c: Likewise.
35044 * math/w_acosh.c: Likewise.
35045 * math/w_acoshf.c: Likewise.
35046 * math/w_acoshl.c: Likewise.
35047 * math/w_acosl.c: Likewise.
35048 * math/w_asin.c: Likewise.
35049 * math/w_asinf.c: Likewise.
35050 * math/w_asinl.c: Likewise.
35051 * math/w_atanh.c: Likewise.
35052 * math/w_atanhf.c: Likewise.
35053 * math/w_atanhl.c: Likewise.
35054 * math/w_exp2.c: Likewise.
35055 * math/w_exp2f.c: Likewise.
35056 * math/w_exp2l.c: Likewise.
35057 * math/w_j0.c: Likewise.
35058 * math/w_j0f.c: Likewise.
35059 * math/w_j0l.c: Likewise.
35060 * math/w_j1.c: Likewise.
35061 * math/w_j1f.c: Likewise.
35062 * math/w_j1l.c: Likewise.
35063 * math/w_jn.c: Likewise.
35064 * math/w_jnf.c: Likewise.
35065 * math/w_log.c: Likewise.
35066 * math/w_log10.c: Likewise.
35067 * math/w_log10f.c: Likewise.
35068 * math/w_log10l.c: Likewise.
35069 * math/w_log2.c: Likewise.
35070 * math/w_log2f.c: Likewise.
35071 * math/w_log2l.c: Likewise.
35072 * math/w_logf.c: Likewise.
35073 * math/w_logl.c: Likewise.
35074 * math/w_sqrt.c: Likewise.
35075 * math/w_sqrtf.c: Likewise.
35076 * math/w_sqrtl.c: Likewise.
35077 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35078 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
35079 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35080 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
35081 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
35082
ebaf36eb
JM
350832012-02-19 Joseph Myers <joseph@codesourcery.com>
35084
35085 [BZ #9739]
35086 * manual/string.texi (strnlen): Use correct parameter name in
35087 equivalent expression.
35088
71c254a6
JM
350892012-02-19 Joseph Myers <joseph@codesourcery.com>
35090
35091 [BZ #11174]
35092 * manual/users.texi (seteuid): Consistently use neweuid for
35093 argument name.
35094
16d2c631
JM
350952012-02-19 Joseph Myers <joseph@codesourcery.com>
35096
35097 [BZ #13704]
35098 * manual/nss.texi (Services in the NSS configuration): Correct
35099 list of services in example configuration file.
35100
cd837b09
NB
351012012-02-19 Nick Bowler <nbowler@draconx.ca>
35102
35103 [BZ #11322]
35104 * manual/arith.texi: Remove statements about negative zero
35105 behaving identically to zero.
35106
02c4bbad
JM
351072012-02-18 Joseph Myers <joseph@codesourcery.com>
35108
35109 [BZ #5993]
35110 * manual/install.texi: Do not document upgrading from libc5.
35111
366842e7
JM
351122012-02-18 Joseph Myers <joseph@codesourcery.com>
35113
35114 [BZ #4596]
35115 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
35116
dd54084d
DM
351172012-02-18 David S. Miller <davem@davemloft.net>
35118
35119 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
35120 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
35121 %o7 across the call.
35122 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
35123 instead.
35124 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
35125 SETUP_PIC_REG_LEAF.
35126 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35127 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
35128 * sysdeps/sparc/crtn.S: Likewise.
35129
2bcc53a3
UD
351302012-02-17 Ulrich Drepper <drepper@gmail.com>
35131
35132 * aout/Makefile: Remove.
35133
09c093b5
RK
351342012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
35135
35136 [BZ #13058]
35137 * manual/examples/argp-ex1.c (main): Format definition in GNU
35138 style.
35139 * manual/examples/argp-ex2.c (main): Likewise.
35140 * manual/examples/argp-ex3.c (main): Likewise.
35141 * manual/examples/argp-ex4.c (main): Likewise.
35142 * manual/examples/longopt.c (main): Use new-style prototype
35143 definition.
35144 * manual/examples/strncat.c (main): Specify return type and use
35145 (void) for arguments.
35146 * manual/examples/subopt.c (main): Use char **argv argument.
35147
2ee633a2
JM
351482012-02-17 Joseph Myers <joseph@codesourcery.com>
35149
35150 [BZ #5077]
35151 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
35152 rounding modes.
35153
0520adde
FB
351542012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
35155
35156 [BZ #6907]
35157 * manual/string.texi (strchr): Change when strchrnul is
35158 recommended.
35159
3f4081cd
DGM
351602012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
35161
35162 [BZ #174]
35163 * manual/locale.texi (setlocale): Document LOCPATH.
35164
d1b10e78
JM
351652012-02-17 Joseph Myers <joseph@codesourcery.com>
35166
35167 [BZ #10210]
35168 * manual/process.texi (execle): Move @dots{} before last argument.
35169
79c6869c
PB
351702012-02-17 Paul Bolle <pebolle@tiscali.nl>
35171
35172 [BZ #12047]
35173 * manual/charset.texi (Generic Charset Conversion): Fix typo
35174 (LC_TYPE -> LC_CTYPE).
35175
cc6e48bc
NB
351762012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
35177
35178 [BZ #5805]
35179 * manual/arith.texi (scalbn): Use @var{} on parameter names.
35180 (scalbnf): Likewise.
35181 (scalbnl): Likewise.
35182 (scalbln): Likewise.
35183 (scalblnf): Likewise.
35184 (scalblnl): Likewise.
35185 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
35186 (vwarnx): Likewise.
35187 (verr): Likewise.
35188 (verrx): Likewise.
35189 * manual/filesys.texi (telldir): Use braces around return type.
35190 * manual/llio.texi (mmap): Add space after comma.
35191 (mmap64): Likewise.
35192 * manual/math.texi (jn): Use @var{} on parameter names.
35193 (jnf): Likewise.
35194 (jnl): Likewise.
35195 (yn): Likewise.
35196 (ynf): Likewise.
35197 (ynl): Likewise.
35198 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
35199 line.
35200 * manual/resource.texi (ulimit): Use @dots{} instead of literal
35201 "...".
35202 (sched_get_priority_min): Remove semicolon on @deftypefun line.
35203 (sched_get_priority_max): Likewise.
35204 * manual/signal.texi (sigvec): Add space after comma.
35205 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
35206 names.
35207 (if_indextoname): Likewise.
35208 (if_freenameindex): Likewise.
35209 (sendto): Use ',' instead of '.' in prototype.
35210 * manual/startup.texi (syscall): Use @dots{} instead of literal
35211 "...".
35212 * manual/stdio.texi (__fpending): Separate initial words of
35213 paragraph from @deftypefun line.
35214 * manual/syslog.texi (syslog): Use @dots{} instead of literal
35215 "...".
35216 (vsyslog): Use @var{} on parameter names.
35217 * manual/terminal.texi (stty): Use @var{} on parameter names.
35218 * manual/users.texi (getutmp): Use @var{} on parameter names.
35219 (getutmpx): Likewise.
35220
5b23062f
JM
352212012-02-17 Joseph Myers <joseph@codesourcery.com>
35222
35223 [BZ #6884]
35224 * manual/stdio.texi (fopen): Fix typos in description of
35225 ",ccs=STRING".
35226
8dee4833
AJ
352272012-02-17 Aurelien Jarno <aurelien@aurel32.net>
35228
35229 [BZ #4026]
35230 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
35231 get clock_id definition.
35232
9078ce93
TS
352332012-02-17 Thomas Schwinge <thomas@schwinge.name>
35234
35235 [BZ #4822]
35236 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
35237 (madvise): Cast every argument to void on its own.
35238
3835c55f
JM
352392012-02-17 Joseph Myers <joseph@codesourcery.com>
35240
35241 [BZ #9902]
35242 * manual/startup.texi (Exit Status): Fix typo.
35243
35c47e37
JM
352442012-02-17 Joseph Myers <joseph@codesourcery.com>
35245
35246 [BZ #10140]
35247 * manual/examples/argp-ex1.c: Include <stdlib.h>.
35248 * manual/examples/argp-ex2.c: Likewise.
35249 * manual/examples/argp-ex3.c: Likewise.
35250
e3b69ca7
RH
352512012-02-16 Richard Henderson <rth@redhat.com>
35252
35253 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
35254 * sysdeps/s390/s390-32/initfini.c: Remove.
35255 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
35256 * sysdeps/s390/s390-64/initfini.c: Remove.
35257
df83af67
KK
352582012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
35259
35260 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
35261 compiler output for sysdeps/generic/initfini.c.
35262 * sysdeps/sh/elf/initfini.c: Remove file.
35263
f63f3380
DM
352642012-02-16 David S. Miller <davem@davemloft.net>
35265
fb59b3a4
DM
35266 [BZ #11494]
35267 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
35268
f63f3380
DM
35269 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
35270 * sysdeps/sparc/crti.S: New file.
35271 * sysdeps/sparc/crtn.S: New file.
35272 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
35273 * sysdeps/sparc/sparc64/Makefile: Likewise.
35274
df6a4a4a
MF
352752012-02-15 Mike Frysinger <vapier@gentoo.org>
35276
6dd8f3dc 35277 [BZ #3335]
df6a4a4a
MF
35278 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
35279
1cac7236
RM
352802012-02-15 Roland McGrath <roland@hack.frob.com>
35281
d2c736f8
RM
35282 [BZ #4822]
35283 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
35284
1cac7236
RM
35285 * mach/devstream.c (cookie_io_functions_t): Macro removed.
35286 (write, read, close): Likewise.
35287 Patch by Aurelien Jarno <aurelien@aurel32.net>.
35288
8e475601
JM
352892012-02-15 Joseph Myers <joseph@codesourcery.com>
35290
35291 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
35292 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
35293 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
35294 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
35295 <bits/signalfd.h>.
35296 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
35297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35298 bits/signalfd.h.
35299
ed656b40
MP
353002012-02-14 Marek Polacek <polacek@redhat.com>
35301
35302 * sysdeps/x86_64/crti.S: New file.
35303 * sysdeps/x86_64/crtn.S: New file.
35304 * sysdeps/x86_64/elf/initfini.c: Remove file.
35305
2a979d3a
JM
353062012-02-13 Joseph Myers <joseph@codesourcery.com>
35307
35308 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
35309 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
35310 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
35311 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
35312 <bits/inotify.h>.
35313 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
35314 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35315 bits/inotify.h.
35316
2a418ac3
JM
353172012-02-13 Joseph Myers <joseph@codesourcery.com>
35318
35319 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
35320 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
35321 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
35322 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
35323 <bits/eventfd.h>.
35324 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
35325 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35326 bits/eventfd.h.
35327
fb779be7
TS
353282012-02-10 Thomas Schwinge <thomas@codesourcery.com>
35329
e19e83c5
RM
35330 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
35331 __feraiseexcept instead of feraiseexcept.
7c35ffed 35332
fb779be7
TS
35333 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
35334 nanosleep invocations.
35335 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
35336 strings, and add error checking for a nanosleep invocations.
35337
59ba27a6
PE
353382012-02-09 Paul Eggert <eggert@cs.ucla.edu>
35339
35340 Replace FSF snail mail address with URLs, as per GNU coding standards.
35341 Most of the snail mail addresses were wrong anyway, and omitting
35342 them makes the source code easier to maintain. Almost all of the
35343 changes are to license notices and to locale LC_IDENTIFICATION
35344 addresses, except for this one:
35345 * manual/libc.texinfo: In "Published by", give the FSF's URL,
35346 not its snail mail address.
35347
57b957eb
RH
353482012-02-09 Richard Henderson <rth@twiddle.net>
35349
af850b1c
RH
35350 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
35351 of kernel-features.h.
35352
57b957eb
RH
35353 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
35354
6b73181a
MP
353552012-02-08 Marek Polacek <polacek@redhat.com>
35356
35357 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
35358 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
35359 * sysdeps/gnu/_G_config.h: Likewise.
35360 * sysdeps/generic/_G_config.h: Likewise.
35361
26ecc33a
AS
353622012-02-08 Andreas Schwab <schwab@linux-m68k.org>
35363
6c6dbc63
AS
35364 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
35365 tests.
35366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35367
e216c012
AS
35368 * sysdeps/powerpc/powerpc32/crti.S: New file.
35369 * sysdeps/powerpc/powerpc32/crtn.S: New file.
35370 * sysdeps/powerpc/powerpc64/crti.S: New file.
35371 * sysdeps/powerpc/powerpc64/crtn.S: New file.
35372
26ecc33a
AS
35373 * Makeconfig (have-initfini): Don't set.
35374 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
35375 * configure.in (nopic_initfini): Don't substitute.
35376 * config.h.in (HAVE_INITFINI): Don't #undef.
35377 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
35378 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
35379
3add8e13
JM
353802012-02-08 Joseph Myers <joseph@codesourcery.com>
35381
35382 Support crti.S and crtn.S provided directly by architectures.
35383 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
35384 [crti.S in sysdirs] (omit-deps): Likewise.
35385 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
35386 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
35387 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
35388 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
35389 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
35390 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
35391 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
35392 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
35393 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
35394 compiler output for sysdeps/generic/initfini.c.
35395 * sysdeps/i386/elf/Makefile: Remove file.
35396 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
35397
a22f12b4
MP
353982012-02-07 Marek Polacek <polacek@redhat.com>
35399
35400 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
35401 * sysdeps/gnu/_G_config.h: Likewise.
35402 * sysdeps/mach/hurd/_G_config.h: Likewise.
35403
148cf100
MP
354042012-02-07 Marek Polacek <polacek@redhat.com>
35405
35406 * math/Makefile (tests): Add tst-CMPLX2.
35407 * math/tst-CMPLX2.c: New file.
35408
cfdc0dd7
AS
354092012-02-07 Andreas Schwab <schwab@linux-m68k.org>
35410
84ba42c4
AS
35411 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
35412
cfdc0dd7
AS
35413 * math/libm-test.inc (jn_test): Add missing L suffix.
35414
622c86f4
MP
354152012-02-06 Marek Polacek <polacek@redhat.com>
35416
35417 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
35418 * sysdeps/i386/fpu/e_powf.S: Likewise.
35419 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
35420 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
35421 * sysdeps/i386/fpu/e_acosh.S: Likewise.
35422 * sysdeps/i386/fpu/e_pow.S: Likewise.
35423 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
35424 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
35425 * sysdeps/i386/fpu/s_expm1.S: Likewise.
35426 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
35427 * sysdeps/i386/fpu/e_log2.S: Likewise.
35428 * sysdeps/i386/fpu/e_log2l.S: Likewise.
35429 * sysdeps/i386/fpu/e_scalb.S: Likewise.
35430 * sysdeps/i386/fpu/e_powl.S: Likewise.
35431 * sysdeps/i386/fpu/s_log1p.S: Likewise.
35432 * sysdeps/i386/fpu/e_log10f.S: Likewise.
35433 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
35434 * sysdeps/i386/fpu/e_logl.S: Likewise.
35435 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
35436 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
35437 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
35438 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
35439 * sysdeps/i386/fpu/e_log2f.S: Likewise.
35440 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
35441 * sysdeps/i386/fpu/e_log.S: Likewise.
35442 * sysdeps/i386/fpu/s_cexp.S: Likewise.
35443 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
35444 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
35445 * sysdeps/i386/fpu/e_logf.S: Likewise.
35446 * sysdeps/i386/fpu/e_log10l.S: Likewise.
35447 * sysdeps/i386/fpu/e_atanh.S: Likewise.
35448 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
35449 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
35450 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
35451 * sysdeps/i386/fpu/e_log10.S: Likewise.
35452 * sysdeps/i386/fpu/s_frexp.S: Likewise.
35453 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
35454 * sysdeps/i386/fpu/s_asinh.S: Likewise.
35455 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
35456 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
35457 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
35458 * sysdeps/i386/asm-syntax.h: Likewise.
35459 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
35460 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
35461 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
35462 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
35463 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
35464 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
35465 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
35466 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
35467 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
35468 * sysdeps/powerpc/sysdep.h: Likewise.
35469 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
35470 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
35471
d4a54ac6
JM
354722012-02-06 Joseph Myers <joseph@codesourcery.com>
35473
35474 [BZ #411]
35475 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
35476
314054ea
JM
354772012-02-06 Joseph Myers <joseph@codesourcery.com>
35478
35479 * sysdeps/i386/sysdep.h: Include <features.h>.
35480 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
35481 version.
35482
d8e0ca50
JM
354832012-02-05 Joseph Myers <joseph@codesourcery.com>
35484
35485 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
35486 Define.
35487 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
35488 LOAD_PIC_REG_STR.
35489
b1da7dd9
JM
354902012-02-03 Joseph Myers <joseph@codesourcery.com>
35491
35492 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
35493 (SETUP_PIC_REG): Use GET_PC_THUNK.
35494 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
35495 macro.
35496
9a1d9254
JM
354972012-02-03 Joseph Myers <joseph@codesourcery.com>
35498
35499 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
35500 for non-PIC compilation.
35501 (SETUP_PIC_REG): Add .p2align directive.
35502 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
35503 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
35504 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
35505 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
35506 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
35507 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
35508 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
35509 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
35510 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
35511 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
35512 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
35513 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
35514 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
35515 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
35516 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
35517 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
35518 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
35519 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
35520 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
35521 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
35522 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
35523 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
35524 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
35525 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
35526 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
35527 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
35528 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
35529 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
35530 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
35531 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
35532 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
35533 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
35534 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
35535 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
35536 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
35537 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
35538 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
35539 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
35540 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
35541 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
35542 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
35543
65dc3b75
JM
355442012-02-03 Joseph Myers <joseph@codesourcery.com>
35545
35546 * math/tst-CMPLX.c: Include <stdio.h>.
35547
d55bf177
JM
355482012-01-31 Joseph Myers <joseph@codesourcery.com>
35549
35550 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
35551 float.
35552 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35553 * sysdeps/sparc/bits/mathdef.h: Likewise.
35554
69db4f8f
MP
355552012-01-31 Marek Polacek <polacek@redhat.com>
35556
35557 * libio/libio.h: Don't define _PARAMS.
35558 * locale/programs/config.h: Don't define PARAMS.
35559 * stdlib/strtol_l.c: Likewise.
35560 (__strtol_l): Remove PARAMS from the prototype.
35561
41b81892
UD
355622012-01-31 Ulrich Drepper <drepper@gmail.com>
35563
3b49edc0
UD
35564 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
35565 names. Just use the correct names. Remove unnecessary wrapper
35566 functions.
35567 * malloc/arena.c: Likewise.
35568 * malloc/hooks.c: Likewise.
35569
41b81892
UD
35570 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
35571 ARENA_TEST says not to. Simplify test for creation of a new arena.
35572 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
35573
27a25b6e
UD
355742012-01-30 Ulrich Drepper <drepper@gmail.com>
35575
35576 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
35577 into tail calls.
35578 (update_get_addr): New function.
35579 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
35580 GET_ADDR_MODULE parameter.
35581
c8a89e7d
JM
355822012-01-30 Joseph Myers <joseph@codesourcery.com>
35583
35584 * crypt/cert.c: Remove __STDC__ conditionals.
35585 * crypt/crypt-entry.c: Likewise.
35586 * crypt/crypt_util.c: Likewise.
35587 * libio/filedoalloc.c: Likewise.
35588 * libio/fileops.c: Likewise.
35589 * libio/genops.c: Likewise.
35590 * libio/iofclose.c: Likewise.
35591 * libio/iofdopen.c: Likewise.
35592 * libio/iofopen.c: Likewise.
35593 * libio/iofopen64.c: Likewise.
35594 * libio/iogetdelim.c: Likewise.
35595 * libio/iopopen.c: Likewise.
35596 * libio/obprintf.c: Likewise.
35597 * libio/oldfileops.c: Likewise.
35598 * libio/oldiofclose.c: Likewise.
35599 * libio/oldiofdopen.c: Likewise.
35600 * libio/oldiofopen.c: Likewise.
35601 * libio/oldiopopen.c: Likewise.
35602 * libio/wfiledoalloc.c: Likewise.
35603 * libio/wgenops.c: Likewise.
35604 * locale/programs/xmalloc.c: Likewise.
35605 * misc/syslog.c: Likewise.
35606 * stdio-common/xbug.c: Likewise.
35607 * string/memchr.c: Likewise.
35608 * string/memcmp.c: Likewise.
35609 * string/memrchr.c: Likewise.
35610 * string/rawmemchr.c: Likewise.
35611 * sysdeps/posix/getcwd.c: Likewise.
35612 * time/strftime_l.c: Likewise.
35613
3b100462
JM
356142012-01-30 Joseph Myers <joseph@codesourcery.com>
35615
35616 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
35617 * config.make.in (config-cflags-sse2avx): Define.
35618 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
35619 Fix typo.
35620
607998af
CM
356212012-01-29 Chris Metcalf <cmetcalf@tilera.com>
35622
35623 * scripts/config.guess: Update from upstream config git repository.
35624 * scripts/config.sub: Likewise.
35625
3601428f
CM
356262012-01-28 Chris Metcalf <cmetcalf@tilera.com>
35627
3ac8b282
CM
35628 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
35629 (EM_NUM): Update.
35630 (R_TILEPRO_*, R_TILEGX_*): New macros.
35631
e034841e
CM
35632 * scripts/firstversions.awk: Fix bug in version range handling.
35633
540d7568
CM
35634 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
35635
3601428f
CM
35636 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
35637
463de862
CM
35638 * include/sys/epoll.h: New file.
35639 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
35640 libc_hidden_def.
35641
73139a76
UD
356422012-01-28 Ulrich Drepper <drepper@gmail.com>
35643
96bc5b45
UD
35644 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
35645 Avoid unnecessary __WORDSIZE == 64 test.
35646 (fmaxf): Use VEX format if possible.
35647 (fmax): Likewise.
35648 (fminf): Likewise.
35649 (fmin): Likewise.
35650
56f6f6a2
UD
35651 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
35652 * math/math_private.h: Remove libc_fegetround* and
35653 libc_fesetround*.
35654 * sysdeps/i386/configure.in: Check for -msse2avx.
35655 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
35656 also if SSE2AVX is defined.
35657 Remove libc_fegetround* and libc_fesetround*.
35658 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
35659 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
35660 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
35661 of HAS_YMM_USABLE.
35662 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35663 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35664 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35665 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35666 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
35667
73139a76
UD
35668 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
35669
d73f93a4
AZ
356702012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35671
35672 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
35673 size is not set.
35674 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35675
6ee65ed6
UD
356762012-01-27 Ulrich Drepper <drepper@gmail.com>
35677
35678 [BZ #13618]
35679 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
35680 relocation.
35681 * Makeconfig (libm): Define.
35682 * elf/Makefile: Add rules to build and run tst-relsort1.
35683 * elf/tst-relsort1.c: New file.
35684 * elf/tst-relsort1mod1.c: New file.
35685 * elf/tst-relsort1mod2.c: New file.
35686
8db21882
JM
356872012-01-27 Joseph Myers <joseph@codesourcery.com>
35688
35689 * math/s_ldexp.c: Remove __STDC__ conditionals.
35690 * math/s_ldexpf.c: Likewise.
35691 * math/s_ldexpl.c: Likewise.
35692 * math/s_nextafter.c: Likewise.
35693 * math/s_nexttowardf.c: Likewise.
35694 * math/s_significand.c: Likewise.
35695 * math/s_significandf.c: Likewise.
35696 * math/s_significandl.c: Likewise.
35697 * math/w_jnl.c: Likewise.
35698 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35699 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35700 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35701 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35702 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35703 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35704 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
35705 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35706 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35707 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35708 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35709 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35710 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35711 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35712 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35713 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35714 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35715 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35716 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35717 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35718 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35719 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35720 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35721 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35722 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35723 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35724 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35725 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35726 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35727 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35728 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35729 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35730 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35731 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35732 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35733 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35734 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35735 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35736 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35737 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35738 * sysdeps/ieee754/k_standard.c: Likewise.
35739 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35740 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35741 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35742 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35743 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35744 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35745 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35746 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35747 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35748 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35749 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35750 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35751 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35752 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35753 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35754 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35755 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35756 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35757 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35758 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35759 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35760 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35761 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35762 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35763 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35764 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35765 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35766 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35767 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35768 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35769 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35770 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
35771 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35772 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35773 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35774 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35775 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
35776 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35777 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35778 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
35779 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
35780 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35781 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
35782 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
35783 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35784 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
35785 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
35786 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35787 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35788 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
35789 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
35790 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35791 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35792 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35793 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35794 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35795 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
35796 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35797 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35798 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35799 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35800 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35801 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35802 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35803 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35804 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35805 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35806 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35807 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35808 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35809 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35810 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35811 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35812 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35813 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35814 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35815 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35816 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35817 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35818 * sysdeps/ieee754/s_matherr.c: Likewise.
35819 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35820 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35821 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35822 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35823
965a54a4
JM
358242012-01-26 Joseph Myers <joseph@codesourcery.com>
35825
35826 * crypt/md5.h: Remove __STDC__ conditionals.
35827 * libio/libioP.h: Likewise.
35828 * locale/programs/config.h: Likewise.
35829 * sysdeps/generic/sysdep.h: Likewise.
35830 * sysdeps/i386/asm-syntax.h: Likewise.
35831 * sysdeps/s390/asm-syntax.h: Likewise.
35832 * sysdeps/unix/sysdep.h: Likewise.
35833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
35834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
35835
7071ad79
JM
358362012-01-26 Joseph Myers <joseph@codesourcery.com>
35837
35838 * libio/libio.h: Remove __STDC__ conditionals.
35839 * malloc/obstack.h: Likewise.
35840 * math/complex.h: Likewise.
35841 * math/math.h: Likewise.
35842 * sysdeps/generic/_G_config.h: Likewise.
35843 * sysdeps/gnu/_G_config.h: Likewise.
35844 * sysdeps/mach/hurd/_G_config.h: Likewise.
35845 * sysdeps/powerpc/bits/mathdef.h: Likewise.
35846 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
35847 * sysdeps/sparc/bits/mathdef.h: Likewise.
35848
afc5ed09
UD
358492012-01-26 Ulrich Drepper <drepper@gmail.com>
35850
35851 [BZ #13583]
35852 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 35853 Clean up HAS_* macros.
afc5ed09 35854 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
35855 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
35856 possible.
35857 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
35858 HAS_AVX.
35859 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
35860 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
35861 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
35862 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
35863 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 35864
bdb6de1d
JM
358652012-01-25 Joseph Myers <joseph@codesourcery.com>
35866
35867 * elf/tst-unique3.cc (gets): Remove declaration.
35868 * elf/tst-unique3lib.cc (gets): Likewise.
35869 * elf/tst-unique3lib2.cc (gets): Likewise.
35870 * elf/tst-unique4.cc (gets): Likewise.
35871
b15549e6
UD
358722012-01-24 Ulrich Drepper <drepper@gmail.com>
35873
35874 * include/stdio.h: Add C++ protection. Add gets declarations and
35875 definitions.
35876 * debug/tst-chk1.c: Don't declare gets here.
35877 * stdio-common/tst-gets.c: Likewise.
35878
a037381f
JM
358792012-01-24 Joseph Myers <joseph@codesourcery.com>
35880
35881 * posix/glob: Remove directory.
35882
f1d4aa75
JM
358832012-01-24 Joseph Myers <joseph@codesourcery.com>
35884
35885 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
35886
81c0c964
PT
358872012-01-22 Pino Toscano <toscano.pino@tiscali.it>
35888
35889 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
35890 of the non-standard EPFNOSUPPORT.
35891
0ea698ae
ST
358922011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
35893
35894 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
35895 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
35896 ANYWHERE set to 1 only on KERN_NO_SPACE error.
35897
d220b117
UD
358982012-01-21 Ulrich Drepper <drepper@gmail.com>
35899
35900 * wcsmbs/uchar.h: Test __STDC_VERSION__.
35901
3e1aa84e
UD
359022012-01-20 Ulrich Drepper <drepper@gmail.com>
35903
35904 * nscd/aicache.c (addhstaiX): Do not cache negative results of
35905 transient errors.
35906 * nscd/grpcache.c (cache_addgr): Likewise.
35907 * nscd/hstcache.c (cache_addhst): Likewise.
35908 * nscd/initgrcache.c (addinitgroupsX): Likewise.
35909 * nscd/pwdcache.c (cache_addpw): Likewise.
35910 * nscd/servicescache.c (cache_addserv): Likewise.
35911
400aa020
UD
359122012-01-16 Ulrich Drepper <drepper@gmail.com>
35913
d77e7869
UD
35914 * malloc/malloc.c: Various cleanups.
35915 * malloc/hooks.c: Likewise.
35916
400aa020
UD
35917 * stdlib/Makefile (tests): Add bug-fmtmsg1.
35918 * stdlib/bug-fmtmsg1.c: New file.
35919
35920 * stdlib/fmtmsg.c (init): Add missing unlock.
35921 Patch by Peng Haitao <penght@cn.fujitsu.com>.
35922
e0a309cf
MP
359232012-01-12 Marek Polacek <polacek@redhat.com>
35924
35925 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
35926 and _GNU_SOURCE.
35927
929d11c7
WS
359282012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
35929
35930 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
35931 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
35932 macro to ensure uniqueness of label name.
35933 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
35934 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
35935
41d0e869
UD
359362012-01-11 Ulrich Drepper <drepper@gmail.com>
35937
0cc5ed3b
UD
35938 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
35939
41d0e869
UD
35940 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
35941 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35942 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35943 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
35944
a47a831a
UD
359452012-01-10 Ulrich Drepper <drepper@gmail.com>
35946
daa891c0
UD
35947 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
35948
35949 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
35950 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35951 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35952
e58ef0f2
UD
35953 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
35954
a47a831a 35955 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
35956 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35957 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 35958 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
35959
35960 * math/bits/math-finite.h: Add ldexp support.
35961
a0bfc9c7
MP
359622012-01-10 Marek Polacek <polacek@redhat.com>
35963
35964 * locale/programs/localedef.h (show_archive_content): Add noreturn
35965 attribute.
35966
d6e97a1d
UD
359672012-01-09 Ulrich Drepper <drepper@gmail.com>
35968
35969 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
35970
d5835c26
UD
359712012-01-08 Ulrich Drepper <drepper@gmail.com>
35972
e5f484c6
UD
35973 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
35974
d5835c26
UD
35975 * io/Makefile (headers): Add bits/poll2.h.
35976
d1f741e9
WS
359772011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
35978
35979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
35980 typo #include statement.
35981
ec09c1c4
UD
359822012-01-08 Ulrich Drepper <drepper@gmail.com>
35983
35984 * include/sys/cdefs.h: Define __attribute_alloc_size.
35985 * catgets/gencat.c: Add alloc_size attribute and apply consistently
35986 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
35987 * elf/pldd.c: Likewise.
35988 * iconv/iconv_charmap.c: Likewise.
35989 * iconv/iconvconfig.c: Likewise.
35990 * iconv/strtab.c: Likewise.
35991 * locale/programs/locale.c: Likewise.
35992 * locale/programs/localedef.h: Likewise.
35993 * locale/programs/simple-hash.c: Likewise.
35994 * nscd/nscd.h: Likewise.
35995 * nss/makedb.c: Likewise.
35996 * sysdeps/generic/ldconfig.h: Likewise.
35997 * locale/programs/localedef.c: Remove xmalloc prototype.
35998 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
35999
20b38e03
PP
360002012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
36001
36002 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
36003 appropriate.
36004
a0da5fe1
UD
360052012-01-08 Ulrich Drepper <drepper@gmail.com>
36006
1d5a644a 36007 * math/Makefile (tests): Add tst-CMPLX.
669704fd 36008 * math/tst-CMPLX.c: New file.
1d5a644a 36009
8784a6db
UD
36010 * math/complex.h (CMPLXL): Fix typo.
36011
d9a216c0
UD
36012 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
36013 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
36014 GLIBC_2.16.
36015 * debug/tst-chk1.c: Add poll and ppoll tests.
36016 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
36017 * include/sys/poll.h: Add hidden proto for ppoll.
36018 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
36019 * sysdeps/mach/hurd/ppoll.c: Likewise.
36020 * io/ppoll.c: Likewise.
36021 * debug/poll_chk.c: New file.
36022 * debug/ppoll_chk.c: New file.
36023 * include/bits/poll2.h: New file.
36024 * io/bits/poll2.h: New file.
36025
ac097f5c
UD
36026 [BZ #1350]
36027 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
36028
2119dcfa
UD
36029 * configure.in: static is always set to yes. Remove.
36030 * config.make.in: Don't set build-static.
36031 * Makeconfig: Remove use of build-static.
36032 * dlfcn/Makefile: Likewise.
36033 * elf/Makefile: Likewise.
36034 * math/Makefile: Likewise.
36035 * misc/Makefile: Likewise.
36036 * nptl/Makefile: Likewise.
36037 * sysdeps/mach/hurd/Makefile: Likewise.
36038
121766a9
UD
36039 * configure.in: PWD_P is not used anymore.
36040 * config.make.in: Remove PWD_P entry.
36041
51a1d39c 36042 * configure.in: Remove last remnants of RANLIB.
8720d066 36043 No need to check for signed size_t anymore.
215f4bdc
UD
36044 Don't set libc_commonpagesize and libc_relro_required here for Alpha
36045 and IA-64.
3857022a 36046 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
36047 * aclocal.m4: Likewise.
36048
d3ed7225
UD
36049 * wcsmbs/mbrtoc16.c: Implement using towc function.
36050 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
36051 * wcsmbs/wcsmbsload.c: Likewise.
36052 * iconv/gconv_simple.c: Likewise.
36053 * iconv/gconv_int.h: Likewise.
36054 * iconv/gconv_builtin.h: Likewise.
36055 * iconv/iconv_prog.c: Remove CHAR16 handling.
36056
36057 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
36058
36059 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
36060
a0da5fe1
UD
36061 * configure.in: Remove --with-elf and --enable-bounded options.
36062 Dont set base_machine for ia64. More non-ELF conditions removed.
36063 Remove testing and setting of leading underscore information.
36064 * config.make.in (build-bounded): Set to no.
36065 * config.h.in: Remove NO_UNDERSCORES entry.
36066 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
36067 them.
36068 * csu/start.c: Remove !NO_UNDERSCORE code.
36069 * locale/localeinfo.h: Likewise.
36070 * sysdeps/generic/machine-gmon.h: Likewise.
36071 * sysdeps/generic/sysdep.h: Likewise.
36072 * sysdeps/i386/sysdep.h: Likewise.
36073 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36074 * sysdeps/mach/sysdep.h: Likewise.
36075 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36076 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36077 * sysdeps/sh/sysdep.h: Likewise.
36078 * sysdeps/sparc/sparc32/alloca.S: Likewise.
36079 * sysdeps/unix/i386/sysdep.S: Likewise.
36080 * sysdeps/unix/sparc/start.c: Likewise.
36081 * sysdeps/unix/sparc/sysdep.S: Likewise.
36082 * sysdeps/unix/sparc/sysdep.h: Likewise.
36083 * sysdeps/unix/start.c: Likewise.
36084 * sysdeps/unix/x86_64/sysdep.S: Likewise.
36085 * sysdeps/x86_64/sysdep.h: Likewise.
36086
df78418a
UD
360872012-01-07 Ulrich Drepper <drepper@gmail.com>
36088
a784e502
UD
36089 [BZ #13553]
36090 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
36091 for non-gcc.
36092 * argp/argp-fmtstream.h: Use const instead __const.
36093 * argp/argp.h: Likewise.
36094 * assert/assert.h: Likewise.
36095 * bits/fenv.h: Likewise.
36096 * bits/sched.h: Likewise.
36097 * bits/sigset.h: Likewise.
36098 * bits/sigthread.h: Likewise.
36099 * catgets/nl_types.h: Likewise.
36100 * conform/data/pthread.h-data: Likewise.
36101 * crypt/crypt-private.h: Likewise.
36102 * crypt/crypt.h: Likewise.
36103 * crypt/crypt_util.c: Likewise.
36104 * ctype/ctype.h: Likewise.
36105 * debug/execinfo.h: Likewise.
36106 * debug/mbsnrtowcs_chk.c: Likewise.
36107 * debug/mbsrtowcs_chk.c: Likewise.
36108 * debug/wcsnrtombs_chk.c: Likewise.
36109 * debug/wcsrtombs_chk.c: Likewise.
36110 * debug/wcstombs_chk.c: Likewise.
36111 * dirent/dirent.h: Likewise.
36112 * dlfcn/dlfcn.h: Likewise.
36113 * elf/neededtest4.c: Likewise.
36114 * grp/grp.h: Likewise.
36115 * gshadow/gshadow.h: Likewise.
36116 * iconv/gconv.h: Likewise.
36117 * iconv/gconv_int.h: Likewise.
36118 * iconv/gconv_simple.c: Likewise.
36119 * iconv/iconv.h: Likewise.
36120 * iconv/loop.c: Likewise.
36121 * iconv/skeleton.c: Likewise.
36122 * include/aio.h: Likewise.
36123 * include/aliases.h: Likewise.
36124 * include/argz.h: Likewise.
36125 * include/arpa/inet.h: Likewise.
36126 * include/assert.h: Likewise.
36127 * include/dirent.h: Likewise.
36128 * include/dlfcn.h: Likewise.
36129 * include/execinfo.h: Likewise.
36130 * include/fcntl.h: Likewise.
36131 * include/fenv.h: Likewise.
36132 * include/glob.h: Likewise.
36133 * include/grp.h: Likewise.
36134 * include/libintl.h: Likewise.
36135 * include/mntent.h: Likewise.
36136 * include/netdb.h: Likewise.
36137 * include/pwd.h: Likewise.
36138 * include/rpc/netdb.h: Likewise.
36139 * include/sched.h: Likewise.
36140 * include/search.h: Likewise.
36141 * include/shadow.h: Likewise.
36142 * include/signal.h: Likewise.
36143 * include/stdio.h: Likewise.
36144 * include/stdlib.h: Likewise.
36145 * include/string.h: Likewise.
36146 * include/sys/socket.h: Likewise.
36147 * include/sys/stat.h: Likewise.
36148 * include/sys/statfs.h: Likewise.
36149 * include/sys/statvfs.h: Likewise.
36150 * include/sys/syslog.h: Likewise.
36151 * include/sys/time.h: Likewise.
36152 * include/sys/uio.h: Likewise.
36153 * include/time.h: Likewise.
36154 * include/unistd.h: Likewise.
36155 * include/utmp.h: Likewise.
36156 * include/wchar.h: Likewise.
36157 * include/wctype.h: Likewise.
36158 * inet/aliases.h: Likewise.
36159 * inet/arpa/inet.h: Likewise.
36160 * inet/netinet/ether.h: Likewise.
36161 * inet/netinet/in.h: Likewise.
36162 * intl/libintl.h: Likewise.
36163 * io/bits/fcntl2.h: Likewise.
36164 * io/fcntl.h: Likewise.
36165 * io/ftw.h: Likewise.
36166 * io/sys/poll.h: Likewise.
36167 * io/sys/stat.h: Likewise.
36168 * io/sys/statfs.h: Likewise.
36169 * io/sys/statvfs.h: Likewise.
36170 * io/utime.h: Likewise.
36171 * libio/bits/stdio.h: Likewise.
36172 * libio/bits/stdio2.h: Likewise.
36173 * libio/libio.h: Likewise.
36174 * libio/libioP.h: Likewise.
36175 * libio/stdio.h: Likewise.
36176 * locale/lc-ctype.c: Likewise.
36177 * locale/locale.h: Likewise.
36178 * login/utmp.h: Likewise.
36179 * malloc/arena.c: Likewise.
36180 * malloc/malloc.c: Likewise.
36181 * malloc/malloc.h: Likewise.
36182 * malloc/mcheck.c: Likewise.
36183 * malloc/mtrace.c: Likewise.
36184 * math/bits/mathcalls.h: Likewise.
36185 * math/fenv.h: Likewise.
36186 * math/math_private.h: Likewise.
36187 * misc/bits/error.h: Likewise.
36188 * misc/bits/syslog.h: Likewise.
36189 * misc/err.h: Likewise.
36190 * misc/error.h: Likewise.
36191 * misc/fstab.h: Likewise.
36192 * misc/mntent.h: Likewise.
36193 * misc/regexp.h: Likewise.
36194 * misc/search.h: Likewise.
36195 * misc/sgtty.h: Likewise.
36196 * misc/sys/mman.h: Likewise.
36197 * misc/sys/syslog.h: Likewise.
36198 * misc/sys/uio.h: Likewise.
36199 * misc/sys/xattr.h: Likewise.
36200 * misc/ttyent.h: Likewise.
36201 * nis/rpcsvc/ypclnt.h: Likewise.
36202 * nss/nss.h: Likewise.
36203 * posix/bits/unistd.h: Likewise.
36204 * posix/fnmatch.h: Likewise.
36205 * posix/glob.h: Likewise.
36206 * posix/sched.h: Likewise.
36207 * posix/spawn.h: Likewise.
36208 * posix/sys/wait.h: Likewise.
36209 * posix/unistd.h: Likewise.
36210 * posix/wordexp.h: Likewise.
36211 * pwd/pwd.h: Likewise.
36212 * resolv/netdb.h: Likewise.
36213 * resource/sys/resource.h: Likewise.
36214 * rt/aio.h: Likewise.
36215 * rt/bits/mqueue2.h: Likewise.
36216 * rt/mqueue.h: Likewise.
36217 * shadow/shadow.h: Likewise.
36218 * signal/signal.h: Likewise.
36219 * socket/send.c: Likewise.
36220 * socket/sendto.c: Likewise.
36221 * socket/sys/socket.h: Likewise.
36222 * stdio-common/printf.h: Likewise.
36223 * stdlib/bits/stdlib.h: Likewise.
36224 * stdlib/fmtmsg.h: Likewise.
36225 * stdlib/monetary.h: Likewise.
36226 * stdlib/stdlib.h: Likewise.
36227 * stdlib/ucontext.h: Likewise.
36228 * streams/stropts.h: Likewise.
36229 * string/argz.h: Likewise.
36230 * string/bits/string2.h: Likewise.
36231 * string/string.h: Likewise.
36232 * string/strings.h: Likewise.
36233 * sunrpc/rpc/auth.h: Likewise.
36234 * sunrpc/rpc/auth_des.h: Likewise.
36235 * sunrpc/rpc/clnt.h: Likewise.
36236 * sunrpc/rpc/netdb.h: Likewise.
36237 * sunrpc/rpc/pmap_clnt.h: Likewise.
36238 * sunrpc/rpc/xdr.h: Likewise.
36239 * sysdeps/generic/inttypes.h: Likewise.
36240 * sysdeps/generic/net/if.h: Likewise.
36241 * sysdeps/generic/sys/swap.h: Likewise.
36242 * sysdeps/gnu/net/if.h: Likewise.
36243 * sysdeps/gnu/utmpx.h: Likewise.
36244 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
36245 * sysdeps/i386/i486/bits/string.h: Likewise.
36246 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
36247 * sysdeps/s390/bits/string.h: Likewise.
36248 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
36249 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
36250 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
36251 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
36252 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
36253 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
36254 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
36255 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
36256 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
36257 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
36258 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
36259 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
36260 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
36261 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
36262 * sysdeps/unix/sysv/linux/readv.c: Likewise.
36263 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
36264 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
36265 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36266 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
36267 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
36268 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36269 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
36270 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
36271 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
36272 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
36273 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
36274 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
36275 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36276 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
36277 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
36278 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
36279 * sysvipc/sys/ipc.h: Likewise.
36280 * sysvipc/sys/msg.h: Likewise.
36281 * sysvipc/sys/sem.h: Likewise.
36282 * sysvipc/sys/shm.h: Likewise.
36283 * termios/termios.h: Likewise.
36284 * time/sys/time.h: Likewise.
36285 * time/time.h: Likewise.
36286 * wcsmbs/bits/wchar2.h: Likewise.
36287 * wcsmbs/uchar.h: Likewise.
36288 * wcsmbs/wchar.h: Likewise.
36289 * wctype/wctype.h: Likewise.
36290
0269750c
UD
36291 [BZ #13551]
36292 * Makeconfig: Remove all but ELF support including AIX support.
36293 * Makerules: Likewise.
36294 * config.h.in: Likewise.
36295 * config.make.in: Likewise.
36296 * configure: Likewise.
36297 * configure.in: Likewise.
36298 * csu/Makefile: Likewise.
36299 * csu/version.c: Likewise.
36300 * debug/Makefile: Likewise.
36301 * dlfcn/Makefile: Likewise.
36302 * elf/Makefile: Likewise.
36303 * extra-lib.mk: Likewise.
36304 * iconv/Makefile: Likewise.
36305 * include/libc-symbols.h: Likewise.
36306 * include/shlib-compat.h: Likewise.
36307 * resolv/Makefile: Likewise.
36308 * resolv/res_libc.c: Likewise.
36309 * rt/Makefile: Likewise.
36310 * sysdeps/i386/asm-syntax.h: Likewise.
36311 * sysdeps/i386/sysdep.h: Likewise.
36312 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
36313 * sysdeps/mach/sysdep.h: Likewise.
36314 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
36315 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
36316 * sysdeps/s390/asm-syntax.h: Likewise.
36317 * sysdeps/s390/s390-32/sysdep.h: Likewise.
36318 * sysdeps/s390/s390-64/sysdep.h: Likewise.
36319 * sysdeps/sh/sysdep.h: Likewise.
36320 * sysdeps/unix/sparc/sysdep.h: Likewise.
36321 * sysdeps/wordsize-32/divdi3.c: Likewise.
36322 * sysdeps/x86_64/sysdep.h: Likewise.
36323
00bbd29b
UD
36324 * argp/Versions: Remove _argp_unlock_xxx.
36325
36326 [BZ #13559]
36327 * abilist/ld.abilist: Update. Adjust for removal of tls option.
36328 * abilist/libBrokenLocale.abilist: Likewise.
36329 * abilist/libanl.abilist: Likewise.
36330 * abilist/libc.abilist: Likewise.
36331 * abilist/libcrypt.abilist: Likewise.
36332 * abilist/libdl.abilist: Likewise.
36333 * abilist/libm.abilist: Likewise.
36334 * abilist/libnsl.abilist: Likewise.
36335 * abilist/libpthread.abilist: Likewise.
36336 * abilist/libresolv.abilist: Likewise.
36337 * abilist/librt.abilist: Likewise.
36338 * abilist/libthread_db.abilist: Likewise.
36339 * abilist/libutil.abilist: Likewise.
36340 * abilist/libnss_db.abilist: New file.
36341
36342 * scripts/abilist.awk: Add support for indirect functions.
36343
a2693a0e
UD
36344 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
36345
3f05895f
UD
36346 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
36347
ecb6fb48
UD
36348 * shlib-versions: Remove entries for ports architectures.
36349
664f8cb9
UD
36350 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
36351 files in ports.
36352 * elf/stackguard-macros.h: Remove support for IA-64.
36353 * elf/tst-auditmod1.c: Likewise.
36354 * sysdeps/generic/ldsodefs.h: Likewise.
36355
7ae81d88
UD
36356 * sysdeps/unix/sysv/linux/configure.in: Ports should define
36357 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
36358 configure files.
36359
bdeba135
UD
36360 [BZ #13552]
36361 * configure.in: Remove --enable-omitfp support.
36362 * FAQ.in: Adjust.
36363 * config.make.in: Likewise.
36364 * Makeconfig: Likewise.
36365 * manual/install.texi: Likewise.
36366
d75a0a62
UD
36367 In case anyone cares, the IA-64 architecture could move to ports.
36368 * sysdeps/ia64/*: Removed.
36369 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 36370 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 36371
dcc9756b
UD
36372 [BZ #13555]
36373 * configure.in: Remove entries for unsupported architectures.
36374
d3761ebc 36375 [BZ #13533]
9954432e
UD
36376 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
36377 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
36378 routines.
36379 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
36380 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
36381 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
36382 fall back to using wcrtomb.
36383 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
36384 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
36385 renaming.
36386 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
36387 * wcsmbs/tst-c16c32-1.c: New file.
36388
36389 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
36390 local variable.
36391
c3a87236
UD
36392 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
36393
28926a1b
UD
36394 * elf/tst-unique3.cc: Add explicit declaration of gets.
36395 * elf/tst-unique3lib.cc: Likewise.
36396 * elf/tst-unique3lib2.cc: Likewise.
36397 * elf/tst-unique4.cc: Likewise.
36398
df78418a
UD
36399 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
36400
8ecd6b2a
JM
364012012-01-06 Joseph Myers <joseph@codesourcery.com>
36402
36403 [BZ #13566]
36404 * assert/assert.h (static_assert): Don't define for C++.
36405 * libio/stdio.h (gets): Do declare for C++ <= C++11.
36406 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
36407
9f115170
UD
364082012-01-03 Ulrich Drepper <drepper@gmail.com>
36409
5e0d0300
UD
36410 * iconv/loop.c (single loop): Fix assertion in storing of
36411 remaining bytes.
36412
9f115170
UD
36413 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
36414
81fb02b0
UD
364152012-01-01 Ulrich Drepper <drepper@gmail.com>
36416
36417 * posix/getconf.c: Update copyright year.
36418 * nss/getent.c: Likewise.
a316c1f6 36419 * nss/makedb.c: Likewise.
81fb02b0
UD
36420 * iconv/iconvconfig.c: Likewise.
36421 * iconv/iconv_prog.c: Likewise.
36422 * elf/ldconfig.c: Likewise.
a316c1f6
UD
36423 * elf/pldd.c: Likewise.
36424 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
36425 * catgets/gencat.c: Likewise.
36426 * csu/version.c: Likewise.
36427 * elf/ldd.bash.in: Likewise.
36428 * elf/sprof.c (print_version): Likewise.
36429 * locale/programs/locale.c: Likewise.
36430 * locale/programs/localedef.c: Likewise.
a316c1f6 36431 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
36432 * nscd/nscd.c (print_version): Likewise.
36433 * debug/xtrace.sh: Likewise.
36434 * malloc/memusage.sh: Likewise.
36435 * malloc/mtrace.pl: Likewise.
36436 * debug/catchsegv.sh: Likewise.
36437
2ba92745
JJ
364382011-12-30 Jakub Jelinek <jakub@redhat.com>
36439
36440 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
36441 pure attribute.
36442
dadebdae
UD
364432011-12-24 Ulrich Drepper <drepper@gmail.com>
36444
d3761ebc 36445 [BZ #13533]
db6af3eb
UD
36446 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
36447 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
36448 transformations.
36449 * iconv/gconv_int.h: Likewise.
36450 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
36451 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
36452 from libc for GLIBC_2.16.
36453 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
36454 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
36455 * wcsmbs/uchar.h: Really define mbstate_t.
36456 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
36457 * wcsmbs/c16rtomb.c: New file.
36458 * wcsmbs/mbrtoc16.c: New file.
36459 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
36460 for C/POSIX locale.
36461 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
36462 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
36463
dadebdae
UD
36464 * wcsmbs/wchar.h: Add missing __restrict.
36465
67371b56
UD
364662011-12-23 Ulrich Drepper <drepper@gmail.com>
36467
74033a25
UD
36468 [BZ #13532]
36469 * time/Makefile (routines): Add timespec_get.
36470 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
36471 * time/time.h: Define TIME_UTC and declare timespec_get. Define
36472 timespec for ISO C11.
36473 * time/timespec_get.c: New file.
36474 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
36475 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
36476
380d7e87
UD
36477 [BZ #13531]
36478 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
36479 * stdlib/stdlib.h: Declare aligned_alloc.
36480 * Versions.def: Add GLIBC_2.16 for libc.
36481 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
36482
4e9e7a35
UD
36483 [BZ 13527]
36484 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
36485 ISO C11.
36486
380d7e87 36487 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
36488 code.
36489
03a71829
UD
36490 [BZ #13528]
36491 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
36492
839e283e
UD
36493 [BZ #13529]
36494 * assert/assert.h (static_assert): Define.
36495
ce5294e2 36496 * version.h: Update for 2.16 development version.
90fa7312 36497
8d44e150 36498 [BZ #13526]
d7809905
UD
36499 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
36500 _ISOC11_SOURCE.
36501
c0da14cd
UD
36502 * version.h (RELEASE): Bump for 2.15 release.
36503 * include/features.h (__GLIBC_MINOR__): Bump to 15.
36504
530a3249
MP
36505 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
36506 Patch by Marek Polacek <mpolacek@redhat.com>.
36507
67371b56
UD
36508 * bits/byteswap.h: Protect long long constants with __extension__.
36509 * sysdeps/i386/bits/byteswap.h: Likewise.
36510 * sysdeps/ia64/bits/byteswap.h: Likewise.
36511 * sysdeps/s390/bits/byteswap.h: Likewise.
36512 * sysdeps/x86_64/bits/byteswap.h: Likewise.
36513
15db4de1
LD
365142011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36515
36516 [BZ #13540]
bbe315ea
LD
36517 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
36518 destination buffer.
15db4de1
LD
36519 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
36520
2b2596b1
MP
365212011-12-23 Marek Polacek <polacek@redhat.com>
36522
36523 * elf/dl-addr.c (determine_info): Add inline keyword.
36524 * elf/tst-auditmod4b.c (check_avx): Likewise.
36525 * elf/tst-auditmod6b.c (check_avx): Likewise.
36526 * elf/tst-auditmod6c.c (check_avx): Likewise.
36527 * elf/tst-auditmod7b.c (check_avx): Likewise.
36528
70c6c246
UD
365292011-12-23 Ulrich Drepper <drepper@gmail.com>
36530
36531 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
36532 !__SSE_MATH__.
36533
c044cf14
LD
365342011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36535
15db4de1 36536 [BZ #13540]
c044cf14
LD
36537 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
36538 processing for last bytes.
36539
6b13d9d9
BH
365402011-08-06 Bruno Haible <bruno@clisp.org>
36541
d455f537
BH
36542 [BZ #13061]
36543 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
36544 U+0385, not to U+1FEE.
36545
6b13d9d9
BH
36546 [BZ #13062]
36547 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
36548 entry for U+00A5 U+0301.
36549
db910efd
UD
365502011-12-22 Ulrich Drepper <drepper@gmail.com>
36551
27deeafc
UD
36552 [BZ #13166]
36553 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
36554 buffer for the output is too small.
36555
aed9d171
UD
36556 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
36557 optimization.
36558
db910efd
UD
36559 [BZ #13185]
36560 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
36561 SSE flags if possible.
36562
2bd779ae
LD
365632011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36564
e7f9dac3 36565 [BZ #13540]
2bd779ae
LD
36566 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
36567 processing for last bytes.
36568
154bfc16
JM
365692011-12-22 Joseph Myers <joseph@codesourcery.com>
36570
36571 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
36572 (syscall-list-default-options, syscall-list-default-condition)
36573 (syscall-list-includes): Define.
36574 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
36575 list of ABIs and options and #if conditions for each ABI. Do not
36576 handle common syscalls between ABIs specially.
36577 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
36578 Remove.
36579 (syscall-list-variants, syscall-list-32bit-options)
36580 (syscall-list-32bit-condition, syscall-list-64bit-options)
36581 (syscall-list-64bit-condition): Define.
36582 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
36583 (syscall-list-variants, syscall-list-32bit-options)
36584 (syscall-list-32bit-condition, syscall-list-64bit-options)
36585 (syscall-list-64bit-condition): Define.
36586 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
36587 Remove.
36588 (syscall-list-variants, syscall-list-32bit-options)
36589 (syscall-list-32bit-condition, syscall-list-64bit-options)
36590 (syscall-list-64bit-condition): Define.
36591 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
36592 Remove.
36593 (syscall-list-variants, syscall-list-32bit-options)
36594 (syscall-list-32bit-condition, syscall-list-64bit-options)
36595 (syscall-list-64bit-condition): Define.
36596
21eaf3a5
UD
365972011-12-22 Ulrich Drepper <drepper@gmail.com>
36598
16c6f992
UD
36599 * locale/iso-639.def: Add brx entry.
36600
41043168
UD
36601 [BZ #13328]
36602 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
36603 Proposed by Mariusz_Cukr <marcukr@op.pl>.
36604
21eaf3a5
UD
36605 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
36606 __feraiseexcept_renamed.
36607
e3a851a2
UD
366082011-12-21 Ulrich Drepper <drepper@gmail.com>
36609
4920765e
UD
36610 [BZ #13538]
36611 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
36612 EPOLLET with unsigned values.
36613 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36614 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
36615
e3a851a2
UD
36616 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
36617 to large cancellation.
36618 * math/s_cacoshf.c: Likewise.
36619 * math/s_cacoshl.c: Likewise.
36620
b27e24b8
RK
366212011-11-18 Richard B. Kreckel <kreckel@ginac.de>
36622
36623 [BZ #13305]
aebefeee 36624 [BZ #12786]
b27e24b8
RK
36625 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
36626 * math/s_cacoshf.c: Likewise.
36627 * math/s_cacoshl.c: Likewise.
36628
ee190f67
UD
366292011-12-21 Ulrich Drepper <drepper@gmail.com>
36630
36631 [BZ #13439]
36632 * iconv/gconv.h: Define __GCONV_SWAP.
36633 * iconvdata/unicode.c: The swap bit must be stored in __flags.
36634 * iconvdata/utf-16.c: Likewise.
36635 * iconvdata/utf-32.c: Likewise.
36636
707f25df
AS
366372011-12-21 Andreas Schwab <schwab@linux-m68k.org>
36638
36639 [BZ #13524]
36640 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
36641 numerator after shifting it by one limb.
36642
d2daaa1e
RÁE
366432011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
36644
36645 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
36646 under [__USE_EXTERN_INLINES].
36647
a4647e72
UD
366482011-12-17 Ulrich Drepper <drepper@gmail.com>
36649
36650 [BZ #13446]
36651 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
36652
f0b264f1
AZ
366532011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36654
36655 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
36656 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
36657 optimized code.
36658 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
36659 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
36660 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
36661 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
36662 for strncasecmp/strncasecmp_l compilation.
36663 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
36664 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
36665
8ef4f244
MP
366662011-12-08 Marek Polacek <mpolacek@redhat.com>
36667
36668 [BZ #13484]
36669 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
36670 of __asm__.
36671
97ac2654
UD
366722011-12-17 Ulrich Drepper <drepper@gmail.com>
36673
36674 [BZ #13506]
36675 * time/tzfile.c (__tzfile_read): Check values from file header.
36676
91d2a845
WS
366772011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
36678
36679 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
36680 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
36681 * powerpc/powerpc32/dl-start.S: Likewise.
36682 * powerpc/powerpc32/elf/start.S: Likewise.
36683 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
36684 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
36685 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
36686 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
36687 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
36688 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
36689 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
36690 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
36691 * powerpc/powerpc32/fpu/s_round.S: Likewise.
36692 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
36693 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
36694 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
36695 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
36696 * powerpc/powerpc32/memset.S: Likewise.
36697 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
36698 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
36699 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
36700 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
36701 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
36702 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
36703 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
36704 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
36705 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
36706 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
36707 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
36708 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
36709 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
36710
a1267ba1
AZ
367112011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36712
36713 * math/libm-test.inc: Added more nearbyint tests.
36714 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
36715 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
36716 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
36717 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
36718
ad8ac1bd
RL
367192011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
36720
36721 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
36722 FD_CLOEXEC.
36723
1d3e4b61
UD
367242011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36725
36726 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
36727 Add wcscpy-ssse3 wcscpy-c.
36728 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
36729 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
36730 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
36731 * sysdeps/x86_64/wcschr.S: New file.
36732 * sysdeps/x86_64/wcsrchr.S: New file.
36733 * string/test-strcmp.c: Remove checking of wcscmp function for
36734 wrong alignments.
36735 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
36736 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
36737 wcsrchr-sse2 wcsrchr-c.
36738 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
36739 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
36740 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
36741 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
36742 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
36743 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
36744 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
36745 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
36746 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
36747 * wcsmbc/wcschr.c (WCSCHR): New macro.
36748
5b330a2d
UD
367492011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
36750
36751 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
36752 * wcsmbs/test-wcsrchr.c: New file.
36753 * string/test-strrchr.c: Add wcsrchr support.
36754 (WIDE): New macro.
36755 * wcsmbs/test-wcscpy.c: New file.
36756 * string/test-strcpy.c: Add wcscpy support.
36757 (WIDE): New macro.
26428b7c 36758
f039c043
UD
367592011-12-10 Ulrich Drepper <drepper@gmail.com>
36760
36761 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
36762 the inner loop.
36763
850fb039
AS
367642011-12-06 Andreas Schwab <schwab@linux-m68k.org>
36765
36766 [BZ #13472]
36767 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
36768
4efbd5cb
UD
367692011-12-04 Ulrich Drepper <drepper@gmail.com>
36770
52ff5dd0 36771 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 36772 Minor optimizations.
52ff5dd0 36773
4efbd5cb
UD
36774 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
36775 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
36776 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
36777
8a426e12
UD
367782011-12-03 Ulrich Drepper <drepper@gmail.com>
36779
aff2453d
UD
36780 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
36781 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
36782 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
36783 for gcc to avoid warnings.
36784 * inet/Makefile (tests): Add tst-checks.
36785 * inet/tst-checks.c: New file.
36786
36787 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
36788 warning.
36789
36790 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
36791 __wmemcmp_sse2.
36792
36793 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
36794 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
36795
8a426e12
UD
36796 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
36797
9bea3473
UD
367982011-12-02 Ulrich Drepper <drepper@gmail.com>
36799
3a965496
UD
36800 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
36801 problem.
36802
9bea3473
UD
36803 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
36804
f101631b
UD
368052011-11-29 Joseph Myers <joseph@codesourcery.com>
36806
36807 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
36808 conditional on GCC version.
36809 (__arch_compare_and_exchange_val_8_acq)
36810 (__arch_compare_and_exchange_val_16_acq)
36811 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
36812 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
36813 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
36814
a98275aa
UD
368152011-12-02 Joseph Myers <joseph@codesourcery.com>
36816
36817 * sysdeps/sh/backtrace.c: New file.
36818
d4cc29a2
AS
368192011-12-02 Andreas Schwab <schwab@redhat.com>
36820
36821 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
36822 parenthesis.
36823
6257af2d
AS
368242011-12-01 Andreas Schwab <schwab@redhat.com>
36825
36826 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
36827 falling back to utime.
36828
b5f44c1a
AS
368292011-11-30 Andreas Schwab <schwab@redhat.com>
36830
36831 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
36832 expectations for float.
36833
f3a6cc0a
AS
368342011-11-29 Andreas Schwab <schwab@redhat.com>
36835
36836 * locale/weight.h (findidx): Add parameter len.
36837 * locale/weightwc.h (findidx): Likewise.
36838 * posix/fnmatch_loop.c (FCT): Adjust caller.
36839 * posix/regcomp.c (build_equiv_class): Likewise.
36840 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
36841 * posix/regexec.c (check_node_accept_bytes): Likewise.
36842 * string/strcoll_l.c (STRCOLL): Likewise.
36843 * string/strxfrm_l.c (STRXFRM): Likewise.
36844
9d65ea3a
UD
368452011-11-17 Ulrich Drepper <drepper@gmail.com>
36846
36847 * Makefile.in: Remove CVSOPT handling.
36848 * configure.in: Remove use of AC_REVISION.
36849 * iconvdata/Makefile (distribute): No need to filter out CVS.
36850 * scripts/list-sources.sh: Remove CVS, subversion and monotone
36851 handling.
36852
5583a086
AS
368532011-11-16 Andreas Schwab <schwab@redhat.com>
36854
36855 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
36856 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
36857 [USE_AS_STRNCASECMP_L]: Likewise.
36858 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
36859 NO_TLS_DIRECT_SEG_REFS.
36860 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
36861 Fix argument offsets for non-PIC.
36862 [USE_AS_STRNCASECMP_L]: Likewise.
36863 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
36864 NO_TLS_DIRECT_SEG_REFS.
36865
d62a8200
UD
368662011-11-15 Ulrich Drepper <drepper@gmail.com>
36867
9d65ea3a 36868 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
36869 O_CLOEXEC.
36870 * locale/loadlocale.c (_nl_load_locale): Likewise.
36871
09f93bd3
AS
368722011-11-15 Andreas Schwab <schwab@redhat.com>
36873
446514f9
AS
36874 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
36875 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
36876 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
36877 (SYSCALL_GETTIME): Set errno on error.
36878
09f93bd3
AS
36879 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
36880 count references to noai6ai_cached.
36881
312be3f9
UD
368822011-11-15 Ulrich Drepper <drepper@gmail.com>
36883
36884 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
36885
36886 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
36887 FD_CLOEXEC for /proc/self/maps.
36888
36889 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
36890 FD_CLOEXEC for /proc/meminfo.
36891
36892 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
36893 gai.conf.
36894
36895 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
36896 FD_CLOEXEC for given file.
36897
36898 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
36899
36900 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
36901 FD_CLOEXEC for /etc/hosts.
36902 (_gethtent): Likewise.
36903
36904 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
36905
36906 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
36907 cancellation and set FD_CLOEXEC for /etc/netgroup.
36908
36909 * nss/nss_files/files-key.c (search): Don't allow cancellation when
36910 reading /etc/publickey.
36911
36912 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
36913 allow cancellation when reading /etc/group.
36914
36915 * nss/nss_files/files-alias.c (internal_setent): Don't allow
36916 cancellation.
36917 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
36918
36919 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
36920 when using data file.
36921
36922 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
36923
36924 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
36925 (write_nis_obj): Use "c" and "e" in fopen.
36926
36927 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
36928
36929 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
36930
36931 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
36932
36933 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
36934
36935 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
36936 locale.alias.
36937
36938 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
36939
36940 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
36941
36942 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
36943
36944 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
36945 file parsing and set FD_CLOEXEC.
36946
82af0fa8
UD
369472011-11-14 Ulrich Drepper <drepper@gmail.com>
36948
36949 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
36950
a5fb313c
AS
369512011-11-14 Andreas Schwab <schwab@redhat.com>
36952
36953 * malloc/arena.c (arena_get2): Don't call reused_arena when
36954 _int_new_arena failed.
36955
6abf3465
UD
369562011-11-14 Ulrich Drepper <drepper@gmail.com>
36957
36958 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
36959 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
36960 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
36961 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36962 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36963 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
36964 to compile strcasecmp and strncasecmp.
36965 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
36966 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
36967
36968 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
36969
76e3966e
UD
369702011-11-13 Ulrich Drepper <drepper@gmail.com>
36971
36972 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
36973 locale-defines.sym to gen-as-const-headers.
36974 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
36975 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
36976 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
36977 to compile strcasecmp and strncasecmp.
36978 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
36979 strcasecmp_l and strncasecmp_l.
36980 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
36981 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
36982 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
36983 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
36984 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
36985 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
36986 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
36987 * sysdeps/i386/i686/multiarch/strncase.S: New file.
36988 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
36989 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
36990 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
36991
ab26144e
UD
369922011-11-12 Ulrich Drepper <drepper@gmail.com>
36993
7edb22ef
UD
36994 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
36995 result of SYSDEP_GETTIME_CPU to retval.
36996 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
36997 parameter list to macro. Remove trailing semicolon. Adjust users.
36998
9694fc44
UD
36999 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
37000 variable.
37001
8ad89ef8
UD
37002 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
37003 mantissa words.
37004 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
37005
0c822ef9
UD
37006 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
37007 from unused variable.
37008
874e0564
UD
37009 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
37010 DWARF definitions.
37011 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
37012 for assembling.
37013
3a2edc79
UD
37014 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
37015 over namespaces.
37016
f3c2577f
UD
37017 * sunrpc/rpc_prot.c (rejected): Fix case value.
37018
294ce126
UD
37019 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
37020 unsigned long long int to avoid warnings in shift.
37021
5e2b63c6
UD
37022 * posix/regex_internal.c (re_string_reconstruct): Actually use result
37023 of use of trans.
37024 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
37025 variable tmp.
37026
e7f4b08e
UD
37027 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
37028 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
37029 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
37030
ab26144e
UD
37031 * nis/nis_table.c (nis_list): Use variable of correct type for
37032 result of __follow_path call.
37033
8a6d5255
AZ
370342011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37035
37036 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
37037 of math functions ceil, trunc, floor, round, and sqrt, when
37038 avaliable on the platform.
37039 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
37040 name clash.
37041 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
37042 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
37043 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
37044
aaddc98c
MP
370452011-10-30 Marek Polacek <mpolacek@redhat.com>
37046
37047 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
37048 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
37049
95b7042b
RM
370502011-11-11 Roland McGrath <roland@hack.frob.com>
37051
37052 * include/unistd.h: Fix __readlink return type.
37053 Reported by Chris Metcalf <cmetcalf@tilera.com>.
37054
57769839
UD
370552011-11-11 Ulrich Drepper <drepper@gmail.com>
37056
37057 * stdlib/ucontext.h: Undo last change for makecontext.
37058
edc5984d
AS
370592011-11-11 Andreas Schwab <schwab@redhat.com>
37060
98591e58
AS
37061 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
37062
edc5984d
AS
37063 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
37064 * setjmp/setjmp.h: Mark functions as non-leaf.
37065 * setjmp/bits/setjmp2.h: Likewise.
37066 * stdlib/ucontext.h: Likewise.
37067
77cdc054
AS
370682011-11-10 Andreas Schwab <schwab@redhat.com>
37069
37070 * malloc/arena.c (_int_new_arena): Don't increment narenas.
37071 (reused_arena): Don't check arena limit.
37072 (arena_get2): Atomically check arena limit.
37073
fe72eebd
UD
370742011-11-08 Ulrich Drepper <drepper@gmail.com>
37075
5f078c32
UD
37076 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
37077 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
37078
fe72eebd
UD
37079 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
37080 instructions.
37081
ae1bc2fa
AS
370822011-11-07 Andreas Schwab <schwab@redhat.com>
37083
7583a88d
AS
37084 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
37085 handler when locking.
37086
ae1bc2fa
AS
37087 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
37088 Fix size of allocated buffer.
37089
10fb0bfa
AS
370902011-11-04 Andreas Schwab <schwab@redhat.com>
37091
998832a4
AS
37092 [BZ #10103]
37093 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
37094 declarations for long double functions.
37095 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
37096
10fb0bfa
AS
37097 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
37098
3d7ba52b
AS
370992011-11-03 Andreas Schwab <schwab@redhat.com>
37100
a9ae54a1
AS
37101 * nscd/nscd.c (main): Don't start AVC thread until credentials are
37102 installed.
37103
3d7ba52b
AS
37104 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
37105 is disabled.
37106
bc8db248
ST
371072011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
37108
37109 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
37110
45b96dd6
AS
371112011-11-01 Andreas Schwab <schwab@linux-m68k.org>
37112
647776f6
AS
37113 * include/alloca.h (stackinfo_alloca_round): Define.
37114 (extend_alloca): Use it.
37115 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
37116 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
37117 here.
37118
d91a8b93
AS
37119 * scripts/check-local-headers.sh: Ignore libaudit.h.
37120
45b96dd6
AS
37121 * nscd/Makefile (extra-objs): Make recursively expanded.
37122
432d41ce
UD
371232011-11-01 Ulrich Drepper <drepper@gmail.com>
37124
34372fc6
UD
37125 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
37126 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
37127
fadb59f8
UD
37128 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
37129 * posix/tst-rfc3484-2.c: Likewise.
37130 * posix/tst-rfc3484-3.c: Likewise.
37131
78239589
UD
37132 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
37133 process_vm_writev.
37134 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
37135 process_vm_writev.
37136 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
37137 process_vm_writev from libc using GLIBC_2.15 version.
37138
432d41ce
UD
37139 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
37140
02f9c6cf
PP
371412011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
37142
37143 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
37144 stack usage.
37145
3a2c0242
UD
371462011-10-31 Ulrich Drepper <drepper@gmail.com>
37147
f4ec4833
UD
37148 [BZ #13367]
37149 * nss/getent.c (initgroups_keys): Show error message in case no group
37150 names are given.
37151
3a2c0242
UD
37152 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
37153 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
37154 __bump_nl_timestamp.
37155 * nscd/connections (nscd_init): When host database is served open
37156 netlink socket and request notification about configuration changes.
37157 (main_loop_poll): Track netlink file descriptor and bump timestamp
37158 in case data becomes available.
37159 (main_loop_epoll): Likewise.
37160 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
37161 (database_pers_head): Add extra_data fileds.
37162 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
37163 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
37164 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
37165 Adjust caller.
37166 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
37167 in6ai data, call __free_in6ai.
37168 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
37169 Add -DHAVE_NETLINK.
37170 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
37171 interface information. Reuse previous data if netlink timestamp
37172 is not changed.
37173 (__bump_nl_timestamp): New function.
37174 (__free_in6ai): New function.
37175
636064eb
UD
371762011-10-30 Ulrich Drepper <drepper@gmail.com>
37177
37178 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
37179 close_not_cancel_no_status here.
37180 (__check_pf): Reorganize code a bit to not call close twice if OOM.
37181
9beb2334
UD
371822011-10-29 Ulrich Drepper <drepper@gmail.com>
37183
6ef76f3b
UD
37184 [BZ #13276]
37185 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
37186 return value.
37187
0ffc4f3e 37188 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
37189 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
37190 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
37191
cb95113e
UD
371922011-07-03 Andreas Jaeger <aj@suse.de>
37193
37194 [BZ #10709]
37195 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
37196 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
37197 * math/libm-test.inc (sin_test): Add test case.
37198
a1b560ff
UD
371992011-10-29 Ulrich Drepper <drepper@gmail.com>
37200
c9aaface
UD
37201 [BZ #13337]
37202 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
37203 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37204
d272e7f1
UD
37205 * elf/chroot_canon.c (chroot_canon): Cleanups.
37206
1bc33071
UD
37207 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
37208
1760874d
TJ
37209 [BZ #13335]
37210 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
37211 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
37212
51d91b18
UD
37213 * string/test-strchr.c: Make usable for strchrnul testing.
37214 * string/test-strchrnul.c: New file.
37215 * string/Makefile (strop-tests): Add strchrnul.
37216
a1b560ff 37217 * po/it.po: Update from translation team.
b611fb81 37218 * po/es.po: Likewise.
a1b560ff 37219
a5b81e1f
UD
372202011-10-28 Ulrich Drepper <drepper@gmail.com>
37221
fd52bc6d
UD
37222 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
37223 the three constants needed as parameters. Drop the others.
37224 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
37225 __m128i_strloadu_tolower.
52e4b9eb
UD
37226 Create and initialize variable zero and use it in all the places
37227 where _mm_setzero_si128 was used.
fd52bc6d 37228
a5b81e1f
UD
37229 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
37230 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
37231 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
37232 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
37233 anymore.
37234 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
37235 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
37236 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
37237 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
37238 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
37239 __mpranred, __mptan.
37240 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
37241 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
37242 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
37243 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
37244 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
37245 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
37246 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
37247 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
37248 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
37249
b4343346
AS
372502011-10-28 Andreas Schwab <schwab@redhat.com>
37251
0c92d8a8
AS
37252 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
37253 redefine if SHARED.
37254 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
37255
b4343346
AS
37256 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
37257 wide char related routines to wcsmbs subdir.
37258
3871f58f
AS
372592011-10-27 Andreas Schwab <schwab@redhat.com>
37260
37261 [BZ #13344]
37262 * misc/sys/cdefs.h (__THROWNL): Define.
37263 * posix/unistd.h: Use __THREADNL instead of __THREAD
37264 for memory synchronization functions.
37265
94d44d9f
RM
372662011-10-26 Roland McGrath <roland@hack.frob.com>
37267
21b64b15 37268 [BZ #13349]
94d44d9f
RM
37269 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
37270 doesn't exist.
37271 * manual/stdio.texi (Obstack Streams): Node removed.
37272
f6ce9294
AS
372732011-10-26 Andreas Schwab <schwab@redhat.com>
37274
80479147
AS
37275 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
37276 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37277 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37278
f6ce9294
AS
37279 * math/math_private.h (math_force_eval): Allow non-addressable
37280 arguments.
37281 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
37282
618280a1
UD
372832011-10-25 Ulrich Drepper <drepper@gmail.com>
37284
e0016b11
UD
37285 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
37286 file is not needed.
37287
37288 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
37289 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
37290 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37291 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37292 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37293 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37294 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37295 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
37296 Add AVX variants.
37297 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
37298 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
37299 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
37300 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
37301 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
37302 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
37303 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
37304 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
37305 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
37306 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
37307 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
37308 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
37309 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
37310 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
37311 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
37312 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
37313 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
37314 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
37315 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
37316
37317 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
37318 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
37319
618280a1
UD
37320 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
37321 place. Use VEX encoding when compiling for AVX.
37322
37822576
AS
373232011-10-25 Andreas Schwab <schwab@redhat.com>
37324
1f1e1947
AS
37325 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
37326 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
37327
37822576
AS
37328 * string/test-strchr.c (do_test): Don't generate NUL bytes.
37329
31ea014d
UD
373302011-10-25 Ulrich Drepper <drepper@gmail.com>
37331
d7826aa1 37332 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 37333 useless if() expression.
d7826aa1
UD
37334 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
37335 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
37336 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
37337 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37338 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
37339 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
37340 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37341 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37342 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
37343 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
37344 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
37345 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37346 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
37347 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37348 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
37349 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
37350 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
37351 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
37352 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
37353
31ea014d
UD
37354 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
37355
16437fec
AS
373562011-10-25 Andreas Schwab <schwab@redhat.com>
37357
37358 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
37359 condition.
37360 * elf/dl-fini.c (_dl_sort_fini): Likewise.
37361
31d3cc00
UD
373622011-10-25 Ulrich Drepper <drepper@gmail.com>
37363
37364 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
37365 .text section. Avoid duplicate constants.
37366 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
37367 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37368 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
37369 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37370 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37371 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37372 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37373 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37374 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
37375 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
37376 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
37377 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
37378 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
37379 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
37380 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
37381 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
37382 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
37383 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
37384 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
37385 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37386 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
37387 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
37388 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
37389 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
37390 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
37391 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
37392 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
37393 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
37394 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
37395 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
37396 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
37397 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
37398 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
37399 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
37400 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
37401 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
37402 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
37403 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
37404 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
37405 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
37406 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
37407 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
37408 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
37409 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
37410 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
37411
58985aa9
UD
374122011-10-24 Ulrich Drepper <drepper@gmail.com>
37413
202c9deb
UD
37414 * sysdeps/x86_64/dla.h: Move to ...
37415 * sysdeps/x86_64/fpu/dla.h: ...here.
37416 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
37417 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 37418
af968f62
UD
37419 * config.make.in: Add have-mfma4 entry.
37420 * configure.in: Substitute libc_cv_cc_fma4.
37421 * math/Makefile (dbl-only-routines): Add sincostab.
37422 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
37423 Use __sincostab not sincos.
37424 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
37425 name is a macro.
37426 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37427 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37428 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
37430 using __copysign.
37431 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
37432 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
37433 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
37434 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
37435 and __inv.
37436 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
37437 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
37438 __copysign.
37439 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
37440 define aliases when function name is a macro.
37441 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
37442 sysdeps/ieee754/dbl-64/sincos.tbl.
37443 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
37444 fma4-enabled routines.
37445 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
37446 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
37447 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
37448 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
37449 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
37450 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
37451 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
37452 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
37453 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
37454 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
37455 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
37456 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
37457 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
37458 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
37459 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
37460 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
37461 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
37462 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
37463 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
37464 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
37465 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
37466 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
37467 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
37468 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
37469 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
37470 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
37471 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
37472 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
37473 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
37474 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
37475
58985aa9
UD
37476 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
37477 rename.
37478 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37479 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37480 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37481 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37482 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37483 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37484 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37485 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37486
a201fbcf
AS
374872011-10-24 Andreas Schwab <schwab@redhat.com>
37488
37489 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
37490
fc2ee42a
LD
374912011-10-23 Ulrich Drepper <drepper@gmail.com>
37492
bb3129bd
UD
37493 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
37494
0275fff8
UD
37495 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
37496 prediction.
37497 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
37498
2fa2ae85
UD
37499 * string/strnlen.c: Don't define STRNLEN, reverse logic.
37500 Remove unused variable magic_bits.
37501 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
37502
fc2ee42a
LD
37503 * string/strnlen.c: Define and use STRNLEN macro.
37504 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
37505 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
37506 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
37507 * wcsmbs/wcslen.c: Define and use WCSLEN.
37508 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
37509 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
37510 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
37511 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
37512 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
37513 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
37514 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
37515
ce7dd29f
LD
375162011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37517
37518 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37519 strnlen-sse2-no-bsf.
37520 Rename strlen-no-bsf to strlen-sse2-no-bsf.
37521 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
37522 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
37523 Add strnlen support.
37524 (USE_AS_STRNLEN): New macro.
37525 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
37526 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
37527 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
37528 * sysdeps/x86_64/wcslen.S: New file.
37529
979c70a3
MZ
375302011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
37531
37532 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
37533 XMM-moves are used for copying on small sizes.
37534
2d09f82f
LD
375352011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37536
37537 * wcsmbs/Makefile (strop-tests): Add wcschr.
37538 * wcsmbs/test-wcschr.c: New file.
37539 * string/test-strchr.c: Update.
37540 Add wcschr support.
37541 (WIDE): New macro.
37542
619fccca
LD
375432011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37544
2d09f82f 37545 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
37546 * wcsmbs/test-wcslen.c: New file.
37547 * string/test-strlen.c: Update.
37548 Add wcslen support.
37549 (WIDE): New macro.
37550
09f699ea
UD
375512011-10-23 Ulrich Drepper <drepper@gmail.com>
37552
37553 * po/it.po: Update from translation team.
37554
95584d3b
LD
375552011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37556
37557 * sysdeps/x86_64/wcscmp.S: Update.
37558 Fix wrong comparison semantics.
37559 wcscmp shall use signed comparison not unsigned.
37560 Don't use substraction to avoid overflow bug.
37561 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
37562 * wcsmbc/wcscmp.c: Likewise.
37563 * string/test-strcmp.c: Likewise.
37564 Add new tests to check cases with negative values.
37565
c8b3296b
UD
375662011-10-23 Ulrich Drepper <drepper@gmail.com>
37567
37568 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
37569 * sysdeps/x86_64/dla.h: ...here. New file.
37570 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
37571 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37572 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37573 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37574 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37575 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
37576 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37577 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37578 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37579
246ad57a
AS
375802011-10-23 Andreas Schwab <schwab@linux-m68k.org>
37581
37582 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
37583 __ynl_finite aliases.
37584
a1a87169
UD
375852011-10-22 Ulrich Drepper <drepper@gmail.com>
37586
0d355eb7
UD
37587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37588
a1a87169
UD
37589 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
37590 define DLA_FMA.
37591 [DLA_FMA] (EMULV): Use DLA_FMA.
37592 [DLA_FMA] (MUL12): Use EMULV.
37593 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
37594 that are not needed.
37595 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
37596 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
37597 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
37598 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
37599 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
37600 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
37601 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
37602
ee2aafe0
AS
376032011-10-22 Andreas Schwab <schwab@linux-m68k.org>
37604
37605 * math/s_nan.c: Undef __nan.
37606 * math/s_nanf.c: Undef __nanf.
37607 * math/s_nanl.c: Undef __nanl.
37608 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
37609 "math_private.h".
37610
bc62c2fb
UD
376112011-10-22 Ulrich Drepper <drepper@gmail.com>
37612
77425c63
UD
37613 * math/s_catan.c: Add branch predictions.
37614 * math/s_catanf.c: Likewise.
37615 * math/s_catanh.c: Likewise.
37616 * math/s_catanhf.c: Likewise.
37617 * math/s_catanhl.c: Likewise.
37618 * math/s_catanl.c: Likewise.
37619 * math/s_cexp.c: Likewise.
37620 * math/s_cexpf.c: Likewise.
37621 * math/s_cexpl.c: Likewise.
37622 * math/s_clog.c: Likewise.
37623 * math/s_clog10.c: Likewise.
37624 * math/s_clog10f.c: Likewise.
37625 * math/s_clog10l.c: Likewise.
37626 * math/s_clogf.c: Likewise.
37627 * math/s_clogl.c: Likewise.
37628 * math/s_csqrt.c: Likewise.
37629 * math/s_csqrtf.c: Likewise.
37630 * math/s_csqrtl.c: Likewise.
37631 * math/s_ctanf.c: Likewise.
37632 * math/s_ctanh.c: Likewise.
37633 * math/s_ctanhf.c: Likewise.
37634 * math/s_ctanhl.c: Likewise.
37635 * math/s_ctanl.c: Likewise.
37636
bc62c2fb
UD
37637 * math/math_private.h: Define __nan, __nanf, __nanl.
37638 * math/s_cacosh.c: Include <math_private.h>.
37639 * math/s_cacoshl.c: Likewise.
37640 * math/s_casinh.c: Likewise.
37641 * math/s_casinhf.c: Likewise.
37642 * math/s_casinhl.c: Likewise.
37643 * math/s_ccos.c: Rely entire on ccosh.
37644 * math/s_ccosf.c: Rely entire on ccoshf.
37645 * math/s_ccosl.c: Rely entirely on ccoshl.
37646 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
37647 Remove tests for FE_INVALID.
37648 * math/s_ccoshf.c: Likewise.
37649 * math/s_ccoshl.c: Likewise.
37650 * math/s_csin.c: Likewise.
37651 * math/s_csinf.c: Likewise.
37652 * math/s_csinh.c Likewise.
37653 * math/s_csinhf.c: Likewise.
37654 * math/s_csinhl.c: Likewise.
37655 * math/s_csinl.c: Likewise.
37656 * math/s_ctan.c: Likewise.
37657 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
37658 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
37659 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
37660
8ec250a4
UD
376612011-10-21 Ulrich Drepper <drepper@gmail.com>
37662
c196fed8
UD
37663 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
37664 compilation problems.
37665
8ec250a4
UD
37666 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
37667 __builtin_expect.
37668
8d4f46c6
UD
376692011-10-20 Ulrich Drepper <drepper@gmail.com>
37670
ed72b654
UD
37671 * sysdeps/i386/configure.in: Test for -mfma4 option.
37672 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
37673 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
37674 COMMON_CPUID_INDEX_80000001.
37675 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
37676 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
37677 use it if FMA3 is not supported.
37678 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
37679
8d4f46c6
UD
37680 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
37681 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
37682
d45c60c2
AS
376832011-10-20 Andreas Schwab <schwab@redhat.com>
37684
37685 [BZ #12892]
37686 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
37687 it would create a cycle with a link time dependency.
37688
d9a4d2ab
UD
376892011-10-19 Ulrich Drepper <drepper@gmail.com>
37690
855d1560
UD
37691 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
37692 instruction.
37693 * string/Makefile (strop-tests): Add rawmemchr.
37694 * string/test-rawmemchr.c: New file.
37695
d9a4d2ab
UD
37696 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
37697 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
37698 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
37699 when compiling str{,n}casecmp and when AVX is available. Hook up
37700 new optimized code in initializers.
37701
8f3b1ffe
AS
377022011-10-19 Andreas Schwab <schwab@redhat.com>
37703
37704 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
37705 __feraiseexcept instead of feraiseexcept.
37706
d38f1dba
UD
377072011-10-18 Ulrich Drepper <drepper@gmail.com>
37708
d9a8d0ab
UD
37709 * math/math_private.h: Define defaults for libc_fetestexcept and
37710 libc_feupdateenv.
37711 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
37712 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
37713 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
37714 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37715 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
37716 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37717 libc_fetestexcept and libc_feupdateenv.
37718
4855e3dd
UD
37719 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
37720 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
37721 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
37722 * sysdeps/x86_64/fpu/math_private.h: Define special version of
37723 libc_feholdexcept_setround.
37724
581d30e3
UD
37725 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
37726 Add s_nearbyint-c and s_nearbyintf-c.
37727 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
37728 nearbyintf inlines.
37729 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
37730 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
37731 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
37732 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
37733
d38f1dba
UD
37734 * math/math_private.h: Define defaults for libc_fegetround,
37735 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
37736 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
37737 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
37738 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
37739 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
37740 standard functions.
37741 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
37742 Remove comments and hacks for old compiler versions.
37743 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
37744 libc_fegetround, libc_fesetround, libc_feholdexcept, and
37745 libc_feholdexceptl.
37746
caa6c9d8
AS
377472011-10-18 Andreas Schwab <schwab@redhat.com>
37748
37749 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
37750 (__feraiseexcept_renamed): Add __NTH.
37751 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
37752 namespace violations.
37753
97c066e6
UD
377542011-10-17 Ulrich Drepper <drepper@gmail.com>
37755
99ce7b04
UD
37756 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
37757
1004d182
UD
37758 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
37759
228a984d
UD
37760 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
37761 recently added interfaces.
37762 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
37763
c8553a6a
UD
37764 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
37765 about macro parameter expansion.
37766
ed22dcf6
UD
37767 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
37768 __NO_MATH_INLINES is defined. Cleanups.
37769
37770 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
37771 and __floorf is target has SSE4.1.
37772 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
37773 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
37774 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
37775 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
37776
b171c137
UD
37777 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
37778 name.
37779 (floorf): Likewise.
37780
97c066e6
UD
37781 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
37782
629f62ef
AS
377832011-10-17 Andreas Schwab <schwab@redhat.com>
37784
49a43d80
AS
37785 * misc/sys/cdefs.h: Fix last change.
37786
629f62ef
AS
37787 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
37788 database lookup.
37789
e453f6cd
UD
377902011-10-16 Ulrich Drepper <drepper@gmail.com>
37791
aa78043a
UD
37792 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
37793
ad0f5cad
UD
37794 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
37795 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37796 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
37797 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
37798 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
37799 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
37800 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
37801 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
37802 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
37803 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
37804 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
37805 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
37806 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
37807 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
37808 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
37809 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
37810 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
37811 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
37812 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
37813 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
37814 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
37815 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
37816
37817 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
37818 ceil, ceilf, floor, floorf.
37819
37820 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
37821 Perform IRELATIVE relocations last.
37822
e453f6cd
UD
37823 * elf/do-rel.h: Add another parameter nrelative, replacing the
37824 local variable with the same name. Change name of the function
37825 to end in Rel or Rela (uppercase).
37826 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
37827 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
37828 elf_dynamic_do_##reloc function.
37829
fd5bdc09
UD
378302011-10-15 Ulrich Drepper <drepper@gmail.com>
37831
79b195b5
UD
37832 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
37833 is sufficient, at least on modern CPUs.
37834
d4a28569
UD
37835 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
37836
b61099b5
UD
37837 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
37838 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
37839
bcf01e6d
UD
37840 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
37841 __expl_finite.
37842 * math/bits/math-finite.h: Add entries for exp.
37843 * math/e_expl.c: Add __*_finite alias.
37844 * sysdeps/i386/fpu/e_exp.S: Likewise.
37845 * sysdeps/i386/fpu/e_expf.S: Likewise.
37846 * sysdeps/i386/fpu/e_expl.c: Likewise.
37847 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
37848 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
37849 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
37850 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
37851 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
37852 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
37853 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
37854
ba1a0d59
UD
37855 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
37856 is sufficient, at least on modern CPUs.
37857
fd5bdc09
UD
37858 * ctype/ctype-info.c (__ctype_init): Define.
37859 * include/ctype.h (__ctype_init): Declare.
37860 (__ctype_b_loc): The variable is always initialized.
37861 (__ctype_toupper_loc): Likewise.
37862 (__ctype_tolower_loc): Likewise.
37863 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
37864 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
37865
7872cfb0
AS
378662011-10-15 Andreas Schwab <schwab@linux-m68k.org>
37867
b468825a
AS
37868 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
37869
7872cfb0
AS
37870 * configure.in: Also look in $cxxmachine/include for C++ system
37871 headers.
37872
be13f7bf
LD
378732011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37874
37875 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
37876 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
37877 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
37878 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
37879 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
37880 (USE_AS_WMEMCMP): New macro.
37881 Fixing indents.
37882 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
37883 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
37884 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
37885 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
37886 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37887 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
37888 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
37889 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
37890 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
37891 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
37892 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
37893 (USE_AS_WMEMCMP): New macro.
37894 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
37895 * sysdeps/string/test-memcmp.c: Update.
37896 Fix simple_wmemcmp.
37897 Add new tests.
37898 * wcsmbs/wmemcmp.c: Update.
37899 (WMEMCMP): New macro.
37900 Fix overflow bug.
37901
556a2007
AJ
379022011-10-12 Andreas Jaeger <aj@suse.de>
37903
37904 [BZ #13268]
37905 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
37906
538faaa7
UD
379072011-10-15 Ulrich Drepper <drepper@gmail.com>
37908
ab6737ff
UD
37909 * libio/iofwide.c (do_length): Avoid warning.
37910
538faaa7
UD
37911 * ctype/ctype.h (__isctype_f): Add missing __THROW.
37912
396a21b1
UD
379132011-10-14 Ulrich Drepper <drepper@gmail.com>
37914
cdf2901f
UD
37915 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
37916
38ad40ce
UD
37917 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
37918 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
37919 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
37920 * sysdeps/i386/i686/fpu/e_log.S: New file.
37921 * sysdeps/i386/i686/fpu/e_logf.S: New file.
37922 * sysdeps/i386/i686/fpu/e_logl.S: New file.
37923
396a21b1
UD
37924 * ctype/ctype.h: Add support for inlined isXXX functions when
37925 compiling C++ code.
37926
6b1f68c9
AS
379272011-10-14 Andreas Schwab <schwab@redhat.com>
37928
349290c0
AS
37929 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37930
6b1f68c9
AS
37931 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
37932
f2282d42
RM
379332011-10-13 Roland McGrath <roland@hack.frob.com>
37934
37935 [BZ #13291]
37936 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
37937
5298ffa8
AS
379382011-10-13 Andreas Schwab <schwab@redhat.com>
37939
714fad23
AS
37940 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
37941 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
37942 feraiseexcept.
37943
81dcc7fb
AS
37944 * sysdeps/x86_64/memrchr.S: Check for zero size.
37945
5298ffa8
AS
37946 * string/stratcliff.c: Add memrchr tests.
37947
951fbcec
LD
379482011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
37949
37950 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
37951 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
37952 rawmemchr-sse2 rawmemchr-sse2-bsf.
37953 * sysdeps/i386/i686/multiarch/memchr.S: New file.
37954 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
37955 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
37956 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
37957 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
37958 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
37959 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
37960 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
37961 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
37962 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
37963 * string/memrchr.c (MEMRCHR): New macro.
37964
0ac5ae23
UD
379652011-10-12 Ulrich Drepper <drepper@gmail.com>
37966
37967 Add integration with gcc's -ffinite-math-only and optimize wrapper
37968 functions in libm.
37969 * Versions.def: Define GLIBC_2.15 version for libm.
37970 * math/Makefile (headers): Add bits/math-finite.h.
37971 * math/bits/math-finite.h: New file.
37972 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
37973 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
37974 * math/e_acoshl.c: Add __*_finite alias.
37975 * math/e_acosl.c: Likewise.
37976 * math/e_asinl.c: Likewise.
37977 * math/e_atan2l.c: Likewise.
37978 * math/e_atanhl.c: Likewise.
37979 * math/e_coshl.c: Likewise.
37980 * math/e_exp10.c: Likewise.
37981 * math/e_exp10f.c: Likewise.
37982 * math/e_exp10l.c: Likewise.
37983 * math/e_exp2l.c: Likewise.
37984 * math/e_fmodl.c: Likewise.
37985 * math/e_gammal_r.c: Likewise.
37986 * math/e_hypotl.c: Likewise.
37987 * math/e_j0l.c: Likewise.
37988 * math/e_j1l.c: Likewise.
37989 * math/e_jnl.c: Likewise.
37990 * math/e_lgammal_r.c: Likewise.
37991 * math/e_log10l.c: Likewise.
37992 * math/e_log2l.c: Likewise.
37993 * math/e_logl.c: Likewise.
37994 * math/e_powl.c: Likewise.
37995 * math/e_sinhl.c: Likewise.
37996 * math/e_sqrtl.c: Likewise.
37997 * math/e_scalb.c: Completely rewritten and optimized.
37998 * math/e_scalbf.c: Likewise.
37999 * math/e_scalbl.c: Likewise.
38000 * math/w_acos.c: Likewise.
38001 * math/w_acosf.c: Likewise.
38002 * math/w_acosl.c: Likewise.
38003 * math/w_acosh.c: Likewise.
38004 * math/w_acoshf.c: Likewise.
38005 * math/w_acoshl.c: Likewise.
38006 * math/w_asin.c: Likewise.
38007 * math/w_asinf.c: Likewise.
38008 * math/w_asinl.c: Likewise.
38009 * math/w_atan2.c: Likewise.
38010 * math/w_atan2f.c: Likewise.
38011 * math/w_atan2l.c: Likewise.
38012 * math/w_atanh.c: Likewise.
38013 * math/w_atanhf.c: Likewise.
38014 * math/w_atanhl.c: Likewise.
38015 * math/w_exp10.c: Likewise.
38016 * math/w_exp10f.c: Likewise.
38017 * math/w_exp10l.c: Likewise.
38018 * math/w_fmod.c: Likewise.
38019 * math/w_fmodf.c: Likewise.
38020 * math/w_fmodl.c: Likewise.
38021 * math/w_j0.c: Likewise.
38022 * math/w_j0f.c: Likewise.
38023 * math/w_j0l.c: Likewise.
38024 * math/w_j1.c: Likewise.
38025 * math/w_j1f.c: Likewise.
38026 * math/w_j1l.c: Likewise.
38027 * math/w_jn.c: Likewise.
38028 * math/w_jnf.c: Likewise.
38029 * math/w_log.c: Likewise.
38030 * math/w_logf.c: Likewise.
38031 * math/w_logl.c: Likewise.
38032 * math/w_log10.c: Likewise.
38033 * math/w_log10f.c: Likewise.
38034 * math/w_log10l.c: Likewise.
38035 * math/w_log2.c: Likewise.
38036 * math/w_log2f.c: Likewise.
38037 * math/w_log2l.c: Likewise.
38038 * math/w_pow.c: Likewise.
38039 * math/w_powf.c: Likewise.
38040 * math/w_powl.c: Likewise.
38041 * math/w_remainder.c: Likewise.
38042 * math/w_remainderf.c: Likewise.
38043 * math/w_remainderl.c: Likewise.
38044 * math/w_scalb.c: Likewise.
38045 * math/w_scalbf.c: Likewise.
38046 * math/w_scalbl.c: Likewise.
38047 * math/w_sqrt.c: Likewise.
38048 * math/w_sqrtf.c: Likewise.
38049 * math/w_sqrtl.c: Likewise.
38050 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
38051 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
38052 used.
38053 * math/math_private.h: Declare __kernel_standard_f.
38054 * math/w_cosh.c: Remove cruft and optimize a bit.
38055 * math/w_coshf.c: Likewise.
38056 * math/w_coshl.c: Likewise.
38057 * math/w_exp2.c: Likewise.
38058 * math/w_exp2f.c: Likewise.
38059 * math/w_exp2l.c: Likewise.
38060 * math/w_hypot.c: Likewise.
38061 * math/w_hypotf.c: Likewise.
38062 * math/w_hypotl.c: Likewise.
38063 * math/w_lgamma.c: Likewise.
38064 * math/w_lgamma_r.c: Likewise.
38065 * math/w_lgammaf.c: Likewise.
38066 * math/w_lgammaf_r.c: Likewise.
38067 * math/w_lgammal.c: Likewise.
38068 * math/w_lgammal_r.c: Likewise.
38069 * math/w_sinh.c: Likewise.
38070 * math/w_sinhf.c: Likewise.
38071 * math/w_sinhl.c: Likewise.
38072 * math/w_tgamma.c: Likewise.
38073 * math/w_tgammaf.c: Likewise.
38074 * math/w_tgammal.c: Likewise.
38075 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
38076 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38077 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
38078 Minor optimizations. Pretty printing. Remove cruft.
38079 * sysdeps/i386/fpu/e_acosf.S: Likewise.
38080 * sysdeps/i386/fpu/e_acosh.S: Likewise.
38081 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38082 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38083 * sysdeps/i386/fpu/e_acosl.c: Likewise.
38084 * sysdeps/i386/fpu/e_asin.S: Likewise.
38085 * sysdeps/i386/fpu/e_asinf.S: Likewise.
38086 * sysdeps/i386/fpu/e_atan2.S: Likewise.
38087 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
38088 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
38089 * sysdeps/i386/fpu/e_atanh.S: Likewise.
38090 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38091 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38092 * sysdeps/i386/fpu/e_exp10.S: Likewise.
38093 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
38094 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
38095 * sysdeps/i386/fpu/e_exp2.S: Likewise.
38096 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
38097 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
38098 * sysdeps/i386/fpu/e_fmod.S: Likewise.
38099 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
38100 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
38101 * sysdeps/i386/fpu/e_hypot.S: Likewise.
38102 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
38103 * sysdeps/i386/fpu/e_log.S: Likewise.
38104 * sysdeps/i386/fpu/e_log10.S: Likewise.
38105 * sysdeps/i386/fpu/e_log10f.S: Likewise.
38106 * sysdeps/i386/fpu/e_log10l.S: Likewise.
38107 * sysdeps/i386/fpu/e_log2.S: Likewise.
38108 * sysdeps/i386/fpu/e_log2f.S: Likewise.
38109 * sysdeps/i386/fpu/e_log2l.S: Likewise.
38110 * sysdeps/i386/fpu/e_logf.S: Likewise.
38111 * sysdeps/i386/fpu/e_logl.S: Likewise.
38112 * sysdeps/i386/fpu/e_pow.S: Likewise.
38113 * sysdeps/i386/fpu/e_powf.S: Likewise.
38114 * sysdeps/i386/fpu/e_powl.S: Likewise.
38115 * sysdeps/i386/fpu/e_remainder.S: Likewise.
38116 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
38117 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
38118 * sysdeps/i386/fpu/e_scalb.S: Likewise.
38119 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38120 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38121 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
38122 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
38123 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
38124 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
38125 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38126 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38127 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
38128 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
38129 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
38130 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
38131 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
38132 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38133 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
38134 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
38135 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
38136 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38137 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
38138 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
38139 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38140 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
38141 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
38142 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
38143 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38144 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
38145 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
38146 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
38147 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
38148 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
38149 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
38150 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
38151 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
38152 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
38153 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
38154 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38155 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
38156 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38157 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
38158 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
38159 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
38160 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
38161 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
38162 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
38163 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
38164 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
38165 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
38166 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
38167 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
38168 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
38169 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
38170 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
38171 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
38172 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
38173 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
38174 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
38175 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
38176 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
38177 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38178 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
38179 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
38180 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
38181 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
38182 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
38183 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
38184 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
38185 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
38186 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
38187 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
38188 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
38189 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
38190 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
38191 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
38192 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
38193 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
38194 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
38195 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
38196 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
38197 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
38198 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
38199 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
38200 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
38201 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
38202 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
38203 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
38204 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38205 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
38206 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
38207 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
38208 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38209 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
38210 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38211 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
38212 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
38213 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
38214 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
38215 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
38216 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
38217 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
38218 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38219 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38220 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38221 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
38222 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
38223 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
38224 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
38225 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
38226 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
38227 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
38228 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38229 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38230 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38231 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38232 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
38233 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38234 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
38235 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
38236 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
38237 (__isnanf): Likewise.
38238 (__isinf_ns): Likewise.
38239 (__isinf_nsf): Likewise.
38240 (__finite): Likewise.
38241 (__finitef): Likewise.
38242 (__ieee754_sqrt): Define as macro.
38243 (__ieee754_sqrtf): Define as macro.
38244 (__ieee754_sqrtl): Define as macro.
38245 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
38246 inlined copy.
38247 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
38248 __FINITE_MATH_ONLY__ consistent.
38249 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
38250
12cc2fcd
AS
382512011-10-10 Andreas Schwab <schwab@linux-m68k.org>
38252
a843a204
AS
38253 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
38254 of rawmemchr.
38255
12cc2fcd
AS
38256 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
38257
c853acd5
UD
382582011-10-09 Ulrich Drepper <drepper@gmail.com>
38259
38260 * po/ja.po: Update from translation team.
38261
c658d255
RM
382622011-10-08 Roland McGrath <roland@hack.frob.com>
38263
110946e4
RM
38264 * locale/programs/locarchive.c (prepare_address_space): New function.
38265 (create_archive, enlarge_archive, open_archive): Use it.
38266
50604220
RM
38267 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
38268 inside [SHARED], where it is used.
38269
c658d255
RM
38270 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
38271
38272 * nss/getent.c (netgroup_keys): Remove unused variable.
38273 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
38274
6a621eb7
UD
382752011-10-08 Ulrich Drepper <drepper@gmail.com>
38276
7edb55ce
UD
38277 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
38278 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
38279 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
38280 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
38281 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
38282 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
38283 * math/Makefile (libm-calls): Add s_isinf_ns.
38284 * math/divtc3.c: Use __isinf_nsl instead of isinf.
38285 * math/multc3.c: Likewise.
38286 * math/s_casin.c: Likewise.
38287 * math/s_casinf.c: Likewise.
38288 * math/s_casinl.c: Likewise.
38289 * math/s_ccos.c: Likewise.
38290 * math/s_ccosf.c: Likewise.
38291 * math/s_ccosl.c: Likewise.
38292 * math/s_ctan.c: Likewise.
38293 * math/s_ctanf.c: Likewise.
38294 * math/s_ctanh.c: Likewise.
38295 * math/s_ctanhf.c: Likewise.
38296 * math/s_ctanhl.c: Likewise.
38297 * math/s_ctanl.c: Likewise.
38298 * math/w_fmod.c: Likewise.
38299 * math/w_fmodf.c: Likewise.
38300 * math/w_fmodl.c: Likewise.
38301 * math/w_remainder.c: Likewise.
38302 * math/w_remainderf.c: Likewise.
38303 * math/w_remainderl.c: Likewise.
38304 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
38305 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
38306 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
38307 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
38308 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
38309 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
38310 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
38311 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
38312
187da0ae
UD
38313 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
38314 of the number.
38315 * stdio-common/printf_fphex.c: Likewise.
38316 * stdio-common/printf_size.c: Likewise.
38317
9277c064
UD
38318 * math/e_exp10.c: Include math_private.h using <...> not "...".
38319 * math/e_exp10f.c: Likewise.
38320 * math/e_exp10l.c: Likewise.
38321 * math/e_exp2l.c: Likewise.
38322 * math/e_j0l.c: Likewise.
38323 * math/e_j1l.c: Likewise.
38324 * math/e_jnl.c: Likewise.
38325 * math/e_lgammal_r.c: Likewise.
38326 * math/e_rem_pio2l.c: Likewise.
38327 * math/e_scalb.c: Likewise.
38328 * math/e_scalbf.c: Likewise.
38329 * math/e_scalbl.c: Likewise.
38330 * math/k_cosl.c: Likewise.
38331 * math/k_sinl.c: Likewise.
38332 * math/k_tanl.c: Likewise.
38333 * math/s_cacoshf.c: Likewise.
38334 * math/s_catan.c: Likewise.
38335 * math/s_catanf.c: Likewise.
38336 * math/s_catanh.c: Likewise.
38337 * math/s_catanhf.c: Likewise.
38338 * math/s_catanhl.c: Likewise.
38339 * math/s_catanl.c: Likewise.
38340 * math/s_ccosh.c: Likewise.
38341 * math/s_ccoshf.c: Likewise.
38342 * math/s_ccoshl.c: Likewise.
38343 * math/s_cexp.c: Likewise.
38344 * math/s_cexpf.c: Likewise.
38345 * math/s_cexpl.c: Likewise.
38346 * math/s_clog.c: Likewise.
38347 * math/s_clog10.c: Likewise.
38348 * math/s_clog10f.c: Likewise.
38349 * math/s_clog10l.c: Likewise.
38350 * math/s_clogf.c: Likewise.
38351 * math/s_clogl.c: Likewise.
38352 * math/s_csin.c: Likewise.
38353 * math/s_csinf.c: Likewise.
38354 * math/s_csinh.c: Likewise.
38355 * math/s_csinhf.c: Likewise.
38356 * math/s_csinhl.c: Likewise.
38357 * math/s_csinl.c: Likewise.
38358 * math/s_csqrt.c: Likewise.
38359 * math/s_csqrtf.c: Likewise.
38360 * math/s_csqrtl.c: Likewise.
38361 * math/s_ctan.c: Likewise.
38362 * math/s_ctanf.c: Likewise.
38363 * math/s_ctanh.c: Likewise.
38364 * math/s_ctanhf.c: Likewise.
38365 * math/s_ctanhl.c: Likewise.
38366 * math/s_ctanl.c: Likewise.
38367 * math/s_ldexp.c: Likewise.
38368 * math/s_ldexpf.c: Likewise.
38369 * math/s_ldexpl.c: Likewise.
38370 * math/s_significand.c: Likewise.
38371 * math/s_significandf.c: Likewise.
38372 * math/s_significandl.c: Likewise.
38373 * math/w_acos.c: Likewise.
38374 * math/w_acosf.c: Likewise.
38375 * math/w_acosh.c: Likewise.
38376 * math/w_acoshf.c: Likewise.
38377 * math/w_acoshl.c: Likewise.
38378 * math/w_acosl.c: Likewise.
38379 * math/w_asin.c: Likewise.
38380 * math/w_asinf.c: Likewise.
38381 * math/w_asinl.c: Likewise.
38382 * math/w_atan2.c: Likewise.
38383 * math/w_atan2f.c: Likewise.
38384 * math/w_atan2l.c: Likewise.
38385 * math/w_atanh.c: Likewise.
38386 * math/w_atanhf.c: Likewise.
38387 * math/w_atanhl.c: Likewise.
38388 * math/w_cosh.c: Likewise.
38389 * math/w_coshf.c: Likewise.
38390 * math/w_coshl.c: Likewise.
38391 * math/w_dremf.c: Likewise.
38392 * math/w_exp10.c: Likewise.
38393 * math/w_exp10f.c: Likewise.
38394 * math/w_exp10l.c: Likewise.
38395 * math/w_exp2.c: Likewise.
38396 * math/w_exp2f.c: Likewise.
38397 * math/w_fmod.c: Likewise.
38398 * math/w_fmodf.c: Likewise.
38399 * math/w_fmodl.c: Likewise.
38400 * math/w_hypot.c: Likewise.
38401 * math/w_hypotf.c: Likewise.
38402 * math/w_hypotl.c: Likewise.
38403 * math/w_j0.c: Likewise.
38404 * math/w_j0f.c: Likewise.
38405 * math/w_j0l.c: Likewise.
38406 * math/w_j1.c: Likewise.
38407 * math/w_j1f.c: Likewise.
38408 * math/w_j1l.c: Likewise.
38409 * math/w_jn.c: Likewise.
38410 * math/w_jnf.c: Likewise.
38411 * math/w_jnl.c: Likewise.
38412 * math/w_lgamma.c: Likewise.
38413 * math/w_lgamma_r.c: Likewise.
38414 * math/w_lgammaf.c: Likewise.
38415 * math/w_lgammaf_r.c: Likewise.
38416 * math/w_lgammal.c: Likewise.
38417 * math/w_lgammal_r.c: Likewise.
38418 * math/w_log.c: Likewise.
38419 * math/w_log10.c: Likewise.
38420 * math/w_log10f.c: Likewise.
38421 * math/w_log10l.c: Likewise.
38422 * math/w_log2.c: Likewise.
38423 * math/w_log2f.c: Likewise.
38424 * math/w_log2l.c: Likewise.
38425 * math/w_logf.c: Likewise.
38426 * math/w_logl.c: Likewise.
38427 * math/w_pow.c: Likewise.
38428 * math/w_powf.c: Likewise.
38429 * math/w_powl.c: Likewise.
38430 * math/w_remainder.c: Likewise.
38431 * math/w_remainderf.c: Likewise.
38432 * math/w_remainderl.c: Likewise.
38433 * math/w_scalb.c: Likewise.
38434 * math/w_scalbf.c: Likewise.
38435 * math/w_scalbl.c: Likewise.
38436 * math/w_sinh.c: Likewise.
38437 * math/w_sinhf.c: Likewise.
38438 * math/w_sinhl.c: Likewise.
38439 * math/w_sqrt.c: Likewise.
38440 * math/w_sqrtf.c: Likewise.
38441 * math/w_sqrtl.c: Likewise.
38442 * math/w_tgamma.c: Likewise.
38443 * math/w_tgammaf.c: Likewise.
38444 * math/w_tgammal.c: Likewise.
38445
6a621eb7
UD
38446 * po/ja.po: Update from translation team.
38447
bf582445
AJ
384482011-09-29 Andreas Jaeger <aj@suse.de>
38449
f9efbf3a
AJ
38450 [BZ #13179]
38451 * sunrpc/netname.c (netname2host): Fix logic.
38452
bf582445
AJ
38453 [BZ #6779]
38454 [BZ #6783]
38455 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
38456 correctly.
38457 * math/w_remainder.c (__remainder): Likewise.
38458 * math/w_remainderf.c (__remainderf): Likewise.
38459 * math/libm-test.inc (remainder_test): Add test cases.
38460
48693bea
AK
384612011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
38462
38463 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
38464 sdiv_qrnnd.
38465
42622229
LD
384662011-10-07 Ulrich Drepper <drepper@gmail.com>
38467
38468 * string/test-memcmp.c: Avoid unncessary #defines.
38469 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
38470
093ecf92
LD
384712011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38472
38473 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
38474 Use new sse2 version for core i3 - i7 as it's faster
38475 than sse42 version.
38476 (bit_Prefer_PMINUB_for_stringop): New.
38477 * sysdeps/x86_64/rawmemchr.S: Update.
38478 Replace with faster SSE2 version.
38479 * sysdeps/x86_64/memrchr.S: New file.
38480 * sysdeps/x86_64/memchr.S: Update.
38481 Replace with faster SSE2 version.
38482
fde56e5c
MP
384832011-09-12 Marek Polacek <mpolacek@redhat.com>
38484
38485 * elf/dl-load.c (lose): Add cast to avoid warning.
38486
21fd49a9
UD
384872011-10-07 Ulrich Drepper <drepper@gmail.com>
38488
5a06e643
UD
38489 * po/ca.po: Update from translation team.
38490
684ae515
UD
38491 * inet/getnetgrent_r.c: Hook up nscd.
38492 * nscd/Makefile (routines): Add nscd_netgroup.
38493 (nscd-modules): Add netgroupcache.
38494 (CFLAGS-netgroupcache.c): Define.
38495 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
38496 (cache_search): Add const to second parameter.
38497 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
38498 INNETGR.
38499 (dbs): Add netgrdb entry.
38500 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
38501 (verify_persistent_db): Handle netgrdb.
38502 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
38503 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
38504 GETFDNETGR.
38505 (netgroup_response_header): Define.
38506 (innetgroup_response_header): Define.
38507 (datahead): Add netgroup_response_header and innetgroup_response_header
38508 elements.
38509 * nscd/nscd.conf: Add entries for netgroup cache.
38510 * nscd/nscd.h (dbtype): Add netgrdb.
38511 (_PATH_NSCD_NETGROUP_DB): Define.
38512 (netgroup_iov_disabled): Declare.
38513 (xmalloc, xcalloc, xrealloc): Move declarations here.
38514 (cache_search): Adjust prototype.
38515 Add netgroup-related prototypes.
38516 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
38517 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
38518 (__nscd_innetgr): Declare.
38519 * nscd/selinux.c (perms): Use access_vector_t as element type and
38520 add netgroup-related initializers.
38521 * nscd/netgroupcache.c: New file.
38522 * nscd/nscd_netgroup.c: New file.
38523 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
38524 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
38525 For four parameters use innetgr.
38526 * nss/nss_files/files-init.c: Add definition and callback for netgr.
38527 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
38528 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
38529 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
38530
21fd49a9
UD
38531 * nscd/connections.c (register_traced_file): Don't register file
38532 for disabled databases.
38533
054c0457
UD
385342011-10-06 Ulrich Drepper <drepper@gmail.com>
38535
32b63198
UD
38536 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
38537
054c0457
UD
38538 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
38539 from tree and freeing node.
38540
64031225
JO
385412011-09-25 Jiri Olsa <jolsa@redhat.com>
38542
38543 * nss/nsswitch.c (__nss_database_lookup): Handle
38544 nss_parse_service_list out of memory case.
38545
0490345c
JO
385462011-09-15 Jiri Olsa <jolsa@redhat.com>
38547
38548 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
38549 out of memory case.
38550
3a62d00d
AS
385512011-10-04 Andreas Schwab <schwab@redhat.com>
38552
38553 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
38554 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
38555 pass it down.
38556 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
38557 elf_machine_rela, elf_machine_lazy_rel.
38558 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
38559 (ELF_DYNAMIC_DO_REL): Likewise.
38560 (ELF_DYNAMIC_DO_RELA): Likewise.
38561 (ELF_DYNAMIC_RELOCATE): Likewise.
38562 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
38563 to ELF_DYNAMIC_DO_REL.
38564 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
38565 (dl_main): In trace mode always set __RTLD_NOIFUNC.
38566 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
38567 elf_machine_rela.
38568 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
38569 skip_ifunc, don't call ifunc function if non-zero.
38570 (elf_machine_rela): Likewise.
38571 (elf_machine_lazy_rel): Likewise.
38572 (elf_machine_lazy_rela): Likewise.
38573 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
38574 (elf_machine_lazy_rel): Likewise.
38575 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
38576 Likewise.
38577 (elf_machine_lazy_rel): Likewise.
38578 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38579 Likewise.
38580 (elf_machine_lazy_rel): Likewise.
38581 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
38582 (elf_machine_lazy_rel): Likewise.
38583 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
38584 (elf_machine_lazy_rel): Likewise.
38585 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
38586 (elf_machine_lazy_rel): Likewise.
38587 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
38588 (elf_machine_lazy_rel): Likewise.
38589 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
38590 (elf_machine_lazy_rel): Likewise.
38591 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
38592 (elf_machine_lazy_rel): Likewise.
38593
68577918
UD
385942011-09-28 Ulrich Drepper <drepper@gmail.com>
38595
38596 * nss/nss_files/files-init.c (_nss_files_init): Use static
38597 initialization for all the *_traced_file variables.
38598
68822d74
AS
385992011-09-28 Andreas Schwab <schwab@redhat.com>
38600
38601 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38602
2056100b
RM
386032011-09-27 Roland McGrath <roland@hack.frob.com>
38604
38605 [BZ #13226]
38606 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
38607
32c76b63
AS
386082011-09-27 Andreas Schwab <schwab@redhat.com>
38609
38610 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38611 Reread the line before reparsing it.
38612
bf972c9d
AS
386132011-09-26 Andreas Schwab <schwab@redhat.com>
38614
38615 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
38616
e057a1b5
JM
386172011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
38618 Maxim Kuvyrkov <maxim@codesourcery.com>
38619 Joseph Myers <joseph@codesourcery.com>
38620
38621 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
38622 if needed for __stack_chk_guard.
38623
bc7e1c36
RM
386242011-09-19 Roland McGrath <roland@hack.frob.com>
38625
ecb1482f
RM
38626 * sysdeps/posix/spawni.c (script_execute): Always define it.
38627 It will be optimized away if unused.
38628 (maybe_script_execute): New function.
38629 (__spawni): Call it.
38630
bc7e1c36
RM
38631 * Makerules: Don't include tls.make.
38632 (config-tls): Always set to thread.
38633 * tls.make.c: File removed.
38634
1c3b002b
MF
386352011-09-19 Mike Frysinger <vapier@gentoo.org>
38636
38637 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
38638 * config.make.in (CPPFLAGS-config): New substituted variable.
38639
2840865d
UD
386402011-09-15 Ulrich Drepper <drepper@gmail.com>
38641
88738eb6
UD
38642 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
38643
cbf645a6 38644 [BZ #13192]
2840865d
UD
38645 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
38646 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
38647
b402e91a
RM
386482011-09-15 Roland McGrath <roland@hack.frob.com>
38649
38650 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
38651 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
38652 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
38653 (CALL_FAIL): Likewise.
38654 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
38655 (CALL_FAIL): Macro removed.
38656 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
38657
4c1a1f71
UD
386582011-09-15 Ulrich Drepper <drepper@gmail.com>
38659
38660 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
38661 for __FINITE_MATH_ONLY__ == 1.
38662
edc121be
AS
386632011-09-15 Andreas Schwab <schwab@redhat.com>
38664
38665 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
38666 __ieee754_sqrt instead of sqrt.
38667 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
38668 __ieee754_sqrtf instead of sqrtf.
38669 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
38670 __floorf instead of floorf.
38671 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
38672 __floorf, __truncf instead of floorf, truncf.
38673
cd205654
UD
386742011-09-14 Ulrich Drepper <drepper@gmail.com>
38675
ee4d0315
UD
38676 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
38677
cd205654
UD
38678 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
38679 __extern_always_inline.
38680 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
38681 32-bit.
38682
48b67d71
AS
386832011-09-14 Andreas Schwab <schwab@redhat.com>
38684
38685 * elf/rtld.c (dl_main): Also relocate in dependency order when
38686 doing symbol dependency testing.
38687
1ae12c75
AS
386882011-09-13 Andreas Schwab <schwab@linux-m68k.org>
38689
38690 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
38691 Always define `refsym'.
38692
995a80df
AS
386932011-09-13 Andreas Schwab <schwab@redhat.com>
38694
e529793b
AS
38695 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
38696 (__FD_ELT): Renamed from __FDELT.
38697 * misc/bits/select2.h (__FD_ELT): Likewise.
38698 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
38699 __FD_MASK instead of __FDELT, __FDMASK.
38700 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38701 Likewise.
38702 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
38703 Likewise.
38704
52d4fef8
AS
38705 * elf/Makefile (gen-ldd): Fix pattern.
38706
995a80df
AS
38707 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
38708 (init_tls): Likewise.
38709
8682f8b0
UD
387102011-09-12 Ulrich Drepper <drepper@gmail.com>
38711
38712 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
38713
de82006d
AS
387142011-09-12 Andreas Schwab <schwab@redhat.com>
38715
a7c8e6a1
AS
38716 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
38717 `struct cmsghdr *' instead of `void *'.
38718 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
38719 Likewise.
38720
0f31fe77
AS
387212011-09-11 Andreas Schwab <schwab@linux-m68k.org>
38722
38723 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
38724 if non-absolute.
38725 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
38726 ldd_rewrite_script.
0f31fe77 38727
32b4c839
UD
387282011-09-11 Ulrich Drepper <drepper@gmail.com>
38729
83cd1420
UD
38730 * configure.in: Remove --with-tls option.
38731 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
38732 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
38733 out in case it is missing.
38734 * sysdeps/ia64/elf/configure.in: Likewise.
38735 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
38736 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
38737 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
38738 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
38739 * sysdeps/sh/elf/configure.in: Likewise.
38740 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
38741 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
38742 * sysdeps/x86_64/elf/configure.in: Likewise.
38743 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
38744 * sysdeps/mach/hurd/tls.h: Likewise.
38745
633f745d
UD
38746 [BZ #13067]
38747 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
38748
f318beb8
UD
38749 [BZ #13090]
38750 * configure.in: Fix use of AC_INIT.
38751
32b4c839
UD
38752 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
38753
3ce1f295
UD
387542011-09-10 Ulrich Drepper <drepper@gmail.com>
38755
bb016596
UD
38756 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
38757 __set_errno.
8e58439c
UD
38758 * malloc/hooks.c: Likewise.
38759
aebae053 38760 [BZ #11929]
02d46fc4
UD
38761 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
38762 variables statically.
38763 (narenas): Initialize.
38764 (list_lock): Initialize.
bb016596
UD
38765 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
38766 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
38767 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
38768 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
38769 Add initializers to main_arena and mp_.
38770 (malloc_state): Remove pagesize member. Change all users to use
38771 GLRO(dl_pagesize).
38772
38773 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
38774 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
38775 is always initialized.
38776
22a89187
UD
38777 * malloc/malloc.c: Removed unused configurations and dead code.
38778 * malloc/arena.c: Likewise.
38779 * malloc/hooks.c: Likewise.
02d46fc4 38780 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 38781
d063d164
UD
38782 * include/tls.h: Removed. USE___THREAD must always be defined.
38783 * bits/libc-tsd.h: Don't handle !USE___THREAD.
38784 * elf/dl-libc.c: Likewise.
38785 * elf/dl-tsd.c: Likewise.
38786 * include/errno.h: Likewise.
38787 * include/netdb.h: Likewise.
38788 * include/resolv.h: Likewise.
38789 * inet/herrno-loc.c: Likewise.
38790 * inet/herrno.c: Likewise.
38791 * malloc/arena.c: Likewise.
38792 * malloc/hooks.c: Likewise.
38793 * malloc/malloc.c: Likewise.
38794 * resolv/res-state.c: Likewise.
38795 * resolv/res_libc.c: Likewise.
38796 * sysdeps/i386/dl-machine.h: Likewise.
38797 * sysdeps/ia64/dl-machine.h: Likewise.
38798 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38799 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38800 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38801 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38802 * sysdeps/sh/dl-machine.h: Likewise.
38803 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38804 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38805 * sysdeps/unix/i386/sysdep.S: Likewise.
38806 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
38807 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
38808 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
38809 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
38810 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
38811 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
38812 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
38813 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
38814 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
38815 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
38816 * sysdeps/unix/x86_64/sysdep.S: Likewise.
38817 * sysdeps/x86_64/dl-machine.h: Likewise.
38818 * tls.make.c: Likewise.
38819
3ce1f295
UD
38820 * configure.in: Remove --with-__thread option. Make tests for
38821 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
38822 tls_model attribute fail if no support is available. Remove
38823 USE_IN_LIBIO.
38824 * Makeconfig: Adjust for dropped configure option. All features are
38825 now mandatory.
38826 * Makerules: Likewise.
38827 * Versions.def: Likewise.
38828 * argp/argp-fmtstream.c: Likewise.
38829 * argp/argp-fmtstream.h: Likewise.
38830 * argp/argp-help.c: Likewise.
38831 * assert/assert.c: Likewise.
38832 * config.h.in: Likewise.
38833 * config.make.in: Likewise.
38834 * configure: Likewise.
38835 * configure.in: Likewise.
38836 * csu/Versions: Likewise.
38837 * csu/init.c: Likewise.
38838 * elf/tst-audit2.c: Likewise.
38839 * elf/tst-tls10.c: Likewise.
38840 * elf/tst-tls10.h: Likewise.
38841 * elf/tst-tls11.c: Likewise.
38842 * elf/tst-tls12.c: Likewise.
38843 * elf/tst-tls14.c: Likewise.
38844 * elf/tst-tlsmod11.c: Likewise.
38845 * elf/tst-tlsmod12.c: Likewise.
38846 * elf/tst-tlsmod13.c: Likewise.
38847 * elf/tst-tlsmod13a.c: Likewise.
38848 * elf/tst-tlsmod14a.c: Likewise.
38849 * elf/tst-tlsmod15b.c: Likewise.
38850 * elf/tst-tlsmod16a.c: Likewise.
38851 * elf/tst-tlsmod16b.c: Likewise.
38852 * elf/tst-tlsmod7.c: Likewise.
38853 * elf/tst-tlsmod8.c: Likewise.
38854 * elf/tst-tlsmod9.c: Likewise.
38855 * gmon/gmon.c: Likewise.
38856 * grp/fgetgrent_r.c: Likewise.
38857 * grp/putgrent.c: Likewise.
38858 * hurd/fopenport.c: Likewise.
38859 * include/libc-symbols.h: Likewise.
38860 * include/tls.h: Likewise.
38861 * intl/gettextP.h: Likewise.
38862 * intl/loadinfo.h: Likewise.
38863 * locale/global-locale.c: Likewise.
38864 * locale/localeinfo.h: Likewise.
38865 * mach/devstream.c: Likewise.
38866 * malloc/arena.c: Likewise.
38867 * malloc/set-freeres.c: Likewise.
38868 * misc/err.c: Likewise.
38869 * misc/getttyent.c: Likewise.
38870 * misc/mntent_r.c: Likewise.
38871 * posix/getopt.c: Likewise.
38872 * posix/wordexp.c: Likewise.
38873 * pwd/fgetpwent_r.c: Likewise.
38874 * resolv/Versions: Likewise.
38875 * resolv/res_hconf.c: Likewise.
38876 * shadow/fgetspent_r.c: Likewise.
38877 * shadow/putspent.c: Likewise.
38878 * stdio-common/printf_fphex.c: Likewise.
38879 * stdio-common/tmpfile.c: Likewise.
38880 * stdlib/abort.c: Likewise.
38881 * stdlib/fmtmsg.c: Likewise.
38882 * sunrpc/auth_unix.c: Likewise.
38883 * sunrpc/clnt_perr.c: Likewise.
38884 * sunrpc/clnt_tcp.c: Likewise.
38885 * sunrpc/clnt_udp.c: Likewise.
38886 * sunrpc/clnt_unix.c: Likewise.
38887 * sunrpc/openchild.c: Likewise.
38888 * sunrpc/svc_simple.c: Likewise.
38889 * sunrpc/svc_tcp.c: Likewise.
38890 * sunrpc/svc_udp.c: Likewise.
38891 * sunrpc/svc_unix.c: Likewise.
38892 * sunrpc/xdr.c: Likewise.
38893 * sunrpc/xdr_array.c: Likewise.
38894 * sunrpc/xdr_rec.c: Likewise.
38895 * sunrpc/xdr_ref.c: Likewise.
38896 * sunrpc/xdr_stdio.c: Likewise.
38897
1248c1c4
PB
388982011-09-09 Ulrich Drepper <drepper@gmail.com>
38899
38900 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
38901
389022011-07-03 Andreas Jaeger <aj@suse.de>
38903
38904 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
38905 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
38906 regenerate with gen-libm-tests.pl.
38907
389082010-05-12 Petr Baudis <pasky@suse.cz>
38909
38910 [BZ #11589]
38911 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
38912 around j0() zero points by switching to j1().
38913 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
38914 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
38915 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
38916 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
38917
f22e1074
UD
389182011-09-09 Ulrich Drepper <drepper@gmail.com>
38919
f19009c1
UD
38920 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
38921 instead of 0.
38922 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 38923 instead of 0.
f19009c1
UD
38924 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
38925 Patch in part by Pavel Roskin <proski@gnu.org>.
38926
3f8cc204
UD
38927 [BZ #13138]
38928 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
38929 realloc.
38930 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
38931 Free memory block if necessary.
38932
f22e1074
UD
38933 [BZ #12847]
38934 * libio/genops.c (INTDEF): For string streams the _lock pointer can
38935 be NULL. Don't lock in this case.
38936
0a2349f9
RM
389372011-09-09 Roland McGrath <roland@hack.frob.com>
38938
38939 * elf/elf.h (ELFOSABI_GNU): New macro.
38940 (ELFOSABI_LINUX): Define to that.
38941
f3cdd467
DZ
389422011-07-29 Denis Zaitceff <zaitceff@gmail.com>
38943
38944 * string/strncat.c (strncat): Undef the symbol in case it has been
38945 defined in bits/string.h.
38946
74718d13
UD
389472011-09-09 Ulrich Drepper <drepper@gmail.com>
38948
633e9e0f
UD
38949 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
38950
0a2349f9 38951 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
38952 link map.
38953
f9924780
AJ
389542011-08-17 Andreas Jaeger <aj@suse.de>
38955
38956 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
38957
7f5517aa
PP
389582011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
38959 Ian Lance Taylor <iant@google.com>
38960
38961 * math/libm-test.inc (lround_test): New testcase.
38962 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
38963
762011fe
UD
389642011-09-08 Ulrich Drepper <drepper@gmail.com>
38965
92963737
UD
38966 * Makefile: Remove support for automatic cvs check-ins.
38967 * Makerules: Likewise.
38968 * config.make.in: Likewise.
38969 * configure.in: Likewise.
38970 * intl/Makefile: Likewise.
38971 * locale/Makefile: Likewise.
38972 * po/Makefile: Likewise.
38973 * posix/Makefile: Likewise.
38974 * sysdeps/gnu/Makefile: Likewise.
38975 * sysdeps/mach/hurd/Makefile: Likewise.
38976 * sysdeps/sparc/sparc32/Makefile: Likewise.
38977
b0727fd8
JS
38978 [BZ #13118]
38979 * posix/Makefile (bug-regex32-ENV): Define.
38980 Patch by John Stanley <jpsinthemix@verizon.net>.
38981
a0f33f99
UD
38982 * misc/Makefile (headers): Add bits/select2.h.
38983 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
38984 * misc/bits/select2.h: New file.
38985 * include/bits/select2.h: New file.
38986 * debug/Makefile (routines): Add fdelt_chk.
38987 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
38988 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
38989 FD_ISSET.
38990 * debug/fdelt_chk.c: New file.
38991
762011fe
UD
38992 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
38993 * wcsmbs/test-wmemcmp.c: Likewise.
38994 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 38995 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
38996
389972011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
38998
38999 * string/Makefile (strop-tests): Add memcmp.
39000 * string/test-wmemcmp.c: New file.
39001 * string/test-memcmp.c: Add wmemcmp support.
39002
7f513ec8
RM
390032011-09-08 Roland McGrath <roland@hack.frob.com>
39004
0442afb4
RM
39005 [BZ #13153]
39006 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
39007 2011-07-19 change.
39008
7f513ec8
RM
39009 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
39010 garbage value in a __mach_port_mod_refs call in the cases of the
39011 task-self and thread-self ports.
39012
a12b2239
ST
390132011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
39014
39015 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
39016
610f9ab4
AS
390172011-09-08 Andreas Schwab <schwab@redhat.com>
39018
7f513ec8 39019 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 39020
48882a1a
LD
390212011-09-07 Ulrich Drepper <drepper@gmail.com>
39022
b49865be
UD
39023 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
39024
fdc86bc9
UD
39025 * elf/dl-libc.c (dlerror_run): Pass back error code from
39026 dl_catch_error.
39027
c966526a
UD
39028 [BZ #13123]
39029 * elf/dl-load.c (lose): Free l_origin if it is valid.
39030
48882a1a
LD
39031 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
39032 names.
39033 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
39034 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39035 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39036 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39037 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
39038 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
39039
77a2a8b4
AZ
390402011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39041
39042 * sysdeps/powerpc/fpu/e_hypot.c: New file.
39043 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
39044 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
39045 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
39046 * sysdeps/powerpc/fpu/k_cosf.c: New file.
39047 * sysdeps/powerpc/fpu/k_sinf.c: New file.
39048 * sysdeps/powerpc/fpu/s_cosf.c: New file.
39049 * sysdeps/powerpc/fpu/s_sinf.c: New file.
39050 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
39051 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
39052
24f579d8
AM
390532011-08-15 Alan Modra <amodra@gmail.com>
39054
39055 [BZ #13092]
39056 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
39057 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
39058 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
39059 ppc_mcount to static-only-routines.
39060 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
39061 __mcount_internal.
39062 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
39063 __mcount_internal with usual JUMPTARGET. Remove useless nop.
39064
3d4837df
UD
390652011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
39066
39067 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
39068 for finite and infinity parameters.
39069
22700377
WS
390702011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
39071
39072 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
39073 and add nop instructions for throughput optimization.
39074 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
39075
5025581e
WS
390762011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
39077
39078 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
39079 aligned copy for power7 with vector-scalar instructions.
39080 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
39081
08a300c9
L
390822011-07-24 H.J. Lu <hongjiu.lu@intel.com>
39083
39084 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
39085 AVX check.
39086
59178ef9
AS
390872011-09-07 Andreas Schwab <schwab@redhat.com>
39088
39089 [BZ #13144]
39090 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
39091 last change.
39092
e38ba7ab
UD
390932011-09-07 Ulrich Drepper <drepper@gmail.com>
39094
39095 * sysdeps/unix/sysv/linux/x86_64/init-first.c
39096 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
39097 syscall wrapper around clock_gettime in __vdso_clock_gettime.
39098 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
39099 clock_gettime.
39100
d53a73ac
UD
391012011-09-06 Ulrich Drepper <drepper@gmail.com>
39102
fc8bffcc
UD
39103 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
39104 Forgot to demangle the pointer.
39105
ceaa0c5d
UD
39106 * sysdeps/i386/sysdep.h: Define atom_text_section.
39107 * sysdeps/x86_64/sysdep.h: Likewise.
39108 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
39109 section with atom_text_section.
39110 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
39111 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
39112 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
39113 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39114 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
39115
a77d3c17
UD
39116 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
39117 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
39118 already be defined. Change to take two parameters and don't assign
39119 result to variable. Adjust all users.
39120 Define INTERNAL_GETTIME if not already defined.
39121 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
39122 call.
39123 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
39124 HAVE_CLOCK_GETTIME_VSYSCALL.
39125 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
39126
d53a73ac
UD
39127 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
39128 gettimeofday vsyscall, just use time.
39129
a8f84144
AS
391302011-09-06 Andreas Schwab <schwab@redhat.com>
39131
39132 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
39133 <errno.h>.
39134
ef606249
UD
391352011-09-06 Ulrich Drepper <drepper@gmail.com>
39136
39137 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
39138 syscall on x86-64.
39139 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
39140 syscall.
39141 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
39142 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
39143 syscall if possible.
39144
6585cb60
UD
391452011-09-05 Ulrich Drepper <drepper@gmail.com>
39146
39147 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
39148 e_ident. Don't pass to find_mapsXX.
39149 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
39150
a5f524e4
LD
391512011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39152
39153 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39154 strchr-sse2-no-bsf strrchr-sse2-no-bsf
39155 * sysdeps/x86_64/multiarch/strchr.S: Update.
39156 Check bit_slow_BSF bit.
39157 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
39158 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
39159 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
39160
554881ef
UD
391612011-09-05 Ulrich Drepper <drepper@gmail.com>
39162
d96de963
UD
39163 [BZ #13134]
39164 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
39165 before glibc 2.15.
39166 (tryshell): Define.
39167 (__spawni): Change last parameter to be flag. Test
39168 SPAWN_XFLAGS_USE_PATH flag to use path or not.
39169 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
39170 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
39171 * posix/spawni.c: Likewise.
39172 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
39173 * posix/spawnp.c: Likewise. Change normal version to use
39174 SPAWN_XFLAGS_USE_PATH.
39175 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
39176 SPAWN_XFLAGS_TRY_SHELL.
39177
d48e5868
UD
39178 [BZ #13150]
39179 * posix/glob.h: Remove gcc 1.x support.
39180
554881ef
UD
39181 [BZ #13068]
39182 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
39183
693fb948
LD
391842011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39185
39186 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39187 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
39188 strrchr-sse2-bsf
39189 * sysdeps/i386/i686/multiarch/strchr.S: New file.
39190 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
39191 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
39192 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
39193 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
39194 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
39195
1b48c537
UD
391962011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39197
49d42c37
UD
39198 * sysdeps/x86_64/wcscmp.S: New file.
39199
1b48c537
UD
39200 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
39201 wcscmp-c wcscmp-sse2
39202 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
39203 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
39204 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
39205 * wcsmbs/wcscmp.c: Allow renaming.
39206
15c95c5d
DM
392072011-09-05 David S. Miller <davem@davemloft.net>
39208
39209 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
39210 stack slot, rather than the struct return pointer slot.
39211 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
39212 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
39213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
39214 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
39215
2f0ad8f3
UD
392162011-09-05 Ulrich Drepper <drepper@gmail.com>
39217
d88ae418
UD
39218 * po/ja.po: Update from translation team.
39219
2f0ad8f3
UD
39220 [BZ #13144]
39221 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
39222 kernel in 64-bit binaries.
39223
5f4318d1
DM
392242011-09-01 David S. Miller <davem@davemloft.net>
39225
39226 * elf/elf.h (HWCAP_SPARC_*): Move to..
39227 * sysdeps/sparc/sysdep.h: this new file and add new values.
39228 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
39229 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
39230 _DL_HWCAP_COUNT to 24.
39231 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
39232 entries.
39233 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
39234 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
39235 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
39236 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
39237 instead of magic constants.
39238 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
39239
3ba57516
DM
392402011-08-31 David S. Miller <davem@davemloft.net>
39241
39242 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
39243 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
39244 Reimplement to do errno handling inline.
39245 (SYSCALL_ERROR_HANDLER): New macro.
39246 (__SYSCALL_STRING): Do not do errno handling in asm.
39247 (__CLONE_SYSCALL_STRING): Delete.
39248 (__INTERNAL_SYSCALL_STRING): Delete.
39249 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
39250 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
39251 (PSEUDO): Reimplement to do errno handling inline.
39252 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
39253 (SYSCALL_ERROR_HANDLER): New macro.
39254 (__SYSCALL_STRING): Do not do errno handling in asm.
39255 (__CLONE_SYSCALL_STRING): Delete.
39256 (__INTERNAL_SYSCALL_STRING): Delete.
39257 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
39258 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
39259 i386.
39260 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
39261 (inline_syscall*): Add 'err' argument.
39262 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
39263 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
39264 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
39265 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
39266
39267 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
39268 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
39269
2bc17433
AS
392702011-08-30 Andreas Schwab <schwab@redhat.com>
39271
39272 * elf/rtld.c (dl_main): Relocate objects in dependency order.
39273
fbeb5f4d
JO
392742011-08-29 Jiri Olsa <jolsa@redhat.com>
39275
39276 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
39277 directive.
39278
ad69cc26
DM
392792011-08-24 David S. Miller <davem@davemloft.net>
39280
39281 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
39282
39dd69df
AS
392832011-08-24 Andreas Schwab <schwab@redhat.com>
39284
39285 * elf/Makefile: Add rules to build and run unload8 test.
39286 * elf/unload8.c: New file.
39287 * elf/unload8mod1.c: New file.
39288 * elf/unload8mod1x.c: New file.
39289 * elf/unload8mod2.c: New file.
39290 * elf/unload8mod3.c: New file.
39291
39292 * elf/dl-close.c (_dl_close_worker): Reset private search list if
39293 it wasn't used.
39294
2c0b250a
DM
392952011-08-23 David S. Miller <davem@davemloft.net>
39296
39297 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
39298 subtract stack bias.
39299 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
39300 %sp not %fp in calculations.
39301 (_JMPBUF_UNWINDS_ADJ): Likewise.
39302
22044b48
DM
39303 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
39304 (aio_suspend): Call it to force an exception region around the
39305 AIO_MISC_WAIT() invocation.
39306
2cae4995
AS
393072011-08-23 Andreas Schwab <schwab@redhat.com>
39308
39309 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
39310 backslash.
39311
873a772e
AJ
393122011-07-04 Aurelien Jarno <aurelien@aurel32.net>
39313
39314 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
39315 protection macro.
39316 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
39317 and <dl-machine.h>.
39318 (Elf64_FuncDesc): Remove.
39319
25ad0df1
DM
393202011-08-22 David S. Miller <davem@davemloft.net>
39321
39322 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
39323 sigaltstack check, add missing cfi directives.
39324 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
39325 missing cfi directives, and sigaltstack handling.
39326
e888bcbe
AS
393272011-08-16 Andreas Schwab <schwab@redhat.com>
39328
39329 [BZ #11724]
39330 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
39331 object is seen twice.
39332 * elf/dl-fini.c (_dl_sort_fini): Likewise.
39333
39334 * elf/Makefile (distribute): Add tst-initorder2.c.
39335 (tests): Add tst-initorder2.
39336 (modules-names): Add tst-initorder2a tst-initorder2b
39337 tst-initorder2c tst-initorder2d. Add rules to build them.
39338 ($(objpfx)tst-initorder2.out): New rule.
39339 * elf/tst-initorder2.c: New file.
39340 * elf/tst-initorder2.exp: New file.
39341
87162f46
AS
393422011-08-22 Andreas Schwab <schwab@redhat.com>
39343
70538b7f
AS
39344 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
39345
f55ffe58
AS
39346 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
39347 dependencies back to end of function.
39348
87162f46
AS
39349 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
39350 $(elfobjdir)/ld.so.
39351
91b392a4
UD
393522011-08-21 Ulrich Drepper <drepper@gmail.com>
39353
39354 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
39355 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
39356 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
39357 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
39358 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
39359 of __vdso_gettimeofday.
39360 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
39361 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
39362 attribute_hidden.
39363 (_libc_vdso_platform_setup): Remove initialization of
39364 __vdso_gettimeofday and __vdso_time.
39365
5c43483f
UD
393662011-08-20 Ulrich Drepper <drepper@gmail.com>
39367
775a77e7
UD
39368 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
39369 and fgetc_unlocked.
39370 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
39371 getc_unlocked.
89f447ed 39372
49c74ba9
UD
39373 * elf/dl-open.c (add_to_global): Report additions to the global scope
39374 for LD_DEBUG=scopes.
39375 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 39376 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 39377
5c43483f
UD
39378 [BZ #13114]
39379 * stdio-common/Makefile (tests): Add bug24.
39380 * stdio-common/bug24.c: New file.
39381
a101b025
AJ
393822011-08-19 Andreas Jaeger <aj@suse.de>
39383
39384 [BZ #13114]
39385 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
39386 non-existant file when using close-on-exec mode.
39387
c88f1766
UD
393882011-08-20 Ulrich Drepper <drepper@gmail.com>
39389
0276a718
UD
39390 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
39391 the very first instruction.
39392
c88f1766
UD
39393 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
39394 the CFI state in the end.
39395 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
39396 inclusion of dl-trampoline.h.
39397 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
39398
51ccffa0
AS
393992011-08-19 Andreas Schwab <schwab@redhat.com>
39400
94d7165f
AS
39401 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
39402 expectations for long double.
39403
51ccffa0
AS
39404 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
39405 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
39406
fd708658 394072011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
39408
39409 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
39410 artificual limit depends upon the system page size.
39411
44f0a71e
UD
394122011-08-17 Ulrich Drepper <drepper@gmail.com>
39413
39414 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
39415 * resolv/Makefile: Define CFLAGS-libresolv.
39416
8de79a24
AS
394172011-08-17 Andreas Schwab <schwab@redhat.com>
39418
39419 * nss/makedb.c (compute_tables): Make variables used in nested
39420 function static.
39421
27724598
UD
394222011-08-17 Ulrich Drepper <drepper@gmail.com>
39423
c5305d88
UD
39424 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
39425 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
39426 if buffer was too small.
39427
27724598
UD
39428 * elf/pldd.c (main): Attach to all threads in the process.
39429 Rewrite /proc handling to use *at functions.
39430
076fe015
UD
394312011-08-16 Ulrich Drepper <drepper@gmail.com>
39432
174baab3
UD
39433 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
39434 specifies first scope to show.
39435 (dl_open_worker): Update callers. Move printing scope of new
39436 object to before the relocation.
44f0a71e 39437 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
39438 * sysdeps/generic/ldsodefs.h: Update declaration.
39439
076fe015
UD
39440 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
39441 string for the scope number.
39442
a60df2c3
UD
394432011-08-14 Ulrich Drepper <drepper@gmail.com>
39444
39445 * nscd/servicescache.c (cache_addserv): Make sure written is always
39446 initialized.
39447
5e4287d1
RM
394482011-08-14 Roland McGrath <roland@hack.frob.com>
39449
85ae0589
RM
39450 * sysdeps/i386/i486/bits/atomic.h
39451 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
39452 statement expression, so as to suppress "set but not used" warning.
39453 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
39454
69f63097
RM
39455 * string/strncat.c (STRNCAT): Use prototype definition.
39456
675456ef
RM
39457 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
39458 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
39459 -Iprograms here.
39460 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
39461 (localedef-modules): Add localedef.
39462 (locale-modules): Add locale.
39463
5e4287d1
RM
39464 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
39465 * elf/rtld.c (dl_main): Invert order of assignment in last change,
39466 to avoid a warning.
39467
9c96ff23
DM
394682011-08-14 David S. Miller <davem@davemloft.net>
39469
39470 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
39471 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
39472
f9ddf089
UD
394732011-08-13 Ulrich Drepper <drepper@gmail.com>
39474
44f0a71e 39475 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
39476 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
39477 * elf/rtld.c (dl_main): Set l_name of vDSO.
39478 Call _dl_show_scope when DL_DEBUG_SCOPES.
39479 (process_dl_debug): Recognize scopes flag and also set it for all.
39480 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
39481 Declare _dl_show_scope.
39482
1dc27704
UD
39483 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
39484 (do_dlopen): Pass caller_dlopen to dl_open.
39485 (__libc_dlopen_mode): Initialize caller_dlopen.
39486
f9ddf089
UD
39487 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
39488 of libc. Make tolower call locale-independent. Optimize a bit by
39489 using isdigit instead of isalnum.
39490 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
39491
9ac533d3
UD
394922011-08-12 Ulrich Drepper <drepper@gmail.com>
39493
39494 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
39495 was a dependency or dynamically loaded.
39496
89edf2e9
UD
394972011-08-11 Ulrich Drepper <drepper@gmail.com>
39498
8e999d29
UD
39499 * intl/l10nflist.c: Allow architecture-specific pop function.
39500 * sysdeps/x86_64/l10nflist.c: New file.
39501
89edf2e9
UD
39502 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
39503 classification.
39504
14d96785
AS
395052011-08-10 Andreas Schwab <schwab@redhat.com>
39506
39507 * include/dirent.h: Add libc_hidden_proto for scandirat and
39508 scandirat64. Don't declare __scandirat64.
39509 * dirent/scandirat.c: Add libc_hidden_def.
39510 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
39511 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
39512
6761ac04
DM
395132011-08-10 David S. Miller <davem@davemloft.net>
39514
39515 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
39516 enum.
39517 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39518 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39519 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39520
c55fbd1e
UD
395212011-08-09 Ulrich Drepper <drepper@gmail.com>
39522
39523 * Versions.def [libc]: Add GLIBC_2.15.
39524 * dirent/Makefile (routines): Add scandirat and scandirat64.
39525 * dirent/Versions [libc]: Export scandirat and scandirat64 for
39526 GLIBC_2.15.
39527 * dirent/dirent.h: Declare scandirat and scandirat64.
39528 * dirent/scandirat.c: New file.
39529 * dirent/scandirat64.c: New file.
39530 * sysdeps/wordsize-64/scandirat.c: New file.
39531 * sysdeps/wordsize-64/scandirat64.c: New file.
39532 * dirent/opendir.c: Define opendirat.
39533 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
39534 using scandirat.
39535 * dirent/scandir64.c: Adjust for scandir.c change.
39536 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
39537 __scandirat64, and __scandir_cancel_handler.
39538 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
39539 additional parameter and use openat instead of open (outside of ld.so).
39540 Add new __opendir as wrapper around __opendirat.
39541 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
39542 here without requiring old scandirat implementation.
39543
879165f2
UD
395442011-08-08 Ulrich Drepper <drepper@gmail.com>
39545
39546 * dirent/scandir.c (cancel_handler): Renamed to
39547 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
39548 defined. Adjust users.
39549 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
39550 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
39551
cb7e923b
UD
395522011-08-04 Ulrich Drepper <drepper@gmail.com>
39553
16292edd
UD
39554 * string/test-string.h (IMPL): Use __STRING to expand name and then
39555 stringify it.
39556
cb7e923b
UD
39557 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
39558 of cleanups.
39559
cff82933
LD
395602011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39561
39562 * string/Makefile: Update.
39563 (strop-tests): Append strncat.
39564 * string/test-wcscmp.c: New file.
39565 New comprehensive test for wcscmp.
39566 * string/test-strcmp.c: Update.
39567 (WIDE): New define.
39568
9be9bfcc
AS
395692011-07-22 Andreas Schwab <schwab@redhat.com>
39570
39571 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
39572 line.
39573
2e96f1c7
AS
395742011-07-26 Andreas Schwab <schwab@redhat.com>
39575
39576 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
39577 encoding to ACE if AI_IDN.
39578
85188888
JJ
395792011-08-01 Jakub Jelinek <jakub@redhat.com>
39580
39581 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
39582 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
39583
5fa16e9b
LD
395842011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39585
39586 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
39587 Fix overflow bug in strncat.
39588 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
39589
39590 * string/test-strncat.c: Update.
39591 Add new tests for checking overflow bugs.
39592
395932011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39594
39595 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39596 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
39597 * sysdeps/i386/i686/multiarch/strcat.S: New file.
39598 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
39599 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
39600 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
39601 * sysdeps/i386/i686/multiarch/strncat.S: New file.
39602 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
39603 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
39604
39605 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
39606 (USE_AS_STRCAT): Define.
39607 Add strcat and strncat support.
39608 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
39609
8c1a459f
AS
396102011-07-25 Andreas Schwab <schwab@redhat.com>
39611
39612 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
39613 __n bigger than INT_MAX+1.
39614 (__strncmp_g): Likewise.
39615
bba33c28
UD
396162011-07-23 Ulrich Drepper <drepper@gmail.com>
39617
798be72d
UD
39618 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
39619 * libio/stido.h: Likewise.
39620
8accd4dc
UD
39621 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
39622 (AF_NFC): Define.
39623 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
39624 (AF_NFC): Define.
39625
cbff0d96
UD
39626 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
39627 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
39628 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
39629 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
39630 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
39631
9191c04a
UD
39632 [BZ #13021]
39633 * scripts/test-installation.pl: Don't expect libnss_test1 to be
39634 installed.
39635
bba33c28
UD
39636 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
39637 typo.
39638 (_dl_x86_64_save_sse): Likewise.
39639
90f139dd
UD
396402011-07-22 Ulrich Drepper <drepper@gmail.com>
39641
1aae088a
UD
39642 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
39643 OSXSAVE.
39644 (_dl_x86_64_save_sse): Likewise.
39645
8e2045f5
UD
39646 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
39647
90f139dd
UD
39648 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
39649
1d002f25
AS
396502011-07-21 Andreas Schwab <schwab@redhat.com>
39651
39652 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
39653 change.
39654 (_dl_x86_64_save_sse): Use correct AVX check.
39655
21137f89
UD
396562011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
39657
39658 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
39659 bug in strncpy/strncat.
39660 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
39661
a65c0b7a
UD
396622011-07-21 Ulrich Drepper <drepper@gmail.com>
39663
39664 * string/tester.c (test_strcat): Add tests for different alignments
39665 of source and destination.
39666 (test_strncat): Likewise.
39667
6986b98a
UD
396682011-07-20 Ulrich Drepper <drepper@gmail.com>
39669
90bb2039
UD
39670 [BZ #12852]
39671 * posix/glob.c (glob): Check passed in values before using them in
39672 expressions to avoid some overflows.
39673 (glob_in_dir): Likewise.
39674
5644ef54
UD
39675 [BZ #13007]
39676 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
39677 check for AVX enablement so that we don't crash with old kernels and
39678 new hardware.
39679 * elf/tst-audit4.c: Add same checks here.
39680 * elf/tst-audit6.c: Likewise.
39681
39682 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 39683
bfc9dc9b
AS
396842011-07-09 Andreas Schwab <schwab@linux-m68k.org>
39685
39686 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
39687
702e64bb
UD
396882011-07-20 Ulrich Drepper <drepper@gmail.com>
39689
39690 * po/cs.po: Update from translation team.
39691 * po/bg.po: Likewise.
39692
295e904f
MP
396932011-07-12 Marek Polacek <mpolacek@redhat.com>
39694
39695 * misc/sys/cdefs.h: Add support for const attribute.
39696 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
39697 to gnu_dev_{major,minor,makedev} functions.
39698
3ff94596
MP
396992011-07-20 Marek Polacek <mpolacek@redhat.com>
39700
39701 * intl/dcigettext.c (get_output_charset): Add missing bracket.
39702
28b59fca
AS
397032011-07-20 Andreas Schwab <schwab@redhat.com>
39704
39705 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
39706 strlen results.
39707
19df733e
AK
397082011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
39709
39710 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
39711 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
39712 register in order to avoid conflicts with the soft frame pointer
39713 being held in r11 when necessary.
39714 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
39715 (INTERNAL_VSYSCALL_NCS): Likewise.
39716
c8835729
MP
397172011-07-14 Marek Polacek <mpolacek@redhat.com>
39718
39719 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
39720 * elf/dl-fini.c (_dl_fini): Adjust caller.
39721 * elf/dl-close.c (_dl_close_worker): Likewise.
39722 * sysdeps/generic/ldsodefs.h: Adjust declaration.
39723
b902330c
MP
397242011-07-15 Marek Polacek <mpolacek@redhat.com>
39725
8991e135
MP
39726 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
39727 "aux_cache->nlibs < 0".
39728
b902330c
MP
39729 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
39730 in the reload-count case.
39731
99710781
LD
397322011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
39733
39734 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39735 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
39736 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
39737 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
39738 * sysdeps/x86_64/multiarch/strcat.S: New file.
39739 * sysdeps/x86_64/multiarch/strncat.S: New file.
39740 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
39741 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
39742 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
39743 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
39744 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
39745 (USE_AS_STRCAT): Define.
39746 Add strcat and strncat support.
39747 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
39748 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
39749 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
39750 * string/strncat.c: Update.
39751 (USE_AS_STRNCAT): Define.
39752 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39753 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
39754 and i7.
39755 * sysdeps/x86_64/multiarch/init-arch.h
39756 (bit_Prefer_PMINUB_for_stringop): New.
39757 (index_Prefer_PMINUB_for_stringop): Likewise.
39758 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
39759 bit_Prefer_PMINUB_for_stringop.
39760
7dc6bd90
UD
397612011-07-19 Ulrich Drepper <drepper@gmail.com>
39762
39763 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
39764 buffer64.
39765 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
39766 of casting of buffer.
39767 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
39768 buffer32 and buffer64.
39769 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
39770 writes instead of casting of buffer.
39771 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
39772 buffer32.
39773 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
39774 casting of buffer.
39775
e0e72284
AS
397762011-07-19 Andreas Schwab <schwab@redhat.com>
39777
39778 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
39779
feb1eb0b
UD
397802011-07-19 Ulrich Drepper <drepper@gmail.com>
39781
39782 * nscd/nscd.c (termination_handler): Don't do anything for a database
39783 if it has not yet been initialized.
39784
298711ff
UD
397852011-07-18 Ulrich Drepper <drepper@gmail.com>
39786
39787 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39788
397892011-07-15 Marek Polacek <mpolacek@redhat.com>
39790
39791 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
39792
f9d68389
UD
397932011-07-18 Ulrich Drepper <drepper@gmail.com>
39794
39795 * po/nl.po: Update from translation team.
39796 * po/sv.po: Likewise.
39797
db290cf5
RM
397982011-07-16 Roland McGrath <roland@hack.frob.com>
39799
39800 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
39801 now disallowed by GCC.
5c550700 39802
fd5e21c7
RM
39803 * configure.in (use-default-link): Default to yes if a test -shared
39804 link meets our qualifications.
39805 * configure: Regenerated.
39806
5c550700
RM
39807 * config.make.in (output-format): New variable.
39808 * configure.in: Check for ld --print-output-format support.
39809 * configure: Regenerated.
39810 * Makerules ($(common-objpfx)format.lds)
39811 [$(output-format) != unknown]: Just use $(output-format),
39812 instead of the linker-script munging.
39813
9fa2c032
RM
398142011-07-14 Roland McGrath <roland@hack.frob.com>
39815
a6928d51
RM
39816 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
39817 of $(common-objpfx)shlib.lds.
39818 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
39819
661607b3
RM
39820 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
39821 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
39822
9fa2c032
RM
39823 * configure.in (-z relro check): Adjust test code to add a large
39824 writable data section after it.
39825 * configure: Regenerated.
39826
defe9061
RM
398272011-07-11 Roland McGrath <roland@hack.frob.com>
39828
39829 * configure.in (-z relro check): Fix test code to make the variable
39830 truly const.
39831 * configure: Regenerated.
39832
319b9ad4
UD
398332011-07-11 Ulrich Drepper <drepper@gmail.com>
39834
39835 * nscd/nscd.h (struct traced_file): Define.
39836 (struct database_dyn): Remove inotify_descr, reset_res, and filename
39837 elements. Add traced_files.
39838 (inotify_fd): Declare.
39839 (register_traced_file): Declare.
39840 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
39841 (inotify_fd): Export.
39842 (resolv_conf_descr): Remove.
39843 (nscd_init): Move inotify descriptor creation to main.
39844 Don't register files for notification here.
39845 (register_traced_file): New function.
39846 (invalidate_cache): Don't use reset_res to determine whether to call
39847 res_init, go through the list of registered files.
39848 (main_loop_poll): The inotify descriptors are now stored in the
39849 structures for the traced files.
39850 (main_loop_epoll): Likewise
39851 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
39852 to __nss_disable_nscd.
39853 * nscd/cache.c (prune_cache): There is no single inotify descriptor
39854 for a database anymore. Check the records for all the registered
39855 files instead.
39856 * nss/Makefile (libnss_files-routines): Add files-init.
39857 (libnss_db-routines): Add db-init.
39858 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
39859 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
39860 * nss/nss_db/db-init.c: New file.
39861 * nss/nss_files/files-init.c: New file.
39862 * nss/nsswitch.c (nss_load_library): New function. Broken out of
39863 __nss_lookup_function.
39864 (__nss_lookup_function): Call nss_load_library.
39865 (nss_load_all_libraries): New function.
39866 (__nss_disable_nscd): Take parameter with callback function for files
39867 to register. Set is_nscd. Load all the DSOs for the NSS modules
39868 used for the cached services.
39869 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
39870 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
39871 options for features to all the files in nscd.
39872
39873 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
39874
23bee3e8
RM
398752011-07-10 Roland McGrath <roland@hack.frob.com>
39876
39877 * csu/elf-init.c (__libc_csu_init): Comment typo.
39878
46a5b7f0
UD
398792011-07-09 Ulrich Drepper <drepper@gmail.com>
39880
39881 * po/pl.po: Update from translation team.
39882 * po/ja.po: Likewise.
39883 * po/ru.po: Likewise.
39884 * po/ko.po: Likewise.
39885 * po/fr.po: Likewise.
39886
d30cf5bb
RM
398872011-07-09 Roland McGrath <roland@hack.frob.com>
39888
113ddea4
RM
39889 * configure.in (.ctors/.dtors header and trailer check):
39890 Use an empirical test on a built program.
39891 * configure: Regenerated.
39892
574920b4
RM
39893 * configure.in (-z relro check): Use an empirical test on a built DSO.
39894 Detect, but do not require, on ia64.
39895 * configure: Regenerated.
39896
d30cf5bb
RM
39897 * configure.in (READELF): Find it with AC_CHECK_TOOL.
39898 Update tests that use readelf to use $READELF instead.
39899 * configure: Regenerated.
39900
8538fdb3
UD
399012011-07-08 Ulrich Drepper <drepper@gmail.com>
39902
39903 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
39904 if the result is not used.
39905
04d08991
AJ
399062011-07-05 Andreas Jaeger <aj@suse.de>
39907
39908 [BZ#9696]
39909 * stdlib/tst-strtod.c: Add testcase.
39910
de283087
AD
399112011-07-07 Ulrich Drepper <drepper@gmail.com>
39912
4e5f31c8 39913 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 39914 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
39915 The latter has a higher limit. Take additional parameter to pass to
39916 the new function.
39917 (__pathconf): Pass file to __statfs_link_max.
39918 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
39919 __statfs_link_max.
39920 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
39921 __statfs_link_max.
39922
de283087
AD
39923 [BZ #12868]
39924 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
39925 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
39926 Handle Lustre.
39927 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
39928 (__statfs_filesize_max): Likewise.
39929 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
39930
c75fa153
AJ
399312011-07-05 Andreas Jaeger <aj@suse.de>
39932
39933 * resolv/res_comp.c (dn_skipname): Remove unused variable.
39934
1a544854
UD
399352011-07-06 Marek Polacek <mpolacek@redhat.com>
39936
39937 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
39938 `status' variable.
39939 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
39940 Likewise.
39941
6f0eec67
UD
399422011-07-04 H.J. Lu <hongjiu.lu@intel.com>
39943
39944 * Makefile (strop-tests): Add strncat.
39945 * string/test-strncat.c: New file.
39946
aae30307
UD
399472011-06-30 Marek Polacek <mpolacek@redhat.com>
39948
39949 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
39950
c0cfb5eb
UD
399512011-06-21 Andreas Jaeger <aj@suse.de>
39952
39953 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
39954 Copy rule from iconvdata/Makefile.
39955
01636b21
UD
399562011-07-06 Ulrich Drepper <drepper@gmail.com>
39957
39958 [BZ #12922]
39959 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
39960 but no long options are defined, just return 'W'.
39961
9895c8bc
UD
399622011-06-22 Marek Polacek <mpolacek@redhat.com>
39963
39964 [BZ #9696]
39965 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
39966
5d4cf042
UD
399672011-07-06 Ulrich Drepper <drepper@gmail.com>
39968
39969 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
39970 netgroups to read.
960e5535 39971 (innetgr): Likewise.
5d4cf042 39972
751eb97e
RM
399732011-07-05 Roland McGrath <roland@hack.frob.com>
39974
39975 * config.make.in (install_root): Default to $(DESTDIR).
39976
f15f1e45
UD
399772011-07-05 Ulrich Drepper <drepper@gmail.com>
39978
39979 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
39980
4e34ac6a
RM
399812011-07-02 Roland McGrath <roland@hack.frob.com>
39982
5e9b6af4
RM
39983 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
39984
84f9ea0f
RM
39985 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
39986 containing directory rather than embedding absolute directory names.
39987
ea5ee9f7
RM
39988 * scripts/check-local-headers.sh: Rewritten using awk.
39989 Match by word, not by line. Print error messages for matches.
39990 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
39991
1b74661a
RM
39992 * Makerules [shlib-lds-flags empty]:
39993 ($(common-objpfx)libc_pic.opts): New target.
39994 ($(common-objpfx)libc_pic.os.clean): New target.
39995 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
39996
39997 * config.make.in (OBJCOPY): New variable.
39998 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
39999 * configure: Regenerated.
40000
f781ef40
RM
40001 * config.make.in (use-default-link): New variable.
40002 * configure.in (use_default_link): Grok --with-default-link to set it.
40003 * configure: Regenerated.
40004 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
40005 (shlib-lds, shlib-lds-flags): Define to empty.
40006
2d4fa81e
RM
40007 * Makerules (shlib-lds): New variable.
40008 (shlib-lds-flags): New variable.
40009 (build-shlib, build-moduile, build-module-asneeded): Use it.
40010 ($(common-objpfx)libc.so): Use $(shlib-lds).
40011 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
40012 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
40013
31fffa6b
RM
40014 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
40015 DT_FLAGS/DT_FLAGS_1 with zero flags.
40016
4e34ac6a
RM
40017 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
40018 linker script munging.
40019
fcfc776b
UD
400202011-07-02 Ulrich Drepper <drepper@gmail.com>
40021
40022 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
40023 as 128-bit value.
40024 * crypt/sha512.c (sha512_process_block): Perform total addition using
40025 128-bit if possible.
40026 (__sha512_finish_ctx): Likewise.
40027 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
40028 as 64-bit value.
40029 * crypt/sha256.c (SWAP64): Define.
40030 (sha256_process_block): Perform total addition using 64-bit if
40031 possible.
40032 (__sha256_finish_ctx): Likewise.
40033
99231d9a
UD
400342011-07-01 Ulrich Drepper <drepper@gmail.com>
40035
40036 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
40037 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40038 * nscd/hstcache.c (cache_addhst): Likewise.
40039 * nscd/grpcache.c (cache_addgr): Likewise.
40040 * nscd/aicache.c (addhstaiX): Likewise
40041 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
40042
445b4a53
TK
400432011-07-01 Thorsten Kukuk <kukuk@suse.de>
40044
40045 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
40046 * nscd/initgrcache.c (addinitgroupsX): Likewise.
40047 * nscd/hstcache.c (cache_addhst): Likewise.
40048 * nscd/grpcache.c (cache_addgr): Likewise.
40049 * nscd/aicache.c (addhstaiX): Likewise
40050
6d4d8e8e
AS
400512011-07-01 Andreas Schwab <schwab@redhat.com>
40052
40053 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
40054 domain only when needed.
40055
89f654c5
AS
400562011-06-30 Andreas Schwab <schwab@redhat.com>
40057
40058 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
40059 is always restored.
40060
cf3b23ff
UD
400612011-06-29 Ulrich Drepper <drepper@gmail.com>
40062
40063 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
40064 are re-adding the entry.
40065 * nscd/servicescache.c (cache_addserv): Likewise.
40066
751626f9
AJ
400672011-06-30 Aurelien Jarno <aurelien@aurel32.net>
40068
40069 * sysdeps/generic/dl-irel.h: fix protection against multiple
40070 inclusions.
40071 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
40072
9113ea1f
UD
400732011-06-28 Ulrich Drepper <drepper@gmail.com>
40074
5c0b8d90
UD
40075 [BZ #12935]
40076 * malloc/memusage.sh: Fix quoting in message.
40077 * debug/xtrace.sh: Likewise.
40078
9113ea1f
UD
40079 * configure.in: Remove support for --experimental-malloc option, make
40080 it the default.
40081 * config.make.in: Likewise.
40082 * malloc/Makefile: Likewise.
40083
a4172181
AS
400842011-06-27 Andreas Schwab <schwab@redhat.com>
40085
40086 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
40087 two-byte characters.
40088
78a7eee7
RM
400892011-06-27 Roland McGrath <roland@hack.frob.com>
40090
62bede13
RM
40091 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
40092 AC_CACHE_CHECK invocation.
40093 * configure: Regenerated.
40094
78a7eee7
RM
40095 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
40096
5ce33a62
UD
400972011-06-27 Ulrich Drepper <drepper@gmail.com>
40098
034807a9
UD
40099 [BZ #12350]
40100 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
40101 bit from old_res_options.
40102
4902da17
UD
40103 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
40104
5ce33a62
UD
40105 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
40106 value type for setfct.
40107
c2344f56
L
401082011-06-23 H.J. Lu <hongjiu.lu@intel.com>
40109
40110 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40111 __gettimeofday instead of gettimeofday.
40112
68468076
UD
401132011-06-26 Ulrich Drepper <drepper@gmail.com>
40114
40115 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
40116
acb0d739
L
401172011-06-24 H.J. Lu <hongjiu.lu@intel.com>
40118
40119 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
40120
40121 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
40122 info.
40123
8912479f
L
401242011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40125
40126 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40127 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40128 strcpy-sse2-unaligned strncpy-sse2-unaligned
40129 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
40130 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
40131 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
40132 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
40133 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
40134 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
40135 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
40136 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
40137 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
40138 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
40139 (STRCPY): Support SSE2 and SSSE3 versions.
40140
d5495a11
UD
401412011-06-24 Ulrich Drepper <drepper@gmail.com>
40142
40143 [BZ #12874]
40144 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
40145 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
40146 kernels which artificially limit size of requests.
40147
0b1cbaae
L
401482011-06-22 H.J. Lu <hongjiu.lu@intel.com>
40149
40150 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40151 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
40152 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
40153 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
40154 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
40155 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
40156 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
40157 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
40158 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
40159 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
40160 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
40161 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
40162 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
40163 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
40164 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
40165 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40166 Enable unaligned load optimization for Intel Core i3, i5 and i7
40167 processors.
40168 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
40169 Define.
40170 (index_Fast_Unaligned_Load): Define.
40171 (HAS_FAST_UNALIGNED_LOAD): Define.
40172
07f494a0
MP
401732011-06-23 Marek Polacek <mpolacek@redhat.com>
40174
40175 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
40176
fa3fc0fe
UD
401772011-06-22 Ulrich Drepper <drepper@gmail.com>
40178
40179 [BZ #12907]
40180 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
40181 until it is clear that the information is realy needed.
40182 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
40183
e12df166
AS
401842011-06-22 Andreas Schwab <schwab@redhat.com>
40185
40186 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
40187
852eb34d
UD
401882011-06-22 Ulrich Drepper <drepper@gmail.com>
40189
84e2a551
UD
40190 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
40191 /sys/devices/system/cpu/online if it is usable.
40192
852eb34d
UD
40193 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
40194 reading the information from the /proc filesystem to once a second.
40195
6e502e19
UD
401962011-06-21 Andreas Jaeger <aj@suse.de>
40197
40198 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
40199 NULL after inclusion of kernel headers.
40200
75d39ff2
UD
402012011-06-21 Ulrich Drepper <drepper@gmail.com>
40202
51f9aa6a
UD
40203 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
40204 calls to internal_setent.
40205
c0244a9d
UD
40206 [BZ #12885]
40207 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
40208 addresses using gethostbyname4_r ignore IPv4 addresses.
40209
c5e3c2ae
UD
40210 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
40211 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
40212
75d39ff2
UD
40213 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
40214
42675c6f
DM
402152011-06-20 David S. Miller <davem@davemloft.net>
40216
40217 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
40218 inclusions.
40219 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
40220
40221 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
40222 (elf_irel): Use it.
40223 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
40224 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
40225 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
40226 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
40227 * sysdeps/x86_64/dl-irel.h: Likewise.
40228
40229 * elf/dl-runtime.c: Use elf_ifunc_invoke.
40230 * elf/dl-sym.c: Likewise.
40231
57912a71
UD
402322011-06-15 Ulrich Drepper <drepper@gmail.com>
40233
40234 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
40235 need to dereference resplen2.
40236
ee22793d
AS
402372011-06-14 Andreas Schwab <schwab@redhat.com>
40238
40239 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
40240
a9e836b0
UD
402412011-06-15 Ulrich Drepper <drepper@gmail.com>
40242
77fb9117
UD
40243 * Makeconfig: Define vardbdir and inst_vardbdir.
40244 * nss/Makefile: Add rules to install db-Makefile.
40245
40c1b22c
UD
40246 * nss/nss_db/db-XXX.c: Cleanup.
40247
9f2da732
UD
40248 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
40249 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
40250 GLIBC_PRIVATE.
40251 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
40252 * nss/makedb.c: Implement -g option to specify that value strings
40253 are generated and should not be added to table iterated over for
40254 get*ent calls.
40255 * nss/nss_db/db-initgroups.c: New file.
40256
82e9a1f7
UD
40257 * nss/getent.c: Add support for initgroups lookups through getgrouplist
40258 interface.
40259
c41af17e
UD
40260 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
40261 (internal_getgrouplist): Adjust to name change.
40262 Update use_initgroups_entry if this is not the first call.
40263 * nss/databases.def: Add initgroups entry.
40264
a9e836b0
UD
40265 * nss/makedb.c (compute_tables): Check result of multiple hash table
40266 sizes to minimize maximum chain length.
40267
2666d441
UD
402682011-06-14 Ulrich Drepper <drepper@gmail.com>
40269
40270 * Versions.def: Add entry for libnss_db.
40271 * shlib-versions: Likewise.
40272 * nss/Makefile: Add rules to build libnss_db.
40273 * nss/Versions: Add libnss_db information. Organize libnss_files
40274 entries better.
40275 * nss/db-Makefile: Add gshadow support. Change rules for the new
40276 makedb progra. Some minor improvements to generate smaller files.
40277 * nss/nss_db/nss_db.h: Move NSS database header data structures to
40278 here from...
40279 * nss/makedb.c: ...here.
40280 Improve database format to be smaller and require less memory at
40281 runtime.
40282 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
40283 db anymore.
40284 * nss/nss_db/db-netgrp.c: Likewise.
40285 * nss/nss_db/db-open.c: Likewise.
40286 * nss/nss_files/flies-XXX.x: Adjust comments.
40287 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
40288 * nss/nss_files/files-grp.c: Likewise.
40289 * nss/nss_files/files-hosts.c: Likewise.
40290 * nss/nss_files/files-network.c: Likewise.
40291 * nss/nss_files/files-proto.c: Likewise.
40292 * nss/nss_files/files-pwd.c: Likewise.
40293 * nss/nss_files/files-rpc.c: Likewise.
40294 * nss/nss_files/files-service.c: Likewise.
40295 * nss/nss_files/files-sgrp.c: Likewise.
40296 * nss/nss_files/files-spwd.c: Likewise.
40297 * nss/nss_db/db-alias.c: Removed.
40298 * nss/nss_db/dummy-db.h: Removed.
40299
9ee76b5a
UD
403002011-06-02 Ulrich Drepper <drepper@gmail.com>
40301
40302 * nss/makedb.c: Rewritten to not use database library.
40303 * nss/Makefile: Update to build new makedb program.
40304
c71ca1f8
AJ
403052011-06-14 Andreas Jaeger <aj@suse.de>
40306
40307 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
40308 memset declaration.
40309
3154bfb8
UD
403102011-06-10 Andreas Schwab <schwab@redhat.com>
40311
40312 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
40313 tmpbuf.
40314
b350afab
RM
403152011-06-10 Roland McGrath <roland@hack.frob.com>
40316
decd4e50
RM
40317 * Makerules (shlib.lds): Fail if the linker script comes out empty.
40318 * elf/Makefile ($(objpfx)ld.so): Likewise.
40319
5615eaf2
RM
40320 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
40321 Don't list ld.so twice in dependencies.
40322
40323 * posix/bug-regex31.c: Include <stdlib.h>.
40324
40325 * nscd/hstcache.c (cache_addhst): Remove unused variable.
40326
40327 * nis/nss_compat/compat-spwd.c
40328 (getspent_next_nss_netgr): Remove unused variable.
40329 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
40330
40331 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
40332 nonmembers" output to use the right array.
40333
40334 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
40335
40336 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
40337
40338 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
40339 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
40340 * catgets/gencat.c (read_input_file): Likewise.
40341 * locale/programs/locarchive.c (enlarge_archive): Likewise.
40342
40343 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
40344 variable definition inside #if's controlling its use.
40345
40346 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
40347
40348 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
40349
40350 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
40351
40352 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
40353 unreachable code.
40354
40355 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
40356
b68e08db
RM
40357 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
40358 * configure: Regenerated.
40359
b350afab
RM
40360 * Makerules: Revert last change.
40361 * elf/Makefile: Likewise.
40362
28368601
RM
403632011-06-09 Roland McGrath <roland@hack.frob.com>
40364
40365 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
40366 * elf/Makefile ($(objpfx)librtld.os): Likewise.
40367 (reloc-link): Likewise.
40368
11988f8f
UD
403692011-06-09 Ulrich Drepper <drepper@gmail.com>
40370
40371 * elf/Makefile: Add rules to build pldd.
40372 * elf/pldd.c: New file.
40373 * elf/pldd-xx.c: New file.
40374
e80fab37
UD
403752011-06-07 Ulrich Drepper <drepper@gmail.com>
40376
40377 * version.h: Update for 2.15 development version.
40378
9b849836
DM
403792011-06-07 David S. Miller <davem@davemloft.net>
40380
40381 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
40382 ifuncs.
40383 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
40384 elf_machine_lazy_rel): Likewise.
40385 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40386 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
40387 elf_machine_lazy_rel): Likewise.
40388 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
40389 dl_hwcap via passed in argument.
40390 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
40391 Likewise.
40392
5a31b283
AK
403932011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
40394
40395 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
40396
069e52f8
RM
403972011-06-06 Roland McGrath <roland@hack.frob.com>
40398
40399 [BZ #12849]
40400 * manual/fdl-1.1.texi: New file, verbatim from:
40401 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
40402 * manual/lgpl-2.1.texi: New file, verbatim from:
40403 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
40404 * manual/Makefile (licenses): New variable, list those new file names.
40405 (texis): Use it.
40406 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
40407
40408 * manual/fdl.texi: File removed.
40409 * manual/lesser.texi: File removed.
40410 * manual/libc.texinfo (Copying, Documentation License):
40411 Use new @include file names, put @appendix directive before @include.
40412
f16846a5
JJ
404132011-06-04 Jakub Jelinek <jakub@redhat.com>
40414
40415 [BZ #12841]
40416 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
40417 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
40418 (mq_open): Add __NTH.
40419
3d29045b
L
404202011-06-02 H.J. Lu <hongjiu.lu@intel.com>
40421
40422 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40423 Assume Intel Core i3/i5/i7 processor if AVX is available.
40424
8c297311
UD
404252011-05-31 Ulrich Drepper <drepper@gmail.com>
40426
40427 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
40428 typo.
40429
c8fc0c91
UD
404302011-05-31 Andreas Schwab <schwab@redhat.com>
40431
40432 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
40433 memory. Use alloca_account. Fix memory leak when retrying.
40434
5b27a807
UD
404352011-05-31 Ulrich Drepper <drepper@gmail.com>
40436
356f8bc6
UD
40437 * version.h (RELEASE): Bump for 2.14 release.
40438 * include/features.h (__GLIBC_MINOR__): Bump to 14.
40439
5b27a807
UD
40440 * config.make.in (RANLIB): Remove entry.
40441
01f16ab0
UD
404422011-05-30 Ulrich Drepper <drepper@gmail.com>
40443
41fce8bd
UD
40444 * po/Makefile (po-sed-cmd): Add ksh to extensions.
40445 (libc.pot): Work around missing support for .ksh extension in xgettext.
40446
4769ae77
UD
40447 [BZ #12684]
40448 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
40449 if both request failed.
40450 (send_dg): In case of server errors clear resplen or *resplen2.
40451
6b1e7d19
UD
40452 [BZ #12454]
40453 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
40454 when there are multiple maps.
40455 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
40456 (_dl_fini): Remove test here.
40457
01f16ab0
UD
40458 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
40459
b1ebd700
UD
404602011-05-29 Ulrich Drepper <drepper@gmail.com>
40461
7ae22829
UD
40462 [BZ #12350]
40463 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
40464 bit from old_res_options.
40465 (gaih_inet): Likewise.
40466
553149f6 40467 [BZ #11099]
18a84741 40468 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
40469 as signed.
40470
652ffab1
UD
40471 * resolv/res_init.c (res_setoptions): Make the code more compact.
40472
16985fd0
UD
40473 [BZ #11558]
40474 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
40475 set RES_USEVC.
40476
0464f746
UD
40477 [BZ #11634]
40478 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
40479
7d17596c
UD
40480 * malloc/malloc.h: Mark malloc hook variables as deprecated.
40481
cf6bbbd7
UD
40482 [BZ #11781]
40483 * malloc/malloc.h: Declare malloc hook variables as volatile.
40484
13f1ab36
UD
40485 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
40486 in last patch.
40487
b1ebd700
UD
40488 [BZ #11799]
40489 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 40490 raise in the comment.
80e2212d
UD
40491 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
40492 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
40493 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 40494
ce67228d
UD
404952011-05-28 Ulrich Drepper <drepper@gmail.com>
40496
8887a920
UD
40497 [BZ #12811]
40498 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
40499 grow the buffers more if it already has to be sufficient.
40500 (build_wcs_upper_buffer): Likewise.
40501 * posix/regexec.c (check_matching): Likewise.
40502 (clean_state_log_if_needed): Likewise.
40503 (extend_buffers): Don't enlarge buffers beyond size of the input
40504 buffer.
40505 Patches mostly by Emil Wojak <emil@wojak.eu>.
40506 * posix/bug-regex32.c: New file.
40507 * posix/Makefile (tests): Add bug-regex32.
40508
4f031072
UD
40509 * locale/findlocale.c (_nl_find_locale): Return right away if
40510 _nl_explode_name failed.
40511 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
40512
d0478f0c
UD
40513 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
40514
de81b246
UD
40515 * debug/xtrace.sh: Unify messages.
40516 * malloc/memusage.sh: Likewise.
40517
c738465a
UD
40518 [BZ #12813]
40519 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
40520 time symbol from vDSO. Substitute with vsyscall if not available.
40521 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
40522 __vdso_time.
40523
f1f929d7
UD
40524 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
40525 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
40526 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
40527 Add sendmmsg and internal_sendmmsg.
40528 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
40529 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
40530 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
40531
ce67228d
UD
40532 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
40533 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
40534 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
40535
e57420c6
UD
405362011-05-27 Ulrich Drepper <drepper@gmail.com>
40537
a8509ca5
UD
40538 [BZ #12813]
40539 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
40540 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
40541 available.
40542 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
40543 __vdso_getcpu.
40544
e57420c6
UD
40545 [BZ #12814]
40546 * iconvdata/Makefile (tests): Add bug-iconv9.
40547 * iconvdata/bug-iconv9.c: New file.
40548
4d07db15
AS
405492011-05-27 Andreas Schwab <schwab@redhat.com>
40550
40551 [BZ #12814]
40552 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
40553
ea486f69
JJ
405542011-05-25 Jakub Jelinek <jakub@redhat.com>
40555
40556 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40557 (struct user_regs_struct): Change intcs field back to cs.
40558
6f038433
UD
405592011-05-25 Ulrich Drepper <drepper@gmail.com>
40560
40561 * po/ja.po: Update from translation team.
40562
67f86a25
UD
405632011-05-23 Ulrich Drepper <drepper@gmail.com>
40564
40565 [BZ #12795]
40566 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
40567 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
40568
def7fbd6
AS
405692011-05-20 Andreas Schwab <schwab@redhat.com>
40570
40571 * stdlib/longlong.h: Update from GCC.
40572
f50ef8f1
AS
405732011-05-23 Andreas Schwab <schwab@redhat.com>
40574
40575 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
40576 parameter name.
40577 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
40578 Add parameter name.
40579 (__sysconf): Pass it down.
40580
de7ce8f1
UD
405812011-05-22 Ulrich Drepper <drepper@gmail.com>
40582
f2962a71
UD
40583 [BZ #12671]
40584 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
40585 some situations.
40586 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40587 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
40588 add in in __libc_use_alloca calls. Adjust callers.
40589 (glob): Use malloc in some situations.
40590
de7ce8f1
UD
40591 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
40592 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
40593 pltexit.
40594
aec84f53
UD
405952011-05-21 Ulrich Drepper <drepper@gmail.com>
40596
05bb4a68
UD
40597 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
40598 and CLOCK_BOOTTIME_ALARM.
40599
7ea72f99
UD
40600 [BZ #12782]
40601 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
40602 is returned.
40603
7e4afad5
UD
40604 * string/_strerror.c (__strerror_r): Print negative errors as signed
40605 numbers.
40606
8e211fec
UD
40607 [BZ #12777]
40608 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
40609 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
40610 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
40611
f7d82dc9
UD
40612 * configure.in: Fix typo in redirection and correct removal of test
40613 files in two cases.
40614
cc9e536d
UD
40615 [BZ #12788]
40616 * locale/setlocale.c (new_composite_name): Fix test to check for
40617 identical name of all categories.
40618
aec84f53
UD
40619 [BZ #12792]
40620 * libio/filedoalloc.c (local_isatty): New function.
40621 (_IO_file_doallocate): Use local_isatty.
40622 * stdio-common/perror.c (perror): In case a new stream is used
40623 forward the stream error.
40624 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
40625 error flag.
40626
78e64fdc
RT
406272011-05-20 Ulrich Drepper <drepper@gmail.com>
40628
34a9094f
UD
40629 [BZ #11869]
40630 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
40631 alloca.
40632 * include/alloca.h (extend_alloca_account): Define.
40633
78e64fdc
RT
40634 [BZ #11857]
40635 * posix/regex.h: Fix comments with documentation of user-accessible
40636 fields after compilation and describe correct free'ing of pattern
40637 after re_compile_pattern.
40638 Patch by Reuben Thomas <rrt@sc3d.org>.
40639
457bddfc
RA
406402011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
40641
40642 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
40643 and -mno-altivec to prevent the compiler from using Altivec and/or
40644 VSX instructions when the corresponding registers are not available.
40645
a4527b51
AS
406462011-05-19 Andreas Schwab <schwab@redhat.com>
40647
40648 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
40649
ed690b2f
UD
406502011-05-19 Ulrich Drepper <drepper@gmail.com>
40651
40652 * libio/freopen.c (freopen): Use __dup2, not dup2.
40653 * libio/freopen64.c (freopen64): Likewise.
40654
8db73634
L
406552011-05-17 H.J. Lu <hongjiu.lu@intel.com>
40656
40657 [BZ #12775]
40658 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
40659 * math/Makefile (tests): Add test-powl.
40660 (CFLAGS-test-powl.c): Define.
40661 * math/test-powl.c: New file.
40662
0a197a9d
L
406632011-05-16 H.J. Lu <hongjiu.lu@intel.com>
40664
40665 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
40666
ee30c380
UD
406672011-05-17 Ulrich Drepper <drepper@gmail.com>
40668
40669 [BZ #11837]
40670 * iconvdata/gb18030.c: Update to GB18020-2005.
40671
6ce75379
UD
406722011-05-16 Ulrich Drepper <drepper@gmail.com>
40673
a4b89fd8
AR
40674 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
40675 RE_SYNTAX_POSIX_AWK): Update to match recent development.
40676 Patch by Aharon Robbins <arnold@skeeve.com>.
40677
ea389b12
UD
40678 [BZ #11892]
40679 * stdlib/putenv.c (putenv): Don't always create copy of the variable
40680 on the stack.
40681
68a3f91f
UD
40682 [BZ #11895]
40683 * misc/pselect.c (__pselect): Handle timeout value errors hidden
40684 through underflows.
40685
15cc7dd1
UD
40686 [BZ #12766]
40687 * misc/error.c (error_at_line): Ensure file_name and old_file_name
40688 point to strings before performing equality test for error_one_per_line
40689 mode.
40690
f3799213
UD
40691 [BZ #11697]
40692 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
40693
d79a9c94
UD
40694 [BZ #11820]
40695 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
40696 (struct user_fpregs_struct): Avoid __uint*_t types.
40697
56e5eb46
UD
40698 [BZ #6420]
40699 * malloc/mtrace.c (tr_where): Add additional parameter to point to
40700 symbol info. Use it instead of calling _dl_addr locally.
40701 (lock_and_info): New function.
40702 (tr_freehook): Call lock_and_info and pass symbol info as additional
40703 parameter to tr_where.
40704 (tr_mallochook): Likewise.
40705 (tr_reallochook): Likewise.
40706 (tr_memalignhook): Likewise.
40707
6ce75379
UD
40708 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
40709 used and couldn't be at all thread-safe.
40710
f8a3b5bf
UD
407112011-05-15 Ulrich Drepper <drepper@gmail.com>
40712
94b7cc37
UD
40713 * libio/freopen.c (freopen): Don't close old file descriptor
40714 before the new one is opened. Instead dup the new file descriptor
40715 to the old one after the new stream is created.
40716 * libio/freopen64.c (freopen64): Likewise.
40717 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
40718 * libio/fileops.c (_IO_new_file_close_it): Handle new
40719 _IO_FLAGS2_NOCLOSE flag.
40720 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
40721 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
40722 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
40723 _IO_FLAGS2_NOCLOSE flag.
40724 * include/unistd.h: Add hidden_proto for dup3.
40725 Define __have_dup3.
40726 * io/dup3.c: Define hidden symbol.
40727 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
40728
bd25564e
UD
40729 [BZ #7101]
40730 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
40731 when an incomplete long option is used.
40732 * posix/tst-getopt_long1.c: New file.
40733 * posix/Makefile (tests): Add tst-getopt_long1.
40734
c84cfef4
UD
40735 [BZ #10138]
40736 * scripts/config.guess: Update from autoconf-2.68.
40737 * scripts/config.sub: Likewise.
40738
3b85df27
UD
40739 [BZ #10157]
40740 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
40741 tests into ...
40742 (has_cpuclock): ...this. New function.
40743 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
40744 macro here based on has_cpuclock code.
40745
15a856b1
UD
40746 [BZ #10149]
40747 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40748 First byte (not low byte) is now always NUL.
40749 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
40750
05f399e6
UD
40751 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40752 Use non-cancelable interfaces.
40753
10a52685 40754 [BZ #9809]
94ecc67d
UD
40755 * locale/iso-639.def: Add entry for Sorani.
40756
f8a3b5bf
UD
40757 [BZ #11901]
40758 * include/stdlib.h: Move include protection to the right place.
40759 Define abort_msg_s. Declare __abort_msg with it.
40760 * stdlib/abort.c (__abort_msg): Adjust type.
40761 * assert/assert.c (__assert_fail_base): New function. Majority
40762 of code from __assert_fail. Allocate memory for __abort_msg with
40763 mmap.
40764 (__assert_fail): Now call __assert_fail_base.
40765 * assert/assert-perr.c: Remove bulk of implementation. Use
40766 __assert_fail_base.
40767 * include/assert.hL Declare __assert_fail_base.
40768 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
40769 mmap.
40770 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
40771
1af4e298
UD
407722011-05-14 Ulrich Drepper <drepper@gmail.com>
40773
f8a3b5bf 40774 [BZ #11952]
d26dfc60
MG
40775 [BZ #12453]
40776 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
40777 until all modules are registered in the DTV.
40778 * elf/Makefile: Add rules to build and run tst-tls19.
40779 * elf/tst-tls19.c: New file.
40780 * elf/tst-tls19mod1.c: New file.
40781 * elf/tst-tls19mod2.c: New file.
40782 * elf/tst-tls19mod3.c: New file.
40783 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
40784
2fc54d6f
UD
40785 [BZ #12083]
40786 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
40787 correctly.
40788
98d76b46
UD
40789 [BZ #12601]
40790 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
40791 two-byte sequence errors.
40792 * iconvdata/Makefile (tests): Add bug-iconv8.
40793 * iconvdata/bug-iconv8.c: New file.
40794
da3c19ef
UD
40795 [BZ #12626]
40796 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
40797 buf2 definition.
40798
ca408c15
UD
40799 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
40800
d6f67f7d
UD
40801 [BZ #12432]
40802 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
40803 (dummy_getcfa): New function.
40804 (init): Get _Unwind_GetCFA address, use dummy if not found.
40805 (backtrace_helper): In recursion check, also check whether CFA changes.
40806 (__backtrace): Completely initialize arg.
40807
1af4e298 40808 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
40809 storing incomplete byte sequence in state object. Avoid testing for
40810 guaranteed too small input if we know there is enough data available.
1af4e298 40811
da62f81b
AS
408122011-05-11 Andreas Schwab <schwab@redhat.com>
40813
40814 * Makeconfig (+link-pie): Indent.
40815 * Rules (binaries-pie): Define if $(have-fpie) and
40816 $(build-shared).
40817 (binaries-shared): Also filter out $(binaries-pie).
40818 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
40819 * nscd/Makefile (others-pie): Add nscd.
40820 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
40821 ($(objpfx)nscd): Remove command override.
40822 * login/Makefile (others-pie): Add pt_chown.
40823 ($(objpfx)pt_chown): Remove command override.
40824 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
40825 remove command overrides.
40826
fcabc0f8
UD
408272011-05-13 Ulrich Drepper <drepper@gmail.com>
40828
20030ae6
UD
40829 * libio/tst_putwc.c: Fix error messages.
40830
fcabc0f8
UD
40831 [BZ #12724]
40832 * libio/fileops.c (_IO_new_file_close_it): Always flush when
40833 currently writing and seek to current position when not.
40834 * libio/Makefile (tests): Add bug-fclose1.
40835 * libio/bug-fclose1.c: New file.
40836
320a5dc0
PB
408372011-05-12 Ulrich Drepper <drepper@gmail.com>
40838
40839 [BZ #12511]
40840 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
40841 don't set DF_1_NODELETE here.
40842 (do_lookup_x): When entering new entry test for copy relocation
40843 and if necessary set DF_1_NODELETE flag.
40844 * elf/tst-unique4.cc: New file.
40845 * elf/tst-unique4.h: New file.
40846 * elf/tst-unique4lib.cc: New file.
40847 * elf/Makefile: Add rules to build and run tst-unique4.
40848 Patch by Piotr Bury <pbury@goahead.com>.
40849
22836f52
UD
408502011-05-11 Ulrich Drepper <drepper@gmail.com>
40851
f574184a
UD
40852 [BZ #12052]
40853 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
40854
e1fb097f
UD
40855 [BZ #12625]
40856 * misc/mntent_r.c (addmntent): Flush the stream after the output
40857
22836f52
UD
40858 [BZ #12393]
40859 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
40860 (is_trusted_path_normalize): Skip initial colon. Append slash
40861 to empty buffer. Duplicate is_trusted_path code but allow
40862 constructed patch to be prefix.
40863 (is_dst): Allow $ORIGIN followed by /.
40864 (_dl_dst_substitute): Correct clearing of check_for_trusted.
40865 Correct testing of result of is_trusted_path_normalize
40866 (decompose_rpath): Fix warning.
40867
7b3b0b2a
UD
408682011-05-10 Ulrich Drepper <drepper@gmail.com>
40869
40870 [BZ #11257]
40871 * grp/initgroups.c (internal_getgrouplist): When we found the service
40872 list through the initgroups entry in nsswitch.conf do not always
40873 continue on a successful lookup. Don't always use the
eac80ce2 40874 __nss_group_database value if it is set.
7b3b0b2a
UD
40875 * nss/nsswitch.conf (initgroups): Change action for successful db
40876 lookup to continue for compatibility.
40877
2a81eaa5
UD
408782011-05-09 Ulrich Drepper <drepper@gmail.com>
40879
be97a69e
UD
40880 [BZ #11532]
40881 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
40882 and CP774 modules.
40883 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
40884 and CP774 modules.
40885 * iconvdata/tst-tables.sh: Likewise.
40886 * iconvdata/cp770.c: New file.
40887 * iconvdata/cp771.c: New file.
40888 * iconvdata/cp772.c: New file.
40889 * iconvdata/cp773.c: New file.
40890 * iconvdata/cp774.c: New file.
40891 * iconvdata/testdata/CP770: New file.
40892 * iconvdata/testdata/CP770..UTF8: New file.
40893 * iconvdata/testdata/CP771: New file.
40894 * iconvdata/testdata/CP771..UTF8: New file.
40895 * iconvdata/testdata/CP772: New file.
40896 * iconvdata/testdata/CP772..UTF8: New file.
40897 * iconvdata/testdata/CP773: New file.
40898 * iconvdata/testdata/CP773..UTF8: New file.
40899 * iconvdata/testdata/CP774: New file.
40900 * iconvdata/testdata/CP774..UTF8: New file.
40901
40902 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
40903 END CHARMAP line.
40904 * iconvdata/gen-8bit-gap.sh: Likewise.
40905 * iconvdata/gen-8bit.sh: Likewise.
40906
c1e9e399
UD
40907 * locale/iso-639.def: Add ary entry.
40908
24c55fb3 40909 [BZ #11258]
96b4b1b0
UD
40910 * locale/C-translit.h.in: Add U20A1 transliteration.
40911
bdc2f971
KB
40912 [BZ #12178]
40913 * locale/iso-639.def: Add wae entry.
40914 Patch by Kevin Bortis <bortis@translate-wae.ch>.
40915
2952b117
UD
40916 [BZ #12545]
40917 * locale/programs/localedef.c (construct_output_path): Use ssize_t
40918 for n.
40919
2a81eaa5
UD
40920 [BZ #12711]
40921 * locale/C-translit.h.in: Add entry for U20B9.
40922 Patch by pravin.d.s@gmail.com.
40923
28377d1b
UD
409242011-05-08 Ulrich Drepper <drepper@gmail.com>
40925
7fb90fb8
UD
40926 [BZ #12713]
40927 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
40928 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
40929 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
40930 in rtld. Use *stat64.
7fb90fb8 40931 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 40932 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 40933 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
40934 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
40935 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
40936 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
40937 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
40938 __fstatat64 macros.
7fb90fb8
UD
40939 * include/dirent.h: Add libc_hidden_proto for rewinddir.
40940 * dirent/rewinddir.c: Add libc_hidden_def.
40941 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 40942 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 40943
28377d1b
UD
40944 * include/dirent.h (__alloc_dir): Add flags parameter.
40945 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
40946 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
40947 __alloc_dir.
40948 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
40949 from fdopendir if O_CLOEXEC is already set.
40950
66bdbaa4
AM
409512011-03-15 Alan Modra <amodra@gmail.com>
40952
40953 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
40954 l_tls_firstbyte_offset non-zero. Save padding offset in
40955 l_tls_firstbyte_offset for later use.
40956 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
40957 freeing static tls block.
40958
95721191
JN
409592011-03-05 Jonathan Nieder <jrnieder@gmail.com>
40960
40961 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
40962 where #ifdef was intended. The intent is to prevent ARG_MAX from
40963 being defined by the kernel headers.
40964
f87dfb1f
UD
409652011-05-07 Ulrich Drepper <drepper@gmail.com>
40966
40967 [BZ #12734]
40968 * resolv/resolv.h: Define RES_NOTLDQUERY.
40969 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
40970 no-tld-query and set RES_NOTLDQUERY.
40971 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
40972 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
40973 modern BIND to search name as TLD unless forbidden.
40974
47c3cd7a
UD
409752011-05-07 Petr Baudis <pasky@suse.cz>
40976 Ulrich Drepper <drepper@gmail.com>
40977
40978 [BZ #12393]
40979 * elf/dl-load.c (fillin_rpath): Move trusted path check...
40980 (is_trusted_path): ...to here.
c1e9ea35 40981 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 40982 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 40983 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 40984
8a35c912
PP
409852011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
40986
40987 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
40988 __BEGIN/__END_DECLS.
40989
acd41f47
UD
409902011-05-06 Ulrich Drepper <drepper@gmail.com>
40991
40992 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
40993 NSS_STATUS_NOTFOUND if no record was found.
40994
597df647
AS
409952011-05-05 Andreas Schwab <schwab@redhat.com>
40996
40997 * sunrpc/Makefile (headers): Add rpc/netdb.h.
40998 (headers-not-in-tirpc): Remove rpc/netdb.h
40999 * resolv/netdb.h: Revert last change.
41000
b9af1301
PP
410012011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
41002
41003 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
41004 circular dependency between libgcc.a and libc.a.
41005
4e34d5f5
AS
410062011-05-05 Andreas Schwab <schwab@redhat.com>
41007
41008 * resolv/netdb.h: Don't include <rpc/netdb.h>.
41009 * nis/Makefile: Don't install rpcsvc/*.
41010 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
41011 instead of <rpc/types.h>.
41012 (MAXHOSTNAMELEN): Define.
41013
00ee369c
AS
410142011-05-03 Andreas Schwab <schwab@redhat.com>
41015
41016 * elf/ldconfig.c (add_dir): Don't crash on empty path.
41017
0b592a30
MB
410182011-04-28 Maciej Babinski <mbabinski@google.com>
41019
41020 [BZ #12714]
41021 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
41022 gethostbyname4_r when IPv6 results are possible.
41023
6e04cbbe
UD
410242011-05-02 Ulrich Drepper <drepper@gmail.com>
41025
41026 [BZ #12723]
41027 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
41028 _PC_PIPE_BUF handling.
41029
e4ecafe0
BH
410302011-04-30 Bruno Haible <bruno@clisp.org>
41031
41032 [BZ #12717]
41033 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
41034 * resolv/netdb.h (getnameinfo): Change type of flags parameter
41035 to 'int'.
41036 * inet/getnameinfo.c (getnameinfo): Likewise.
41037
125ee683
UD
410382011-04-29 Ulrich Drepper <drepper@gmail.com>
41039
41040 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
41041 to groups setting in database lookup.
41042 * nss/nsswitch.conf: Add initgroups entry.
41043
b722481a
EB
410442011-04-22 Ulrich Drepper <drepper@gmail.com>
41045
41046 [BZ #12685]
41047 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
41048 mode string.
41049 Patch by Eric Blake <eblake@redhat.com>.
41050
4df46dbd
L
410512011-04-20 H.J. Lu <hongjiu.lu@intel.com>
41052
41053 * sunrpc/Makefile (need-export-routines): Add svc_run.
41054 (routines): Remove svc_run.
41055 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
41056 * sunrpc/clnt_perr.c (clnt_perrno): Export.
41057 * sunrpc/svc_run.c (svc_run): Likewise.
41058 * sunrpc/svc_udp.c (svcudp_create): Likewise.
41059
e84142d2
UD
410602011-04-21 Ulrich Drepper <drepper@gmail.com>
41061
41062 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
41063 problem in reallocation in last patch.
41064
877175d8
UD
410652011-04-20 Ulrich Drepper <drepper@gmail.com>
41066
41067 * sunrpc/Makefile: Move inclusion of Rules.
41068
ab8eed78
UD
410692011-04-19 Ulrich Drepper <drepper@gmail.com>
41070
41071 * nss/nss_files/files-initgroups.c: New file.
41072 * nss/Makefile (libnss_files-routines): Add files-initgroups.
41073 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
41074 _nss_files_initgroups_dyn.
41075
e3d8f584
RS
410762011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
41077
41078 * elf/elf.h (R_ARM_IRELATIVE): Define.
41079
af190f45
UD
410802011-04-19 Ulrich Drepper <drepper@gmail.com>
41081
41082 * po/ru.po: Update from translation team.
41083
53cf59ef
UD
410842011-04-17 Ulrich Drepper <drepper@gmail.com>
41085
41086 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
41087 dependencies.
41088
4c559bcd
MF
410892011-02-06 Mike Frysinger <vapier@gentoo.org>
41090
41091 [BZ #12653]
41092 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
41093 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
41094 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
41095 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
41096 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
41097
4420675c
AS
410982011-03-28 Andreas Schwab <schwab@linux-m68k.org>
41099
41100 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
41101 differing bytes.
41102 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
41103 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
41104 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
41105
75ea32ab
UD
411062011-04-17 Ulrich Drepper <drepper@gmail.com>
41107
41108 [BZ #12420]
41109 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
41110 storing it.
41111 * stdlib/bug-getcontext.c: New file.
41112 * stdlib/Makefile: Add rules to build and run bug-getcontext.
41113
27390476
AK
411142011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41115
41116 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
41117 instructions into .machine "z9-109".
41118 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
41119 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
41120
10442705
AK
411212011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
41122
41123 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
41124 between environment variables and auxiliary vector.
41125
7b57bfe5
UD
411262011-04-16 Ulrich Drepper <drepper@gmail.com>
41127
41128 * Makefile: Add rules to build linkobj/libc.so.
41129 * include/libc-symbols.h: Define libc_hidden_nolink.
41130 * include/rpc/auth.h: Mark functions which are to be hidden.
41131 * include/rpc/auth_des.h: Likewise.
41132 * include/rpc/auth_unix.h: Likewise.
41133 * include/rpc/clnt.h: Likewise.
41134 * include/rpc/des_crypt.h: Likewise.
41135 * include/rpc/key_prot.h: Likewise.
41136 * include/rpc/pmap_clnt.h: Likewise.
41137 * include/rpc/pmap_prot.h: Likewise.
41138 * include/rpc/pmap_rmt.h: Likewise.
41139 * include/rpc/rpc_msg.h: Likewise.
41140 * include/rpc/svc.h: Likewise.
41141 * include/rpc/svc_auth.h: Likewise.
41142 * include/rpc/xdr.h: Likewise.
41143 * nis/Makefile: Link all DSOs against linkobj/libc.so.
41144 * nss/Makefile: Likewise.
41145 * sunrpc/Makefile: Don't install headers. Build library with normal
41146 entry points. Don't build rpcinfo. Link RPC tests appropriately.
41147 * sunrpc/auth_des.c: Hide exported symbols by default, export some
41148 for the compat linking library. Remove use of INTDEF/INTUSE.
41149 * sunrpc/auth_none.c: Likewise.
41150 * sunrpc/auth_unix.c: Likewise.
41151 * sunrpc/authdes_prot.c: Likewise.
41152 * sunrpc/authuxprot.c: Likewise.
41153 * sunrpc/clnt_gen.c: Likewise.
41154 * sunrpc/clnt_perr.c: Likewise.
41155 * sunrpc/clnt_raw.c: Likewise.
41156 * sunrpc/clnt_simp.c: Likewise.
41157 * sunrpc/clnt_tcp.c: Likewise.
41158 * sunrpc/clnt_udp.c: Likewise.
41159 * sunrpc/clnt_unix.c: Likewise.
41160 * sunrpc/des_crypt.c: Likewise.
41161 * sunrpc/des_soft.c: Likewise.
41162 * sunrpc/get_myaddr.c: Likewise.
41163 * sunrpc/key_call.c: Likewise.
41164 * sunrpc/key_prot.c: Likewise.
41165 * sunrpc/netname.c: Likewise.
41166 * sunrpc/pm_getmaps.c: Likewise.
41167 * sunrpc/pm_getport.c: Likewise.
41168 * sunrpc/pmap_clnt.c: Likewise.
41169 * sunrpc/pmap_prot.c: Likewise.
41170 * sunrpc/pmap_prot2.c: Likewise.
41171 * sunrpc/pmap_rmt.c: Likewise.
41172 * sunrpc/publickey.c: Likewise.
41173 * sunrpc/rpc_cmsg.c: Likewise.
41174 * sunrpc/rpc_common.c: Likewise.
41175 * sunrpc/rpc_dtable.c: Likewise.
41176 * sunrpc/rpc_prot.c: Likewise.
41177 * sunrpc/rpc_thread.c: Likewise.
41178 * sunrpc/rtime.c: Likewise.
41179 * sunrpc/svc.c: Likewise.
41180 * sunrpc/svc_auth.c: Likewise.
41181 * sunrpc/svc_authux.c: Likewise.
41182 * sunrpc/svc_raw.c: Likewise.
41183 * sunrpc/svc_run.c: Likewise.
41184 * sunrpc/svc_simple.c: Likewise.
41185 * sunrpc/svc_tcp.c: Likewise.
41186 * sunrpc/svc_udp.c: Likewise.
41187 * sunrpc/svc_unix.c: Likewise.
41188 * sunrpc/svcauth_des.c: Likewise.
41189 * sunrpc/xcrypt.c: Likewise.
41190 * sunrpc/xdr.c: Likewise.
41191 * sunrpc/xdr_array.c: Likewise.
41192 * sunrpc/xdr_float.c: Likewise.
41193 * sunrpc/xdr_intXX_t.c: Likewise.
41194 * sunrpc/xdr_mem.c: Likewise.
41195 * sunrpc/xdr_rec.c: Likewise.
41196 * sunrpc/xdr_ref.c: Likewise.
41197 * sunrpc/xdr_sizeof.c: Likewise.
41198 * sunrpc/xdr_stdio.c: Likewise.
41199
e6c61494
UD
412002011-04-10 Ulrich Drepper <drepper@gmail.com>
41201
41202 [BZ #12650]
41203 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
41204 * sysdeps/ia64/dl-tls.h: Likewise.
41205 * sysdeps/powerpc/dl-tls.h: Likewise.
41206 * sysdeps/s390/dl-tls.h: Likewise.
41207 * sysdeps/sh/dl-tls.h: Likewise.
41208 * sysdeps/sparc/dl-tls.h: Likewise.
41209 * sysdeps/x86_64/dl-tls.h: Likewise.
41210 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
41211
34fe483e
AS
412122011-03-14 Andreas Schwab <schwab@redhat.com>
41213
41214 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
41215 rpath element also skip the following colon.
41216 (expand_dynamic_string_token): Add is_path parameter and pass
41217 down to DL_DST_REQUIRED and _dl_dst_substitute.
41218 (decompose_rpath): Call expand_dynamic_string_token with
41219 non-zero is_path. Ignore empty rpaths.
41220 (_dl_map_object_from_fd): Call expand_dynamic_string_token
41221 with zero is_path.
41222
f12a32e6
AS
412232011-04-08 Andreas Schwab <schwab@linux-m68k.org>
41224
41225 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
41226 Make cancelable.
41227
38a7d692
UD
412282011-04-09 Ulrich Drepper <drepper@gmail.com>
41229
41230 [BZ #12655]
41231 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
41232 Patch by Filipe David Manana <fdmanana@apache.org>.
41233
e451d22b
AS
412342011-04-07 Andreas Schwab <schwab@redhat.com>
41235
41236 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
41237 Maintain aligned stack.
41238 (CHECK_RSP): Remove unused macro.
41239
dedc7c7b
UD
412402011-04-03 Ulrich Drepper <drepper@gmail.com>
41241
41242 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
41243 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
41244
94521213
UD
412452011-04-02 Ulrich Drepper <drepper@gmail.com>
41246
41247 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
41248
8cb700c0 41249 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 41250
0354e355
L
412512011-03-26 H.J. Lu <hongjiu.lu@intel.com>
41252
41253 [BZ #12518]
41254 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
41255 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
41256 * sysdeps/x86_64/memmove.c: New file.
41257 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
41258 (memcpy): Renamed to ...
41259 (__new_memcpy): This.
41260 (memcpy): Provide GLIBC_2_14 memcpy.
41261 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
41262 (memcpy): Provide GLIBC_2_2_5 memcpy.
41263
8593482f
UD
412642011-04-01 Ulrich Drepper <drepper@gmail.com>
41265
41266 [BZ #12631]
41267 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
41268
81a5726b
AS
412692011-03-30 Andreas Schwab <schwab@redhat.com>
41270
41271 * misc/syncfs.c: New file.
41272 * misc/Makefile (routines): Add syncfs.
41273 * posix/unistd.h: Declare syncfs.
41274 * sysdeps/unix/syscalls.list: Add syncfs.
41275
00e5419f
AS
412762011-04-01 Andreas Schwab <schwab@redhat.com>
41277
41278 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
41279 open_by_handle_at.
41280 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
41281 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41282 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41283 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41284 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41285 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
41286 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41287
748876bf
UD
412882011-04-01 Ulrich Drepper <drepper@gmail.com>
41289
658e451d
UD
41290 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
41291 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41292 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
41293 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41294 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41295 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41296 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41297
748876bf
UD
41298 * io/Makefile: Compile fallocate.c, fallocate64.c, and
41299 sync_file_range.c with -fexceptions.
41300 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
41301 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
41302 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
41303 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
41304 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
41305 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
41306 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
41307 sync_file_range as cancellation point
41308 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
41309 now a wrapper around __call_sync_file_range with cancellation handling.
41310 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
41311 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
41312 function name to __call_sync_file_range.
41313 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
41314 Add call_sync_file_range.
748876bf 41315
6e63d5e1
AS
413162011-04-01 Andreas Schwab <schwab@redhat.com>
41317
41318 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 41319 bits/timex.h.
6e63d5e1 41320
46998f74
UD
413212011-04-01 Ulrich Drepper <drepper@gmail.com>
41322
4c1423ed
UD
41323 * iconv/iconv.h: Fix typo in comment.
41324 * io/fcntl.h: Likewise.
41325 * libio/stdio.h: Likewise.
41326 * posix/spawn.h: Likewise.
41327 * posix/unistd.h: Likewise.
41328 * stdlib/stdlib.h: Likewise.
41329 * time/time.h: Likewise.
41330 * wcsmbs/wchar.h: Likewise.
41331
158648c0
UD
41332 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
41333 open_by_handle): Add.
41334 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
41335 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
41336 Augment a few comments.
41337 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
41338 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
41339 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
41340 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
41341 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
41342 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
41343 open_by_handle.
41344
46998f74
UD
41345 * io/fcntl.h (AT_EMPTY_PATH): Define.
41346
83fe108b
UD
413472011-03-30 Ulrich Drepper <drepper@gmail.com>
41348
41349 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
41350 * sysdeps/unix/sysv/linux/bits/time.h: New file.
41351 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
41352 to...
41353 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
41354 * Versions.def: Add GLIBC_2.14.
41355 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
41356 Export.
83fe108b 41357
bb242059
UD
413582011-03-22 Ulrich Drepper <drepper@gmail.com>
41359
41360 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
41361 round counter.
41362 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41363
c97a1282
L
413642011-03-20 H.J. Lu <hongjiu.lu@intel.com>
41365
41366 [BZ #12597]
41367 * string/test-strncmp.c (do_page_test): New function.
41368 (check2): Likewise.
41369 (test_main): Call check2.
41370 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
41371
2a115601
UD
413722011-03-20 Ulrich Drepper <drepper@gmail.com>
41373
41374 [BZ #12587]
41375 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
41376 Handle cache information in CPU leaf 4.
41377 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
41378
8126d904
UD
413792011-03-18 Ulrich Drepper <drepper@gmail.com>
41380
042c49c6 41381 [BZ #12583]
8126d904
UD
41382 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
41383 character representation.
41384 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
41385
ccfe366e
RA
413862011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
41387
41388 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
41389 END(__isnan) to END(__isnanf) to match function entry point/label
41390 EALIGN(__isnanf,...).
41391
c6e13027
JJ
413922011-03-10 Jakub Jelinek <jakub@redhat.com>
41393
41394 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
41395
33f85a3f
UD
413962011-03-10 Ulrich Drepper <drepper@gmail.com>
41397
028478fa
UD
41398 [BZ #12510]
41399 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
41400 copy from the symbol referenced in the relocation to initialize the
41401 used variable.
41402 Patch by Piotr Bury <pbury@goahead.com>.
41403 * elf/Makefile: Add rules to build and tst-unique3.
41404 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
41405 * elf/tst-unique3.cc: New file.
41406 * elf/tst-unique3.h: New file.
41407 * elf/tst-unique3lib.cc: New file.
41408 * elf/tst-unique3lib2.cc: New file.
41409
33f85a3f
UD
41410 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
41411
03592fc7
MF
414122011-03-10 Mike Frysinger <vapier@gentoo.org>
41413
41414 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
41415 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
41416 to _start.
03592fc7 41417
6a5ee102
UD
414182011-03-06 Ulrich Drepper <drepper@gmail.com>
41419
41420 * elf/dl-load.c (_dl_map_object): If we are looking for the first
41421 to-be-loaded object along a path to loader is ld.so.
41422
7e4ba49c
HJ
414232011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41424 Ulrich Drepper <drepper@gmail.com>
41425
41426 * sysdeps/x86_64/memset.S: After aligning destination, code
41427 branches to different locations depending on the value of
41428 misalignment, when multiarch is enabled. Fix this.
41429
414302011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
41431
41432 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
41433 Set _x86_64_preferred_memory_instruction for AMD processsors.
41434 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41435 Set bit_Prefer_SSE_for_memop for AMD processors.
41436
13a804de
UD
414372011-03-04 Ulrich Drepper <drepper@gmail.com>
41438
41439 * libio/fmemopen.c (fmemopen): Optimize a bit.
41440
9d25c392
AS
414412011-03-03 Andreas Schwab <schwab@redhat.com>
41442
41443 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
41444
a5543c6a
RM
414452011-03-03 Roland McGrath <roland@redhat.com>
41446
41447 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
41448
012d35f7
DM
414492011-02-28 Aurelien Jarno <aurelien@aurel32.net>
41450
7e4ba49c 41451 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
41452 __bzero_ultra1 instead of __memset_ultra1.
41453
4bff6e01
AS
414542011-02-23 Andreas Schwab <schwab@redhat.com>
41455 Ulrich Drepper <drepper@gmail.com>
41456
41457 [BZ #12509]
41458 * include/link.h (struct link_map): Add l_orig_initfini.
41459 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
41460 returning unsuccessfully.
41461 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
41462 close of a file loaded at startup, restore the original l_initfini
41463 list.
41464 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
41465 list, store the pointer.
41466 * elf/Makefile ($(objpfx)noload-mem): New rule.
41467 (noload-ENV): Define.
41468 (tests): Add $(objpfx)noload-mem.
41469 * elf/noload.c: Include <memcheck.h>.
41470 (main): Call mtrace. Close all opened handles.
41471
f2092faf
AS
414722011-02-17 Andreas Schwab <schwab@redhat.com>
41473
41474 [BZ #12454]
41475 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
41476 dependencies are missing.
41477
6c8a2e88
ST
414782011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
41479
f2092faf 41480 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
41481 Hurd needs munmap.
41482 * sysdeps/mach/hurd/ifreq.h: New file.
41483
84a42118
PB
414842011-01-27 Petr Baudis <pasky@suse.cz>
41485 Ulrich Drepper <drepper@gmail.com>
41486
071f805e 41487 [BZ 12445]#
84a42118
PB
41488 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
41489 to extend_alloca().
41490 * stdio-common/bug23.c: New file.
41491 * stdio-common/Makefile (tests): Add bug23.
41492
e23fe25b
AS
414932010-09-28 Andreas Schwab <schwab@redhat.com>
41494 Ulrich Drepper <drepper@gmail.com>
41495
41496 [BZ #12489]
41497 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
41498 before performing relro protection. At old place add assertion
41499 to make sure nothing changed.
41500
d3f02e10
NS
415012011-02-17 Nathan Sidwell <nathan@codesourcery.com>
41502 Glauber de Oliveira Costa <glommer@gmail.com>
41503
41504 * elf/elf.h: Add new ARM TLS relocs.
41505
d55fd7a5
RA
415062011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
41507
41508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
41509 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
41510 cast from r3.
41511 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
41512 'tests' variable.
41513 * sysdeps/wordsize-64/tst-writev.c: New file.
41514
2206397e
RA
415152011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
41516
41517 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
41518 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
41519 insns in _dl_start to prevent a TOC reference before relocs are
41520 resolved.
41521
e9433893
UD
415222011-02-15 Ulrich Drepper <drepper@gmail.com>
41523
41524 [BZ #12469]
41525 * Makeconfig: Remove RANLIB definition.
41526 * Makerules: Don't use RANLIB.
41527 * aclocal.m4: Remove ranlib test.
41528 * configure.in: No need to check for ranlib.
41529 * elf/rtld-Rules: Don't use RANLIB.
41530
f75286c6
ST
415312011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
41532
8e31c82d
ST
41533 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
41534 protection macro.
41535 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
41536 inclusion protection macro.
41537
f75286c6
ST
41538 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
41539 SIGRTMIN and SIGRTMAX and print information in that case only when
41540 SIGRTMIN is defined.
41541
c1d0e639
JJ
415422011-02-11 Jakub Jelinek <jakub@redhat.com>
41543
41544 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
41545 arginfo fn returning -1.
41546
41547 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
41548 and thousands string is zero terminated.
41549
edf9294e
AS
415502011-02-03 Andreas Schwab <schwab@redhat.com>
41551
41552 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
41553 sysdeps/unix/sysv/linux/bits/socket.h.
41554
2b7e92df
ST
415552011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
41556
edf9294e
AS
41557 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
41558 (__CPU_COUNT): Remove old macros.
41559 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
41560 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
41561 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
41562 (__sched_cpualloc, __sched_cpufree): Add declarations.
41563
a4c7ea7b
UD
415642011-02-05 Ulrich Drepper <drepper@gmail.com>
41565
41566 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
41567 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
41568 * nscd/aicache.c (addhstaiX): Return timeout of added value.
41569 (readdhstai): Return value of addhstaiX call.
41570 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
41571 (addgrbyX): Return value returned by cache_addgr.
41572 (readdgrbyname): Return value returned by addgrbyX.
41573 (readdgrbygid): Likewise.
41574 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
41575 (addpwbyX): Return value returned by cache_addpw.
41576 (readdpwbyname): Return value returned by addhstbyX.
41577 (readdpwbyuid): Likewise.
41578 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
41579 (addservbyX): Return value returned by cache_addserv.
41580 (readdservbyname): Return value returned by addservbyX:
41581 (readdservbyport): Likewise.
41582 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
41583 (addhstbyX): Return value returned by cache_addhst.
41584 (readdhstbyname): Return value returned by addhstbyX.
41585 (readdhstbyaddr): Likewise.
41586 (readdhstbynamev6): Likewise.
41587 (readdhstbyaddrv6): Likewise.
41588 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
41589 (readdinitgroups): Return value returned by addinitgroupsX.
41590 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
41591 (prune_cache): Keep track of timeout value of re-added entries.
41592 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
41593 * nscd/nscd.h: Adjust prototypes of readd* functions.
41594
a0bf67cc
RM
415952011-02-04 Roland McGrath <roland@redhat.com>
41596
41597 * nis/nis_server.c (nis_servstate): Use the right name for 0.
41598 (nis_stats): Likewise.
41599 * nis/nis_modify.c (nis_modify): Likewise.
41600 * nis/nis_remove.c (nis_remove): Likewise.
41601 * nis/nis_add.c (nis_add): Likewise.
41602
41603 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
41604
41605 * posix/fnmatch_loop.c: Add some consts.
41606
41607 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
41608
435b95eb
L
416092011-02-02 H.J. Lu <hongjiu.lu@intel.com>
41610
41611 [BZ #12460]
41612 * config.make.in (config-cflags-novzeroupper): Define.
41613 * configure.in: Substitute libc_cv_cc_novzeroupper.
41614 * elf/Makefile (AVX-CFLAGS): Define.
41615 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
41616 (CFLAGS-tst-auditmod4a.c): Likewise.
41617 (CFLAGS-tst-auditmod4b.c): Likewise.
41618 (CFLAGS-tst-auditmod6b.c): Likewise.
41619 (CFLAGS-tst-auditmod6c.c): Likewise.
41620 (CFLAGS-tst-auditmod7b.c): Likewise.
41621 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
41622
8517b15e
UD
416232011-02-02 Ulrich Drepper <drepper@gmail.com>
41624
41625 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
41626 function to the callback.
41627 Patch partly by Jiri Olsa <jolsa@redhat.com>.
41628
10a656fe
AS
416292011-02-02 Andreas Schwab <schwab@redhat.com>
41630
41631 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
41632 of errno.
41633
968dad0a
UD
416342011-01-19 Ulrich Drepper <drepper@gmail.com>
41635
9f94d2ea 41636 [BZ #11724]
968dad0a
UD
41637 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
41638 of constructors.
41639 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
41640 of destructors.
41641 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
41642
41643 [BZ #11724]
41644 * elf/Makefile: Add rules to build and run new test.
41645 * elf/tst-initorder.c: New file.
41646 * elf/tst-initorder.exp: New file.
41647 * elf/tst-initordera1.c: New file.
41648 * elf/tst-initordera2.c: New file.
41649 * elf/tst-initordera3.c: New file.
41650 * elf/tst-initordera4.c: New file.
41651 * elf/tst-initorderb1.c: New file.
41652 * elf/tst-initorderb2.c: New file.
41653 * elf/tst-order-a1.c: New file.
41654 * elf/tst-order-a2.c: New file.
41655 * elf/tst-order-a3.c: New file.
41656 * elf/tst-order-a4.c: New file.
41657 * elf/tst-order-b1.c: New file.
41658 * elf/tst-order-b2.c: New file.
41659 * elf/tst-order-main.c: New file.
41660 New test case by George Gensure <werkt0@gmail.com>.
41661
86e92359
UD
416622010-10-01 Andreas Schwab <schwab@redhat.com>
41663
41664 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41665 decoding ACE if AI_CANONIDN.
41666
5d5732b0
UD
416672011-01-18 Ulrich Drepper <drepper@gmail.com>
41668
41669 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
41670
a77e8cbc
UD
416712011-01-17 Ulrich Drepper <drepper@gmail.com>
41672
6392473f
UD
41673 * version.h (RELEASE): Bump for 2.13 release.
41674 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
41675
620a0529
UD
41676 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
41677
18ba70a5
UD
41678 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
41679 MADV_NOHUGEPAGE.
32465c3e
UD
41680 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
41681 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
41682 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
41683 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
41684 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
41685 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41686
c0dafcf1
UD
41687 * posix/getconf.c: Update copyright year.
41688 * catgets/gencat.c: Likewise.
41689 * csu/version.c: Likewise.
41690 * debug/catchsegv.sh: Likewise.
41691 * debug/xtrace.sh: Likewise.
41692 * elf/ldconfig.c: Likewise.
41693 * elf/ldd.bash.in: Likewise.
41694 * elf/sprof.c (print_version): Likewise.
41695 * iconv/iconv_prog.c: Likewise.
41696 * iconv/iconvconfig.c: Likewise.
41697 * locale/programs/locale.c: Likewise.
41698 * locale/programs/localedef.c: Likewise.
41699 * malloc/memusage.sh: Likewise.
41700 * malloc/mtrace.pl: Likewise.
41701 * nscd/nscd.c (print_version): Likewise.
41702 * nss/getent.c: Likewise.
41703
a77e8cbc
UD
41704 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
41705 PF_CAIF, and PF_ALG.
41706 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
41707
77e8bddf
AS
417082011-01-16 Andreas Schwab <schwab@linux-m68k.org>
41709
1f20b93a
AS
41710 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
41711 (modules-names): Use them.
41712 (ifunc-test-modules, ifunc-pie-tests): Define.
41713 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
41714 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
41715 (test-extras): Likewise.
41716 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
41717 $(compile-command.c).
41718 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
41719 (all-built-dso): Define.
41720 (check-textrel.out, check-execstack.out): Depend on it.
41721
77e8bddf
AS
41722 * configure.in: Don't override --enable-multi-arch.
41723
bc425b33
UD
417242011-01-15 Ulrich Drepper <drepper@gmail.com>
41725
41726 [BZ #6812]
41727 * nscd/hstcache.c (tryagain): Define.
41728 (cache_addhst): Return tryagain not notfound for temporary errors.
41729 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
41730 failed.
41731
794c3ad3
UD
417322011-01-14 Ulrich Drepper <drepper@gmail.com>
41733
70181fdd
UD
41734 [BZ #10563]
41735 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
41736 to make the syscall.
41737 * sysdeps/unix/sysv/linux/setgroups.c: New file.
41738
794c3ad3
UD
41739 [BZ #12378]
41740 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
41741 and fall back to matching as normal character if the string ends before
41742 the matching ']' is found. This is what POSIX requires.
41743 * posix/testfnm.c: Adjust test result.
41744 * posix/globtest.sh: Adjust test result. Add new test.
41745 * posix/tst-fnmatch.input: Likewise.
41746 * posix/tst-fnmatch2.c: Add new test.
41747
68dc9497
AS
417482010-12-28 Andreas Schwab <schwab@linux-m68k.org>
41749
41750 * elf/Makefile (check-execstack): Revert last change. Depend on
41751 check-execstack.h.
41752 (check-execstack.h): New target.
41753 (generated): Add check-execstack.h.
41754 * elf/check-execstack.c: Include "check-execstack.h".
41755 (main): Revert last change.
41756 (handle_file): Return zero if GNU_STACK is absent and
41757 DEFAULT_STACK_PERMS doesn't include PF_X.
41758
451f001b
UD
417592011-01-13 Ulrich Drepper <drepper@gmail.com>
41760
cfa28e56
UD
41761 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
41762 in child fails because the descriptor is already closed.
8cf8ce17
UD
41763 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
41764 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
41765 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 41766
1086d70d
UD
41767 [BZ #12397]
41768 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
41769 syscall.
41770
451f001b
UD
41771 [BZ #10484]
41772 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
41773 temporary buffer used to handle multi lookups locally.
a85b5cb4 41774 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 41775
08769175
UD
417762011-01-12 Ulrich Drepper <drepper@gmail.com>
41777
41778 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
41779 loader is ld.so.
41780
5e49c52e
UD
417812011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
41782
41783 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
41784 alignment for SSE2.
41785
60522a5f
UD
417862011-01-12 Ulrich Drepper <drepper@gmail.com>
41787
41788 [BZ #12394]
41789 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
41790 characters. When rounding increased number of integer digits recompute
41791 number of groups.
41792 * stdio-common/tst-grouping.c: New file.
41793 * stdio-common/Makefile: Add rules to build and run tst-grouping.
41794
f257bbd7
UD
417952011-01-09 Ulrich Drepper <drepper@gmail.com>
41796
41797 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
41798 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
41799
41800 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
41801 void.
41802 * bits/select.h: Likewise.
41803
fa9c15cb
UD
418042011-01-08 Ulrich Drepper <drepper@gmail.com>
41805
41806 * po/ja.po: Update from translation team.
41807
16c2895f
DM
418082011-01-04 David S. Miller <davem@sunset.davemloft.net>
41809
41810 [BZ #11155]
41811 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
41812 implementation just like for lxstat, fxstatat, et al.
41813
2543fef2
JM
418142010-12-27 Jim Meyering <meyering@redhat.com>
41815
41816 [BZ #12348]
41817 * posix/regexec.c (build_trtable): Return failure indication upon
41818 calloc failure. Otherwise, re_search_internal could infloop on OOM.
41819
98727dbe
UD
418202010-12-25 Ulrich Drepper <drepper@gmail.com>
41821
5bd6dc5c
UD
41822 [BZ #12201]
41823 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
41824 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
41825 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
41826 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
41827
97983464
UD
41828 [BZ #12207]
41829 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
41830
98727dbe
UD
41831 [BZ #12204]
41832 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
41833 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
41834
4a531bb0
L
418352010-12-15 H.J. Lu <hongjiu.lu@intel.com>
41836
41837 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
41838 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
41839 script has SORT_BY_INIT_PRIORITY.
41840 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
41841 NO_CTORS_DTORS_SECTIONS is defined.
41842 * elf/soinit.c: Likewise.
41843 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
41844 NO_CTORS_DTORS_SECTIONS is defined.
41845 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
41846 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
41847 * sysdeps/sh/init-first.c: Likewise.
41848 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
41849
07eb4b71
UD
418502010-12-24 Ulrich Drepper <drepper@gmail.com>
41851
41852 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
41853 always use the slow path.
41854
30950a5f
RA
418552010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
41856
41857 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
41858 similar rule which adds the sysdep directories to the header search in
41859 order to pick up the correct platform stackinfo.h.
41860 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
41861 perform test if it is, otherwise return successfully without testing.
41862 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
41863 DEFAULT_STACK_PERMS define in stackinfo.h.
41864 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
41865 defined in stackinfo.h.
41866 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
41867 DEFAULT_STACK_PERMS defined in stackinfo.h.
41868 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
41869 * sysdeps/ia64/stackinfo.h: Likewise.
41870 * sysdeps/s390/stackinfo.h: Likewise.
41871 * sysdeps/sh/stackinfo.h: Likewise.
41872 * sysdeps/sparc/stackinfo.h: Likewise.
41873 * sysdeps/x86_64/stackinfo.h: Likewise.
41874 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
41875 PF_X for powerpc64. Retain PF_X for powerpc32.
41876
db753e2c
UD
418772010-12-19 Ulrich Drepper <drepper@gmail.com>
41878
14b697f7
UD
41879 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
41880 accurately.
db753e2c
UD
41881 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
41882 GETDENTS_64BIT_ALIGNED.
41883
28300719
UD
418842010-12-14 Ulrich Drepper <dreper@gmail.com>
41885
14b697f7 41886 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 41887
4f197237
AS
418882010-12-10 Andreas Schwab <schwab@redhat.com>
41889
dbb0472f
AS
41890 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
41891 _GNU_SOURCE.
41892
4f197237
AS
41893 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
41894 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
41895 Remove __restrict.
41896 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
41897 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
41898
fb88ac72
UD
418992010-12-09 Ulrich Drepper <drepper@gmail.com>
41900
41901 [BZ #11655]
41902 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
41903 are initialized.
41904
42acbb92
JJ
419052010-12-09 Jakub Jelinek <jakub@redhat.com>
41906
41907 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
41908
c038d98d
UD
419092010-12-03 Ulrich Drepper <drepper@gmail.com>
41910
41911 * po/it.po: Update from translation team.
41912
3a4a2499
L
419132010-12-01 H.J. Lu <hongjiu.lu@intel.com>
41914
41915 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
41916 unused codes.
41917
1e24cf6e
UD
419182010-11-30 Ulrich Drepper <drepper@gmail.com>
41919
41920 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
41921
a7690819
AS
419222010-11-24 Andreas Schwab <schwab@redhat.com>
41923
41924 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
41925 specially.
41926 (gaih_getanswer_slice): Likewise.
41927
3bf8d1b1
JJ
419282010-10-20 Jakub Jelinek <jakub@redhat.com>
41929
41930 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
41931
6db52fbb
PB
419322010-05-31 Petr Baudis <pasky@suse.cz>
41933
41934 [BZ #11149]
41935 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
41936 silently even in the chroot mode.
41937
eaca7569
UD
419382010-11-22 Ulrich Drepper <drepper@gmail.com>
41939
41940 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
41941 last patch a bit. Pretty printing
41942
3056dcdb
UD
419432010-05-31 Petr Baudis <pasky@suse.cz>
41944
41945 [BZ #10085]
41946 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
41947 initialization of skip_initgroups_dyn.
41948
cf7c9078
UD
419492010-11-19 Ulrich Drepper <drepper@gmail.com>
41950
41951 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
41952 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
41953
a1fb5e3e
UD
419542010-11-16 Ulrich Drepper <drepper@gmail.com>
41955
41956 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
41957
3540d66b
AS
419582010-11-11 Andreas Schwab <schwab@redhat.com>
41959
41960 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
41961 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
41962 (tst-fnmatch-ENV): Set MALLOC_TRACE.
41963 ($(objpfx)tst-fnmatch-mem): New rule.
41964 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
41965 * posix/tst-fnmatch.c (main): Call mtrace.
41966
13b69574
L
419672010-11-11 H.J. Lu <hongjiu.lu@intel.com>
41968
41969 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41970 Support Intel processor model 6 and model 0x2c.
41971
da93d214
LM
419722010-11-10 Luis Machado <luisgpm@br.ibm.com>
41973
41974 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
41975 signed comparison.
41976
8ca52c6e
L
419772010-11-09 H.J. Lu <hongjiu.lu@intel.com>
41978
41979 [BZ #12205]
41980 * string/test-strncasecmp.c (check_result): New function.
41981 (do_one_test): Use it.
41982 (check1): New function.
41983 (test_main): Use it.
41984 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
41985 Support strcasecmp and strncasecmp.
41986
69da074d
UD
419872010-11-08 Ulrich Drepper <drepper@gmail.com>
41988
41989 [BZ #12194]
41990 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
41991 * sysdeps/x86_64/bits/byteswap.h: Likewise.
41992
ff02d528
L
419932010-11-07 H.J. Lu <hongjiu.lu@intel.com>
41994
41995 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
41996 IFUNC support.
41997 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41998 memset-x86-64.
41999 * sysdeps/x86_64/multiarch/bzero.S: New file.
42000 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
42001 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
42002 * sysdeps/x86_64/multiarch/memset.S: New file.
42003 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
42004 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42005 Set bit_Prefer_SSE_for_memop for Intel processors.
42006 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
42007 Define.
42008 (index_Prefer_SSE_for_memop): Define.
42009 (HAS_PREFER_SSE_FOR_MEMOP): Define.
42010
344d0b54
LM
420112010-11-04 Luis Machado <luisgpm@br.ibm.com>
42012
42013 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
42014 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
42015
c0dde15b
UD
420162010-11-03 H.J. Lu <hongjiu.lu@intel.com>
42017
42018 [BZ #12191]
42019 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42020 (__x86_64_raw_data_cache_size_half): Likewise.
42021 (__x86_64_raw_shared_cache_size): Likewise.
42022 (__x86_64_raw_shared_cache_size_half): Likewise.
42023
42024 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
42025 (__x86_64_raw_data_cache_size_half): Likewise.
42026 (__x86_64_raw_shared_cache_size): Likewise.
42027 (__x86_64_raw_shared_cache_size_half): Likewise.
42028 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
42029 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
42030 and __x86_64_raw_shared_cache_size_half. Round
42031 __x86_64_data_cache_size_half, __x86_64_data_cache_size
42032 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
42033 to multiple of 256 bytes.
42034
0e516e0e
MS
420352010-11-03 Ulrich Drepper <drepper@gmail.com>
42036
42037 [BZ #12167]
42038 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
42039 of inacessible symlinks. Verify result of symlink before returning it.
42040 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42041 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
42042
0e012e87
ER
420432010-10-28 Erich Ritz <erichritz@gmail.com>
42044
42045 * math/math.h (isinf): Fix typo in comment.
42046
de0ff7bc
UD
420472010-11-01 Ulrich Drepper <drepper@gmail.com>
42048
42049 * po/da.po: Update from translation team.
42050
fa41c84d
UD
420512010-10-26 Ulrich Drepper <drepper@gmail.com>
42052
42053 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
42054 is added to the list.
42055
f0967738
AK
420562010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42057 Ulrich Drepper <drepper@gmail.com>
42058
42059 * elf/dl-object.c (_dl_new_object): Don't append the new object to
42060 the global list here. Move code to...
42061 (_dl_add_to_namespace_list): ...here. New function.
42062 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
42063 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
42064 * elf/dl-load.c (lose): Don't remove the element from the list.
42065 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
42066 (_dl_map_object): Likewise.
42067
420682010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
42069
42070 [BZ #12159]
42071 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
42072 into all bytes of SSE register.
42073 Patch by Richard Li <richardpku@gmail.com>.
42074
f0967738 420752010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
42076
42077 [BZ #12140]
42078 * malloc/malloc.c (_int_free): Fill correct number of bytes when
42079 perturbing.
42080
d0b9e94f
MB
420812010-10-20 Michael B. Brutman <brutman@us.ibm.com>
42082
42083 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
42084 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
42085 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
42086 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
42087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
42088 submachine.
42089 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
42090
8e9f92e9
AS
420912010-10-22 Andreas Schwab <schwab@redhat.com>
42092
42093 * include/dlfcn.h (__RTLD_SECURE): Define.
42094 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
42095 mode & __RTLD_SECURE instead.
42096 (open_path): Rename preloaded parameter to secure.
42097 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
42098 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
42099 * elf/dl-deps.c (openaux): Likewise.
42100 * elf/rtld.c (struct map_args): Remove is_preloaded.
42101 (map_doit): Don't use it.
42102 (dl_main): Likewise.
42103 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
42104 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
42105
bc96fbda
AS
421062010-09-09 Andreas Schwab <schwab@redhat.com>
42107
42108 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
42109 (sysd-rules-targets): Remove duplicates.
42110 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
42111 rtld-%.$o dependency.
42112
22cd1c9b
AS
421132010-10-18 Andreas Schwab <schwab@redhat.com>
42114
42115 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
42116 _dl_map_object do it.
42117
18edac48
UD
421182010-10-19 Ulrich Drepper <drepper@gmail.com>
42119
42120 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
42121 fast fma builtins, define the macros in the C99 standard.
42122 (FP_FAST_FMAF): Likewise.
42123 (FP_FAST_FMAL): Likewise.
42124 * sysdeps/x86_64/bits/mathdef.h: Likewise.
42125
42126 * bits/mathdef.h: Update copyright year.
42127 * sysdeps/powerpc/bits/mathdef.h: Likewise.
42128
d2050124
MM
421292010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
42130
42131 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
42132 builtins, define the macros in the C99 standard.
42133 (FP_FAST_FMAF): Likewise.
42134 (FP_FAST_FMAL): Likewise.
42135 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
42136 multiply/add.
42137 (FP_FAST_FMAF): Likewise.
42138
475facd1
JJ
421392010-10-15 Jakub Jelinek <jakub@redhat.com>
42140
42141 [BZ #3268]
42142 * math/libm-test.inc (fma_test): Some new testcases.
42143 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
42144 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
42145 y and infinite z. Do multiplication by C already in long double.
42146 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
42147 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
42148 y and infinite z. Do bitwise or of inexact bit into u.d.
42149 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
42150 * sysdeps/i386/fpu/s_fmaf.S: Removed.
42151 * sysdeps/i386/fpu/s_fma.S: Removed.
42152 * sysdeps/i386/fpu/s_fmal.S: Removed.
42153
7c08a05c
JJ
421542010-10-16 Jakub Jelinek <jakub@redhat.com>
42155
42156 [BZ #3268]
42157 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
42158 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
42159 computation is not scheduled after fetestexcept. Fix value
42160 of minimum denormal long double.
42161
f3f7372d
JJ
421622010-10-14 Jakub Jelinek <jakub@redhat.com>
42163
42164 [BZ #3268]
42165 * math/libm-test.inc (fma_test): Add some more tests.
42166 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
42167 correctly.
42168
14d43591
AS
421692010-10-15 Andreas Schwab <schwab@redhat.com>
42170
42171 * scripts/data/localplt-s390-linux-gnu.data: New file.
42172 * scripts/data/localplt-s390x-linux-gnu.data: New file.
42173
5e908464
JJ
421742010-10-13 Jakub Jelinek <jakub@redhat.com>
42175
42176 [BZ #3268]
42177 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
42178 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
42179 instead of dbl-64.
42180 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
42181 inlines.
42182 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
42183 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
42184 if one of x and y is very large and the other is subnormal.
42185 * sysdeps/s390/fpu/s_fmaf.c: New file.
42186 * sysdeps/s390/fpu/s_fma.c: New file.
42187 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
42188 * sysdeps/powerpc/fpu/s_fma.S: New file.
42189 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
42190 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
42191 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
42192
421932010-10-12 Jakub Jelinek <jakub@redhat.com>
42194
42195 [BZ #3268]
42196 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
42197 fma tests.
42198 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
42199 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
42200 * sysdeps/i386/i686/multiarch/s_fma.c: Include
42201 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
42202 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
42203 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
42204 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
42205
b833d51f
UD
422062010-10-12 Ulrich Drepper <drepper@redhat.com>
42207
42208 [BZ #12078]
42209 * posix/regcomp.c (parse_branch): One more memory leak plugged.
42210 * posix/bug-regex31.input: Add test case.
42211
1751705d
UD
422122010-10-11 Ulrich Drepper <drepper@gmail.com>
42213
e9b9cbf5
UD
42214 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
42215 * posix/bug-regex31.input: New file.
42216
42217 [BZ #12078]
42218 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
42219 (parse_sub_exp): Fix last change, use postorder.
42220
ef06edbe
UD
42221 * posix/bug-regex31.c: New file.
42222 * posix/Makefile: Add rules to build and run bug-regex31.
42223
a129c80d
UD
42224 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
42225
42226 [BZ #12078]
42227 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
42228
b76b818e
UD
42229 [BZ #12108]
42230 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
42231 to have entries in sys_siglist.
42232
1751705d
UD
42233 [BZ #12093]
42234 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
42235 be NULL.
42236
9ff8d36f
JJ
422372010-10-07 Jakub Jelinek <jakub@redhat.com>
42238
42239 [BZ #3268]
42240 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
42241 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
42242 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
42243 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
42244 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
42245 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
42246 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
42247 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
42248 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
42249 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
42250 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
42251 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
42252 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
42253 * math/ftestexcept.c (fetestexcept): Likewise.
42254 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
42255 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
42256 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
42257 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
42258 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
42259 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
42260 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
42261
af325969
UD
422622010-10-11 Ulrich Drepper <drepper@gmail.com>
42263
c579b202 42264 [BZ #12107]
af325969
UD
42265 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
42266 newline.
42267
67a67b95
UD
422682010-10-06 Ulrich Drepper <drepper@gmail.com>
42269
42270 * string/bug-strstr1.c: New file.
42271 * string/Makefile: Add rules to build and run bug-strstr1.
42272
5fb308bc
EB
422732010-10-05 Eric Blake <eblake@redhat.com>
42274
42275 [BZ #12092]
42276 * string/str-two-way.h (two_way_long_needle): Always clear memory
42277 when skipping input due to the shift table.
42278
45db99c7
UD
422792010-10-03 Ulrich Drepper <drepper@gmail.com>
42280
3b111893
UD
42281 [BZ #12005]
42282 * malloc/mcheck.c: Handle large requests.
42283
45db99c7
UD
42284 [BZ #12077]
42285 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
42286 for strncmp and strncasecmp.
42287 * string/stratcliff.c: Add tests for strcmp and strncmp.
42288 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
42289
cf7a1eb8
NI
422902010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
42291
42292 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
42293 __set_fpscr.
42294
6484ba5e
AJ
422952010-09-30 Andreas Jaeger <aj@suse.de>
42296
42297 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
42298 (CGROUP_SUPER_MAGIC): Define.
42299 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42300 Handle btrfs and cgroup file systems.
42301 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
42302 Likewise.
42303
91c42559
LM
423042010-09-27 Luis Machado <luisgpm@br.ibm.com>
42305
42306 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
42307 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
42308
87a97932
AK
423092010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
42310
42311 [BZ #12067]
42312 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
42313 trying to locate the ELF header.
42314
c21cc9bc
AS
423152010-09-27 Andreas Schwab <schwab@redhat.com>
42316
42317 [BZ #11611]
42318 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
42319 Mask out sign-bit copies when constructing f_fsid.
42320
315970f6
PB
423212010-09-24 Petr Baudis <pasky@suse.cz>
42322
42323 * debug/stack_chk_fail_local.c: Add missing licence exception.
42324 * debug/warning-nop.c: Likewise.
42325
1ac7a2c7
JM
423262010-09-15 Joseph Myers <joseph@codesourcery.com>
42327
42328 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
42329 implementing getdents64 using getdents syscall, set d_type if
42330 __ASSUME_GETDENTS32_D_TYPE.
42331
56801c50
AS
423322010-09-16 Andreas Schwab <schwab@redhat.com>
42333
42334 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
42335 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
42336
dda51327
UD
423372010-09-21 Ulrich Drepper <drepper@redhat.com>
42338
42339 [BZ #12037]
42340 * posix/unistd.h: Undo change of feature selection for ftruncate from
42341 2010-01-11.
42342
8ffcee4a
UD
423432010-09-20 Ulrich Drepper <drepper@redhat.com>
42344
a545ecd9 42345 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
42346 detection.
42347
e24f0a8b
AS
423482010-09-20 Andreas Schwab <schwab@redhat.com>
42349
42350 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
42351 fanotify_mark.
42352 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42353
7291c56f
AS
423542010-09-14 Andreas Schwab <schwab@redhat.com>
42355
42356 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
42357 variables after CHECK_SP call.
42358 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
42359
bc5fb037
AS
423602010-09-13 Andreas Schwab <schwab@redhat.com>
42361 Ulrich Drepper <drepper@redhat.com>
42362
42363 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
42364 re-relocationg ld.so.
42365 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
42366 _dl_init_paths call.
42367 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
42368 here anymore.
42369
e66e7419
UD
423702010-09-14 Ulrich Drepper <drepper@redhat.com>
42371
42372 * resolv/res_init.c (__res_vinit): Count the default server we added.
42373
c044aa75
CLT
423742010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
42375 Ulrich Drepper <drepper@redhat.com>
42376
42377 [BZ #11968]
42378 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
42379 (____longjmp_chk): Use %ebx for saving value across system call.
42380 Add unwind info.
42381
32cf4069
AS
423822010-09-06 Andreas Schwab <schwab@redhat.com>
42383
42384 * manual/Makefile: Don't mix pattern rules with normal rules.
42385
817328ee
AS
423862010-09-05 Andreas Schwab <schwab@linux-m68k.org>
42387
42388 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
42389 operation.
42390 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
42391 * libio/iofopncook.c (_IO_cookie_init): Likewise.
42392 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
42393 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
42394 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
42395 Likewise.
42396
29fddf61
UD
423972010-09-04 Ulrich Drepper <drepper@redhat.com>
42398
42399 [BZ #11979]
42400 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
42401 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
42402
0959ffc9
UD
424032010-09-02 Ulrich Drepper <drepper@redhat.com>
42404
42405 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
42406 * sysdeps/x86_64/addmul_1.S: Likewise.
42407 * sysdeps/x86_64/lshift.S: Likewise.
42408 * sysdeps/x86_64/mul_1.S: Likewise.
42409 * sysdeps/x86_64/rshift.S: Likewise.
42410 * sysdeps/x86_64/sub_n.S: Likewise.
42411 * sysdeps/x86_64/submul_1.S: Likewise.
42412
ece29840
ST
424132010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
42414
0959ffc9
UD
42415 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
42416 Define __sched_param instead of SCHED_* and sched_param when
ece29840 42417 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 42418 * bits/sched.h [__need_schedparam]
ece29840 42419 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
42420 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
42421 (__defined_schedparam): Define to 1.
ece29840
ST
42422 (__sched_param): New structure, identical to sched_param.
42423 (__need_schedparam): Undefine.
42424
e53a31fe
MF
424252010-08-31 Mike Frysinger <vapier@gentoo.org>
42426
fdc0c10d
MF
42427 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
42428 (epoll_create1): Declare.
42429
e53a31fe
MF
42430 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
42431
a726d796
AS
424322010-08-31 Andreas Schwab <schwab@redhat.com>
42433
42434 [BZ #7066]
42435 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
42436 shifting retval into place.
42437
2f3e3dc7
UD
424382010-09-01 Ulrich Drepper <drepper@redhat.com>
42439
f2933da9
UD
42440 * nis/rpcsvc/nis.h: Update copyright notice.
42441 * nis/rpcsvc/nis.x: Likewise.
42442 * nis/rpcsvc/nis_callback.h: Likewise.
42443 * nis/rpcsvc/nis_callback.x: Likewise.
42444 * nis/rpcsvc/nis_object.x: Likewise.
42445 * nis/rpcsvc/nis_tags.h: Likewise.
42446 * nis/rpcsvc/yp.h: Likewise.
42447 * nis/rpcsvc/yp.x: Likewise.
42448 * nis/rpcsvc/ypupd.h: Likewise.
42449 * nis/yp_xdr.c: Likewise.
42450 * nis/ypupdate_xdr.c: Likewise.
42451
2f3e3dc7
UD
42452 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
42453 mainly the body of pmap_getport. Add parameters to specify timeouts.
42454 (pmap_getport): Use __libc_rpc_getport.
42455 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
42456 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
42457 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
42458
f3dcc2f9
AS
424592010-08-31 Andreas Schwab <schwab@linux-m68k.org>
42460
42461 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
42462 fanotify_mark.
42463
6d34eb5b
RM
424642010-08-27 Roland McGrath <roland@redhat.com>
42465
42466 * sysdeps/i386/i686/multiarch/Makefile
42467 (CFLAGS-varshift.c): New variable.
42468
9ea3de11
UD
424692010-08-27 Ulrich Drepper <drepper@redhat.com>
42470
c96d23fc
UD
42471 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
42472 * sysdeps/i386/i686/multiarch/varshift.c: New file.
42473
9ea3de11
UD
42474 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
42475
42476 * sysdeps/x86_64/strlen.S: Minimal code improvement.
42477
623aac7f
L
424782010-08-26 H.J. Lu <hongjiu.lu@intel.com>
42479
42480 * sysdeps/x86_64/strlen.S: Unroll the loop.
42481 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
42482 strlen-sse2 strlen-sse2-bsf.
42483 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
42484 __strlen_no_bsf if bit_Slow_BSF is set.
42485 (__strlen_sse42): Removed.
42486 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
42487 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
42488
8b2b7715
RM
424892010-08-25 Roland McGrath <roland@redhat.com>
42490
42491 * sysdeps/x86_64/multiarch/varshift.S: File removed.
42492 * sysdeps/x86_64/multiarch/varshift.c: New file.
42493 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
42494 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
42495 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
42496 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
42497
e73015f2
L
424982010-08-25 H.J. Lu <hongjiu.lu@intel.com>
42499
42500 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42501 strlen-sse2 strlen-sse2-bsf.
42502 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
42503 __strlen_sse2_bsf if bit_Slow_BSF is unset.
42504 (__strlen_sse2): Removed.
42505 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
42506 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
42507 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
42508 bit_Slow_BSF for Atom.
42509 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
42510 (index_Slow_BSF): Define.
42511 (HAS_SLOW_BSF): Define.
42512
df24a73e
UD
425132010-08-25 Ulrich Drepper <drepper@redhat.com>
42514
42515 [BZ #10851]
42516 * resolv/res_init.c (__res_vinit): When no server address at all
42517 is given default to loopback.
42518
f2ac4868
RM
425192010-08-24 Roland McGrath <roland@redhat.com>
42520
09055553
RM
42521 * configure.in: Remove config-name.h generation.
42522 * configure: Regenerated.
42523 * config-name.in: File removed.
42524 * scripts/config-uname.sh: New file.
42525 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
42526 ($(objdir)config-name.h): New target.
42527
f2ac4868
RM
42528 * sunrpc/rpc_parse.h: Avoid nested comment.
42529
73f27d5e
RH
425302010-08-24 Richard Henderson <rth@redhat.com>
42531 Ulrich Drepper <drepper@redhat.com>
42532 H.J. Lu <hongjiu.lu@intel.com>
42533
42534 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
42535 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
42536 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
42537 Replace _mm_srli_si128 with __m128i_shift_right. Replace
42538 _mm_alignr_epi8 with _mm_loadu_si128.
42539 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
42540 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
42541 (__m128i_shift_right): Removed.
42542 * sysdeps/i386/i686/multiarch/varshift.h: New file.
42543 * sysdeps/i386/i686/multiarch/varshift.S: New file.
42544 * sysdeps/x86_64/multiarch/varshift.h: New file.
42545 * sysdeps/x86_64/multiarch/varshift.S: New file.
42546
84b9230c
MF
425472010-08-21 Mike Frysinger <vapier@gentoo.org>
42548
42549 * configure.in: Move assembler checks to before sysdep dir checking.
42550
9bbd0ddc
PB
425512010-08-20 Petr Baudis <pasky@suse.cz>
42552
42553 * LICENSES: Sync the sunrpc license.
42554
9da4bb31
UD
425552010-08-19 Ulrich Drepper <drepper@redhat.com>
42556
a7ab6ec8
UD
42557 * sunrpc/auth_des.c: Update copyright notice once again.
42558 * sunrpc/auth_none.c: Likewise.
42559 * sunrpc/auth_unix.c: Likewise.
42560 * sunrpc/authdes_prot.c: Likewise.
42561 * sunrpc/authuxprot.c: Likewise.
42562 * sunrpc/bindrsvprt.c: Likewise.
42563 * sunrpc/clnt_gen.c: Likewise.
42564 * sunrpc/clnt_perr.c: Likewise.
42565 * sunrpc/clnt_raw.c: Likewise.
42566 * sunrpc/clnt_simp.c: Likewise.
42567 * sunrpc/clnt_tcp.c: Likewise.
42568 * sunrpc/clnt_udp.c: Likewise.
42569 * sunrpc/clnt_unix.c: Likewise.
42570 * sunrpc/des_crypt.c: Likewise.
42571 * sunrpc/des_soft.c: Likewise.
42572 * sunrpc/get_myaddr.c: Likewise.
42573 * sunrpc/getrpcport.c: Likewise.
42574 * sunrpc/key_call.c: Likewise.
42575 * sunrpc/key_prot.c: Likewise.
42576 * sunrpc/openchild.c: Likewise.
42577 * sunrpc/pm_getmaps.c: Likewise.
42578 * sunrpc/pm_getport.c: Likewise.
42579 * sunrpc/pmap_clnt.c: Likewise.
42580 * sunrpc/pmap_prot.c: Likewise.
42581 * sunrpc/pmap_prot2.c: Likewise.
42582 * sunrpc/pmap_rmt.c: Likewise.
42583 * sunrpc/rpc/auth.h: Likewise.
42584 * sunrpc/rpc/auth_unix.h: Likewise.
42585 * sunrpc/rpc/clnt.h: Likewise.
42586 * sunrpc/rpc/des_crypt.h: Likewise.
42587 * sunrpc/rpc/key_prot.h: Likewise.
42588 * sunrpc/rpc/netdb.h: Likewise.
42589 * sunrpc/rpc/pmap_clnt.h: Likewise.
42590 * sunrpc/rpc/pmap_prot.h: Likewise.
42591 * sunrpc/rpc/pmap_rmt.h: Likewise.
42592 * sunrpc/rpc/rpc.h: Likewise.
42593 * sunrpc/rpc/rpc_des.h: Likewise.
42594 * sunrpc/rpc/rpc_msg.h: Likewise.
42595 * sunrpc/rpc/svc.h: Likewise.
42596 * sunrpc/rpc/svc_auth.h: Likewise.
42597 * sunrpc/rpc/types.h: Likewise.
42598 * sunrpc/rpc/xdr.h: Likewise.
42599 * sunrpc/rpc_clntout.c: Likewise.
42600 * sunrpc/rpc_cmsg.c: Likewise.
42601 * sunrpc/rpc_common.c: Likewise.
42602 * sunrpc/rpc_cout.c: Likewise.
42603 * sunrpc/rpc_dtable.c: Likewise.
42604 * sunrpc/rpc_hout.c: Likewise.
42605 * sunrpc/rpc_main.c: Likewise.
42606 * sunrpc/rpc_parse.c: Likewise.
42607 * sunrpc/rpc_parse.h: Likewise.
42608 * sunrpc/rpc_prot.c: Likewise.
42609 * sunrpc/rpc_sample.c: Likewise.
42610 * sunrpc/rpc_scan.c: Likewise.
42611 * sunrpc/rpc_scan.h: Likewise.
42612 * sunrpc/rpc_svcout.c: Likewise.
42613 * sunrpc/rpc_tblout.c: Likewise.
42614 * sunrpc/rpc_util.c: Likewise.
42615 * sunrpc/rpc_util.h: Likewise.
42616 * sunrpc/rpcinfo.c: Likewise.
42617 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
42618 * sunrpc/rpcsvc/key_prot.x: Likewise.
42619 * sunrpc/rpcsvc/klm_prot.x: Likewise.
42620 * sunrpc/rpcsvc/mount.x: Likewise.
42621 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
42622 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
42623 * sunrpc/rpcsvc/rex.x: Likewise.
42624 * sunrpc/rpcsvc/rstat.x: Likewise.
42625 * sunrpc/rpcsvc/rusers.x: Likewise.
42626 * sunrpc/rpcsvc/sm_inter.x: Likewise.
42627 * sunrpc/rpcsvc/spray.x: Likewise.
42628 * sunrpc/rpcsvc/yppasswd.x: Likewise.
42629 * sunrpc/rtime.c: Likewise.
42630 * sunrpc/svc.c: Likewise.
42631 * sunrpc/svc_auth.c: Likewise.
42632 * sunrpc/svc_authux.c: Likewise.
42633 * sunrpc/svc_raw.c: Likewise.
42634 * sunrpc/svc_run.c: Likewise.
42635 * sunrpc/svc_simple.c: Likewise.
42636 * sunrpc/svc_tcp.c: Likewise.
42637 * sunrpc/svc_udp.c: Likewise.
42638 * sunrpc/svc_unix.c: Likewise.
42639 * sunrpc/svcauth_des.c: Likewise.
42640 * sunrpc/xcrypt.c: Likewise.
42641 * sunrpc/xdr.c: Likewise.
42642 * sunrpc/xdr_array.c: Likewise.
42643 * sunrpc/xdr_float.c: Likewise.
42644 * sunrpc/xdr_mem.c: Likewise.
42645 * sunrpc/xdr_rec.c: Likewise.
42646 * sunrpc/xdr_ref.c: Likewise.
42647 * sunrpc/xdr_sizeof.c: Likewise.
42648 * sunrpc/xdr_stdio.c: Likewise.
42649
9da4bb31
UD
42650 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
42651 handling.
42652
bdaa77bc
AS
426532010-08-19 Andreas Schwab <schwab@redhat.com>
42654
42655 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
42656
fe2f79db
LM
426572010-08-19 Luis Machado <luisgpm@br.ibm.com>
42658
42659 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
42660 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
42661 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
42662 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
42663 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
42664 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
42665 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
42666 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
42667 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
42668 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
42669 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
42670 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
42671 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
42672 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
42673
b9b42ee0
AB
426742010-07-26 Anton Blanchard <anton@samba.org>
42675
42676 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
42677 * malloc/arena.c (heap_trim): Likewise.
42678
1c06ba31
UD
426792010-08-16 Ulrich Drepper <drepper@redhat.com>
42680
42681 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
42682 here. Not...
42683 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
42684 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
42685
f8392f40
L
426862010-08-12 H.J. Lu <hongjiu.lu@intel.com>
42687
42688 * sysdeps/i386/elf/Makefile: New file.
42689
3162f12e
AS
426902010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42691
42692 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
42693 from fanotify_init.
42694 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
42695 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42696
28c90b2c
UD
426972010-08-15 Ulrich Drepper <drepper@redhat.com>
42698
42699 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
42700 of strncasecmp_l.
1feccb6c 42701 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 42702
ca6bb004
UD
427032010-08-14 Ulrich Drepper <drepper@redhat.com>
42704
e9f82e0d
UD
42705 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42706 strncase_l-nonascii.
42707 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42708 Add strncase_l-ssse3.
42709 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
42710 * sysdeps/x86_64/strcmp.S: Likewise.
42711 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
42712 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
42713 * sysdeps/x86_64/strncase.S: New file.
42714 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
42715 * sysdeps/x86_64/strncase_l.S: New file.
42716 * string/Makefile (strop-tests): Add strncasecmp.
42717 * string/test-strncasecmp.c: New file.
42718
42719 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
42720 warning.
42721
ca6bb004
UD
42722 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
42723 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
42724
052fa7b3
AS
427252010-08-14 Andreas Schwab <schwab@linux-m68k.org>
42726
42727 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
42728
962dba78
UD
427292010-08-12 Ulrich Drepper <drepper@redhat.com>
42730
42731 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
42732 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
42733 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
42734
bebff237
AM
427352010-05-01 Alan Modra <amodra@gmail.com>
42736
42737 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
42738 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
42739 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
42740 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
42741 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
42742 tidying. Don't tail-call __sigjmp_save for static lib.
42743 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
42744 save location.
42745 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
42746 (CALL_MCOUNT): Add eh info, and nop after bl.
42747 (TAIL_CALL_SYSCALL_ERROR): New macro.
42748 (PSEUDO_RET): Use it.
42749 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
42750 Correct save location of integer regs and cr.
42751 (_dl_profile_resolve): Correct cr save location. Delete nops
42752 after bl when SHARED. Reduce cfi size a little by better
42753 placement of cfi directives.
42754 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
42755 make a stack frame. Instead use parm save area as a temp.
42756 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
42757 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
42758 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
42759 Don't make a stack frame for parent, use parm save area.
42760 Increase child stack frame to 112 bytes. Don't save unused reg,
42761 and adjust reg usage. Set up cfi on error recovery and
42762 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
42763 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
42764 (__makecontext): Add dummy nop after jump to exit.
42765 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
42766 Use correct parm save area and cr save, reduce stack frame.
42767 Correct cfi for possible PSEUDO_RET frame setup.
42768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
42769 Branch to local label emitted by PSEUDO_RET rather than
42770 __syscall_error.
42771
02637374
AS
427722010-08-12 Andreas Schwab <schwab@redhat.com>
42773
42774 [BZ #11904]
42775 * locale/programs/locale.c (print_assignment): New function.
42776 (show_locale_vars): Use it.
42777
c3e2f19b
UD
427782010-08-11 Ulrich Drepper <drepper@redhat.com>
42779
3cdaa6ad
UD
42780 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
42781 field.
42782 (struct statfs64): Likewise.
42783 (_STATFS_F_FLAGS): Define.
42784 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
42785 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
42786 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
42787 (ST_VALID): Define locally.
42788 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
42789 __statvfs_getflags, use the provided value.
42790 * sysdeps/unix/sysv/linux/kernel-features.h: Define
42791 __ASSUME_STATFS_F_FLAGS.
42792
754f7da3
UD
42793 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
42794
10b3bedc
UD
42795 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
42796 Add sys/fanotify.h.
42797 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
42798 fanotify_mask for GLIBC_2.13.
42799 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
42800 fanotify_init and fanotify_mark.
42801 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
42802 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
42803
c08fb0d7
UD
42804 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
42805 Add prlimit.
42806 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
42807 prlimit64 for GLIBC_2.13.
42808 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
42809 prlimit64.
42810 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
42811 syscall.
42812 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
42813 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
42814 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
42815 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
42816 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
42817 add prlimit alias.
42818 * sysdeps/unix/sysv/linux/prlimit.c: New file.
42819
15bac72b
UD
42820 [BZ #11903]
42821 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
42822 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
42823
c3e2f19b
UD
42824 * nss/Makefile: Add rules to build and run tst-nss-test1.
42825 * shlib-versions: Add entry for libnss_test1.
42826 * nss/nss_test1.c: New file.
42827 * nss/tst-nss-test1.c: New file.
42828
42829 * nss/nsswitch.c (__nss_database_custom): Define new variable.
42830 (__nss_configure_lookup): Set appropriate entry in
42831 __nss_configure_lookup to true.
42832 * nss/nsswitch.h: Define enum with indeces of databases in
42833 databases and __nss_database_custom arrays. Declare
42834 __nss_database_custom.
42835 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
42836 to avoid using nscd when custom rules are installed.
42837 * nss/getXXbyYY_r.c: Likewise.
42838 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
42839
42840 * nss/nss_files/files-parse.c: Whitespace fixes.
42841
f15ce4d8
UD
428422010-08-09 Ulrich Drepper <drepper@redhat.com>
42843
42844 [BZ #11883]
42845 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
42846 * posix/fnmatch_loop.c: Likewise.
42847
d22e4cc9
AK
428482010-07-17 Andi Kleen <ak@linux.intel.com>
42849
42850 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
42851 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
42852 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
42853 * Versions.def [GLIBC_2.13]: Add.
42854
805bc17d
UD
428552010-08-06 Ulrich Drepper <drepper@redhat.com>
42856
42857 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
42858 Also fail if tpwd after pwuid call is NULL.
42859
5a42321d
ST
428602010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
42861
42862 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
42863 when converting to ms.
42864
fd3ebeda
ST
428652010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
42866
42867 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
42868 EOPNOTSUPP errors with ENOTTY.
42869 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
42870 EOPNOTSUPP errors with ENOTTY.
42871
73507d3a
UD
428722010-07-31 Ulrich Drepper <drepper@redhat.com>
42873
42874 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
42875 Add strcasecmp_l-ssse3.
42876 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
42877 strcasecmp.
42878 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
42879 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
42880 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
42881
fe36dd02
UD
428822010-07-30 Ulrich Drepper <drepper@redhat.com>
42883
66f6765a
UD
42884 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
42885
42e08a54
UD
42886 * string/Makefile (strop-tests): Add strcasecmp.
42887 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
42888 strcasecmp_l-nonascii.
42889 (gen-as-const-headers): Add locale-defines.sym.
42890 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
42891 * sysdeps/x86_64/strcasecmp.S: New file.
42892 * sysdeps/x86_64/strcasecmp_l.S: New file.
42893 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
42894 * sysdeps/x86_64/locale-defines.sym: New file.
42895 * string/test-strcasecmp.c: New file.
42896
fe36dd02
UD
42897 * string/test-strcasestr.c: Test both ends of the range of characters.
42898 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
42899
48cbc0d6
RM
429002010-07-29 Roland McGrath <roland@redhat.com>
42901
76e6d6bc 42902 [BZ #11856]
48cbc0d6
RM
42903 * manual/locale.texi (Yes-or-No Questions): Fix example code.
42904
880113d9
UD
429052010-07-27 Ulrich Drepper <drepper@redhat.com>
42906
42907 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
42908 for ld.so.
42909
deb9cabb
AS
429102010-07-27 Andreas Schwab <schwab@redhat.com>
42911
42912 * manual/memory.texi (Malloc Tunable Parameters): Document
42913 M_PERTURB.
42914
1c7570ff
RM
429152010-07-26 Roland McGrath <roland@redhat.com>
42916
42917 [BZ #11840]
42918 * configure.in (-fgnu89-inline check): Set and substitute
42919 gnu89_inline, not libc_cv_gnu89_inline.
42920 * configure: Regenerated.
42921 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
42922
24fb0f88
UD
429232010-07-26 Ulrich Drepper <drepper@redhat.com>
42924
42925 * string/test-strnlen.c: New file.
42926 * string/Makefile (strop-tests): Add strnlen.
42927 * string/tester.c (test_strnlen): Add a few more test cases.
42928 * string/tst-strlen.c: Better error reporting.
42929
42930 * sysdeps/x86_64/strnlen.S: New file.
42931
8e96b93a
UD
429322010-07-24 Ulrich Drepper <drepper@redhat.com>
42933
42934 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
42935 lower-latency instructions.
42936
dbc676d4
UD
429372010-07-23 Ulrich Drepper <drepper@redhat.com>
42938
42939 * string/test-strcasestr.c: New file.
42940 * string/test-strstr.c: New file.
42941 * string/Makefile (strop-tests): Add strstr and strcasestr.
42942 * string/str-two-way.h: Don't undefine MAX.
42943 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
42944
f6a31e0e
AS
429452010-07-21 Andreas Schwab <schwab@redhat.com>
42946
42947 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
42948 strcasestr-nonascii.
42949 (CFLAGS-strcasestr-nonascii.c): Define.
42950 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
42951 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
42952 Remove unused attribute.
42953
5dbc3b6c
RM
429542010-07-20 Roland McGrath <roland@redhat.com>
42955
42956 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
42957 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
42958 ld.so.cache was broken. With it, there is no way to disable dsocaps
42959 like LD_HWCAP_MASK can disable hwcaps.
42960
23d101d8
EPM
429612010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
42962
42963 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
42964
cc9f2e47
UD
429652010-07-16 Ulrich Drepper <drepper@redhat.com>
42966
42967 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
42968 call in strcasestr.
42969 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
42970 __strcasestr_sse42_nonascii.
42971 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
42972 strcasestr-nonascii.c.
42973 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
42974
77c1b069
LM
429752010-06-15 Luis Machado <luisgpm@br.ibm.com>
42976
42977 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
42978 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
42979 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
42980 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
42981
440566c3
UD
429822010-07-09 Ulrich Drepper <drepper@redhat.com>
42983
42984 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
42985 fcntl.
42986
5be9d05d
AS
429872010-07-06 Andreas Schwab <schwab@redhat.com>
42988
c30b7ee2 42989 [BZ #11577]
5be9d05d
AS
42990 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
42991 dl_signal_cerror.
42992
8a492a67
UD
429932010-07-06 Ulrich Drepper <drepper@redhat.com>
42994
42995 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
42996 _PC_PIPE_BUF using F_GETPIPE_SZ.
42997
713df3d5
RM
429982010-07-05 Roland McGrath <roland@redhat.com>
42999
43000 * manual/arith.texi (Rounding Functions): Fix rint description
43001 implicit in round description.
43002
702e8f14
UD
430032010-07-02 Ulrich Drepper <drepper@redhat.com>
43004
43005 * elf/Makefile: Fix linking for a few tests to make recent linker
43006 happy.
43007
52ed8be9
AS
430082010-06-30 Andreas Schwab <schwab@redhat.com>
43009
43010 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
43011 $(common-objpfx)libc_nonshared.a.
43012
f47c9a11
LM
430132010-06-21 Luis Machado <luisgpm@br.ibm.com>
43014
43015 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
43016 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
43017 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43018 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43019 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
43020 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
43021 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43022 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
43024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
43025 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
43026 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
43027 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
43028 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
43029 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
43030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
43031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
43032 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
43033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
43034 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
43035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
43036 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
43037 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
43038 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
43039 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
43040 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
43041 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
43042 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
43043 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
43044 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
43045 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
43046 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
43047 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
43048 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
43049 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
43050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
43051 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
43052 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
43053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
43054 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
43055 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
43056 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
43057 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
43058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
43059 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
43060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
43061 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
43062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
43063
6fb8cbcb
L
430642010-06-25 H.J. Lu <hongjiu.lu@intel.com>
43065
43066 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
43067 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
43068 * string/memmove.c (memmove): Renamed to ...
43069 (MEMMOVE): ...this. Default to memmove.
43070 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
43071 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
43072 (END_CHK): Define.
43073 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43074 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
43075 mempcpy-ssse3-back memmove-ssse3-back.
43076 * sysdeps/x86_64/multiarch/bcopy.S: New file .
43077 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
43078 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
43079 * sysdeps/x86_64/multiarch/memcpy.S: New file.
43080 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
43081 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
43082 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
43083 * sysdeps/x86_64/multiarch/memmove.c: New file.
43084 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
43085 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
43086 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
43087 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
43088 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
43089 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
43090 Define.
43091 (index_Fast_Copy_Backward): Define.
43092 (HAS_ARCH_FEATURE): Define.
43093 (HAS_FAST_REP_STRING): Define.
43094 (HAS_FAST_COPY_BACKWARD): Define.
43095
4e733bac 430962010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
43097
43098 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
43099 Restore proper fallback handling.
43100
63c4ed22
UD
431012010-06-19 Ulrich Drepper <drepper@redhat.com>
43102
ac2b484c
UD
43103 [BZ #11701]
43104 * posix/group_member.c (__group_member): Correct checking loop.
43105
63c4ed22
UD
43106 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
43107 OOM in getpwuid_r correctly. Return error number when the caller
43108 should return, otherwise -1.
43109 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
43110 call returning > 0 value.
43111 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
43112
765ade4b
AS
431132010-06-07 Andreas Schwab <schwab@redhat.com>
43114
43115 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
43116 libc_nonshared.a from targets in modules-names.
43117
80da2e09
KS
431182010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
43119
43120 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
43121 requires it.
43122
158db122
LM
431232010-06-10 Luis Machado <luisgpm@br.ibm.com>
43124
43125 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
43126 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
43127 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
43128 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
43129
caa78cf8
AS
431302010-06-02 Andreas Schwab <schwab@redhat.com>
43131
43132 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
43133
b2ef2c01
UD
431342010-06-14 Ulrich Drepper <drepper@redhat.com>
43135
43136 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
43137 and F_GETPIPE_SZ.
43138 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
43139 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
43140 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
43141 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
43142 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
43143 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
43144
fbd643b6
RM
431452010-06-14 Roland McGrath <roland@redhat.com>
43146
43147 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
43148
f32f2869
JJ
431492010-06-07 Jakub Jelinek <jakub@redhat.com>
43150
43151 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
43152 __REDIRECT followed by __THROW.
43153 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
43154 * posix/getopt.h (getopt): Likewise.
43155
2a50c078
EPM
431562010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
43157
43158 * hurd/lookup-at.c (__file_name_lookup_at): Accept
43159 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
43160 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
43161 in AT_FLAGS.
43162 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
43163 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
43164
eb5ad2eb
LM
431652010-05-28 Luis Machado <luisgpm@br.ibm.com>
43166
43167 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
43168
3c88fe1e
L
431692010-05-26 H.J. Lu <hongjiu.lu@intel.com>
43170
43171 [BZ #11640]
43172 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43173 Properly check family and model.
43174
d2f73151
TY
431752010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
43176
43177 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
43178
ebd2e13d
LM
431792010-05-24 Luis Machado <luisgpm@br.ibm.com>
43180
43181 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
43182
b32b8b45
UD
431832010-05-21 Ulrich Drepper <drepper@redhat.com>
43184
43185 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
43186 symbol reference.
43187
9acbe24d
AS
431882010-05-19 Andreas Schwab <schwab@redhat.com>
43189
43190 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
43191 symbol reference.
43192
f0ccf6ea
AS
431932010-05-21 Andreas Schwab <schwab@redhat.com>
43194
3d04ff3a
AS
43195 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
43196 and internal_recvmmsg.
43197 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
43198 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
43199 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
43200 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
43201
f0ccf6ea
AS
43202 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
43203 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
43204 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
43205
5b08ac57
AS
432062010-05-20 Andreas Schwab <schwab@redhat.com>
43207
43208 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
43209
4828935d
LM
432102010-05-17 Luis Machado <luisgpm@br.ibm.com>
43211
43212 POWER7 optimizations.
43213 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
43214 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
43215
373d545e
UD
432162010-05-19 Ulrich Drepper <drepper@redhat.com>
43217
43218 * version.h: Update for 2.13 development version.
43219
21a2b1ae
AS
432202010-05-12 Andrew Stubbs <ams@codesourcery.com>
43221
43222 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
43223 exceptions. Return 0.
43224
3f7dcb2b
RM
432252010-05-07 Roland McGrath <roland@redhat.com>
43226
43227 * elf/ldconfig.c (main): Add a const.
43228
5f24d53a 432292010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 43230
a160f8d8
UD
43231 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
43232 (args_options): Add no-idn option.
43233 (ahosts_keys_int): Add idn_flags to ai_flags.
43234 (parse_option): Handle 'i' option to clear idn_flags.
43235
5f24d53a
UD
43236 * malloc/malloc.c (_int_free): Possible race in the most recently
43237 added check. Only act on the data if no current modification
43238 happened.
265bb1ce
UD
43239
43240See ChangeLog.17 for earlier changes.